.banner-calculator {
    align-items: flex-start;
}

.banner-calculator .banner-content {
    margin-top: 0;
    padding-top: 0;
}

.appointment-payment-required-note {
    display: block;
    margin: 0.65rem 0 0.9rem;
    padding: 0.72rem 0.95rem;
    border: 1px solid #d7e5f3;
    border-left: 4px solid #1d5a98;
    border-radius: 10px;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f8ff 100%);
    color: #1d4f86;
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 3px 10px rgba(29, 90, 152, 0.08);
}

.appointment-booking-success-wrapper {
    display: none;
    width: 100%;
    max-width: 600px;
    margin: 0.55rem auto 0.95rem;
    padding-top: 0.15rem;
}

.appointment-booking-success {
    background: #fff;
    border: 1px solid #d9e8f3;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(29, 90, 152, 0.1);
    overflow: hidden;
}

.appointment-booking-success__header {
    padding: 1rem 1.1rem 0.85rem;
    background: linear-gradient(180deg, #f6fbf7 0%, #fff 100%);
}

.appointment-booking-success__eyebrow {
    display: block;
    margin: 0 0 0.38rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6fa968;
}

.appointment-booking-success__message {
    display: block;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.45;
    color: #1d3550;
    font-weight: 600;
}

.appointment-booking-success__payment {
    padding: 0.72rem 1.1rem 0.82rem;
    background: #fcfeff;
    border-top: 1px solid #eef3f7;
}

.appointment-booking-success__copy {
    min-width: 0;
}

.appointment-booking-success__redirect-note {
    margin: 0 0 0.75rem;
    font-size: 0.98rem;
    line-height: 1.45;
    color: #4a6075;
}

.appointment-booking-success__auto-note {
    margin: -0.15rem 0 0.75rem;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #6b7f92;
}

.appointment-booking-success__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: #1d5a98;
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(29, 90, 152, 0.22);
}

.appointment-booking-success__btn:hover,
.appointment-booking-success__btn:focus {
    background: #174a7d;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(29, 90, 152, 0.28);
}

.appointment-booking-success__btn .fa {
    font-size: 0.95rem;
}

@media (max-width: 767.98px) {
    .banner-calculator .banner-content {
        margin-bottom: 0.75rem;
    }

    .appointment-booking-success-wrapper {
        max-width: none;
        margin-top: 0.55rem;
        padding-top: 0.1rem;
    }

    .appointment-payment-required-note {
        margin-top: 0.5rem;
        margin-bottom: 0.75rem;
        padding: 0.62rem 0.78rem;
        font-size: 0.85rem;
        line-height: 1.4;
        border-left-width: 3px;
    }

    .appointment-booking-success__header {
        padding: 0.82rem 0.92rem 0.72rem;
    }

    .appointment-booking-success__eyebrow {
        font-size: 0.78rem;
        line-height: 1.2;
        margin-bottom: 0.35rem;
    }

    .appointment-booking-success__message {
        font-size: 0.98rem;
        line-height: 1.4;
    }

    .appointment-booking-success__payment {
        padding: 0.65rem 0.9rem 0.8rem;
    }

    .appointment-booking-success__redirect-note {
        font-size: 0.94rem;
        margin-bottom: 0.65rem;
    }

    .appointment-booking-success__auto-note {
        margin-top: -0.2rem;
        margin-bottom: 0.65rem;
        font-size: 0.77rem;
    }

    .appointment-booking-success__btn {
        min-height: 50px;
    }
}

@media (min-width: 768px) {
    .appointment-booking-success__header {
        padding: 1.05rem 1.35rem 0.88rem;
    }

    .appointment-booking-success__payment {
        display: flex;
        align-items: center;
        gap: 0.9rem;
        padding: 0.72rem 1.35rem 0.82rem;
    }

    .appointment-booking-success__copy {
        flex: 1;
    }

    .appointment-booking-success__btn {
        width: 230px;
        margin-left: auto;
        flex-shrink: 0;
    }

    .appointment-booking-success__redirect-note {
        margin-bottom: 0;
    }

    .appointment-booking-success__auto-note {
        margin-top: 0.32rem;
        margin-bottom: 0;
    }
}
