/* Payment modal — alag file taake aapki appointment-wizard.css ko haath na lagana pade.
   Index ke <head> me ek link add karein (neeche instructions me diya hai). */

.pay-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1000;
}

    .pay-modal.open {
        display: block;
    }

.pay-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(31, 39, 51, .55);
}

.pay-modal__dialog {
    position: relative;
    max-width: 440px;
    margin: 8vh auto 0;
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    animation: fadeIn .2s ease;
}

.pay-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: none;
    font-size: 26px;
    line-height: 1;
    color: var(--grey);
    cursor: pointer;
}

.pay-modal__title {
    font-family: 'Poppins',sans-serif;
    font-size: 20px;
    text-align: center;
    color: var(--ink);
    margin: 0 0 18px;
}

.pay-modal .btn-primary {
    width: 100%;
    margin-top: 18px;
}

@media (max-width:480px) {
    .pay-modal__dialog {
        margin: 4vh 14px 0;
    }
}
