/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-2a240itpbi] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-2a240itpbi] {
    flex: 1;
}

.sidebar[b-2a240itpbi] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-2a240itpbi] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-2a240itpbi]  a, .top-row[b-2a240itpbi]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-2a240itpbi]  a:hover, .top-row[b-2a240itpbi]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-2a240itpbi]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-2a240itpbi] {
        justify-content: space-between;
    }

    .top-row[b-2a240itpbi]  a, .top-row[b-2a240itpbi]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-2a240itpbi] {
        flex-direction: row;
    }

    .sidebar[b-2a240itpbi] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-2a240itpbi] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-2a240itpbi]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-2a240itpbi], article[b-2a240itpbi] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-2a240itpbi] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-2a240itpbi] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Payment.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════
   Payment Page — scoped styles
   Matches the theme-park booking checkout design.
   Primary accent: #7DC23B (bright green)
   ═══════════════════════════════════════════════════ */

/* ── Progress Stepper ────────────────────────────── */
.checkout-steps[b-qxb2e4rmt1] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    padding: 0.75rem 1rem;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
}

.step[b-qxb2e4rmt1] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #999;
    white-space: nowrap;
}

.step.completed[b-qxb2e4rmt1] {
    color: #7DC23B;
}

.step-check[b-qxb2e4rmt1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #7DC23B;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-label[b-qxb2e4rmt1] {
    font-size: 0.7rem;
}

.step-divider[b-qxb2e4rmt1] {
    flex: 1;
    height: 2px;
    background: #7DC23B;
    margin: 0 0.5rem;
    min-width: 20px;
    max-width: 60px;
}

/* ── Page Shell ──────────────────────────────────── */
.payment-page[b-qxb2e4rmt1] {
    max-width: 540px;
    margin: 0 auto;
    padding: 1rem 1rem 2rem;
    background: #fff;
    min-height: calc(100vh - 52px);
}

/* ── Page Header ─────────────────────────────────── */
.page-header[b-qxb2e4rmt1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    margin-top: 0.25rem;
}

.back-btn[b-qxb2e4rmt1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: #333;
    border-radius: 4px;
    line-height: 1;
}

.back-btn:hover[b-qxb2e4rmt1] {
    background: #f0f0f0;
}

.back-btn:focus-visible[b-qxb2e4rmt1] {
    outline: 2px solid #7DC23B;
    outline-offset: 2px;
}

.step-indicator[b-qxb2e4rmt1] {
    font-size: 0.8rem;
    color: #666;
}

/* ── Page Title ──────────────────────────────────── */
.page-title[b-qxb2e4rmt1] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 1rem;
    line-height: 1.2;
}

/* ── Timer Badge ─────────────────────────────────── */
.timer-badge[b-qxb2e4rmt1] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #7DC23B;
    color: #fff;
    border-radius: 20px;
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* ── Payment Drop-in Wrapper ─────────────────────── */
.payment-dropin-wrapper[b-qxb2e4rmt1] {
    position: relative;
    border: 2px solid #7DC23B;
    border-radius: 10px;
    padding: 1.25rem 1rem 1rem;
    margin-bottom: 1rem;
    background: #fafafa;
}

.recommended-badge[b-qxb2e4rmt1] {
    position: absolute;
    top: -12px;
    left: 1rem;
    background: #7DC23B;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
}

/* ── Secure Payment Badge ────────────────────────── */
.secure-badge[b-qxb2e4rmt1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #e8f5d6;
    border: 1px solid #b8e08a;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    color: #3a6e10;
    margin-bottom: 1.25rem;
}

/* ── Policy Sections ─────────────────────────────── */
.policy-section[b-qxb2e4rmt1] {
    border-top: 1px solid #e8e8e8;
    overflow: hidden;
}

.policy-section:last-of-type[b-qxb2e4rmt1] {
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 1.25rem;
}

.policy-header[b-qxb2e4rmt1] {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #333;
    cursor: pointer;
    user-select: none;
}

.policy-header[b-qxb2e4rmt1]::-webkit-details-marker {
    display: none;
}

.policy-header[b-qxb2e4rmt1]::after {
    content: '+';
    font-size: 1.1rem;
    font-weight: 400;
    color: #7DC23B;
    transition: transform 0.2s ease;
}

.policy-section[open] .policy-header[b-qxb2e4rmt1]::after {
    content: '−';
}

.policy-body[b-qxb2e4rmt1] {
    padding: 0 0 0.85rem;
}

.policy-body p[b-qxb2e4rmt1] {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ── Footer Links ─────────────────────────────────── */
.footer-links[b-qxb2e4rmt1] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-link-row[b-qxb2e4rmt1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.footer-link-row:last-child[b-qxb2e4rmt1] {
    border-bottom: none;
}

.footer-link-row span[b-qxb2e4rmt1] {
    font-size: 0.82rem;
    color: #555;
    flex: 1;
    min-width: 140px;
}

.action-link[b-qxb2e4rmt1] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #7DC23B;
    text-decoration: none;
    letter-spacing: 0.04em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.action-link:hover[b-qxb2e4rmt1] {
    text-decoration: underline;
    color: #5a9e1f;
}

.action-link:focus-visible[b-qxb2e4rmt1] {
    outline: 2px solid #7DC23B;
    outline-offset: 2px;
    border-radius: 2px;
}

/* ═══════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════ */

/* Tablet and up */
@media (min-width: 576px) {
    .payment-page[b-qxb2e4rmt1] {
        padding: 1.5rem 1.5rem 2.5rem;
        border-left: 1px solid #ebebeb;
        border-right: 1px solid #ebebeb;
    }

    .page-title[b-qxb2e4rmt1] {
        font-size: 1.75rem;
    }

    .step-divider[b-qxb2e4rmt1] {
        max-width: 80px;
    }
}

/* Desktop */
@media (min-width: 768px) {
    .checkout-steps[b-qxb2e4rmt1] {
        padding: 1rem 2rem;
        gap: 0;
    }

    .step-label[b-qxb2e4rmt1] {
        font-size: 0.75rem;
    }

    .step-divider[b-qxb2e4rmt1] {
        max-width: 120px;
    }

    .payment-page[b-qxb2e4rmt1] {
        padding: 2rem 2rem 3rem;
        margin-top: 1rem;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

    .footer-link-row[b-qxb2e4rmt1] {
        flex-wrap: nowrap;
    }
}

/* Wide-screen centering */
@media (min-width: 992px) {
    .checkout-steps[b-qxb2e4rmt1] {
        max-width: 100%;
    }
}
