﻿
:root {
    --navy: #0F2A43;
    --navy-deep: #0A1D30;
    --gold: #C8A24A;
    --gold-soft: #E9DCB6;
    --cream: #F6F4EF;
    --ink: #1B2733;
    --muted: #647183;
    --success: #3E7A57;
    --line: #E4E1D8;
}

* {
    box-sizing: border-box;
}
/*
body {
    margin: 0;
    font-family: 'Inter',sans-serif;
    background: linear-gradient(160deg,#0A1D30,#13314F 55%,#0A1D30);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: var(--ink);
}
*/
/* backdrop page hint, just so the modal has context behind it */
.page-hint {
    position: fixed;
    top: 32px;
    left: 32px;
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
/*
.modal {
    width: 100%;
    max-width: 480px;
    background: var(--cream);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
    animation: rise .45s cubic-bezier(.2,.8,.2,1);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-title {
    font-family: 'Cormorant Garamond',serif;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 14px;
}
.modal-header {
    background: var(--navy);
    padding: 26px 28px 22px;
    position: relative;
}

    .modal-header::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 3px;
        background: linear-gradient(90deg,var(--gold),transparent 70%);
    }

.close-btn {
    position: absolute;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.55);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background .15s, color .15s;
}

    .close-btn:hover {
        background: rgba(255,255,255,0.08);
        color: #fff;
    }

    .close-btn:focus-visible {
        outline: 2px solid var(--gold);
        outline-offset: 2px;
    }
*/
.eyebrow {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin: 0 0 6px;
    font-weight: 600;
}


.amount-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

    .amount-row .label {
        color: rgba(255,255,255,0.6);
        font-size: 13px;
    }

    .amount-row .amount {
        font-family: 'Cormorant Garamond',serif;
        font-size: 26px;
        color: var(--gold-soft);
        font-weight: 600;
    }

.booking-ref {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: .02em;
}

.modal-body {
    padding: 24px 28px 8px;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 12px;
}

fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.gateway-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gateway-option {
    position: relative;
}

    .gateway-option input {
        position: absolute;
        opacity: 0;
        width: 1px;
        height: 1px;
    }

.gateway-card {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 13px 16px;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.gateway-option input:focus-visible + .gateway-card {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
}

.gateway-option input:checked + .gateway-card {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(15,42,67,0.08);
    background: #FDFCF9;
}

.gateway-card:hover {
    border-color: #B9C2CC;
}

.radio-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #C7CCD3;
    flex: 0 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .15s;
}

.gateway-option input:checked + .gateway-card .radio-dot {
    border-color: var(--navy);
}

.radio-dot::after {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--navy);
    transform: scale(0);
    transition: transform .15s;
}

.gateway-option input:checked + .gateway-card .radio-dot::after {
    transform: scale(1);
}

.gw-mark {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond',serif;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
}

.gw-razorpay {
    background: #1B3A7A;
}

.gw-payu {
    background: #5C9E45;
}

.gw-ccavenue {
    background: #9C3F45;
}

.gw-upi {
    background: var(--navy);
}

.gw-info {
    flex: 1;
    min-width: 0;
}

.gw-name {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 2px;
}

.gw-sub {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.gw-badge {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--success);
    background: #E7F0E9;
    padding: 3px 8px;
    border-radius: 5px;
    flex-shrink: 0;
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 4px;
    padding: 11px 14px;
    background: #EFF3F1;
    border-radius: 8px;
    font-size: 12px;
    color: var(--muted);
}

    .trust-row svg {
        flex-shrink: 0;
    }

.modal-footer {
    padding: 18px 28px 26px;
}

.pay-btn {
    width: 100%;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter',sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s, transform .1s;
    letter-spacing: .01em;
}

    .pay-btn:hover {
        background: #0C2336;
    }

    .pay-btn:active {
        transform: scale(.99);
    }

    .pay-btn:focus-visible {
        outline: 2px solid var(--gold);
        outline-offset: 2px;
    }

    .pay-btn .arrow {
        transition: transform .15s;
    }

    .pay-btn:hover .arrow {
        transform: translateX(3px);
    }

.error-text {
    color: #A5414A;
    font-size: 12.5px;
    margin: 10px 2px 0;
    display: none;
}

    .error-text.show {
        display: block;
    }

.cancel-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted);
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    padding: 4px;
}

    .cancel-link:hover {
        color: var(--ink);
        text-decoration: underline;
    }
/*
@media (max-width:480px) {
    .modal {
        border-radius: 12px;
    }

    .modal-header {
        padding: 22px 20px 18px;
    }

    .modal-body {
        padding: 20px 20px 6px;
    }

    .modal-footer {
        padding: 16px 20px 22px;
    }
}
*/
@media (prefers-reduced-motion: reduce) {
    .modal {
        animation: none;
    }

    * {
        transition: none !important;
    }
}
