/* =====================================================
   XML TRAVEL MOBILE – MASTER CSS
   Human-crafted design · Blue #003b95 / Orange #ff6a00
   ===================================================== */

:root {
    --primary: #003b95;
    --primary-light: #2563eb;
    --primary-dark: #002677;
    --accent: #ff6a00;
    --accent-light: #ff8c38;
    --white: #ffffff;
    --bg: #f4f6fb;
    --bg-alt: #eef1f9;
    --text: #1c2536;
    --text-muted: #6b7a99;
    --border: #dde3f0;
    --success: #16a34a;
    --danger: #dc2626;
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    --card-shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 18px;
    --nav-h: 56px;
    --promo-h: 26px;
    --bottom-nav-h: 64px;
}

/* ================================
   RESET & BASE
   ================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: calc(var(--promo-h) + var(--nav-h));
    padding-bottom: calc(var(--bottom-nav-h) + 12px);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ================================
   PROMO BAR
   ================================ */
.promo-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: var(--promo-h);
    z-index: 1001;
    background: #002060;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    letter-spacing: 0.01em;
}

/* ================================
   HEADER
   ================================ */
.mobile-header {
    position: fixed;
    top: var(--promo-h);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: var(--nav-h);
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 100%;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 85px;
    width: 85px;
    object-fit: contain;
}

.logo-text span {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    background: var(--bg);
    transition: background 0.15s;
}

.icon-btn:hover {
    background: var(--bg-alt);
}

.icon-btn .fi {
    display: flex;
}

.hamburger {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: var(--bg);
    border: 1px solid var(--border);
}

.hamburger span {
    width: 18px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* ================================
   SLIDE MENU
   ================================ */
.slide-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 272px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.12);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.slide-menu.open {
    right: 0;
}

.slide-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: var(--primary);
    color: var(--white);
}

.slide-menu-header .logo-text {
    color: #fff;
    font-size: 1.1rem;
}

.slide-menu-header .logo-text span {
    color: var(--accent);
}

.close-menu {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
}

.slide-menu ul {
    padding: 8px 0;
}

.slide-menu ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid var(--bg);
    transition: background 0.15s;
}

.slide-menu ul li a:hover {
    background: var(--bg);
    color: var(--primary);
}

.slide-menu ul li a .fi {
    color: var(--primary);
    font-size: 1rem;
}

.menu-login-btn {
    margin: 12px 20px !important;
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: var(--radius) !important;
    justify-content: center !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
}

.menu-login-btn .fi {
    color: #fff !important;
}

.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1999;
}

.menu-overlay.show {
    display: block;
}

/* ================================
   HERO / SEARCH
   ================================ */
.hero-section {
    background: var(--white);
}

