/* ================================================
   انترفيس للسفر — Arabic RTL Travel UI 2026
   ================================================ */

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Tajawal', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #172033;
    background: #f0f4f8;
    direction: rtl;
}

/* ── Navbar ── */
.nav-shell {
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid rgba(203,213,225,0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(15,23,42,0.06);
    padding: 0.65rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #172033;
    text-decoration: none;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a56db, #0ea5e9);
    color: #fff;
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 0;
    box-shadow: 0 8px 20px rgba(26,86,219,0.32);
    flex-shrink: 0;
}

.brand-mark--sm {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 0.72rem;
}

.brand-name {
    font-size: 1rem;
    color: #0f172a;
}

.brand-subtitle {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
}

.nav-pill {
    color: #475569;
    font-weight: 600;
    padding: 0.48rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    transition: all 0.16s ease;
    text-decoration: none;
}

.nav-pill:hover { background: #eff6ff; color: #1a56db; }
.nav-pill.active {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1a56db;
    font-weight: 700;
}

.app-toggler {
    border: 0; padding: 0.4rem;
    display: inline-flex; flex-direction: column; gap: 4px;
    box-shadow: none; background: transparent;
}

.toggler-line {
    width: 22px; height: 2px; border-radius: 999px;
    background: #172033;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-toggler[aria-expanded="true"] .toggler-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.app-toggler[aria-expanded="true"] .toggler-line:nth-child(2) { opacity: 0; }
.app-toggler[aria-expanded="true"] .toggler-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-user-badge {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.82rem; font-weight: 600;
    padding: 0.4rem 0.85rem; border-radius: 999px;
    background: #ecfdf5; color: #047857;
    border: 1px solid #a7f3d0;
    max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.nav-auth-btn {
    border-radius: 999px; font-weight: 700;
    padding: 0.45rem 1.1rem; font-size: 0.87rem;
    background: linear-gradient(135deg, #1a56db, #0ea5e9);
    border: 0;
}

/* ── Alert overrides ── */
.alert { border-radius: 14px; font-weight: 500; }

/* ================================================
   HOME PAGE
   ================================================ */
.home-hero {
    position: relative;
    background: linear-gradient(135deg, #0b2d6b 0%, #1a56db 50%, #0891b2 100%);
    padding: 3.5rem 0 5rem;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 85% 40%, rgba(14,165,233,0.45), transparent 50%),
        radial-gradient(circle at 15% 60%, rgba(99,102,241,0.35), transparent 50%);
    pointer-events: none;
}

.home-hero::after {
    content: '✈';
    position: absolute;
    font-size: 20rem; opacity: 0.04;
    bottom: -3rem; inset-inline-start: -2rem;
    transform: rotate(-25deg);
    pointer-events: none; user-select: none;
    line-height: 1;
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    color: #bfdbfe;
    padding: 0.45rem 1rem; border-radius: 999px;
    font-size: 0.84rem; font-weight: 600;
    backdrop-filter: blur(10px); margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900; line-height: 1.15;
    color: #fff; margin-bottom: 1rem;
}

.hero-title-accent {
    background: linear-gradient(90deg, #60a5fa, #a5f3fc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-subtitle {
    color: rgba(255,255,255,0.82);
    font-size: 1.05rem; max-width: 540px; margin: 0 auto;
}

.home-search-card {
    background: rgba(255,255,255,0.13);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 24px; padding: 1.5rem;
    max-width: 660px; margin: 0 auto;
}

.search-tabs {
    display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem;
}

.search-tab {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1.1rem; border-radius: 999px;
    color: rgba(255,255,255,0.72); font-size: 0.88rem; font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.16s ease;
}

.search-tab:hover, .search-tab.active {
    background: rgba(255,255,255,0.2); color: #fff;
    border-color: rgba(255,255,255,0.45);
}

.btn-search-hero {
    background: #fff; color: #1a56db; border: 0;
    border-radius: 999px; font-weight: 800; font-size: 1rem;
    padding: 0.9rem 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.22);
    transition: all 0.2s ease; width: 100%;
    font-family: 'Tajawal', sans-serif;
}

.btn-search-hero:hover {
    background: #f0f9ff; color: #1a56db;
    transform: translateY(-2px);
    box-shadow: 0 28px 52px rgba(0,0,0,0.28);
}

/* Stats bar */
.stats-bar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15,23,42,0.05);
}

.stat-item { padding: 0.5rem; }

.stat-number {
    font-size: 1.85rem; font-weight: 900;
    color: #1a56db; line-height: 1;
}

.stat-label {
    font-size: 0.82rem; color: #64748b;
    margin-top: 0.25rem; font-weight: 500;
}

/* Section header */
.section-eyebrow {
    display: inline-block; font-size: 0.78rem;
    font-weight: 700; color: #1a56db;
    background: #eff6ff; padding: 0.3rem 0.9rem;
    border-radius: 999px; margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 900; color: #0f172a; margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #64748b; font-size: 1rem;
    max-width: 500px; margin: 0 auto;
}

/* Services */
.services-section { background: #f8fafc; }

.service-card {
    display: block; background: #fff;
    border: 1px solid #e2e8f0; border-radius: 22px;
    padding: 1.6rem; text-decoration: none; color: #172033;
    transition: all 0.22s ease; height: 100%; position: relative; overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: #93c5fd;
    box-shadow: 0 20px 50px rgba(26,86,219,0.1);
    color: #172033;
}

.service-icon-wrap {
    width: 58px; height: 58px; border-radius: 18px;
    background: var(--icon-bg, #eff6ff);
    color: var(--icon-color, #1a56db);
    display: grid; place-items: center;
    font-size: 1.4rem; margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.08rem; font-weight: 800;
    margin-bottom: 0.5rem; color: #0f172a;
}

.service-card p {
    font-size: 0.88rem; color: #64748b;
    line-height: 1.65; margin-bottom: 1rem;
}

.service-link {
    font-size: 0.88rem; font-weight: 700;
    color: var(--icon-color, #1a56db);
}

.promo-badge {
    position: absolute; top: 1rem; inset-inline-start: 1rem;
    background: #dc2626; color: #fff;
    font-size: 0.7rem; font-weight: 800;
    padding: 0.2rem 0.6rem; border-radius: 999px;
}

/* Destinations */
.destinations-section { background: #fff; }

.dest-card {
    background: var(--dest-color, #1a56db);
    border-radius: 20px; padding: 1.25rem;
    text-align: center; cursor: pointer;
    transition: all 0.2s ease; color: #fff;
    min-height: 120px; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}

.dest-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.dest-emoji { font-size: 2.2rem; margin-bottom: 0.4rem; }
.dest-name { font-size: 1rem; font-weight: 800; }
.dest-code { font-size: 0.75rem; opacity: 0.8; font-weight: 600; letter-spacing: 0.06em; }

/* CTA */
.cta-section { background: #f8fafc; }

.cta-card {
    background: linear-gradient(135deg, #1a56db 0%, #0891b2 100%);
    border-radius: 28px; padding: 3rem; color: #fff;
    box-shadow: 0 30px 70px rgba(26,86,219,0.28);
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900; margin-bottom: 0.75rem;
}

.cta-text { opacity: 0.88; font-size: 1rem; margin-bottom: 0; }

.btn-white {
    background: #fff; color: #1a56db; border: 0;
    font-weight: 800; border-radius: 999px;
    transition: all 0.18s ease; font-family: 'Tajawal', sans-serif;
}

.btn-white:hover { background: #f0f9ff; color: #1a56db; transform: translateY(-1px); }

.btn-outline-white {
    background: transparent; color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    font-weight: 800; border-radius: 999px;
    transition: all 0.18s ease; font-family: 'Tajawal', sans-serif;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.15); color: #fff; border-color: #fff;
}

/* Footer */
.site-footer { background: #0f172a; color: #94a3b8; padding: 3rem 0 1.5rem; }

.footer-brand {
    display: flex; align-items: center; gap: 0.75rem;
    color: #fff; font-size: 1.05rem;
}

.footer-desc { font-size: 0.88rem; color: #64748b; line-height: 1.7; }

.footer-heading {
    color: #e2e8f0; font-weight: 700; font-size: 0.88rem;
    margin-bottom: 1rem; letter-spacing: 0.04em;
}

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li,
.footer-links a {
    font-size: 0.88rem; color: #64748b; text-decoration: none;
    margin-bottom: 0.6rem; display: block; transition: color 0.15s;
}

.footer-links a:hover { color: #93c5fd; }
.footer-divider { border-color: #1e293b; margin: 2rem 0 1rem; }
.footer-bottom { font-size: 0.82rem; color: #475569; }
.footer-bottom p { margin: 0; }

/* ================================================
   AUTH PAGE
   ================================================ */
.auth-page {
    min-height: calc(100vh - 80px);
    background: linear-gradient(160deg, #eff6ff 0%, #f8fbff 60%, #e0f2fe 100%);
    padding: 2.5rem 0 4rem;
}

.auth-info-panel h1 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 900; color: #0f172a; margin-bottom: 0.75rem;
}

.auth-info-panel p { color: #64748b; font-size: 1rem; }

.auth-feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }

.auth-feature-list li {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.55rem 0; font-size: 0.94rem; color: #334155;
}

.auth-feature-list li i { color: #1a56db; width: 20px; text-align: center; }

.auth-card {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15,23,42,0.09);
    overflow: hidden;
}

.auth-tabs { display: flex; border-bottom: 1px solid #e2e8f0; }

.auth-tab-btn {
    flex: 1; padding: 1rem; border: 0;
    background: #f8fafc; color: #64748b;
    font-weight: 700; font-size: 0.93rem;
    font-family: 'Tajawal', sans-serif; cursor: pointer;
    transition: all 0.18s ease;
    border-bottom: 3px solid transparent;
}

.auth-tab-btn.active {
    background: #fff; color: #1a56db;
    border-bottom-color: #1a56db;
}

.auth-tab-panel { padding: 1.75rem; display: none; }
.auth-tab-panel.active { display: block; }

/* Shared form controls */
.form-label-ar {
    font-size: 0.84rem; font-weight: 700;
    color: #374151; margin-bottom: 0.4rem; display: block;
}

.form-control-ar {
    border: 1.5px solid #e2e8f0; border-radius: 12px;
    padding: 0.72rem 1rem; font-family: 'Tajawal', sans-serif;
    font-size: 0.95rem; color: #172033;
    transition: border-color 0.18s, box-shadow 0.18s;
    width: 100%; background: #fafbff;
}

.form-control-ar:focus {
    border-color: #1a56db;
    box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
    outline: none; background: #fff;
}

.form-control-ar.with-icon { padding-inline-end: 2.75rem; }

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap .input-suffix-icon {
    position: absolute; inset-inline-end: 0.9rem;
    top: 50%; transform: translateY(-50%);
    color: #94a3b8; pointer-events: none; font-size: 0.95rem;
}

.btn-primary-ar {
    background: linear-gradient(135deg, #1a56db, #0ea5e9);
    border: 0; color: #fff; font-weight: 800;
    font-family: 'Tajawal', sans-serif; border-radius: 999px;
    padding: 0.8rem 2rem; font-size: 0.97rem;
    box-shadow: 0 12px 28px rgba(26,86,219,0.28);
    transition: all 0.18s ease; cursor: pointer;
}

.btn-primary-ar:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(26,86,219,0.35); color: #fff;
}

.btn-secondary-ar {
    background: #f1f5f9; border: 1.5px solid #e2e8f0;
    color: #334155; font-weight: 700;
    font-family: 'Tajawal', sans-serif; border-radius: 999px;
    padding: 0.8rem 1.75rem; font-size: 0.97rem;
    transition: all 0.18s ease; cursor: pointer;
}

.btn-secondary-ar:hover { background: #e2e8f0; border-color: #cbd5e1; }

.form-section-title {
    font-size: 0.8rem; font-weight: 700; color: #64748b;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 0.75rem; padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

/* ================================================
   PAGE HEADER (shared flights/booking pages)
   ================================================ */
.page-header {
    background: linear-gradient(135deg, #0b2d6b 0%, #1a56db 100%);
    color: #fff; padding: 2.5rem 0; margin-bottom: 2rem;
}

.page-header h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900; margin-bottom: 0.4rem;
}

.page-header p { opacity: 0.82; font-size: 0.95rem; margin: 0; }

.page-header .eyebrow-tag {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
    color: #bfdbfe; padding: 0.3rem 0.8rem;
    border-radius: 999px; font-size: 0.78rem; font-weight: 700;
    margin-bottom: 0.85rem;
}

/* Section card */
.section-card {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 20px; box-shadow: 0 8px 30px rgba(15,23,42,0.06);
    overflow: hidden; height: 100%;
}

.section-card-header {
    padding: 1.2rem 1.5rem; border-bottom: 1px solid #f1f5f9;
    background: #fafbff; display: flex; align-items: center; gap: 0.75rem;
}

.section-card-icon {
    width: 40px; height: 40px; border-radius: 12px;
    display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0;
}

.section-card-icon--blue { background: #eff6ff; color: #1a56db; }
.section-card-icon--green { background: #ecfdf5; color: #059669; }
.section-card-icon--orange { background: #fffbeb; color: #d97706; }
.section-card-icon--purple { background: #f5f3ff; color: #7c3aed; }

.section-card-title { font-size: 1rem; font-weight: 800; color: #0f172a; margin: 0; }
.section-card-body { padding: 1.5rem; }

/* Result box (terminal/JSON style) */
.result-box {
    background: #0f172a; color: #e2e8f0;
    border-radius: 14px; padding: 1rem 1.25rem;
    font-size: 0.84rem; font-family: 'Courier New', monospace;
    direction: ltr; text-align: left;
    white-space: pre-wrap; overflow: auto; max-height: 300px;
}

/* Price result */
.price-result-card {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1px solid #86efac; border-radius: 18px; padding: 1.25rem;
}

.price-result-card .price-value {
    font-size: 2rem; font-weight: 900; color: #047857;
}

/* Booking info grid */
.booking-result-card {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1px solid #86efac; border-radius: 20px; padding: 1.5rem;
}

.booking-result-card h4 { color: #047857; font-weight: 900; font-size: 1.1rem; margin-bottom: 1rem; }

.booking-info-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem;
}

.booking-info-item label {
    font-size: 0.72rem; font-weight: 700; color: #64748b;
    text-transform: uppercase; letter-spacing: 0.05em;
    display: block; margin-bottom: 0.2rem;
}

.booking-info-item span { font-size: 0.95rem; font-weight: 700; color: #0f172a; }

.status-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.3rem 0.8rem; border-radius: 999px;
    font-size: 0.82rem; font-weight: 800;
}

.status-badge--pending { background: #fef3c7; color: #92400e; }
.status-badge--confirmed { background: #dcfce7; color: #166534; }
.status-badge--cancelled { background: #fee2e2; color: #991b1b; }

/* ================================================
   BOOKING LOOKUP PAGE
   ================================================ */
.lookup-hero { text-align: center; padding: 3rem 0 2rem; }

.lookup-hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 900; color: #0f172a;
}

.lookup-hero p { color: #64748b; font-size: 1rem; }

.lookup-search-box {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 22px; padding: 2rem; max-width: 560px;
    margin: 0 auto; box-shadow: 0 20px 50px rgba(15,23,42,0.08);
}

.input-group-ar {
    display: flex; gap: 0.75rem; align-items: stretch;
}

.input-group-ar .form-control-ar { flex: 1; }

/* Booking status timeline */
.booking-status-card {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 22px; overflow: hidden;
    box-shadow: 0 20px 50px rgba(15,23,42,0.07);
}

.booking-status-header {
    padding: 1.5rem; background: linear-gradient(135deg, #1a56db, #0891b2);
    color: #fff;
}

.booking-status-header .booking-id-label {
    font-size: 0.78rem; opacity: 0.8; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
}

.booking-status-header .booking-id-value {
    font-size: 2rem; font-weight: 900;
}

.booking-status-body { padding: 1.5rem; }

.booking-detail-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.7rem 0; border-bottom: 1px solid #f1f5f9;
    gap: 1rem;
}

.booking-detail-row:last-child { border-bottom: 0; }

.booking-detail-row .detail-label {
    font-size: 0.82rem; color: #64748b; font-weight: 600;
    display: flex; align-items: center; gap: 0.5rem;
}

.booking-detail-row .detail-value {
    font-size: 0.95rem; font-weight: 700; color: #0f172a; text-align: start;
}

/* ================================================
   AMADEUS SEARCH (keeping the immersive hero)
   ================================================ */
.travel-hero {
    position: relative; overflow: hidden;
    border-radius: 28px; min-height: 760px;
    box-shadow: 0 28px 80px rgba(15,23,42,0.16);
}

.travel-hero__media {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(14,165,233,0.36), transparent 30%),
        radial-gradient(circle at 80% 15%, rgba(37,99,235,0.24), transparent 28%),
        linear-gradient(135deg, rgba(15,23,42,0.25), rgba(15,23,42,0.55)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%230b3b8c'/%3E%3Cstop offset='1' stop-color='%230d9488'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1600' height='1000' fill='url(%23g)'/%3E%3Cpath d='M0 760 C 260 680 420 710 600 610 C 770 520 980 520 1120 590 C 1280 670 1410 720 1600 640 L1600 1000 L0 1000 Z' fill='%23ffffff22'/%3E%3Cpath d='M0 830 C 220 770 380 760 590 700 C 790 640 980 650 1180 720 C 1320 770 1460 810 1600 780 L1600 1000 L0 1000 Z' fill='%23ffffff18'/%3E%3C/svg%3E") center/cover no-repeat;
    transform: scale(1.02);
}

.travel-hero__overlay {
    position: absolute; inset: 0;
    backdrop-filter: blur(1.5px);
    background: linear-gradient(180deg, rgba(7,10,18,0.12), rgba(7,10,18,0.46));
}

.mobile-browser-shell { position: relative; z-index: 2; padding: 1.1rem; }

.mobile-status-bar {
    display: flex; justify-content: space-between; align-items: center;
    color: #fff; font-size: 0.82rem; font-weight: 600;
    padding: 0 0.4rem 0.7rem;
}

.status-icons { display: flex; align-items: center; gap: 0.6rem; }

.status-dot, .network-chip {
    font-size: 0.66rem;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px; padding: 0.18rem 0.42rem;
}

.signal-bars { display: inline-flex; align-items: end; gap: 2px; height: 14px; }
.signal-bars i { display: block; width: 3px; border-radius: 999px; background: #fff; }
.signal-bars i:nth-child(1) { height: 5px; opacity: 0.55; }
.signal-bars i:nth-child(2) { height: 8px; opacity: 0.7; }
.signal-bars i:nth-child(3) { height: 11px; opacity: 0.84; }
.signal-bars i:nth-child(4) { height: 14px; }

.battery-chip {
    width: 22px; height: 12px;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 3px; padding: 1px; position: relative;
}

.battery-chip::after {
    content: ""; position: absolute;
    inset-inline-end: -3px; top: 3px;
    width: 2px; height: 4px;
    border-radius: 0 2px 2px 0;
    background: rgba(255,255,255,0.7);
}

.battery-level {
    display: block; width: 76%; height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #22c55e, #86efac);
}

.browser-shell {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 30px; padding: 1rem;
    backdrop-filter: blur(20px);
}

.browser-controls {
    display: flex; align-items: center; gap: 0.5rem;
    flex-wrap: wrap; margin-bottom: 1.2rem;
}

.browser-icon-btn, .browser-inline-btn {
    border: 0; background: rgba(255,255,255,0.14);
    color: #fff; border-radius: 999px;
    min-width: 38px; min-height: 38px;
    display: inline-grid; place-items: center; cursor: pointer;
}

.browser-address-bar {
    flex: 1 1 300px; display: flex; align-items: center; gap: 0.6rem;
    padding: 0.75rem 0.95rem; border-radius: 999px;
    background: rgba(255,255,255,0.9); color: #334155;
}

.secure-lock {
    width: 11px; height: 11px;
    border: 2px solid #16a34a; border-top: 0;
    border-radius: 2px; position: relative; flex-shrink: 0;
}

.secure-lock::before {
    content: ""; position: absolute;
    inset-inline-start: 1px; top: -7px;
    width: 5px; height: 6px;
    border: 2px solid #16a34a; border-bottom: 0;
    border-radius: 7px 7px 0 0;
}

.browser-url {
    flex: 1; overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap; font-size: 0.92rem;
    direction: ltr; text-align: left;
}

.hero-copy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 620px);
    gap: 1.25rem; align-items: start;
}

.hero-copy { color: #fff; padding: 1rem 0.35rem 0 0.35rem; }

.eyebrow {
    display: inline-block; font-size: 0.76rem;
    text-transform: uppercase; letter-spacing: 0.12em;
    font-weight: 700; color: #bfdbfe; margin-bottom: 0.8rem;
}

.hero-copy h1 {
    font-size: clamp(2rem, 3vw, 3.6rem);
    line-height: 1.05; margin-bottom: 0.85rem;
}

.hero-copy p { max-width: 560px; color: rgba(255,255,255,0.86); font-size: 1rem; }

/* Flight search card (inside amadeus hero) */
.flight-search-card {
    position: relative; z-index: 3;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 28px; padding: 1.2rem;
    box-shadow: 0 30px 70px rgba(15,23,42,0.28);
}

.trip-type-row { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1rem; }

.trip-pill { position: relative; }

.trip-pill input { position: absolute; inset: 0; opacity: 0; }

.trip-pill span {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0.6rem 1rem;
    border: 1px solid #d6e0ee; border-radius: 999px;
    background: #f8fbff; color: #334155; font-weight: 600;
    cursor: pointer; transition: all 0.16s ease;
    font-family: 'Tajawal', sans-serif;
}

.trip-pill input:checked + span {
    background: #1a56db; color: #fff; border-color: #1a56db;
    box-shadow: 0 12px 26px rgba(26,86,219,0.22);
}

.trip-pill span:hover, .trip-pill input:focus + span { border-color: #1a56db; }

.search-grid {
    display: grid; grid-template-columns: 1fr auto 1fr;
    gap: 1rem; align-items: start;
}

.search-field {
    position: relative; background: #fff;
    border: 1px solid #d9e4f2; border-radius: 20px;
    padding: 0.95rem; box-shadow: 0 10px 24px rgba(15,23,42,0.04);
}

.field-label-row {
    display: flex; justify-content: space-between;
    gap: 0.75rem; margin-bottom: 0.42rem;
}

.field-label-row label { font-size: 0.82rem; font-weight: 700; color: #0f172a; }

.field-hint, .field-meta, .helper-note, .passenger-row small {
    font-size: 0.75rem; color: #64748b;
}

.field-input, .field-select, .counter-input {
    width: 100%; border: 0; outline: 0;
    background: transparent; font-size: 1rem; color: #172033;
    font-family: 'Tajawal', sans-serif;
}

.input-with-icon { display: flex; align-items: center; gap: 0.6rem; }
.input-icon { font-size: 1.1rem; }
.field-location { min-height: 140px; }

.swap-button {
    align-self: center; width: 54px; height: 54px;
    border-radius: 999px; border: 1px solid #bfdbfe;
    background: #fff; color: #1a56db; font-size: 1.4rem;
    box-shadow: 0 16px 36px rgba(26,86,219,0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease; cursor: pointer;
}

.swap-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 44px rgba(26,86,219,0.24);
}

.swap-button.is-rotating { animation: swap-rotate 0.45s ease; }

@keyframes swap-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(180deg); }
}

.field-date, .field-passengers, .field-options { grid-column: span 1; }

.passenger-toggle {
    width: 100%; border: 0; background: transparent;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 1rem; color: #172033; cursor: pointer;
    font-family: 'Tajawal', sans-serif;
}

.passenger-panel {
    margin-top: 0.85rem; padding-top: 0.85rem;
    border-top: 1px solid #e2e8f0;
}

.passenger-row {
    display: flex; justify-content: space-between;
    gap: 1rem; align-items: center; margin-bottom: 0.8rem;
}

.passenger-row--stacked { display: block; }

.counter-input {
    max-width: 90px; padding: 0.55rem 0.7rem;
    border: 1px solid #d8e3f0; border-radius: 12px; background: #f8fbff;
    font-family: 'Tajawal', sans-serif;
}

.field-select {
    margin-top: 0.45rem; padding: 0.65rem 0.8rem;
    border: 1px solid #d8e3f0; border-radius: 12px; background: #f8fbff;
    font-family: 'Tajawal', sans-serif;
}

.toggle-line {
    display: inline-flex; gap: 0.6rem; align-items: center;
    font-weight: 600; color: #0f172a;
}

.suggestions-dropdown {
    position: absolute;
    inset-inline-start: 0.9rem; inset-inline-end: 0.9rem;
    top: calc(100% - 0.25rem); z-index: 8;
    display: none; background: #fff;
    border: 1px solid #dce6f5; border-radius: 16px;
    box-shadow: 0 24px 48px rgba(15,23,42,0.14); overflow: hidden;
}

.suggestions-dropdown.is-open { display: block; }

.suggestion-item {
    width: 100%; border: 0; background: #fff;
    padding: 0.8rem 0.95rem;
    display: flex; flex-direction: column; gap: 0.1rem;
    font-family: 'Tajawal', sans-serif; cursor: pointer;
    text-align: start;
}

.suggestion-item strong { color: #172033; direction: ltr; text-align: left; }
.suggestion-item span { font-size: 0.76rem; color: #64748b; direction: ltr; text-align: left; }
.suggestion-item:hover, .suggestion-item.is-active { background: #eff6ff; }

.search-actions { display: flex; justify-content: flex-start; margin-top: 1rem; }

.btn-search {
    min-width: 190px; min-height: 50px; border-radius: 999px;
    font-weight: 700; font-family: 'Tajawal', sans-serif;
    box-shadow: 0 16px 34px rgba(26,86,219,0.28);
}

/* Results section */
.results-shell {
    background: #fff; border: 1px solid #dfe8f6;
    border-radius: 24px; padding: 1.4rem;
    box-shadow: 0 22px 60px rgba(15,23,42,0.08);
}

.results-head {
    display: flex; justify-content: space-between;
    gap: 1rem; align-items: end; margin-bottom: 1rem;
}

.results-badge, .offer-chip {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px; font-size: 0.8rem; font-weight: 700;
}

.results-badge { background: #eff6ff; color: #1d4ed8; padding: 0.55rem 0.9rem; }
.results-list { display: grid; gap: 1rem; }

.offer-card {
    border: 1px solid #dde7f5; border-radius: 20px; padding: 1rem;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.offer-card__head {
    display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}

.offer-label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; }
.offer-card h3 { margin: 0.25rem 0 0; font-size: 1.1rem; }
.offer-chip { color: #047857; background: #ecfdf5; padding: 0.45rem 0.75rem; }
.offer-item + .offer-item { margin-top: 1rem; }

/* ================================================
   CARD (Bootstrap override)
   ================================================ */
.card {
    border: 1px solid #dfe8f6;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(15,23,42,0.06);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1199.98px) {
    .hero-copy-row { grid-template-columns: 1fr; }
    .hero-copy { padding-bottom: 0.5rem; }
}

@media (max-width: 991.98px) {
    .search-grid { grid-template-columns: 1fr; }
    .swap-button { justify-self: center; transform: rotate(90deg); }
    .swap-button.is-rotating { animation: swap-rotate-mobile 0.45s ease; }
    @keyframes swap-rotate-mobile {
        from { transform: rotate(90deg); }
        to { transform: rotate(270deg); }
    }
    .cta-card { padding: 2rem; }
    .hero-copy-row { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .travel-hero { min-height: auto; }
    .mobile-browser-shell { padding: 0.75rem; }
    .browser-shell, .flight-search-card { border-radius: 22px; }
    .browser-controls { gap: 0.35rem; }
    .browser-address-bar { flex-basis: 100%; order: 2; }
    .results-head { flex-direction: column; align-items: start; }
    .home-search-card { border-radius: 20px; padding: 1.2rem; }
    .cta-card { padding: 1.5rem; }
    .lookup-search-box { border-radius: 18px; padding: 1.5rem; }
    .booking-status-header { padding: 1.25rem; }
    .stat-number { font-size: 1.4rem; }
    .section-header { text-align: center !important; }
}

