/* =========================================
   Booking Review + Auth + My Account Pages
========================================= */

.sj-booking-page,
.sj-auth-page {
    --sj-blue: #0d2f98;
    --sj-blue-dark: #081f76;
    --sj-yellow: #f5c400;
    --sj-bg: #eef3f8;
    --sj-border: #dfe7f2;
    --sj-text: #14213d;
    --sj-muted: #6b7280;
    --sj-white: #ffffff;
    --sj-green: #dff5dd;
    --sj-green-border: #82d488;
    background: #f4f7fb;
    color: var(--sj-text);
}

.sj-booking-shell,
.sj-auth-shell {
    max-width: 1220px;
    margin: 0 auto;
    padding: 28px 16px 56px;
    box-sizing: border-box;
}

/* =========================================
   Booking Page
========================================= */

.sj-booking-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.sj-booking-topbar h1 {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.2;
    color: var(--sj-blue-dark);
}

.sj-booking-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #7b8190;
}

.sj-booking-steps span:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: #9ca3af;
}

.sj-booking-steps .active {
    color: var(--sj-blue-dark);
}

.sj-booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.sj-booking-card,
.sj-booking-summary-card,
.sj-auth-card,
.sj-auth-hero {
    background: var(--sj-white);
    border: 1px solid var(--sj-border);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(11, 24, 58, 0.08);
}

.sj-booking-card {
    padding: 22px;
}

.sj-booking-summary-card {
    padding: 20px;
    position: sticky;
    top: 90px;
}

.sj-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #e8efff;
    color: var(--sj-blue-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.sj-pill-dark {
    background: var(--sj-blue);
    color: #fff;
}

.sj-booking-card-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-top: 18px;
}

.sj-booking-airline-wrap,
.sj-summary-airline-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.sj-booking-airline-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    flex-shrink: 0;
}

.sj-booking-airline-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf3ff;
    color: var(--sj-blue-dark);
    font-size: 0.85rem;
    font-weight: 800;
}

.sj-booking-airline-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
}

.sj-booking-card-head h2,
.sj-booking-summary-card h3 {
    margin: 0 0 6px;
    font-size: clamp(1.2rem, 1.7vw, 1.6rem);
    line-height: 1.2;
    color: #0f172a;
}

.sj-booking-card-head p,
.sj-summary-sub {
    margin: 0;
    color: var(--sj-muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

.sj-booking-change-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #9db3ee;
    border-radius: 12px;
    color: var(--sj-blue);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.sj-booking-timeline {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) 100px;
    gap: 20px;
    align-items: center;
    margin: 28px 0 18px;
}

.sj-booking-time-block strong {
    display: block;
    font-size: clamp(1.6rem, 2vw, 2rem);
    line-height: 1;
    color: #0f172a;
    margin-bottom: 8px;
}

.sj-booking-time-block span {
    display: block;
    color: #475569;
    font-weight: 700;
}

.sj-booking-time-block-right {
    text-align: right;
}

.sj-booking-line-wrap {
    text-align: center;
}

.sj-booking-duration,
.sj-booking-stop-text {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 600;
}

.sj-booking-line {
    position: relative;
    height: 2px;
    background: #8fb0ff;
    margin: 12px 14px;
}

.sj-booking-line::before,
.sj-booking-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #7da0ff;
    transform: translateY(-50%);
}

.sj-booking-line::before {
    left: -3px;
}

.sj-booking-line::after {
    right: -3px;
}

.sj-booking-details {
    border-top: 1px solid var(--sj-border);
    padding-top: 16px;
}

.sj-booking-details summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--sj-blue);
}

.sj-booking-details-body {
    margin-top: 14px;
    display: grid;
    gap: 10px;
    color: #334155;
    line-height: 1.55;
}

.sj-signin-benefit-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 20px 18px;
    border-radius: 18px;
    background: var(--sj-green);
    border: 1px solid var(--sj-green-border);
}

.sj-signin-benefit-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sj-blue-dark);
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sj-signin-benefit-card h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    color: #0f172a;
}

.sj-signin-benefit-card p {
    margin: 0;
    color: #3f4d63;
}