.hero-bg {
    background: linear-gradient(170deg, #002060 0%, #0046b8 100%);
    padding: 22px 16px 0;
    padding-bottom: 1rem;
}

.hero-content {
    color: #fff;
    margin-bottom: 18px;
}

.hero-content h1 {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 5px;
}

.hero-content h1 span {
    color: #ffa940;
}

.hero-content p {
    font-size: 0.82rem;
    opacity: 0.85;
}

/* SEARCH CARD */
.search-card {
    background: var(--white);
    border-radius: 16px;
    padding: 15px 16px 0;
    padding-bottom: 1px;
}

/* TRIP TABS */
.trip-tabs {
    display: flex;
    background: var(--bg);
    border-radius: 8px;
    padding: 3px;
    margin-bottom: 14px;
    gap: 2px;
}

.trip-tab {
    flex: 1;
    padding: 8px 4px;
    border-radius: 6px;
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.trip-tab.active {
    background: var(--primary);
    color: #fff;
}

/* ROUTE ROW (from / to) */
.route-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 10px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
}

.route-field {
    flex: 1;
    padding: 11px 14px;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.route-field:hover {
    background: var(--bg);
}

.route-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.route-value {
    display: flex;
    align-items: baseline;
    gap: 6px;
    overflow: hidden;
    flex-wrap: wrap;
}

.city-code {
    width: 100%;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
}

.city-name {
    font-size: 0.73rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 135px;
}

.swap-btn {
    width: 40px;
    background: var(--bg);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    transition: background 0.15s;
    flex-shrink: 0;
}

.swap-btn:hover {
    background: #e8f0fe;
}

.swap-btn .fi {
    display: flex;
}

/* DATES ROW */
.dates-wrap {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.date-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.date-native {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text);
    color-scheme: light;
    transition: border-color 0.15s;
}

.date-native:focus {
    outline: none;
    border-color: var(--primary);
}

/* PASSENGERS FIELD */
.pax-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    transition: border-color 0.15s;
}

.pax-field:hover {
    border-color: var(--primary);
}

.pax-field .fi {
    font-size: 0.8rem;
}

/* SEARCH BUTTON */
.search-btn {
    width: 100%;
    background: var(--accent);
    color: #fff;
    padding: 13px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.01em;
    margin-bottom: 16px;
    transition: background 0.15s, transform 0.15s;
}

.search-btn:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.search-btn:active {
    transform: translateY(0);
}

.search-btn .fi {
    display: flex;
}

/* ================================
   SECTIONS
   ================================ */
.section {
    padding: 20px 16px;
    background: var(--white);
    margin-top: 8px;
}

.section-header {
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.see-all {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

/* ================================
   AIRLINES
   ================================ */
.airlines-section {
    background: var(--bg);
}

.airlines-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.airlines-scroll::-webkit-scrollbar {
    display: none;
}

.airline-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 68px;
    background: var(--white);
    border-radius: 10px;
    padding: 10px 8px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.airline-chip img {
    width: 36px;
    height: 24px;
    object-fit: contain;
}

.airline-chip span {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

/* ================================
   DEAL CARDS
   ================================ */
.deals-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.deals-scroll::-webkit-scrollbar {
    display: none;
}

.deal-card {
    min-width: 148px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.deal-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.deal-img {
    height: 84px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
}

.deal-badge {
    position: absolute;
    top: 7px;
    left: 8px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 4px;
    padding: 2px 7px;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text);
}

.deal-city-overlay {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.deal-city-overlay .fi {
    font-size: 0.7rem;
    opacity: 0.85;
}

.deal-info {
    padding: 9px 10px;
}

.deal-route {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.deal-price {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.deal-price strong {
    color: var(--primary);
    font-weight: 700;
}

.deal-meta {
    font-size: 0.62rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ================================
   DESTINATIONS GRID
   ================================ */
.destinations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.dest-card {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.dest-img {
    height: 130px;
    border-radius: var(--radius);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    transition: transform 0.3s;
}

.dest-card:hover .dest-img {
    transform: scale(1.02);
}

.dest-info {
    padding: 10px 10px 12px;
    width: 100%;
}

.dest-info h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.dest-info p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 5px;
}

.dest-price {
    display: inline-block;
    background: rgba(255, 106, 0, 0.9);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ================================
   WHY CHOOSE US
   ================================ */
.why-section {
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.feature-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 12px;
    text-align: center;
    border: 1px solid var(--border);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.1rem;
}

.feature-icon .fi {
    display: flex;
    font-size: 1.1rem;
}

.feature-item h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.feature-item p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ================================
   OFFERS
   ================================ */
.offers-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.offer-banner {
    border-radius: var(--radius);
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.gradient-1 {
    background: linear-gradient(135deg, #002060, #0046b8);
}

.gradient-2 {
    background: linear-gradient(135deg, #7b3000, #ff6a00);
}

.offer-text h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.offer-text p {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 10px;
}

.offer-btn {
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.offer-icon {
    font-size: 2.5rem;
    opacity: 0.25;
}

/* ================================
   TESTIMONIALS
   ================================ */
.testimonials-section {
    background: var(--bg);
}

.testimonials-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials-scroll::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.stars {
    font-size: 0.8rem;
    color: #f59e0b;
    margin-bottom: 8px;
}

.testimonial-card p {
    font-size: 0.8rem;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 12px;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.reviewer strong {
    font-size: 0.8rem;
    font-weight: 700;
}

.reviewer small {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* ================================
   FAQ
   ================================ */
.faq-section {
    background: var(--white);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.faq-item {
    background: var(--bg);
    border-radius: 8px;
    overflow: hidden;
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text);
    gap: 8px;
}

.faq-q .fi {
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.25s;
}

.faq-q.open .fi {
    transform: rotate(180deg);
}

.faq-a {
    display: none;
    padding: 0 14px 13px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-a.open {
    display: block;
}

/* ================================
   NEWSLETTER
   ================================ */
.newsletter-section {
    background: var(--bg);
}

.newsletter-card {
    background: linear-gradient(135deg, #002060 0%, #1a56db 100%);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    color: #fff;
    text-align: center;
}

.newsletter-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.newsletter-card p {
    font-size: 0.78rem;
    opacity: 0.8;
    margin-bottom: 14px;
}

.newsletter-form {
    display: flex;
    gap: 6px;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    font-size: 0.82rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.newsletter-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    background: var(--accent);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

/* ================================
   FOOTER
   ================================ */
.mobile-footer {
    background: #0d1b3e;
    color: rgba(255, 255, 255, 0.7);
    padding: 22px 16px;
    margin-top: 8px;
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-logo .logo-text {
    color: #fff;
}

.footer-logo p {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 6px;
    line-height: 1.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.footer-col ul li {
    margin-bottom: 7px;
}

.footer-col ul li a {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.social-btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: background 0.2s;
}

.social-btn .fi {
    display: flex;
}

.social-btn:hover {
    background: var(--primary);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
}

.payment-icons {
    display: flex;
    gap: 8px;
}

.payment-icons img {
    height: 22px;
    width: auto;
    filter: brightness(0.75);
}

/* ================================
   BOTTOM NAVIGATION
   ================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: var(--bottom-nav-h);
    background: var(--white);
    border-top: 1px solid var(--border);
    display: flex;
    z-index: 999;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 0.6rem;
    font-weight: 600;
    padding-bottom: 4px;
    transition: color 0.2s;
}

.bottom-nav-item .fi {
    font-size: 1.15rem;
    display: flex;
}

.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item:hover {
    color: var(--primary);
}

/* ================================
   FLIGHT RESULTS PAGE
   ================================ */
.results-topbar {
    background: var(--primary);
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.results-route {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.results-route .fi {
    font-size: 0.85rem;
}

.results-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.73rem;
    color: rgba(255, 255, 255, 0.8);
}

.results-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* SORT TABS */
.sort-tabs {
    display: flex;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
}

.sort-tab {
    flex-shrink: 0;
    padding: 11px 14px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.sort-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* FILTER BAR */
.filter-bar {
    padding: 10px 14px;
    background: var(--bg-alt);
    display: flex;
    gap: 7px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 11px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s;
}

.filter-chip.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* FLIGHT CARD */
.flight-list {
    padding: 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flight-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.flight-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.flight-card-top {
    padding: 14px 14px 10px;
}

.airline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.airline-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.airline-logo {
    width: 32px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

.airline-name {
    font-size: 0.8rem;
    font-weight: 600;
}

.flight-num {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.flight-price {
    text-align: right;
}

.price-main {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.price-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.timeline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 10px;
}

.dep-time,
.arr-time {
    font-size: 1rem;
    font-weight: 700;
}

.dep-ap,
.arr-ap {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.timeline-line {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    position: relative;
}

.timeline-bar {
    width: 100%;
    height: 1.5px;
    background: var(--border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plane-icon {
    position: absolute;
    color: var(--primary);
    font-size: 0.8rem;
}

.timeline-info {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.flight-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.tag {
    font-size: 0.62rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    background: var(--bg);
    color: var(--text-muted);
}

.tag-success {
    background: #dcfce7;
    color: #15803d;
}

.tag-info {
    background: #dbeafe;
    color: #1d4ed8;
}

.flight-card-actions {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--bg);
}

.action-btn {
    flex: 1;
    padding: 11px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s;
    color: var(--text-muted);
}

.action-btn:hover {
    background: var(--bg);
}

.action-btn-primary {
    color: var(--primary);
    font-weight: 700;
    border-left: 1px solid var(--bg);
}

/* ================================
   BOTTOM SHEET / MODALS
   ================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 3000;
    align-items: flex-end;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.bottom-sheet {
    width: 100%;
    max-width: 480px;
    background: var(--white);
    border-radius: 16px 16px 0 0;
    padding: 0 0 24px;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.bottom-sheet-handle {
    width: 36px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 10px auto 14px;
}

.bottom-sheet-title {
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0 20px 12px;
    border-bottom: 1px solid var(--border);
}

/* ================================
   FORM FIELDS (shared)
   ================================ */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 8px;
}

.form-field label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: var(--bg);
    border: 1.5px solid transparent;
    border-radius: 8px;
    padding: 11px 13px;
    font-size: 0.87rem;
    color: var(--text);
    transition: border-color 0.15s;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row .form-field {
    flex: 1;
}

/* ================================
   HOTELS PAGE
   ================================ */
.hotels-search {
    background: linear-gradient(170deg, #002060 0%, #0046b8 100%);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hotel-input-group {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.hotel-input-group .fi {
    font-size: 0.9rem;
    opacity: 0.8;
    flex-shrink: 0;
    display: flex;
}

.hotel-input-group input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    width: 100%;
}

.hotel-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.hotel-input-group input:focus {
    outline: none;
}

.hotel-dates-row {
    display: flex;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    overflow: hidden;
}

.hotel-date-box {
    flex: 1;
    padding: 10px 13px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
}

.hotel-date-box label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hotel-date-box strong {
    font-size: 0.87rem;
    color: #fff;
    font-weight: 700;
}

.hotel-search-btn {
    background: var(--accent);
    color: #fff;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s;
    margin-top: 2px;
}

.hotel-search-btn:hover {
    background: var(--accent-light);
}

.hotel-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.hotel-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.hotel-img {
    height: 155px;
    position: relative;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}

.hotel-rating-badge {
    position: absolute;
    top: 9px;
    right: 9px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text);
}

.hotel-info {
    padding: 12px 13px 13px;
}

.hotel-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.hotel-location {
    font-size: 0.73rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hotel-location .fi {
    color: var(--primary);
    font-size: 0.8rem;
    display: flex;
}

.hotel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.amenity-tag {
    background: var(--bg);
    border-radius: 4px;
    padding: 3px 7px;
    font-size: 0.62rem;
    color: var(--text-muted);
    font-weight: 600;
}

.hotel-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hotel-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
}

.hotel-price small {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-muted);
}

.hotel-book-btn {
    background: var(--primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: background 0.15s;
}

.hotel-book-btn:hover {
    background: var(--primary-light);
}

/* ================================
   MY BOOKINGS PAGE
   ================================ */
.booking-header {
    background: linear-gradient(170deg, #002060 0%, #0046b8 100%);
    padding: 14px 16px;
    color: #fff;
}

.booking-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 12px;
}

.booking-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 13px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.booking-id {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text);
}

.booking-status {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
}

.status-confirmed {
    background: #dcfce7;
    color: #15803d;
}

.status-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.booking-card-body {
    padding: 12px 13px 13px;
}

.booking-route {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.booking-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.booking-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.booking-total {
    font-size: 0.97rem;
    font-weight: 800;
    color: var(--primary);
}

.download-btn {
    background: var(--primary);
    color: #fff;
    padding: 7px 13px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.15s;
}

.download-btn .fi {
    display: flex;
    font-size: 0.8rem;
}

.download-btn:hover {
    background: var(--primary-dark);
}

/* ================================
   LOGIN PAGE
   ================================ */
.login-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0;
    background: var(--bg);
}

.login-hero {
    background: linear-gradient(170deg, #002060 0%, #1a56db 100%);
    padding: 20px 22px 34px;
    text-align: center;
    color: #fff;
}

.login-hero h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.login-hero p {
    font-size: 0.8rem;
    opacity: 0.82;
}

.login-card {
    background: var(--white);
    border-radius: 16px 16px 0 0;
    padding: 22px 18px;
    margin-top: -18px;
    flex: 1;
    border: 1px solid var(--border);
    border-bottom: none;
}

.login-tabs {
    display: flex;
    background: var(--bg);
    border-radius: 8px;
    padding: 3px;
    margin-bottom: 18px;
    gap: 2px;
}

.login-tab {
    flex: 1;
    padding: 9px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.login-tab.active {
    background: var(--primary);
    color: #fff;
}

.login-btn {
    width: 100%;
    background: var(--primary);
    color: #fff;
    padding: 13px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    transition: background 0.15s;
}

.login-btn .fi {
    display: flex;
}

.login-btn:hover {
    background: var(--primary-light);
}

.social-login {
    text-align: center;
    margin-top: 16px;
}

.social-login p {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-login p::before,
.social-login p::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.social-btns {
    display: flex;
    gap: 8px;
}

.social-login-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s;
}

.social-login-btn:hover {
    border-color: var(--primary);
}

/* ================================
   CONFIRM PAGE
   ================================ */
.confirm-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
}

.confirm-icon {
    font-size: 4rem;
    margin-bottom: 12px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        transform: scale(0)
    }

    80% {
        transform: scale(1.1)
    }

    100% {
        transform: scale(1)
    }
}

.confirm-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.confirm-ref {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.confirm-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 16px;
    width: 100%;
}

/* ================================
   INPUT GROUP (legacy compat)
   ================================ */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.input-group label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pax-input,
.city-input {
    width: 100%;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.9rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.pax-input:hover,
.city-input:hover {
    border-color: var(--primary);
}

.date-input {
    display: block;
    color-scheme: light;
    border: 1.5px solid var(--border);
    background: var(--bg);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.88rem;
    width: 100%;
    color: var(--text);
}

.date-input:focus {
    outline: none;
    border-color: var(--primary);
}

.date-row {
    display: flex;
    gap: 10px;
}

.input-group.half {
    flex: 1;
}

.city-value {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.swap-wrap {
    display: flex;
    justify-content: center;
    margin: -4px 0;
}

/* ================================
   EMPTY STATE
   ================================ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
}

.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 14px;
    opacity: 0.4;
}

.empty-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.empty-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ================================
   BOOKING.HTML progress/summary
   ================================ */
.progress-steps {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 4px;
}

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--bg);
    color: var(--text-muted);
    border: 1.5px solid var(--border);
}

.step.active .step-dot {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.step.done .step-dot {
    background: var(--success);
    color: #fff;
    border-color: var(--success);
}

.step-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.step.active .step-label {
    color: var(--primary);
}

.step-line {
    flex: 1;
    height: 1.5px;
    background: var(--border);
    margin: 0 2px;
    align-self: flex-start;
    margin-top: 14px;
}

/* ================================
   PAGE FADE ANIMATION
   ================================ */
.page-fade {
    animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   UTILITY
   ================================ */
.fi {
    line-height: 1 !important;
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-muted {
    color: var(--text-muted);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.mt-8 {
    margin-top: 8px;
}

.mt-12 {
    margin-top: 12px;
}

.mt-16 {
    margin-top: 16px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-16 {
    margin-bottom: 16px;
}