.account-bridge-page {
    min-height: 100vh;
    padding: 34px 20px 76px;
    background:
        radial-gradient(circle at top left, rgba(255, 214, 128, 0.28), transparent 28rem),
        linear-gradient(180deg, #f7fbf8 0%, #eef5f1 100%);
    color: #122b43;
}

.account-bridge-hero,
.account-bridge-stage {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.account-bridge-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
    gap: 24px;
    align-items: stretch;
    padding: 30px;
    border: 1px solid #d6e4dd;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 36px rgba(18, 43, 67, 0.08);
}

.account-bridge-kicker,
.account-bridge-section-head p,
.account-bridge-summary-kicker {
    margin: 0 0 10px;
    font: 850 0.78rem/1.2 "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2f6d4a;
}

.account-bridge-hero h1 {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.account-bridge-lead {
    max-width: 760px;
    margin: 16px 0 0;
    color: #496273;
    font-size: 1.06rem;
    line-height: 1.65;
}

.account-bridge-hero-panel {
    display: grid;
    gap: 14px;
    align-content: center;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid #cfe0d7;
    background: linear-gradient(135deg, #f4fbf6, #ffffff);
}

.account-bridge-hero-panel p {
    margin: 0;
    font: 850 0.8rem/1.2 "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #607485;
}

.account-bridge-hero-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.account-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    color: #ffffff;
    font: 850 0.92rem/1 "Segoe UI", Arial, sans-serif;
    box-shadow: 0 8px 18px rgba(18, 43, 67, 0.1);
}

.class-1 { background: #269dd8; }
.class-2 { background: #1fa44b; }
.class-3 { background: #f47b20; }
.class-4 { background: #6b5b95; }
.class-5 { background: #55657a; }
.class-7 { background: #d05a6e; }

.account-bridge-stage {
    margin-top: 24px;
    padding: 28px;
    border: 1px solid #d6e4dd;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 34px rgba(18, 43, 67, 0.07);
}

.account-bridge-topline,
.account-bridge-section-head,
.account-bridge-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.account-bridge-status-chip,
.account-bridge-back-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font: 850 0.88rem/1 "Segoe UI", Arial, sans-serif;
}

.account-bridge-status-chip {
    background: #e9f6ee;
    color: #237344;
}

.account-bridge-back-link {
    border: 1px solid #cfe0d7;
    color: #244966;
    text-decoration: none;
    background: #ffffff;
}

.account-bridge-path {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 30px;
}

.account-bridge-path article {
    padding: 18px;
    border: 1px solid #d8e5df;
    border-radius: 16px;
    background: #f8fbf9;
}

.account-bridge-path span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2f6d4a;
    color: #fff;
    font-weight: 900;
}

.account-bridge-path h2,
.account-bridge-section-head h2,
.account-bridge-card h3,
.account-bridge-summary-card h2 {
    margin: 10px 0 0;
    letter-spacing: 0;
}

.account-bridge-path p,
.account-bridge-section-head span,
.account-bridge-card-text,
.account-bridge-summary-card p {
    margin: 8px 0 0;
    color: #52687a;
    line-height: 1.55;
}

.account-bridge-section {
    display: grid;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid #e2ebe6;
}

.account-bridge-section + .account-bridge-section {
    margin-top: 26px;
}

.account-bridge-list {
    display: grid;
    gap: 14px;
}

.account-bridge-card {
    padding: 20px;
    border: 1px solid #d8e5df;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(18, 43, 67, 0.05);
}

.account-bridge-card-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.account-bridge-card-number {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef6f1;
    color: #2f6d4a;
    font: 850 0.78rem/1 "Segoe UI", Arial, sans-serif;
}

.account-bridge-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.account-bridge-account-btn,
.account-bridge-cta-link {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    padding: 11px 18px;
    border-radius: 12px;
    background: #193147;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}
.account-bridge-cta-link:hover {
    background: #254863;
    transform: translateY(-1px);
}

.account-bridge-choice-btn,
.account-bridge-check-btn,
.account-bridge-reset-btn {
    border: 0;
    cursor: pointer;
    font-family: "Segoe UI", Arial, sans-serif;
}

.account-bridge-account-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 78px;
    padding: 12px;
    border-radius: 14px;
    color: #ffffff;
    text-align: left;
    font-weight: 850;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.12);
}

.account-bridge-account-btn small {
    opacity: 0.9;
    font-weight: 800;
}

.account-bridge-account-btn.is-selected {
    outline: 4px solid rgba(47, 109, 74, 0.28);
    outline-offset: 2px;
}

.account-bridge-account-btn.is-correct {
    box-shadow: inset 0 0 0 3px #ffffff, 0 0 0 3px rgba(47, 109, 74, 0.26);
}

.account-bridge-account-btn.is-wrong {
    filter: grayscale(0.35);
    opacity: 0.7;
}

.account-bridge-change-row,
.account-bridge-booking-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
    background: #f7faf8;
}

.account-bridge-change-actions,
.account-bridge-booking-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.account-bridge-choice-btn {
    min-width: 76px;
    min-height: 40px;
    border-radius: 999px;
    background: #edf2f6;
    color: #25465d;
    font-weight: 900;
}

.account-bridge-choice-btn.is-plus {
    background: #e7f6ed;
    color: #237344;
}

.account-bridge-choice-btn.is-minus {
    background: #fff0e8;
    color: #b65017;
}

.account-bridge-choice-btn.is-active {
    outline: 3px solid rgba(18, 43, 67, 0.2);
}

.account-bridge-amount-input {
    width: 130px;
    min-height: 42px;
    border: 1px solid #c9d8d1;
    border-radius: 12px;
    padding: 0 12px;
    font: 850 1rem/1 "Segoe UI", Arial, sans-serif;
}

.account-bridge-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.account-bridge-check-btn,
.account-bridge-reset-btn {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    background: #2f6d4a;
    color: #ffffff;
    font-weight: 900;
}

.account-bridge-reset-btn {
    background: #eff5f1;
    color: #244966;
}

.account-bridge-feedback {
    min-height: 24px;
    color: #52687a;
    font-weight: 750;
}

.account-bridge-feedback.is-correct {
    color: #237344;
}

.account-bridge-feedback.is-wrong {
    color: #a94422;
}

.account-bridge-summary-card {
    margin-top: 30px;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid #b9dcc7;
    background: linear-gradient(135deg, #eff9f3, #ffffff);
}

@media (max-width: 820px) {
    .account-bridge-hero,
    .account-bridge-path,
    .account-bridge-change-row,
    .account-bridge-booking-row {
        grid-template-columns: 1fr;
    }

    .account-bridge-topline,
    .account-bridge-section-head,
    .account-bridge-summary-card {
        align-items: stretch;
        flex-direction: column;
    }

    .account-bridge-change-actions,
    .account-bridge-booking-actions {
        justify-content: flex-start;
    }
}