.sj-booking-signin-btn,
.sj-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin-top: 14px;
    border: 0;
    border-radius: 14px;
    background: var(--sj-yellow);
    color: #111827;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(245, 196, 0, 0.25);
}

.sj-summary-box-title {
    margin: 22px 0 16px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--sj-blue-dark);
}

.sj-summary-row,
.sj-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    font-size: 0.98rem;
    border-bottom: 1px solid var(--sj-border);
}

.sj-summary-row span {
    color: var(--sj-muted);
}

.sj-summary-row strong,
.sj-summary-total strong {
    color: #0f172a;
}

.sj-summary-total {
    border-bottom: 0;
    font-size: 1.05rem;
    font-weight: 800;
    padding-bottom: 0;
}

/* =========================================
   Auth Page
========================================= */

.sj-auth-shell {
    display: grid;
    grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.sj-auth-hero {
    padding: 32px 28px;
}

.sj-auth-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    backdrop-filter: blur(6px);
}

.sj-auth-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.08;
    color: #fff;
}

.sj-auth-hero p {
    margin: 0;
    color: rgba(255,255,255,0.92);
    line-height: 1.75;
    font-size: 1rem;
}

.sj-auth-points {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.sj-auth-points li {
    position: relative;
    padding-left: 26px;
    color: rgba(255,255,255,0.95);
    line-height: 1.55;
    font-weight: 500;
}

.sj-auth-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    font-weight: 900;
}

.sj-auth-card {
    padding: 24px;
}

.sj-auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.sj-auth-tabs a {
    min-height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    color: var(--sj-blue-dark);
    background: #eef3ff;
    border: 1px solid #d9e4ff;
}

.sj-auth-tabs a.active {
    background: var(--sj-blue);
    color: #fff;
    border-color: var(--sj-blue);
}

.sj-auth-alert {
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 600;
}

.sj-auth-alert-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
}

.sj-auth-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.sj-auth-alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

.sj-social-buttons {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.sj-social-btn {
    min-height: 50px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9e4ff;
    background: #fff;
    color: #0f172a;
}

.sj-social-btn-google {
    background: #ffffff;
}

.sj-social-btn-facebook {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.sj-social-btn-disabled {
    opacity: 0.75;
    pointer-events: none;
}

.sj-auth-divider {
    position: relative;
    text-align: center;
    margin: 16px 0;
}

.sj-auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #e5e7eb;
    transform: translateY(-50%);
}

.sj-auth-divider span {
    position: relative;
    background: #fff;
    padding: 0 12px;
    color: #64748b;
    font-weight: 700;
    font-size: 0.9rem;
}

.sj-auth-form {
    display: grid;
    gap: 14px;
}

.sj-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sj-auth-field {
    display: grid;
    gap: 8px;
}

.sj-auth-field label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.sj-auth-field input {
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid #d5dceb;
    background: #fff;
    color: #0f172a;
    padding: 0 15px;
    font-size: 0.98rem;
    outline: none;
    box-sizing: border-box;
}

.sj-auth-field input:focus {
    border-color: #8aa8ff;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}

.sj-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 600;
    cursor: pointer;
}

.sj-auth-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--sj-blue);
}

.sj-auth-links {
    margin-top: 4px;
    text-align: center;
}

.sj-auth-links a {
    color: var(--sj-blue);
    text-decoration: none;
    font-weight: 700;
}

.sj-auth-links a:hover {
    text-decoration: underline;
}

/* =========================================
   Nextend Social Login
========================================= */

.sj-social-shortcode .nsl-container,
.sj-social-shortcode .nsl-container-block {
    width: 100%;
}

.sj-social-shortcode .nsl-button {
    width: 100% !important;
    border-radius: 14px !important;
    overflow: hidden;
}

.sj-social-shortcode .nsl-button svg {
    max-width: 20px;
    max-height: 20px;
}

/* =========================================
   Phase 1 Hero / Card Enhancements
========================================= */

.sj-auth-page-phase1 .sj-auth-hero-phase1 {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0) 28%),
        linear-gradient(135deg, #0f2f98 0%, #2149d0 40%, #6b3df4 75%, #ff6b6b 100%);
}

.sj-auth-page-phase1 .sj-auth-card-phase1 {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

/* =========================================
   My Account Page
========================================= */

.sj-account-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12) 0%, rgba(255,255,255,0) 22%),
        linear-gradient(180deg, #f4f7fb 0%, #edf4ff 100%);
}

