/* Google Fonts Import Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*,
*:before,
*:after {
    box-sizing: border-box;
}

:root {
    --bg: #eaf4fb;
    --primary: #0047ba;
}

body {
    background: var(--bg);
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Poppins';
}

.langFlag {
    display: none;
}

.page {
    max-width: 100%;
    margin: 0 auto;
}

/* Base (mobile-first): everything visible, stacked */
.app-content {
    max-width: 100%;
    padding: 12px;
    box-sizing: border-box;
}
.card-contents {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-height: 98vh;
    min-height: 800px;
}

.user-info {
    display: flex;
    flex-direction: column;
    flex: stretch;
}

.process-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: stretch;
    padding: 1rem;
}

.app-section {
    width: 100%;
    margin-bottom: 12px;
}

/* Optional readable defaults */
.app-content h1 {
    font-size: 1.25rem;
}

.agent,
.brand {
    display: grid;
    grid-area: 1/1;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.agent {
    width: 200px;
    border-radius: 50%;
    overflow: hidden;
}

.send_pin_choice_radio_option {
    display: inline-flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin: 0 2.5rem;
}

.pin_options_left div {
    justify-content: left;
}

.agent-video {
    height: 200px;
}

.details {
    display: flex;
    justify-content: center;
    gap: .5rem;
}

.info-label {
    font-size: 1rem;
    font-weight: bold;
    color: black;
    width: 45%;
}

.info-value {
    position: relative;
    font-size: 1rem;
    color: black;
    width: 45%;
    text-align: right;
}

.info-link {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-left: .5rem;
}

.vira-info-icon {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.info-separator {
    font-size: 1rem;
    color: black;

}

.vira-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: .5rem;
}

.help {
    display: flex;
    flex-direction: column;
}

.payment-amount-error {
    display: flex;
    height: 30px;
}

.payment-amount-error p {
    color: red;
    display: none;
}

.cc-error-div {
    color: red;
    display: none;
    font-size: 0.875rem;
}

/* Desktop: still all visible, just roomier */
@media (min-width: 768px) {

    body {
        background: #f5f7fa;
        margin: 0;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Poppins';
    }

    .page {
        max-width: 460px;
        margin: 20px auto;
        padding: 15px;

        background: var(--bg);

        border: 1px solid #d8e3ed;
        border-radius: 18px;

        box-shadow:
            0 10px 25px rgba(0, 0, 0, .08),
            0 2px 8px rgba(0, 0, 0, .04);
    }

    .app-content {
        max-width: 1100px;
        margin: 1rem;
        padding: 24px;
    }

    .app-content h1 {
        font-size: 1.75rem;
    }

    .card-contents {
        min-height: unset;
    }
    .agent,
    .brand {
        display: grid;
        grid-area: 1/1;
        justify-content: center;
        align-items: center;
        height: 240px;
    }

    .agent {
        width: 240px;
        border-radius: 50%;
        overflow: hidden;
    }

    .agent-video {
        width: auto;
        height: auto;
    }

    .columns.two-col {
        grid-template-columns: 1fr 1fr;
    }

    .columns.three-col {
        grid-template-columns: 1fr 1fr 1fr;
    }


    .send_pin_choice_radio_option {
        display: inline-flex;
        gap: 15px;
        align-items: center;
        justify-content: center;
    }

    .pin_options_left div {
        justify-content: center;
    }

    .details {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }

    .info-label {
        font-weight: bold;
        color: black;
        width: 40%;
    }

    .info-value {
        color: black;
        width: 40%;
        text-align: right;
    }

    .info-separator {
        color: black;

    }

    .vira-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 2rem;
        gap: 1rem;
    }

    .help {
        display: flex;
        flex-direction: column;
        margin-top: 1rem;
    }
}

/* Columns method: mobile stacked, desktop selectable columns */
.columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

#start_video,
#stop_video {
    cursor: pointer;
}

.vira-hud,
.va-help-button,
.call-help-button {
    display: grid;
    justify-content: center;
}

.vira-hud {
    margin-bottom: 1rem;
}

.logo {
    text-align: center;
}

.logo img {
    max-width: 240px;
}

.hide {
    display: none !important;
    transition: all 0.3s ease-in-out;
}

.show {
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-button-container {
    display: grid;
    width: 100%;
}

.help-buttons,
.vira-back-div {
    display: grid;
    grid-area: 1/1;
    justify-content: center;
    align-items: center;
}

.vira-back-div {
    display: flex;
    width: 100%;
    justify-content: left;
    align-items: center;
}

.vira-back-div a {
    display: flex;
    text-decoration: none;
    line-height: 0;
}

.help-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.help-buttons > *{
    pointer-events: auto;
}

.vira-back-button,
.help-buttons img {
    width: 4rem !important;
    height: 4rem !important;
    padding: .5rem;
}

.call-link {
    text-decoration: none;
    line-height: 0;
}

.company_logo {
    max-height: 230px;
}

.input_defaults {
    border: 1px solid #45BDEE;
    border-radius: 6px;
    height: 30px;
    padding-left: 5px;
    color: #45BDEE !important;
    background-color: white !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Poppins';

}

.send_pin_choice {
    display: none;
}

.vira-submit-button {
    border-radius: 25px;
    height: 45px;
    width: 310px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.neon-lime-button {
    background: #7Ed957;
    color: white;
}

.green-button {
    background: #4da826;
    color: white;
}

.purple-button {
    background: #6B73C4;
    color: white;
}

.red-button {
    background: red;
    color: white;
}

.blue-button {
    background: #45BDEE;
    color: white;
}

.btn-disabled,
.grey-button{
    background: #D9D9D9;
    color: white;
    cursor: default;
}

.info-headers {
    font-size: 20px;
    background-color: white;
    border-radius: 15px;
    margin-right: 15px;
    margin-left: 15px;
}

.info-header-1 {
    text-align: center;
    padding-top: 10px !important;
    font-weight: bold;
    color: black;
}

.info-header-2 {
    text-align: center;
    padding-bottom: 10px !important;
    color: black;
}


.accepted-cards {
    display: flex;
    gap: 1rem;
    margin: .5rem;
}

.accepted-cards img {
    height: 30px;
}

.card-name,
.card-number {
    width: 75%;
}
.card-num-div {
    position: relative;
}

.card-addl-info {
    display: flex;
    gap: 1rem;
}

.card-expiry-div,
.card-cvv-div {
    display: flex;
    gap: 1rem;
    padding: .3rem;
}

.card_mm,
.card_yy,
.card_cvv {
    width: 75px !important;
    display: inline;
}

.card-brand {
    height: 28px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15%;
    display: none;
}

.is-valid {
    border: 1px solid green;
}

.is-invalid {
    border: 1px solid red;
}

.altcha-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.altcha-widget {
    display: flex;
}

.altcha-main {
    padding: .2rem;
}

.receipt-header {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: black;
}

.notes-footer {
    text-align: center;
    font-size: .7rem;
    color: black;
    margin: 1.5rem;
}

.page-detail {
    margin-top: .5rem;
}
