﻿.label-textbox {
    display: flex;
    align-items: center;
}

.label-textbox label {
    margin-right: 10px;
    width: 120px;
}

.label-textbox input[type="text"],
.label-textbox input[type="number"],
.label-textbox input[type="email"] {
    width: 200px;
}

.cardTextBox, .emailTextBox {
    width: 300px !important;
    margin-left: 20px;
}

.monthSelection {
    width: 100px !important;
    margin-left: -10px;
}

.yearSelection {
    width: 120px !important;
    margin-left: -30px;
}

.countrySelection {
    width: 200px !important;
}

.stateSelection {
    width: 200px !important;
}

.openBankSelection {
    width: 300px !important;
}

.terminalSelection {
    width: 200px !important;
}

.invalid-input {
    border: 1px solid red !important;
}

.is-invalid {
    border-color: red !important;
}

.achAccountSelection {
    width: 200px !important;
    margin-left: 20px;
}

.spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999; /* Ensure spinner is on top */
    width: 40px;
    height: 40px;
}

.spinner::after {
    content: '';
    position: absolute;
    border: 6px solid #f3f3f3; /* Light grey */
    border-top: 6px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}
html {
    min-height: 1000px;
}

label {
    float: left;
}
input {
    background: #ffffff;
    border-radius: 3px;
    border: 1px solid #D3DCE6;
    color: #4A5568;
    display: block;
    outline: none;
    padding: 5px 12px;
    width: 360px;
    font-family: Nunito Sans, sans-serif;
    font-size: 14px;
}




label {
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
}

button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

body {
    font-family: Nunito Sans, Roboto,sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #4a5568;
    line-height: 1.8;
}

.divclosecontainer {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
    font-family: Arial, sans-serif;
    /*background-color: #f4f4f4;*/
    text-align: center;
    padding: 50px 0;
}

h1 {
    color: #4CAF50;
}

.closebutton {
    display: inline-block;
    background-color: #4CAF50;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

    .closebutton:hover {
        background-color: #45a049;
    }

.spin {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1;
}
.accountHeader {
    text-align: center;
    border-bottom-style: ridge;
}

#ErrorMessage {
    white-space: pre-line; /* Preserves \n as line breaks */
}

#DevExCreditCardSection {
    padding: 10px;
}
#DevExAchSection {
    padding: 10px;
}

#DevExBillingInfoSection {
    padding: 10px;
}

#DevExApmAccountSection {
    padding: 10px;
}

#DevExSepaSection {
    padding: 10px;
}
#DevExIntantOpenBankTransactionSection {
    padding: 10px;
}
#SurchargeSection {
    padding: 10px;
}
html {
    overflow: hidden;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
    display: contents;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    padding: 20px;
}

#saveButtonDevEx {
    width: 100%;
    font-size: 16px;
}
.devex-action-buttons {
    display: flex;
    gap: 12px;
    width: 100%;
}

/* Default: single button = full width */
.devex-action-buttons.single-button #saveButtonDevEx {
    width: 100%;
}

/* Two buttons visible = side by side */
.devex-action-buttons.two-buttons #saveButtonDevEx,
.devex-action-buttons.two-buttons #cancelButtonDevEx {
    width: 100%;
    flex: 1;
    font-size: 16px !important;
}
.dx-button.dx-button-danger.dx-button-mode-contained:not(.dx-state-disabled) {
    background-color: #d9534f !important;
    border-color: transparent;
    color: #fff;
}

#openApmViewButtonDevEx {
    width: 100% !important;
    font-size: 16px;
}
#ThreeDSButtonDevEx {
    width: 100%;
    font-size: 16px;
}
.env-watermark {
    position: fixed;
    top: 40%;
    left: 20%;
    font-size: 40px;
    color: rgba(0, 0, 0, 0.1);
    transform: rotate(-30deg);
    pointer-events: none;
    z-index: 9999;
}
#amountDetails .label {
    font-weight: normal;
}

.value {
    font-weight: bold;
}

.disclaimer-popup-content {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.disclaimer-text {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 4px solid #007bff;
    border-radius: 4px;
    white-space: pre-wrap;
    word-wrap: break-word;
    text-align: justify;
}

.no-disclaimers {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-style: italic;
}

.disclaimer-popup-actions {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
    background-color: #f5f5f5;
}

.disclaimer-asterisk {
    color: red;
    cursor: pointer;
    margin-left: 5px;
    font-weight: bold;
}

    .disclaimer-asterisk:hover {
        color: #c9302c;
        text-decoration: underline;
    }