.sj-account-shell {
    max-width: 1220px;
    margin: 0 auto;
    padding: 28px 16px 56px;
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    box-sizing: border-box;
}

.sj-account-hero {
    border-radius: 22px;
    border: 1px solid #d9e2f1;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 30%),
        linear-gradient(135deg, #1239b0 0%, #1b64f2 45%, #7c3aed 100%);
    color: #fff;
    padding: 28px;
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.12);
    position: sticky;
    top: 92px;
}

.sj-account-hero h1 {
    margin: 16px 0 8px;
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
    line-height: 1.1;
}

.sj-account-hero p {
    margin: 0;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
}

.sj-account-actions {
    margin-top: 22px;
}

.sj-account-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: #fff;
    color: #0f2f98;
    text-decoration: none;
    font-weight: 800;
}

.sj-account-panel {
    background: #fff;
    border: 1px solid #dfe7f2;
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(11, 24, 58, 0.08);
    padding: 22px;
}

.sj-account-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.sj-account-card {
    border-radius: 18px;
    border: 1px solid #e4ebf5;
    background: linear-gradient(180deg, #fdfefe 0%, #f7faff 100%);
    padding: 18px;
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(148, 163, 184, 0.08);
}

.sj-account-card-label {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.sj-account-card strong {
    font-size: 1rem;
    line-height: 1.45;
    color: #0f172a;
    word-break: break-word;
}

.sj-account-form-wrap {
    border-top: 1px solid #e2e8f0;
    padding-top: 22px;
}

.sj-account-form-wrap h2 {
    margin: 0 0 14px;
    font-size: 1.35rem;
    color: #0f172a;
}

/* =========================================
   Password Toggle
========================================= */

.sj-password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.sj-password-wrap input {
    width: 100%;
    padding-right: 84px;
}

.sj-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #0d2f98;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
}

.sj-password-toggle:hover {
    opacity: 0.8;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 1100px) {
    .sj-booking-grid,
    .sj-auth-shell,
    .sj-account-shell {
        grid-template-columns: 1fr;
    }

    .sj-booking-summary-card,
    .sj-account-hero {
        position: static;
    }

    .sj-account-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .sj-booking-shell,
    .sj-auth-shell,
    .sj-account-shell {
        padding: 18px 12px 44px;
    }

    .sj-booking-card,
    .sj-booking-summary-card,
    .sj-auth-card,
    .sj-auth-hero,
    .sj-account-hero,
    .sj-account-panel {
        border-radius: 18px;
        padding: 18px;
    }

    .sj-booking-topbar,
    .sj-booking-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .sj-booking-timeline {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sj-booking-time-block-right {
        text-align: left;
    }

    .sj-auth-grid,
    .sj-account-card-grid {
        grid-template-columns: 1fr;
    }

    .sj-account-card {
        min-height: auto;
        padding: 16px;
    }

    .sj-auth-hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }
}

/* Password toggle */
.sj-password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.sj-password-wrap input {
    width: 100%;
    padding-right: 84px;
}

.sj-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #0d2f98;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
}

.sj-password-toggle:hover {
    opacity: 0.8;
}

/* =========================================
   Review Booking Flight Drawer
========================================= */

.sj-booking-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    border: none;
    background: transparent;
    padding: 0;
    color: var(--sj-blue);
    font-weight: 800;
    font-size: 0.98rem;
    cursor: pointer;
    text-decoration: none;
}

.sj-booking-details-btn:hover {
    text-decoration: underline;
}

.sj-flight-drawer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.sj-flight-drawer.is-active {
    pointer-events: auto;
}

.sj-flight-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sj-flight-drawer.is-active .sj-flight-drawer-overlay {
    opacity: 1;
}

.sj-flight-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(420px, 100vw);
    height: 100vh;
    background: #eef3f8;
    box-shadow: -10px 0 30px rgba(11, 24, 58, 0.18);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.28s ease;
}

.sj-flight-drawer.is-active .sj-flight-drawer-panel {
    transform: translateX(0);
}

.sj-flight-drawer-header {
    background: #0d2f98;
    color: #fff;
    padding: 18px 18px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sj-flight-drawer-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
}

.sj-flight-drawer-close {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.sj-flight-drawer-tabs {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 18px;
    background: #fff;
    border-bottom: 1px solid var(--sj-border);
}

.sj-flight-tab {
    min-height: 52px;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    border-bottom: 3px solid transparent;
}

.sj-flight-tab.is-active {
    color: #0d2f98;
    border-bottom-color: #f5c400;
}

.sj-flight-drawer-body {
    padding: 18px;
    overflow-y: auto;
    flex: 1 1 auto;
}

.sj-flight-tab-panel {
    display: none;
}

.sj-flight-tab-panel.is-active {
    display: block;
}

.sj-flight-drawer-card {
    background: #fff;
    border: 1px solid var(--sj-border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(11, 24, 58, 0.06);
}

.sj-flight-drawer-card h4 {
    margin: 0 0 14px;
    font-size: 1.08rem;
    color: #0f172a;
}

.sj-flight-airline-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.sj-flight-drawer-airline-logo,
.sj-flight-drawer-airline-fallback {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    flex-shrink: 0;
}

.sj-flight-drawer-airline-logo {
    object-fit: contain;
    background: #fff;
}

.sj-flight-drawer-airline-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf3ff;
    color: var(--sj-blue-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.sj-flight-airline-name {
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
}

.sj-flight-route-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.sj-flight-route-sub {
    color: var(--sj-muted);
    line-height: 1.5;
    font-size: 0.92rem;
}

.sj-flight-drawer-timeline {
    display: grid;
    grid-template-columns: 72px 34px minmax(0, 1fr) 72px;
    gap: 12px;
    align-items: start;
}

.sj-flight-drawer-time-col strong {
    display: block;
    color: #0f172a;
    font-size: 1.15rem;
    line-height: 1.1;
    margin-bottom: 6px;
}

.sj-flight-drawer-time-col-right {
    text-align: right;
}

.sj-flight-drawer-date {
    color: var(--sj-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.sj-flight-drawer-line-col {
    position: relative;
    min-height: 230px;
}

.sj-flight-drawer-line {
    position: absolute;
    left: 16px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #7da0ff;
}

.sj-flight-drawer-line-col::before,
.sj-flight-drawer-line-col::after {
    content: '';
    position: absolute;
    left: 10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #7da0ff;
}

.sj-flight-drawer-line-col::before {
    top: 0;
}

.sj-flight-drawer-line-col::after {
    bottom: 0;
}

.sj-flight-drawer-duration {
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translate(-100%, -50%);
    white-space: nowrap;
    color: #64748b;
    font-weight: 700;
    font-size: 0.92rem;
}

.sj-flight-drawer-stop-card {
    min-width: 0;
}

.sj-flight-drawer-stop-code,
.sj-flight-drawer-destination-code {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.sj-flight-drawer-segment-airline {
    margin: 18px 0 4px;
    font-weight: 700;
    color: #334155;
}

.sj-flight-drawer-segment-code,
.sj-flight-drawer-stop-airport,
.sj-flight-drawer-terminal {
    color: var(--sj-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.sj-flight-drawer-destination-code {
    margin-top: 18px;
}

.sj-flight-baggage-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--sj-border);
    color: #0f172a;
    font-weight: 600;
    line-height: 1.55;
}

.sj-flight-baggage-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sj-flight-policy-item + .sj-flight-policy-item {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--sj-border);
}

.sj-flight-policy-item strong {
    display: block;
    margin-bottom: 6px;
    color: #0f172a;
}

.sj-flight-policy-item p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

body.sj-flight-drawer-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .sj-flight-drawer-panel {
        width: 100vw;
    }

    .sj-flight-drawer-body {
        padding: 14px;
    }

    .sj-flight-drawer-card {
        padding: 16px;
        border-radius: 16px;
    }

    .sj-flight-drawer-timeline {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sj-flight-drawer-line-col {
        min-height: 40px;
    }

    .sj-flight-drawer-line,
    .sj-flight-drawer-line-col::before,
    .sj-flight-drawer-line-col::after,
    .sj-flight-drawer-duration {
        display: none;
    }

    .sj-flight-drawer-time-col-right {
        text-align: left;
    }
}
