@font-face {
    font-family: '29LT Bukra';
    src: url('/ResourcePackages/Wowfi/assets/fonts/pointr/29ltbukraregular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: '29LT Bukra';
    src: url('/ResourcePackages/Wowfi/assets/fonts/pointr/29LTBukra-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #2c2d64;
    --primary-hover: #3a3a5a;
    --primary-hover-light: #3F4497;
    --primary-light: #606795;
    --primary-lighter: #686E9F;
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #eff0f5;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-450: #9F9F9F;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --background: #f5f5f5;
    --background-light: #f0f1fd;
    --background-muted: #d4d6e9;
    --accent-blue: #007aff;
    --accent-blue-hover: #0056b3;
    --success: #10b981;
    --error: #ef4444;
    --error-light: #dc2626;
    --border-light: #ddd;
    --text-primary: var(--primary-color);
    --text-secondary: var(--primary-color);
    --text-muted: var(--primary-color);
    --text-dark: var(--primary-color);
    --text-light: #383b44;
    --surface-elevated: #cbd5e1;
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --overlay-light: rgba(0, 0, 0, 0.3);
    --white-95: rgba(255, 255, 255, 0.95);
    --white-30: rgba(255, 255, 255, 0.3);
    --blue-focus: rgba(59, 130, 246, 0.1);
    --blue-accent-focus: rgba(0, 122, 255, 0.1);
    --blue-accent-glow: rgba(0, 122, 255, 0.4);
    --error-light-bg: rgba(239, 68, 68, 0.1);
    --border-subtle: rgba(0, 0, 0, 0.1);
    --shadow-subtle: rgba(0, 0, 0, 0.05);
    --shadow-normal: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-strong: rgba(0, 0, 0, 0.2);
    --primary-shadow: rgba(74, 74, 106, 0.25);
    --primary-shadow-strong: rgba(74, 74, 106, 0.3);
    --gray-border: rgba(107, 114, 128, 0.1);
    --language-text-color: #1d2c5e;
    --shadow-sm: 0 1px 3px var(--shadow-normal);
    --shadow-md: 0 4px 12px var(--shadow-medium);
    --shadow-lg: 0 8px 25px var(--shadow-medium);
    --shadow-xl: 0 20px 40px var(--shadow-medium);
    --font-family: "29LT Bukra", "Cairo", "Almarai", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-family-arabic: "Cairo", "Almarai", sans-serif;
    --font-family-latin: "Cairo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-family-bukra-regular: "29LT Bukra", "Cairo", "Almarai", sans-serif;
    --font-family-bukra-medium: "29LT Bukra", "Cairo", "Almarai", sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --spacing-1: 0.25rem;
    /* 4px */
    --spacing-2: 0.5rem;
    /* 8px */
    --spacing-3: 0.75rem;
    /* 12px */
    --spacing-4: 1rem;
    /* 16px */
    --spacing-5: 1.25rem;
    /* 20px */
    --spacing-6: 1.5rem;
    /* 24px */
    --spacing-8: 2rem;
    /* 32px */
    --spacing-10: 2.5rem;
    /* 40px */

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--background);
    overflow-x: hidden;
}

button, input, select, textarea {
    font-family: inherit;
}

.flight-info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

    .flight-info-overlay.show {
        display: flex;
    }

.flight-info-modal {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px var(--shadow-medium);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-1 {
    flex: 1;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: 1fr 1fr;
}

.gap-1 {
    gap: var(--spacing-1);
}

.gap-2 {
    gap: var(--spacing-2);
}

.gap-3 {
    gap: var(--spacing-3);
}

.gap-4 {
    gap: var(--spacing-4);
}

.gap-5 {
    gap: var(--spacing-5);
}

.gap-6 {
    gap: var(--spacing-6);
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

.z-1000 {
    z-index: 1000;
}

.p-0 {
    padding: 0;
}

.p-1 {
    padding: var(--spacing-1);
}

.p-2 {
    padding: var(--spacing-2);
}

.p-3 {
    padding: var(--spacing-3);
}

.p-4 {
    padding: var(--spacing-4);
}

.p-5 {
    padding: var(--spacing-5);
}

.p-6 {
    padding: var(--spacing-6);
}

.px-2 {
    padding-left: var(--spacing-2);
    padding-right: var(--spacing-2);
}

.px-3 {
    padding-left: var(--spacing-3);
    padding-right: var(--spacing-3);
}

.px-4 {
    padding-left: var(--spacing-4);
    padding-right: var(--spacing-4);
}

.py-2 {
    padding-top: var(--spacing-2);
    padding-bottom: var(--spacing-2);
}

.py-3 {
    padding-top: var(--spacing-3);
    padding-bottom: var(--spacing-3);
}

.py-4 {
    padding-top: var(--spacing-4);
    padding-bottom: var(--spacing-4);
}

.m-0 {
    margin: 0;
}

.m-1 {
    margin: var(--spacing-1);
}

.m-2 {
    margin: var(--spacing-2);
}

.m-3 {
    margin: var(--spacing-3);
}

.m-4 {
    margin: var(--spacing-4);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-2 {
    margin-bottom: var(--spacing-2);
}

.mb-3 {
    margin-bottom: var(--spacing-3);
}

.mb-4 {
    margin-bottom: var(--spacing-4);
}

.mt-2 {
    margin-top: var(--spacing-2);
}

.mt-3 {
    margin-top: var(--spacing-3);
}

.mt-4 {
    margin-top: var(--spacing-4);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-xs {
    font-size: var(--font-size-xs);
}

.text-sm {
    font-size: var(--font-size-sm);
}

.text-base {
    font-size: var(--font-size-base);
}

.text-lg {
    font-size: var(--font-size-lg);
}

.text-xl {
    font-size: var(--font-size-xl);
}

.text-2xl {
    font-size: var(--font-size-2xl);
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.text-primary {
    color: var(--primary-color);
}

.text-gray-400,
.text-gray-500,
.text-gray-600,
.text-gray-700 {
    color: var(--primary-color);
}

.text-white {
    color: var(--white);
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bg-white {
    background: var(--white);
}

.bg-gray-50 {
    background: var(--gray-50);
}

.bg-gray-100 {
    background: var(--gray-100);
}

.bg-gray-200 {
    background: var(--gray-200);
}

.bg-primary {
    background: var(--primary-color);
}

.bg-accent {
    background: var(--accent-blue);
}

.bg-transparent {
    background: transparent;
}

.svg-container.step-dot {
    width: 10px;
    height: 10px;
    background-color: #5B6BA8;
    border-radius: 50%;
}


.border {
    border: 1px solid var(--gray-200);
}

.border-0 {
    border: none;
}

.border-gray-100 {
    border-color: var(--gray-100);
}

.border-gray-200 {
    border-color: var(--gray-200);
}

.border-t {
    border-top: 1px solid var(--gray-200);
}

.border-b {
    border-bottom: 1px solid var(--gray-200);
}

.border-r {
    border-right: 1px solid var(--gray-200);
}

.border-l {
    border-left: 1px solid var(--gray-200);
}

.rounded-sm {
    border-radius: var(--radius-sm);
}

.rounded,
.rounded-md {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.rounded-full {
    border-radius: 50%;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow,
.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

.shadow-none {
    box-shadow: none;
}

.transition {
    transition: all var(--transition-fast);
}

.transition-normal {
    transition: all var(--transition-normal);
}

.transition-slow {
    transition: all var(--transition-slow);
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.w-auto {
    width: auto;
}

.h-auto {
    height: auto;
}

.min-h-0 {
    min-height: 0;
}

.max-w-none {
    max-width: none;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

.overflow-y-auto {
    overflow-y: auto;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.opacity-0 {
    opacity: 0;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-100 {
    opacity: 1;
}

.btn-base {
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

    .btn-primary:hover {
        background: var(--primary-hover);
    }

.btn-secondary {
    background: var(--gray-100);
    color: var(--primary-color);
}

    .btn-secondary:hover {
        background: var(--gray-200);
    }

.card-base {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-4);
}

.input-base {
    width: 100%;
    padding: var(--spacing-3) var(--spacing-4);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    background: var(--white);
    outline: none;
    transition: border-color var(--transition-fast);
}

    .input-base:focus {
        border-color: var(--accent-blue);
        box-shadow: 0 0 0 3px var(--blue-focus);
    }

.flight-info-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: var(--font-size-2xl);
    cursor: pointer;
    color: var(--primary-color);
    padding: var(--spacing-2);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

    .flight-info-modal-close:hover {
        background: var(--gray-100);
        color: var(--primary-color);
    }

.flight-info-modal-title {
    font-size: var(--font-size-lg);
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-right: 2rem;
    line-height: 1.4;
}

.flight-info-modal-description {
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin-bottom: 0.50rem;
    display: none;
}

.flight-info-modal-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all var(--transition-fast);
    display: none;
}

    .flight-info-modal-button:hover {
        background: var(--primary-color);
        transform: translateY(-1px);
    }

    .flight-info-modal-button:active {
        transform: translateY(0);
    }

.zoom-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

/* RTL positioning for Arabic language */
[dir="rtl"] .zoom-controls {
    right: auto;
    left: 2rem;
}

.zoom-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 20px var(--shadow-medium);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
}

.zoom-btn {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    font-weight: bold;
    color: var(--primary-color);
    transition: all var(--transition-fast);
    user-select: none;
}

    .zoom-btn:hover {
        background: var(--gray-100);
        color: var(--primary-color);
    }

    .zoom-btn:active {
        background: var(--gray-200);
        transform: scale(0.95);
    }

    .zoom-btn:first-child {
        border-bottom: 1px solid var(--gray-200);
    }

    .zoom-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

        .zoom-btn:disabled:hover {
            background: var(--white);
            color: var(--primary-color);
            transform: none;
        }

.information-btn {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all var(--transition-fast);
    user-select: none;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px var(--shadow-medium);
}

    .information-btn:hover {
        background: var(--gray-100);
        color: var(--primary-color);
    }

    .information-btn:active {
        background: var(--gray-200);
        transform: scale(0.95);
    }

    .information-btn .svg-container {
        width: 20px;
        height: 20px;
    }

.svg-container {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    filter: brightness(0) saturate(100%) invert(17%) sepia(25%) saturate(2395%) hue-rotate(226deg) brightness(95%) contrast(91%);
}

[dir="rtl"] .service-header .svg-container {
    transform: scale(-1);
}

.service-icon .svg-container {
    width: 24px;
    height: 24px;
}

.collapsed-terminal.active .svg-container {
    filter: brightness(0) saturate(100%) invert(17%) sepia(25%) saturate(2395%) hue-rotate(226deg) brightness(95%) contrast(91%) invert(1);
}

.service-tab:hover,
.service-tab.active {
    background: var(--primary-light) !important;
    color: var(--white) !important;
}

    .service-tab:hover .svg-container,
    .service-tab.active .svg-container,
    .collapsed-terminal.active .svg-container,
    .terminal-link.active .svg-container,
    .menu-toggle:hover,
    .service-item:hover .svg-container {
        filter: brightness(0) invert(1) !important;
    }

.demo-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(var(--zoom-scale, 1));
    transition: transform 0.3s ease;
    text-align: center;
    color: var(--primary-color);
}

.main-container {
    display: flex;
    height: 100dvh;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-2);
    border-radius: 6px;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    height: 35px;
}

    .menu-toggle:hover {
        background: var(--gray-100);
        color: var(--text-primary);
    }

    .menu-toggle img {
        width: 18px;
        height: 18px;
        transition: all var(--transition-normal);
    }

.sidebar-container {
    display: flex;
    background: var(--white);
    box-shadow: 2px 0 10px var(--shadow-normal);
    overflow: visible;
    transition: width 0.3s ease;
}

.terminal-sidebar {
    width: 214px;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    overflow-y: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

    .terminal-sidebar.collapsed {
        width: 60px;
    }

    .terminal-sidebar.hidden {
        width: 0;
        opacity: 0;
    }

.collapsed-menu {
    display: none;
    width: 60px;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    gap: var(--spacing-4);
}

.global-back-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: var(--spacing-2);
    border-radius: 6px;
    transition: background 0.2s;
    font-size: var(--font-size-sm);
    color: var(--primary-color);
}

.search-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--primary-color);
    transition: all var(--transition-normal);
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.collapsed-menu.show {
    display: flex;
}

.collapsed-sidebar-icon {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1.2rem;
}

    .collapsed-sidebar-icon:hover {
        background: var(--gray-200);
    }

.collapsable-sidebar-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-2);
    border-radius: 6px;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    height: 35px;
}

    .collapsable-sidebar-icon:hover {
        background: var(--gray-200);
    }

.collapsed-terminal {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

    .collapsed-terminal:hover {
        background: var(--gray-200);
    }

    .collapsed-terminal.active {
        background: var(--primary-light);
        color: var(--white);
    }

.terminal-top-section {
    padding: var(--spacing-4);
    border-bottom: 0px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.terminal-sidebar.collapsed .terminal-top-section {
    padding: var(--spacing-2);
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
}

.logo-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1.5rem;
}

.terminal-sidebar.collapsed .logo {
    justify-content: center;
    margin-bottom: 0.5rem;
}

.logo-icon {
    width: 50px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

    .logo-icon a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        text-decoration: none;
    }

    .logo-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.logo-text {
    transition: all var(--transition-normal);
}

.terminal-sidebar.collapsed .logo-text {
    display: none;
}



.terminal-sidebar.collapsed .search-bar {
    display: none;
}

.left2-sidebar {
    background-color: var(--background-light);
}

.services-sidebar {
    width: 0;
    background: var(--background-light);
    overflow: hidden;
    transition: width 0.3s ease;
    flex-shrink: 0;
}

.terminal-sidebar .sidebar-section {
    margin: 1rem 1.2rem;
    transition: all var(--transition-normal);
}

.services-sidebar .sidebar-section {
    padding: var(--spacing-10) var(--spacing-3) var(--spacing-4) var(--spacing-3);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.terminal-sidebar.collapsed .sidebar-section {
    padding: var(--spacing-2);
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-normal);
    padding: 1rem 0rem;
}

.terminal-sidebar.collapsed .sidebar-title {
    display: none;
}

.terminal-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.terminal-item {
    margin-bottom: 0.25rem;
}

.terminal-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-3);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--primary-color);
    transition: all var(--transition-normal);
    width: 100%;
    box-sizing: border-box;
    font-size: var(--font-size-base);
}

.terminal-sidebar.collapsed .terminal-link {
    justify-content: center;
    padding: var(--spacing-2);
}

.terminal-item.active .terminal-link,
.terminal-item.active .search-link,
.terminal-link:hover,
.search-link:hover {
    background: var(--gray-200);
    color: var(--primary-color);
}

.terminal-item.active .terminal-icon {
    background: var(--background-muted);
    color: var(--primary-color);
}

.terminal-link .fa-angle-down {
    margin-left: auto;
    font-size: 0.875rem;
    color: var(--primary-color);
    transition: transform var(--transition-normal);
}

.terminal-link:hover .fa-angle-down {
    color: var(--primary-color);
}

.terminal-icon {
    width: 32px;
    height: 32px;
    background: var(--background-muted);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
    font-size: var(--font-size-sm);
}

    .terminal-icon .svg-container {
        width: 24px;
        height: 24px;
    }

.terminal-text {
    transition: all var(--transition-normal);
    color: var(--primary-color);
    font-weight: 500;
}

.terminal-sidebar.collapsed .terminal-text {
    display: none;
}

.terminal-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 1rem;
    display: none;
    transition: all var(--transition-normal);
}

    .terminal-submenu.show {
        display: block;
    }

.submenu-item {
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
    margin-left: 1.5rem;
}

.submenu-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    transition: all var(--transition-normal);
    max-width: 107px;
    justify-content: center;
    font-weight: 500;
}

    .submenu-link:hover {
        background: var(--gray-100);
        color: var(--text-dark);
    }

    .submenu-link.active {
        background: var(--gray-200);
        color: var(--text-primary);
    }

.submenu-icon {
    width: 24px;
    height: 24px;
    background: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-color);
}

.submenu-text {
    font-size: var(--font-size-sm);
}

.search-bar {
    position: relative;
    padding: 0.5rem 0rem;
}

.search-icon {
    position: absolute;
    left: 1.0rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    z-index: 1;
    pointer-events: none;
    width: 24px;
    height: 24px;
}

.search-input {
    width: 100%;
    padding: var(--spacing-3) var(--spacing-4) var(--spacing-3) var(--spacing-10);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    background: var(--white);
    outline: none;
    transition: border-color var(--transition-fast);
    min-height: 56px;
    font-family: '29LT Bukra', sans-serif;
}

    .search-input:focus {
        border-color: var(--accent-blue);
        box-shadow: 0 0 0 3px var(--blue-focus);
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 20px;
    width: 100%;
    padding: 0.25rem 0rem 17.5rem;
    overflow-y: auto;
}

    .services-grid::-webkit-scrollbar {
        width: 6px;
    }

    .services-grid::-webkit-scrollbar-track {
        background: transparent;
    }

    .services-grid::-webkit-scrollbar-thumb {
        background-color: var(--surface-elevated);
        border-radius: 10px;
        border: 2px solid transparent;
        background-clip: content-box;
    }

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0px;
    gap: 12px;
    height: 88px;
    background: #FFFFFF;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-slow);
    text-decoration: none;
}

    .service-item:hover {
        background: var(--primary-light);
        color: var(--white);
    }

        .service-item:hover .service-label {
            color: var(--white);
        }

.service-icon {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.service-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.45;
}

.map-container {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 0%);
    overflow: hidden;
}

.directions-inputs-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

.airport-map {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terminal-marker {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

    .terminal-marker:hover {
        transform: scale(1.1);
    }

.marker-circle {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: var(--font-size-2xl);
    box-shadow: 0 4px 20px var(--shadow-strong);
}

.marker-label {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-top: 0.5rem;
    font-weight: 500;
    box-shadow: 0 2px 10px var(--shadow-normal);
    white-space: nowrap;
}

.content-container {
    overflow-y: auto;
    padding-right: 0px;
    scrollbar-width: thin;
    scrollbar-color: var(--surface-elevated) transparent;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    flex: 1;
    min-height: 0;
    padding: 0rem 0.175rem;
}

.terminal-1 {
    top: 20%;
    left: 25%;
}

.terminal-2 {
    top: 60%;
    left: 15%;
}

.terminal-3 {
    top: 40%;
    left: 60%;
}

.c-gates {
    top: 15%;
    left: 45%;
}

.a-gates {
    top: 30%;
    right: 15%;
}

.map-top-controls {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    max-width: calc(100vw - 0rem);
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
    scrollbar-color: var(--surface-elevated) transparent;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.header-tabs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: var(--spacing-2);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0);
    /* max-width: calc(100vw - 1rem);
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-elevated) transparent;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth; */
}


.tab {
    background: var(--white-95);
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--primary-color);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    white-space: nowrap;
}

    .tab .svg-container {
        width: 24px;
        height: 24px;
    }

    .tab.active,
    .tab:hover {
        background: var(--primary-light);
        color: var(--white);
    }

.language-selector {
    position: absolute;
    top: 0.5rem;
    right: 0;
    display: inline-block;
    z-index: 102;
}

.language-toggle {
    background: var(--white-95);
    color: var(--primary-color);
    padding: var(--spacing-3) var(--spacing-4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
    justify-content: space-between;
}

    .language-toggle:hover {
        background: var(--primary-hover);
    }

    .language-toggle .svg-container {
        width: 24px;
        height: 24px;
    }

    .language-toggle .dropdown-arrow {
        width: 12px;
        height: 12px;
        transition: transform 0.2s ease;
    }

.language-selector.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-toggle:hover {
    background: var(--primary-light) !important;
    color: var(--white) !important;
}

    .language-toggle:hover .svg-container {
        filter: brightness(0) invert(1) !important;
    }

.current-language {
    flex: 1;
    text-align: left;
}

.language-dropdown {
    position: fixed;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 120px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: var(--spacing-3) var(--spacing-4);
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid var(--gray-200);
}

.language-checkbox {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}


.checkbox-mark {
    width: 10px;
    height: 10px;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: relative;
}

    .checkbox-mark::after {
        content: '✓';
        color: var(--white);
        font-size: var(--font-size-base);
        font-weight: bold;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.language-option.selected .checkbox-mark {
    opacity: 1;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: var(--gray-100);
}

.language-option.selected {
    background: var(--primary-light);
    color: var(--white);
}

.lang-code {
    font-weight: 600;
    font-size: var(--font-size-sm);
    min-width: 24px;
}

.lang-name {
    font-size: var(--font-size-sm);
    font-weight: 400;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

    [dir="rtl"] .language-selector {
        right: auto;
        left: 0;
        direction: ltr; /* Keep language selector LTR */
    }

    [dir="rtl"] .terminal-nav,
    [dir="rtl"] .sidebar-section,
    [dir="rtl"] .search-bar {
        direction: rtl;
    }

    [dir="rtl"] .terminal-text,
    [dir="rtl"] .submenu-text,
    [dir="rtl"] .sidebar-title {
        text-align: right;
    }

    [dir="rtl"] .header-tabs {
        direction: rtl;
    }

    [dir="rtl"] .service-tab {
        flex-direction: row;
    }

        [dir="rtl"] .service-tab .svg-container {
            order: -1;
            margin-right: 0.5rem;
            margin-left: 0;
        }

    [dir="rtl"] .language-toggle {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .current-language {
        text-align: right;
    }

    [dir="rtl"] .language-dropdown {
        right: auto;
        left: 0;
    }

    /* Arabic font support */
    [dir="rtl"] * {
        font-family: var(--font-family);
    }

    /* RTL Directions Support */
    [dir="rtl"] .directions-header {
        padding: 1rem 0.2rem 0.5rem 1rem;
    }

    [dir="rtl"] .directions-back-btn {
        flex-direction: row;
    }

    [dir="rtl"] .directions-form {
        direction: rtl;
    }

    [dir="rtl"] .directions-inputs-container {
        direction: rtl;
    }

    [dir="rtl"] .directions-input-group {
        text-align: right;
        direction: rtl;
    }

    [dir="rtl"] .directions-label {
        text-align: right;
        direction: rtl;
    }

    [dir="rtl"] .directions-input {
        text-align: right;
        direction: rtl;
    }

    [dir="rtl"] .directions-input-wrapper {
        direction: rtl;
    }

    [dir="rtl"] .directions-dropdown {
        right: 0;
        left: auto;
    }
    [dir="rtl"] .dropdown-item-icon{
        /*transform: scale(-1);*/
        margin-left: 0.75rem;
    }

    [dir="rtl"] .directions-clear-icon {
        right: auto;
        left: calc(20% - 0.5rem);
    }

    [dir="rtl"] .input-prefix {
        right: 1rem;
    }

    [dir="rtl"] .route-input-wrapper .route-input-clear {
        right: auto;
        left: calc(20% + 0.5rem);
    }

    [dir="rtl"] .input-with-prefix {
        padding: 16px 48px;
    }
    [dir="rtl"] .route-swap-container {
        left: 0;
        right: auto;
    }
    [dir="rtl"] .start-from-text {
        text-align: right;
    }
    [dir="rtl"] .start-from-section {
        direction: rtl;
        text-align: right;
    }

    [dir="rtl"] .start-from-title {
        text-align: right;
    }

    [dir="rtl"] .flight-header-outside .flight-back-btn {
        flex-direction: row;
    }

    [dir="rtl"] .connecting-directions-header .connecting-directions-back-btn {
        flex-direction: row;
    }

    [dir="rtl"] .flight-header .flight-back-btn {
        flex-direction: row;
    }

    [dir="rtl"] .service-meta-item .svg-container {
        transform: scaleX(-1);
    }
    /*[dir="rtl"] .service-info-icon{
 transform: scaleX(-1);
}*/
    [dir="rtl"] .service-back-btn {
        flex-direction: row;
    }

    [dir="rtl"] .service-details .svg-container,
    [dir="rtl"] .directions-header .svg-container,
    [dir="rtl"] .connecting-directions-header .svg-container,
    [dir="rtl"] .service-info-header .svg-container,
    [dir="rtl"] .flight-header .svg-container,
    [dir="rtl"] .flight-header-outside .svg-container,
    [dir="rtl"] .search-header .svg-container {
        transform: scaleX(-1);
    }

    /* RTL Main Search Icon Fix */
    [dir="rtl"] .search-icon {
        left: auto;
        right: 1rem;
    }

    [dir="rtl"] .search-input {
        padding: var(--spacing-3) var(--spacing-10) var(--spacing-3) var(--spacing-4);
        text-align: right;
    }

    [dir="rtl"] .search-input-icon {
        left: auto;
        right: 1rem;
    }
    [dir="rtl"] .search-back-btn {
        flex-direction: row;
    }
/*[dir="rtl"] .service-result-item .service-result-icon {
  transform: scaleX(-1);
}*/

.search-content {
    padding: var(--spacing-2);
    background: var(--background-light);
    height: 100%;
}

    .search-content.hidden {
        display: none;
    }

.search-input-container {
    position: relative;
    margin-bottom: 2rem;
}

.search-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    z-index: 1;
}

.search-main-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 2.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    background: var(--white);
    outline: none;
    box-shadow: var(--shadow-md);
    height: 64px;
    max-height: 64px;
}

    .search-main-input::placeholder {
        color: var(--gray-500);
        opacity: 0.7;
    }

.search-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 5rem;
}

.search-section-title {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.search-category {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.search-category-title {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: var(--spacing-4);
    text-transform: capitalize;
    letter-spacing: 0.05em;
}

.search-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: var(--spacing-3) var(--spacing-2);
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--primary-color);
    background-color: var(--white);
    margin-bottom: 0.5rem;
}

.search-item-recent {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: var(--spacing-3);
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--primary-color);
}

    .search-item-recent span {
        font-size: var(--font-size-base);
        font-weight: 400;
    }

.search-item:hover {
    background: var(--gray-200);
}

.search-item-icon {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
}

.search-item span {
    font-size: var(--font-size-base);
    font-weight: 400;
}

.flight-grid {
    display: none;
}

    .flight-grid.active {
        display: block;
    }

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-result-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    background: var(--white);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-slow);
}

    .service-result-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px var(--shadow-medium);
    }

.service-result-icon {
    width: 16px;
    height: 16px;
    display: flex;
    flex-shrink: 0;
}

    .service-result-icon img {
        width: 100%;
        height: 100%;
        max-width: 20px;
        max-height: 20px;
        object-fit: contain;
    }

    .service-result-icon.triangle {
        background-color: var(--error);
        clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
        border-radius: 0;
    }

    .service-result-icon.circle {
        background-color: var(--accent-blue);
        border-radius: 50%;
    }

    .service-result-icon.oval {
        background-color: var(--error-light);
        border-radius: 50px;
    }

    .service-result-icon.bird {
        background-color: var(--success);
        border-radius: 12px;
    }

.service-result-details {
    flex: 1;
}

.service-result-name {
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.service-result-location {
    font-size: var(--font-size-xs);
    color: var(--primary-color);
    line-height: 1.4;
}

.service-info-content {
    padding: 0;
    height: 100%;
}

.service-info-header {
    padding: 1rem 1rem 0.5rem 0.2rem;
    background: transparent;
}

.service-back-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--primary-color);
    font-size: var(--font-size-base);
    cursor: pointer;
    font-weight: 500;
    padding: 0;
    border-radius: 6px;
    transition: background 0.2s;
    line-height: 250%;
}

    .service-back-btn span {
        padding: 0.20rem 0.35rem;
    }

.service-info-details {
    padding: 1.5rem 1rem;
    background: var(--white);
    margin: 0;
    margin: var(--spacing-2);
    border-radius: 8px;
}

.service-info-main {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    margin-bottom: 1.5rem;
}

.service-info-icon {
    width: 40px;
    height: 40px;
}

    .service-info-icon img {
        width: 100%;
        max-height: 100%;
    }

.service-info-text {
    flex: 1;
}

.service-info-title {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--primary-color);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.service-info-subtitle {
    font-size: var(--font-size-xs);
    color: var(--primary-color);
    margin: var(--spacing-4) var(--spacing-1);
    line-height: 1.4;
    font-weight: 400;
}

.service-info-address {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.service-info-meta {
    margin-bottom: 1.5rem;
    padding: 0;
}

.service-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    margin-bottom: 0.5rem;
}

.service-meta-label {
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--primary-color);
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: 12px;
    background-color: var(--background-light);
}

.service-meta-value {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 500;
}

.service-info-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.service-action-row {
    display: flex;
    gap: 0.5rem;
}

.service-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    border-radius: 25px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-slow);
    flex: 1;
    justify-content: center;
    padding: var(--spacing-3) var(--spacing-1);
}

    .service-action-btn.full-width {
        width: 100%;
    }

    .service-action-btn.primary {
        background: var(--primary-color);
        color: var(--white);
    }

        .service-action-btn.primary:hover {
            transform: scale(1.03);
            box-shadow: 0 4px 16px var(--shadow-light);
        }

    .service-action-btn.secondary {
        background: var(--white);
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
        padding: var(--spacing-3) var(--spacing-1);
    }

        .service-action-btn.secondary:hover {
            transform: scale(1.03);
            box-shadow: 0 4px 16px var(--shadow-light);
        }

.service-info-image {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

    .service-info-image img {
        width: 100%;
        height: auto;
        display: block;
    }

.service-info-description {
    font-size: var(--font-size-xs);
    color: var(--primary-color);
    line-height: 1.5;
    font-weight: 400;
}

    .service-info-description p {
        margin: 0;
    }

.search-header {
    margin-bottom: 1rem;
}

.search-back-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
    padding: var(--spacing-2) 0;
    border-radius: 6px;
    transition: background 0.2s;
    font-size: var(--font-size-base);
    color: var(--primary-color);
}

    .search-back-btn span {
        padding: 0.20rem 0.35rem;
    }


.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    z-index: 1000;
}
#pointr-ui {
    z-index: 999!important;
}
.mobile-search-bar {
    display: none;
    position: relative;
    border-bottom: 1px solid var(--gray-200);
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .mobile-menu-toggle:hover {
        background: var(--gray-200);
    }

.mobile-location-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .mobile-location-toggle:hover {
        background: var(--gray-200);
    }

/* Bottom Sheet Handle */
.bottom-sheet-handle {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: var(--gray-300);
    border-radius: 2px;
    cursor: grab;
    touch-action: none;
    z-index: 1001;
    font-size: var(--font-size-base);
    color: var(--primary-color);
    font-weight: 400;
}

    .bottom-sheet-handle:active {
        cursor: grabbing;
    }

/* Bottom Sheet Header */
.bottom-sheet-header {
    padding: 20px 1rem 1rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--background-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.bottom-sheet-title {
    font-size: var(--font-size-xl);
    font-weight: 500;
    color: var(--primary-color);
    margin: 0;
    text-align: left;
}

.bottom-sheet-content {
    padding: var(--spacing-4);
    height: calc(100dvh - 80px);
    overflow-y: auto;
    background: var(--background-light);
}

.service-directions-content {
    min-height: 100%;
    padding: 0;
}

.directions-header {
    padding: 0.3rem 1rem 0.3rem 0.2rem;
    border-bottom: none;
    top: 0;
    z-index: 100;
}

.directions-back-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: var(--font-size-base);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 0;
    font-weight: 500;
    padding: .5rem 0 0 0;
    border-radius: 6px;
    transition: background 0.2s;
    font-size: var(--font-size-base);
    line-height: 250%;
}

    .directions-back-btn span {
        padding: 0.20rem 0.35rem;
    }


.directions-input-group {
    margin-bottom: 0.5rem;
    position: relative;
}

.directions-input {
    width: 85%;
    padding: 1rem 0.5rem 1rem 0.5rem;
    border: none;
    font-size: var(--font-size-sm);
    background: var(--white);
    position: relative;
    color: var(--primary-color);
    border-radius: 8px;
}

.directions-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.directions-input-wrapper {
    position: relative;
}

/* Dropdown Filter Styles */
.directions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    /* box-shadow: 0 8px 25px var(--shadow-medium); */
    z-index: 1000;
    max-height: 350px;
    overflow-y: auto;
    display: none;
    margin-top: 4px;
    backdrop-filter: blur(10px);
    padding: var(--spacing-2);
}

    .directions-dropdown::-webkit-scrollbar {
        width: 6px;
    }

    .directions-dropdown::-webkit-scrollbar-track {
        background: transparent;
    }

    .directions-dropdown::-webkit-scrollbar-thumb {
        background: var(--surface-elevated);
        border-radius: 3px;
    }

        .directions-dropdown::-webkit-scrollbar-thumb:hover {
            background: var(--gray-400);
        }

.dropdown-filter {
    position: sticky;
    top: 0;
    background: var(--white);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-100);
    border-radius: 12px 12px 0 0;
    z-index: 10;
}

.dropdown-filter-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    background: var(--gray-50);
    color: var(--primary-color);
    outline: none;
    transition: all var(--transition-fast);
}

    .dropdown-filter-input:focus {
        border-color: var(--accent-blue);
        background: var(--white);
        box-shadow: 0 0 0 3px var(--blue-focus);
    }

    .dropdown-filter-input::placeholder {
        color: var(--primary-color);
        font-size: var(--font-size-sm);
    }

.directions-dropdown.show {
    display: block;
}

.directions-dropdown-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .directions-dropdown-item:hover {
        background-color: var(--gray-50);
    }

    .directions-dropdown-item:last-child {
        border-bottom: none;
    }

.dropdown-item-icon {
    max-width: 24px;
    max-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    margin-top: 2px;
    margin-right: 0.75rem;
}

    .dropdown-item-icon img {
        width: 100%;
        height: 100%;
        max-width: 20px;
        max-height: 20px;
        object-fit: contain;
    }

.dropdown-item-content {
    flex: 1;
    min-width: 0;
}

    .dropdown-item-content .primary {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--primary-color);
        margin-bottom: var(--spacing-1);
        line-height: 1.4;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dropdown-item-content .secondary {
        font-size: var(--font-size-xs);
        color: var(--primary-color);
        line-height: 1.3;
        opacity: 0.8;
        display: flex;
        align-items: center;
        gap: var(--spacing-3);
        transition: background-color var(--transition-fast);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.directions-dropdown-item:hover {
    background: var(--gray-50);
}

.directions-dropdown-item:last-child {
    border-bottom: none;
}

.directions-dropdown-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 6px;
    font-size: var(--font-size-base);
    color: var(--accent-blue);
    flex-shrink: 0;
}

.directions-dropdown-text {
    flex: 1;
    min-width: 0;
}

    .directions-dropdown-text .primary {
        font-size: var(--font-size-base);
        color: var(--primary-color);
        margin-bottom: 0.25rem;
        font-weight: 500;
    }

    .directions-dropdown-text .secondary {
        font-size: var(--font-size-sm);
        color: var(--primary-color);
        line-height: 1.25;
    }

.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.input-with-prefix {
    padding: 16px 60px 16px 60px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

    .input-with-prefix:focus {
        outline: none;
        border-color: var(--gray-500);
        /* box-shadow: 0 0 0 2px var(--gray-border); */
    }

.input-prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-450);
    pointer-events: none;
    z-index: 1;
    font-weight: 400;
    font-size: var(--font-size-sm);
}

.input-with-prefix::placeholder {
    color: var(--primary-color);
}

.dropdown-terminal-header {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem 0.5rem 1rem;
    margin-top: 0.5rem;
    background: var(--gray-50);
    border-radius: 6px;
    margin-bottom: 0.25rem;
}

    .dropdown-terminal-header:first-child {
        margin-top: 0;
    }

.start-from-section {
    margin: 1.5rem 0.0rem 0.5rem 0.0rem;
    border-radius: var(--radius-md);
}

.start-from-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.start-from-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.start-from-option {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: var(--spacing-3) var(--spacing-2);
    cursor: pointer;
    transition: all var(--transition-fast);
    background-color: var(--white);
}

    .start-from-option:hover {
        background: var(--gray-50);
        border-color: var(--gray-300);
    }

    .start-from-option.selected {
        background: var(--gray-50);
        border-color: var(--accent-blue);
    }

.start-from-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 6px;
    font-size: var(--font-size-base);
    color: var(--primary-color);
    flex-shrink: 0;
}

.start-from-text {
    font-size: var(--font-size-base);
    color: var(--primary-color);
    font-weight: 400;
}

/* Connecting Directions Styles */
.connecting-directions-content {
    min-height: 100%;
    padding: 0;
}

.connecting-directions-header {
    padding: 0.3rem 1rem 0.3rem 0.2rem;
    border-bottom: none;
    top: 0;
    z-index: 100;
}

.connecting-directions-back-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: var(--font-size-base);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 0;
    font-weight: 500;
    padding: .5rem 0 0 0;
    border-radius: 6px;
    transition: background 0.2s;
    font-size: var(--font-size-base);
    line-height: 250%;
}

    .connecting-directions-back-btn span {
        padding: 0.20rem 0.35rem;
    }

.route-summary {
    padding: var(--spacing-4);
    border-bottom: 1px solid var(--gray-200);
}

.route-endpoints {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.route-from,
.route-to {
    text-align: center;
    flex: 1;
}

.route-label {
    font-size: var(--font-size-sm);
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.route-value {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--primary-color);
}

.route-steps {
    padding: var(--spacing-4);
}

.route-step {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    margin-bottom: 1.5rem;
    padding: var(--spacing-4);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 3px var(--shadow-normal);
}

    .route-step:last-child {
        margin-bottom: 0;
    }

.step-number {
    font-weight: 500;
    color: var(--primary-color);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: var(--font-size-sm);
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.step-description {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--primary-color);
}

.route-actions {
    padding: var(--spacing-4);
    border-top: 1px solid #eff0f5;
    display: flex;
    gap: 0.75rem;
}

.route-action-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

    .route-action-btn.back-btn {
        background: var(--white);
        border: 1px solid #d1d5db;
        color: var(--primary-color);
    }

        .route-action-btn.back-btn:hover {
            background: var(--gray-50);
        }

.current-step {
    background-color: var(--background-light);
}

.route-action-btn.next-btn {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--white);
}

.clear-icon {
    /*display: none;*/
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    cursor: pointer;
    font-size: var(--font-size-sm);
    padding: 0.15rem;
    /* border-radius: 50%; */
    transition: all var(--transition-fast);
    pointer-events: auto;
    z-index: 5;
    opacity:0;
}

[dir="ltr"] .clear-icon {
    right: 1rem;
}

[dir="rtl"] .clear-icon {
    left: 1rem;
}

.clear-icon:hover {
    color: var(--error);
    background: var(--error-light-bg);
    transform: translateY(-50%) scale(1.1);
}

.directions-clear-icon {
    position: absolute;
    /* right: 5.5rem; */
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    cursor: pointer;
    font-size: var(--font-size-sm);
    padding: 0.15rem;
    /* border-radius: 50%; */
    transition: all var(--transition-fast);
    pointer-events: auto;
    z-index: 5;
}

    .directions-clear-icon:hover {
        color: var(--error);
        background: var(--error-light-bg);
        transform: translateY(-50%) scale(1.1);
    }

    .directions-clear-icon:active {
        transform: translateY(-50%) scale(0.95);
    }

.flight-date {
    font-size: var(--font-size-xs);
    color: var(--primary-color);
    margin: var(--spacing-5) var(--spacing-1);
    font-weight: 400;
}

.gate-departure-section {
    display: flex;
    gap: 2rem;
    padding: 0 1.5rem;
    margin-bottom: 0.5rem;
}

.gate-info,
.flight-type-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.gate-label,
.flight-type-label {
    font-size: 12px;
    color: var(--primary-color);
    margin: 0;
}

.gate-value,
.flight-type-value {
    font-size: var(--font-size-2xl);
    font-weight: 500;
    color: var(--primary-color);
    margin: 0;
}

.terminal-info {
    font-size: var(--font-size-xs);
    color: var(--primary-color);
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.journey-planner-section {
    padding: 1.5rem;
}

.journey-title {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
}

.traveller-options {
    display: flex;
    gap: 0.5rem;
}


.search-bar:focus-within .clear-icon {
    opacity: 1;
}

.traveller-btn {
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-color: var(--primary-color);
}

    .traveller-btn.active {
        background: var(--primary-light);
        color: var(--white);
        border: none;
    }

    .traveller-btn:hover {
        border-color: var(--primary-light);
    }

/* Expandable Sections */
.before-fly-section,
.dubai-airports-section {
    padding: 1rem 1.5rem;
    background-color: #f0f1fd;
    border-radius: var(--radius-md);
    margin: 8px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.section-title {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--primary-color);
}

.flight-tags {
    display: flex;
    gap: 0.5rem;
    margin: 0.45rem 0rem;
    flex-wrap: wrap;
}

.flight-tag {
    background: var(--background-light);
    color: var(--primary-color);
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: 12px;
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.section-header i {
    color: var(--primary-color);
    font-size: 14px;
}

.view-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
}

    .view-location i {
        font-size: 12px;
    }

.directions-swap-btn {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    right: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--primary-color);
    font-size: var(--font-size-sm);
}

    .directions-swap-btn:hover {
        background: var(--gray-200);
        color: var(--primary-color);
    }

.route-action-btn.next-btn:hover {
    background: var(--primary-hover);
}

/* Route Options and Toggle Buttons */
.route-options {
    padding: var(--spacing-4) 0;
    border-bottom: 1px solid var(--gray-200);
}

.route-toggle-buttons {
    display: flex;
    gap: 0.5rem;
}

.route-toggle-btn {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

    .route-toggle-btn.active {
        background: var(--primary-light);
        color: var(--white);
        border-color: var(--primary-color);
    }

/* Route Inputs Section */
.route-inputs-section {
    padding: var(--spacing-2) 0;
    /* border-bottom: 1px solid var(--gray-200); */
    position: relative;
}

.route-input-group {
    margin-bottom: 0.5rem;
    position: relative;
}

.route-input-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--gray-450);
    margin-bottom: 0.5rem;
}

.route-input-wrapper {
    position: relative;
}

.route-input {
    width: 85%;
    border: none;
    font-size: var(--font-size-base);
    background: var(--gray-50);
    color: var(--primary-color);
    position: relative;
    border-radius: 8px;
}

.route-input-clear {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: var(--font-size-sm);
}

.route-swap-container {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

/* Route Visualization */
.route-visualization {
    padding: var(--spacing-4);
    border-bottom: 1px solid var(--gray-200);
}

.route-endpoints-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.route-point {
    text-align: center;
    flex: 0 0 auto;
    z-index: 2;
}

.route-point-label {
    font-size: 0.75rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.route-point-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--primary-color);
    background: var(--white);
    padding: var(--spacing-2);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.route-curve {
    width: 100%;
    height: 60px;
}

/* Terminal Filter Popup */
.terminal-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-dark);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.terminal-filter-popup {
    background: var(--white);
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.terminal-filter-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.terminal-filter-title {
    font-size: var(--font-size-xl);
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.terminal-filter-subtitle {
    font-size: var(--font-size-sm);
    color: var(--primary-color);
}

.terminal-filter-content {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.terminal-filter-section {
    margin-bottom: 1.5rem;
}

    .terminal-filter-section:last-child {
        margin-bottom: 0;
    }

.terminal-filter-section-title {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.terminal-filter-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: var(--spacing-3);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: all var(--transition-fast);
}

    .terminal-filter-option:hover {
        background: var(--gray-50);
        border-color: var(--gray-300);
    }

    .terminal-filter-option.selected {
        background: var(--gray-50);
        border-color: var(--accent-blue);
    }

.terminal-filter-option-icon {
    font-size: var(--font-size-xl);
    width: 24px;
    text-align: center;
}

.terminal-filter-option-text {
    font-size: var(--font-size-sm);
    color: var(--primary-color);
    flex: 1;
}

.terminal-filter-actions {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eff0f5;
    display: flex;
    gap: 0.75rem;
}

.terminal-filter-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

    .terminal-filter-btn.cancel {
        background: var(--white);
        border: 1px solid #d1d5db;
        color: var(--primary-color);
    }

        .terminal-filter-btn.cancel:hover {
            background: var(--gray-50);
        }

    .terminal-filter-btn.apply {
        background: var(--accent-blue);
        border: 1px solid var(--accent-blue);
        color: var(--white);
    }

        .terminal-filter-btn.apply:hover {
            background: #0056b3;
        }

.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: var(--gray-300);
    border-radius: 2px;
    margin: 0rem auto 0;
    cursor: pointer;
}

.bottom-sheet-header {
    padding: 1rem 1.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    background: var(--background-light);
    position: sticky;
    top: 0;
    z-index: 10;
}

.bottom-sheet-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.bottom-sheet-content {
    padding: 1.5rem;
    height: calc(100% - 80px);
    overflow-y: auto;
}

/* Removed unused mobile service and directions classes */

/* Removed unused mobile input and dropdown classes */

.service-content {
    max-width: 100%;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
}

    .service-header h2 {
        font-size: 24px;
        font-weight: 500;
        color: var(--text-primary);
        margin: 0;
    }

.service-search-container {
    margin-bottom: 1.5rem;
}

.service-search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-size: 14px;
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .service-search-input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
    }

.service-categories {
    margin-bottom: 2rem;
}

.service-category-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Firefox */
    scrollbar-width: none;
    /* hidden by default */
    scrollbar-color: transparent transparent;
}

    /* Chrome, Safari, Edge */
    .service-category-tabs::-webkit-scrollbar {
        height: 4px;
        /* thin horizontal scrollbar */
        background: transparent;
        /* hide track by default */
    }

    .service-category-tabs::-webkit-scrollbar-thumb {
        background-color: transparent;
        /* hidden by default */
        border-radius: 10px;
    }

    /* On hover → show scrollbar */
    .service-category-tabs:hover {
        scrollbar-width: thin;
        /* Firefox: show thin scrollbar */
        scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
    }

        .service-category-tabs:hover::-webkit-scrollbar-thumb {
            background-color: rgba(0, 0, 0, 0.1);
            /* subtle thumb on hover */
        }

        .service-category-tabs:hover::-webkit-scrollbar {
            background: transparent;
        }




.services-tab {
    padding: 8px 12px;
    border: 1px solid var(--primary-lighter);
    border-radius: 12px;
    background: none;
    color: var(--primary-lighter);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}


    .services-tab.active {
        background: var(--primary-lighter);
        border-color: var(--primary-lighter);
        color: var(--white);
    }

.service-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.0rem;
    transition: all var(--transition-slow);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}



.service-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .service-card-header h3 {
        margin: 0;
        font-size: var(--font-size-base);
        font-weight: 500;
        color: var(--text-primary);
    }

    .service-card-header .service-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: 100% center;
    }

    .service-card-header .service-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        padding: 0.25rem;
    }

.service-image {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0.5rem 0;
}

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.service-card p {
    font-size: 12px;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.4;
    padding: 0.5rem;
}

.service-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

    .service-details .svg-container {
        width: 24px;
        height: 24px;
    }


.service-location,
.service-availability,
.service-arrivals {
    font-size: 12px;
    color: var(--primary-color);
    background: var(--background-light);
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: 15px;
    font-weight: 500;
}

.service-details .accessibility-icon {
    font-size: 16px;
    color: var(--primary);
}

.service-actions {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-top: 1rem;
    justify-content: center;
}

.service-view-details-btn,
.service-directions-btn {
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: 25px;
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-slow);
    min-width: 147px;
    line-height: 1.4rem;
}

.service-view-details-btn {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--text-primary);
}

    .service-view-details-btn:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

.service-directions-btn {
    background: var(--primary-color);
    border: 1px solid var(--primary);
    color: var(--white);
}

    .service-directions-btn:hover {
        background: var(--primary-hover-light);
        border: 1px solid var(--primary-hover-light);
    }



/* Removed unused mobile-service-back-btn class */

@media (max-width: 768px) {

    .tab .svg-container {
        width: 16px;
        height: 16px;
    }

    .logo {
        margin-bottom: 1.5rem;
    }

    .logo-left {
        position: relative;
        top: 2rem;
        margin-left: 1rem
    }

    .search-bar {
        display: none !important;
    }

    .service-header {
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

        .service-header h2 {
            font-size: 20px;
        }

    /* .service-category-tabs {
    gap: 0.25rem;
  } */

    .service-tab {
        padding: 8px 12px;
        font-size: 12px;
    }


    .service-grid {
        gap: 1rem;
        padding-bottom: 4rem;
    }

    .service-card {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .service-card {
        display: block;
    }

        .service-card p {
            display: none !important;
        }

        .service-card .service-image {
            display: none !important;
        }

        .service-card .service-icon {
            margin-bottom: 0.5rem;
        }

    .service-actions {
        flex-direction: row;
        justify-content: space-between;
    }

    .service-view-details-btn,
    .service-directions-btn {
        flex: 1;
        text-align: center;
    }

    .service-details {
        gap: 0.5rem;
    }

    .service-location,
    .service-availability,
    .service-arrivals {
        font-size: 11px;
        padding: 3px 6px;
    }
}

/* Hide mobile elements on desktop */
.mobile-search-bar,
.service-tabs,
.content-panel {
    display: none;
}

.bottom-sheet-handle {
    display: none;
}

.mobile-menu-close {
    display: none;
}

.visually-hidden {
    visibility: hidden;
    opacity: 0;
}

.mobile-toggel-btn {
    display: none;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {

    /* Sidebar overlay for mobile */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

        .sidebar-overlay.show {
            opacity: 1;
            visibility: visible;
        }

    /* Transform desktop layout to mobile-like interface */
    /* .search-icon {
    display: none;
  }

  .search-input {
    display: none;
  } */

    .bottom-sheet-handle {
        display: block;
    }

    .mobile-menu-close {
        display: block;
    }

    .menu-toggle {
        display: none;
    }

    .main-container {
        display: flex;
        flex-direction: column;
        height: 100dvh;
        width: 100vw;
        position: relative;
    }

    /* Transform terminal sidebar for mobile overlay */
    .terminal-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 215px;
        height: 100dvh;
        background: var(--white);
        z-index: 2000;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 0 10px var(--shadow-medium);
        overflow-y: auto;
        /* Add padding for safe areas to prevent content from hiding behind system UI */
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        box-sizing: border-box;
    }

        .terminal-sidebar.open {
            transform: translateX(0);
        }

    /* Convert services sidebar to bottom sheet */
    .services-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        /* background: var(--white); */
        border-radius: 0px 0px 0 0;
        /* Use dvh for full screen height that adapts to Safari UI */
        height: 101dvh;
        max-height: 101dvh;
        overflow-y: hidden;
        overflow-x: hidden;
        box-shadow: 0 -4px 20px var(--shadow-medium);
        z-index: 1002;
        /* Default collapsed state - 80dvh (20% visible) to show arrow and back button */
        transform: translateY(80dvh);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        touch-action: pan-y;
        width: 100%;
        padding-top: 0;
        /* Add padding at bottom for safe area and extra spacing */
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
        top: auto;
    }

        .services-sidebar.collapsed {
            /* Collapsed state - 80dvh for default, JS handles 60dvh for directions */
            transform: translateY(80dvh);
        }

        .services-sidebar.expanded {
            /* Expanded state - full screen (0dvh) */
            transform: translateY(0dvh);
            /* Add top padding for safe area when expanded */
            padding-top: calc(env(safe-area-inset-top, 0px) + 8px);
        }

            /* Ensure handle stays visible when expanded - aligned with Back button */
            .services-sidebar.expanded #bottomSheetHandle {
                position: absolute;
                /* Align with sidebar-title/back button: margin-top(32px) + padding-top(8px) + text center offset */
                top: 1.25rem;
                display: flex !important;
                visibility: visible !important;
                opacity: 1 !important;
                pointer-events: auto !important;
                z-index: 1000;
            }
    
    .services-sidebar:has(.route-summary-section) .mobile-toggel-btn{
        display: none !important;
    }

    /* Add close button to terminal sidebar for mobile */

    #bottomSheetHandle {
        display: block;
    }

    /* Remove old sidebar-container styles */
    .sidebar-container {
        display: block;
    }

    /* Make map container full screen like mobile */
    .map-container {
        flex: 1;
        width: 100%;
        position: relative;
        overflow: hidden;
    }

    /* Keep desktop top controls for mobile */
    .map-top-controls {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: transparent;
        /* padding: 1rem; */
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 0.5rem;
    }

    .mobile-search-bar {
        display: block;
        position: absolute;
        top: 1rem;
        left: 1rem;
        right: 1rem;
        z-index: 1000;
    }

    .mobile-menu-toggle,
    .mobile-location-toggle {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: var(--white);
        border: none;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1001;
        transition: all 0.2s ease;
    }

    .mobile-menu-toggle {
        left: 1rem;
    }

    .mobile-location-toggle {
        right: 1rem;
        box-shadow: var(--shadow-sm);
    }

        .mobile-menu-toggle:hover,
        .mobile-location-toggle:hover {
            background: var(--gray-50);
            transform: translateY(-50%) scale(1.05);
        }

        .mobile-menu-toggle i,
        .mobile-location-toggle i {
            font-size: 1.2rem;
            color: var(--primary-color);
        }

    .mobile-search-bar .search-input {
        width: 100%;
        padding: 0.875rem 3.5rem;
        border-radius: 25px;
        border: none;
        box-shadow: var(--shadow-md);
        font-size: 1rem;
        background: var(--white);
        outline: none;
    }

        .mobile-search-bar .search-input:focus {
            box-shadow: 0 0 0 2px var(--blue-accent-focus), var(--shadow-md);
        }

    /* Add mobile-style language selector */
    .language-selector {
        display:none;
        position: relative;
        top: 2rem;
        right: 0rem;
        /* background: var(--white); */
        padding: 0.5rem 1rem;
        /* box-shadow: var(--shadow-md); */
        font-size: 0.875rem;
        font-weight: 500;
        z-index: 1001;
        height: 33px;
    }

    .language-toggle {
        padding: 0.35rem 1rem;
    }

    .map-top-controls .header-tabs .tab {
        background: var(--white-95);
        padding: var(--spacing-2) var(--spacing-3);
        border-radius: var(--radius-md);
        text-decoration: none;
        color: var(--primary-color);
        transition: all var(--transition-normal);
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: var(--font-size-sm);
        white-space: nowrap;
        margin-right: 0.325rem;
        height: 33px;
    }

    .map-top-controls .header-tabs .service-tab.active {
        background: var(--primary-light);
        color: var(--white);
        transform: translateY(-1px);
        box-shadow: var(--shadow-sm);
    }

        .map-top-controls .header-tabs .service-tab.active:hover {
            background: var(--primary-light);
        }

    .map-top-controls .header-tabs .service-tab i {
        font-size: 1rem;
        flex-shrink: 0;
    }



    /* Services sidebar bottom sheet styling */
    .services-sidebar .sidebar-section {
        padding: .2rem 1rem 1rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;

    }

    .services-sidebar .content-container {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        min-height: 0;
        -webkit-overflow-scrolling: touch;
        /* Add extra padding at bottom to ensure buttons are fully visible */
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    }

    /* Ensure navigation buttons have proper bottom spacing */
    .services-sidebar .route-navigation-buttons,
    .services-sidebar .route-actions,
    .services-sidebar .directions-actions {
        margin-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px) !important;
    }
    .services-sidebar .route-navigation-buttons {
        margin-top: 16px;
    }
    /* Add bottom margin to route summary section for better visibility */
    .services-sidebar .route-summary-section {
        margin-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    }

    /* Back button container - aligns with sidebar-title */
    .services-sidebar .back-btn-container {
        /* Add more top margin for better spacing */
        margin-top: calc(32px + env(safe-area-inset-top, 0px));
        padding: 0.3rem 1rem;
        margin-bottom: 0.5rem;
        background: var(--background-light);
        z-index: 10;
    }

    /* Global back button styling for mobile */
    .services-sidebar .global-back-btn {
        font-size: 1.125rem;
        font-weight: 500;
        padding: 0;
        color: var(--primary-color);
    }

    /* When back button is hidden, add margin to sidebar-title to maintain position */
    .services-sidebar .back-btn-container.hidden + .search-bar + .sidebar-title,
    .services-sidebar .back-btn-container.hidden + * + * + .sidebar-title {
        /* Add safe area to top margin for better spacing */
        margin-top: calc(10px + env(safe-area-inset-top, 0px));
    }

    /* When back button is visible, reduce sidebar-title margin */
    .services-sidebar .back-btn-container:not(.hidden) ~ .sidebar-title {
        margin-top: 0;
    }

    #bottomSheetHandle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 19px;
        height: 19px;
        border: none;
        background-size: cover;
        background-color: transparent;
        cursor: pointer;
        pointer-events: auto !important;
        position: absolute;
        z-index: 1000;
        /* Position to align with sidebar-title or back button */
        top: .75rem;
        /* margin-top + padding-top + half line-height + safe-area for center alignment */
    }

        #bottomSheetHandle::before {
            content: "";
            position: absolute;
            width: 50px;
            height: 50px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

    /* LTR positioning - right side */
    [dir="ltr"] #bottomSheetHandle {
        right: 1.5rem;
        left: auto;
    }

    /* RTL positioning - left side */
    [dir="rtl"] #bottomSheetHandle {
        left: 1.5rem;
        right: auto;
    }

    /* Default positioning when dir is not set (assume LTR) */
    #bottomSheetHandle {
        right: 1rem;
        left: auto;
    }

    .mobile-toggel-btn {
        display: block;
    }

    .up-btn, .services-sidebar.collapsed .down-btn {
        background-image: url('/ResourcePackages/Wowfi/assets/images/pointr/images/SvgImage/slider-up-arrow.svg');
    }

    .down-btn, .services-sidebar.expanded .up-btn{
        background-image: url('/ResourcePackages/Wowfi/assets/images/pointr/images/SvgImage/slider-down-arrow.svg');
    }

    .services-sidebar .sidebar-title {
        margin: 0 !important;
        font-size: 1.125rem;
        font-weight: 500;
        color: var(--text-primary);
        padding: 0 !important;
        flex-shrink: 0;
        display: block;
        background: var(--background-light);
        z-index: 10;
        line-height: 250%;
    }

    /* Hide sidebar title on listing pages (when content has been loaded) */
    .services-sidebar.has-content .sidebar-title {
        display: none;
    }

    .services-sidebar .search-bar {
        margin-bottom: 1rem;
        padding: 0 1rem;
        background: var(--background-light);
        z-index: 9;
        padding-bottom: 0.5rem;
        flex-shrink: 0;
    }

    .content-panel.expanded {
        transform: translateY(0);
    }

    /* Add bottom sheet handle */
    .content-panel::before {
        content: "";
        position: absolute;
        top: 0.75rem;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: var(--gray-300);
        border-radius: 2px;
        cursor: pointer;
    }

    /* Make handle area more interactive */
    .content-panel-header {
        cursor: pointer;
        user-select: none;
        position: relative;
    }

        .content-panel-header:hover::before {
            background: var(--gray-400);
        }

    /* Style content panel header */
    .content-panel-header {
        padding: 1.5rem 1rem 1rem;
        border-bottom: 1px solid var(--gray-200);
        font-size: 1.125rem;
        font-weight: 500;
        color: var(--text-primary);
        background: var(--white);
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .content-panel-title {
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    /* Style content panel body */
    .content-panel-body {
        padding: 1rem;
        min-height: calc(100dvh - 120px);
    }

    /* Add smooth scrolling for content */
    .content-panel {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

        /* Prevent text selection during drag */
        .content-panel.dragging {
            user-select: none;
            -webkit-user-select: none;
        }

        /* Add visual feedback for different heights */
        .content-panel.height-25 .content-panel-header {
            background: linear-gradient(to bottom, var(--white), var(--gray-50));
        }

        .content-panel.height-100 .content-panel-header {
            background: linear-gradient(to bottom, var(--primary-color), var(--primary-hover));
            color: var(--white);
        }

            .content-panel.height-100 .content-panel-header::before {
                background: rgba(255, 255, 255, 0.3);
            }

    /* Flight Route Content - from consolidated media queries */
    .flight-route-content {
        padding: var(--spacing-4);
    }

    .route-summary {
        padding: var(--spacing-4);
    }

    .route-steps {
        padding: var(--spacing-4);
    }

    .route-input-item {
        padding: 10px;
    }

    .route-step {
        padding: 12px 0;
    }

    /* Dots Section - from consolidated media queries */
    .dots-section {
        width: 50px;
        padding: 12px 8px;
    }

    .dot-grid {
        width: 20px;
        height: 28px;
        gap: 3px;
    }

        .dot-grid .dot {
            width: 3px;
            height: 3px;
        }

    .route-input-content {
        padding: 12px;
    }
}


/* Route Header */
.route-header {
    padding: var(--spacing-4);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.route-locations {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.route-location-item {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.route-location-label {
    font-size: var(--font-size-sm);
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.route-location-value {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gray-900);
}

.route-location-divider {
    width: 2px;
    height: 40px;
    background: var(--gray-100);
    margin: 0 1rem;
    position: relative;
}

    .route-location-divider::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 8px;
        height: 8px;
        background: var(--primary-color);
        border-radius: 50%;
    }

/* Route Steps Container */
.route-steps-container {
    background: #fff;
    border-radius: var(--radius-md);
    padding: var(--spacing-4);
    /* margin-bottom: 1rem; */
}

/* Route Steps Container Mobile - Horizontal Layout */
.route-steps-container-mobile {
    display: none;
}

    .route-steps-container-mobile .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
        /*     min-width: 60px;*/
        padding: 0;
        position: relative;
    }

[dir="ltr"] .route-steps-container-mobile .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(50% + 5px);
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 0;
    border-top: 1px dashed #5B6BA8;
    z-index: 0;
}

[dir="rtl"] .route-steps-container-mobile .step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: calc(50% + 5px);
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 0;
    border-top: 1px dashed #5B6BA8;
    z-index: 0;
}

.route-steps-container-mobile .step.completed-step:not(:last-child)::after {
    border-top: 1px solid #5B6BA8;
    width: calc(100% + 10px);
}

[dir="rtl"] .route-steps-container-mobile > .current-step > .step-icon {
    transform: scaleX(-1);
}

.route-steps-container-mobile .step-icon {
    width: 10px;
    height: 10px;
    /*background: var(--gray-100);*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    /*background-color: #ffffff;*/
}

    .route-steps-container-mobile .step-icon .svg-container {
        width: 10px;
        height: 10px;
        filter: brightness(0) saturate(100%) invert(44%) sepia(13%) saturate(1347%) hue-rotate(200deg) brightness(96%) contrast(89%);
    }

.route-steps-container-mobile .step-content {
    display: none;
}

.route-steps-container-mobile .step:first-child .step-icon,
.route-steps-container-mobile .step:last-child .step-icon {
    width: 20px;
    height: 20px;
    border: 1px solid var(--primary-light);
    box-shadow: 0 0 0 1px rgba(91, 107, 168, 0.3);
}

.route-steps-container-mobile .step.current-step .step-icon {
    width: 20px;
    height: 20px;
    box-shadow: 0 0 0 2px rgba(91, 107, 168, 0.3);
    transition: all 0.3s ease;
}

.route-steps-container-mobile .step.current-step:first-child .step-icon {
    box-shadow: 0 0 0 1px rgba(91, 107, 168, 0.3);
}

.route-steps-container-mobile .step.current-step:last-child .step-icon {
    box-shadow: 0 0 0 3px rgba(91, 107, 168, 0.3);
}

.route-steps-container-mobile .step.current-step:not(:first-child):not(:last-child) .step-icon .svg-container {
    width: 15px;
    height: 15px;
    filter: brightness(0) saturate(100%) invert(100%) !important;
}

.route-steps-container-mobile .step .step-icon:has(.svg-container[style*="step-completed.svg"]) {
    background-color: #5B6BA8;
}

.route-steps-container-mobile .step-icon .svg-container[style*="step-completed.svg"] {
    display: none;
    /*filter: brightness(1) !important;*/
    filter: brightness(0) saturate(100%) invert(100%) !important;
    opacity: 1;
    width: 40px;
    height: 40px;
}

.route-steps-container-mobile .step.current-step .step-icon .svg-container[style*="step-completed.svg"] {
    display: block;
}

.route-steps-container-mobile .step.completed-step:not(:first-child):not(:last-child) .step-icon {
    display: none;
}

.route-steps-container-mobile .current-step {
    background-color: transparent;
}

.step {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 0;
    position: relative;
}

[dir="ltr"] .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 3rem;
    bottom: -0.75rem;
    width: 2px;
    background: var(--gray-100);
}

[dir="rtl"] .step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 3rem;
    bottom: -0.75rem;
    width: 2px;
    background: var(--gray-100);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*margin-right: 1rem;*/
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    color: var(--primary-light);
    font-size: var(--font-size-sm);
}

    .step-icon .svg-container {
        filter: brightness(0) saturate(100%) invert(44%) sepia(13%) saturate(1347%) hue-rotate(200deg) brightness(96%) contrast(89%);
    }

.service-info-address .svg-container {
    filter: brightness(0) saturate(100%) invert(17%) sepia(25%) saturate(2395%) hue-rotate(226deg) brightness(95%) contrast(91%);
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
    padding-left: 0.5rem;
}

.step-title {
    font-size: var(--font-size-xs);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.step-location {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--gray-900);
    line-height: 1.4;
}

.current-step {
    background-color: var(--background-light);
    border-radius: var(--radius-md);
    /*    padding: 0.75rem;
    margin: 0 -0.75rem;*/
}

/* Step completed icon visibility - ensure checkmark icons are clearly visible */
.route-steps-container .step-icon .svg-container[style*="step-completed.svg"] {
    filter: brightness(1) !important;
    opacity: 1;
    width: 40px;
    height: 40px;
}

/* Desktop: Completed step icons should have colored background */
.route-steps-container .step .step-icon:has(.svg-container[style*="step-completed.svg"]) {
    background-color: #5B6BA8;
}

.route-steps-container .step {
    column-gap: 12px;
}

/* Current step icon should also be clearly visible */
/*.route-steps-container > .current-step:first-child .step-icon, .route-steps-container > .current-step:last-child .step-icon {
    box-shadow: 0 0 0 3px rgba(91, 107, 168, 0.3);
    transform: scale(1.0);
    transition: all 0.3s ease;
}


.route-steps-container-mobile > .current-step:last-child .step-icon {
    width: 45px;
    height: 45px;
    border: 1px solid var(--primary-light);
    border-radius: 50%;
    background-color: none;
    box-shadow: 0 0 0 3px rgba(91, 107, 168, 0.3);
}

.current-step .step-icon .svg-container {
    filter: brightness(1) !important;
}*/

/* Route Actions */
.route-actions {
    display: flex;
    gap: var(--spacing-4);
    padding: 1rem 0;
}

.route-action-btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: var(--font-size-base);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.back-btn {
    background: var(--gray-100);
    color: var(--primary-color);
}

    .back-btn:hover {
        background: var(--gray-200);
    }

.next-btn {
    background: var(--primary-color);
    color: var(--white);
}

    .next-btn:hover {
        background: #5856eb;
    }

.flight-route-content {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}
/*flight Status*/
.flight-status.neutral {
    --tw-bg-opacity: 1;
    background-color: rgb(237 238 253 / var(--tw-bg-opacity));
    --tw-text-opacity: 1;
    color: rgb(44 45 101 / var(--tw-text-opacity));
}

.flight-status.neutral-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.flight-status.positive {
    --tw-bg-opacity: 1;
    background-color: rgb(217 238 227 / var(--tw-bg-opacity));
    --tw-text-opacity: 1;
    color: rgb(0 87 40 / var(--tw-text-opacity));
}

.flight-status.alarming {
    --tw-bg-opacity: 1;
    background-color: rgb(255 245 229 / var(--tw-bg-opacity));
    --tw-text-opacity: 1;
    color: rgb(119 74 9 / var(--tw-text-opacity));
}

.flight-status.negative {
    --tw-bg-opacity: 1;
    background-color: rgb(242 225 225 / var(--tw-bg-opacity));
    --tw-text-opacity: 1;
    color: rgb(134 36 34 / var(--tw-text-opacity));
}

.flight-status.positive-green {
    --tw-bg-opacity: 1;
    background-color: rgba(160, 200, 166, 0.6);
    --tw-text-opacity: 1;
    color: rgb(60, 60, 100);
}

.route-back-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    font-weight: 500;
    padding: var(--spacing-2);
    border-radius: 6px;
    transition: background 0.2s;
    font-size: var(--font-size-sm);
}

    .route-back-btn:hover {
        color: var(--primary-color);
    }

.route-summary {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px var(--shadow-subtle);
    border: 1px solid var(--gray-200);
}

.route-progress {
    margin-top: 20px;
}

.route-progress-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    position: relative;
}

.route-progress-from,
.route-progress-to {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 500;
}

.route-progress-connector {
    flex: 1;
    height: 2px;
    background-image: repeating-linear-gradient(to right, #4a4a6a 0%, #4a4a6a 50%, #ddd 50%, #ddd 100%);
    margin: 0 16px;
    position: relative;
}

    .route-progress-connector::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        background: var(--primary-color);
        border-radius: 50%;
        margin-left: -4px;
    }

    .route-progress-connector::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        background: var(--primary-color);
        border-radius: 50%;
        margin-right: -4px;
    }

.route-progress-locations {
    display: flex;
    justify-content: space-between;
}

.route-progress-location {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.route-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding: 4px;
    background: #f8f9fa;
    border-radius: 24px;
    border: 1px solid #e9ecef;
}

.route-tab {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: transparent;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    flex: 1;
    text-align: center;
}

    .route-tab:hover {
        background: #e9ecef;
        color: #495057;
    }

    .route-tab.active {
        background: var(--primary-color);
        color: var(--white);
        box-shadow: 0 2px 8px var(--primary-shadow-strong);
    }

.route-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.route-input-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid #e0e0e0;
}

.route-label {
    font-size: 14px;
    color: var(--primary-color);
    min-width: 40px;
}

.route-value {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.route-swap-btn {
    background: #1826561A;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    width: 40px;
    height: 40px;
}

.route-swap-btn-direction {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all var(--transition-fast);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    box-shadow: 0 2px 6px var(--primary-shadow);
}

.route-swap-btn:hover,
.route-clear-btn:hover {
    background: #f0f0f0;
    color: var(--text-primary);
}

.route-steps {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #e0e0e0;
}

.route-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .route-step:last-child {
        border-bottom: none;
    }

.route-step-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 2px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.route-step-number {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
}

.route-step-arrow {
    color: var(--primary-color);
    font-size: 18px;
}

/* Removed unused mobile-bottom-sheet classes */

.route-step-destination {
    color: var(--primary-color);
    font-size: 18px;
}

.route-step-content {
    flex: 1;
}

.route-step-title {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.route-step-location {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.route-actions {
    display: flex;
    gap: 12px;
}

.route-btn {
    flex: 1;
    padding: 9px 12px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.route-back-btn-secondary {
    background: var(--background);
    color: var(--primary-color);
}

    .route-back-btn-secondary:hover {
        background: #e0e0e0;
    }

.route-next-btn {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--white);
}

.directions-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.directions-btn {
    flex: 1;
    padding: 9px 12px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.directions-back-btn-secondary {
    background: var(--background);
    color: var(--primary-color);
}

    .directions-back-btn-secondary:hover {
        background: #e0e0e0;
    }

.directions-next-btn {
    background: var(--primary-color);
    color: var(--white);
}

    .directions-next-btn:hover:not(:disabled) {
        background: #3a4fef;
    }

    .directions-next-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

/* Route step styles moved to main 768px media query */
/* Route Summary Section - Conflict-Free CSS */
.route-summary-section {
    padding: 5px 5px 5rem 5px !important;
    border-bottom: 1px solid #e9ecef !important;
    margin-bottom: 16px !important;
    padding-bottom: 7rem;
}

/* Route Destination Header */
.route-destination-header {
    padding: 0px 0px;
    margin-bottom: 16px;
    overflow: hidden;
    display: none;
}

    .route-destination-header .destination-title {
        font-size: 16px;
        font-weight: 600;
        color: #2c2d64;
        margin-bottom: 8px;
    }

    .route-destination-header .destination-prefix {
        font-weight: 400;
        margin-right: 4px;
    }

    .route-destination-header .destination-name {
        font-weight: 600;
    }

    .route-destination-header .route-instruction {
        font-size: 16px;
        font-weight: 600;
        color: #2c2d64;
        margin-bottom: 16px;
        line-height: 1.4;
    }

@media (max-width: 768px) {
    .route-destination-header {
        display: block;
    }

    .route-time-info {
        display: none;
    }

    .services-sidebar.collapsed .route-steps-container {
        display: none !important;
    }

    .services-sidebar.expanded .route-steps-container {
        display: block;
    }

    .route-steps-container-mobile {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 2px 0;
        width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .route-navigation-buttons ~ .separator, .route-inputs-section, .route-options, .route-inputs-section ~ .separator, .route-summary-section .separator, .connecting-directions-content > .route-summary-section > .separator {
        display: none !important;
    }

    .route-destination-header {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    .route-destination-header .route-instruction{
        margin-bottom: 12px;
    }
}

.route-summary-section .route-summary-header {
    margin-bottom: 16px !important;
}

.route-summary-section .add-stop-btn {
    background: none !important;
    border: none !important;
    color: #2c2d64 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    padding: 4px 0 !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

    .route-summary-section .add-stop-btn:hover {
        color: #2c2d64 !important;
        background: none !important;
    }

    .route-summary-section .add-stop-btn i {
        font-size: 12px !important;
        margin: 0 !important;
    }

.route-summary-section .route-time-info {
    padding: var(--spacing-2) var(--spacing-4);
    box-sizing: border-box !important;
}

/* .route-summary-section {
  margin-bottom: 12px !important;
} */

.time-details {
    display: inline-grid;
    grid-template-columns: auto;
    gap: 10px;
    align-items: start;
}

.route-summary-section .time-row {
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 4px !important;
    align-items: center !important;
}

.route-summary-section .time-label,
.route-summary-section .distance-label {
    font-size: 12px !important;
    color: var(--primary-color);
    font-weight: 400;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}

.route-summary-section .time-values {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.route-summary-section .time-value {
    font-size: var(--font-size-2xl);
    font-weight: 500;
    color: var(--primary-color);
    margin: 0 !important;
}

.route-summary-section .route-mode {
    padding-top: 12px !important;
    border-top: 1px solid #f1f3f4 !important;
    margin-top: 12px !important;
}

.route-summary-section .route-mode-text {
    font-size: 14px !important;
    color: #4a5568 !important;
    font-weight: 500 !important;
    text-align: right !important;
    display: block !important;
    margin: 0 !important;
}

.route-summary-section .route-navigation-buttons {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    padding: 0;
    clear: both;
}

.route-summary-section .route-nav-btn {
    flex: 1;
    padding: 9px 12px;
    border-radius: 44px;
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    outline: none;
    box-sizing: border-box;
    margin: 0;
    min-height: auto;
    transition: all var(--transition-slow);
}

    .route-summary-section .route-nav-btn.back-btn {
        background: none;
        border: 1px solid #2c2d64 !important;
        color: #2c2d64 !important;
    }

        .route-summary-section .route-nav-btn.back-btn:hover {
            border-color: var(--primary-color) !important;
        }

    .route-summary-section .route-nav-btn.next-btn {
        background: #2c2d64 !important;
        border: 1px solid #2c2d64 !important;
        color: white !important;
    }

        .route-summary-section .route-nav-btn.next-btn:hover {
            background: #2c2d64 !important;
            border-color: #2c2d64 !important;
        }

.eta-section {
    padding-right: 5px;
}

.eta-value {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.distance-section {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.location-section {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 15rem;
}

.distance-info {
    flex: 1;
}

.distance-value {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.location-from,
.location-to {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.location-dots {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: auto;
}

.route-swap-container-direction {
    position: absolute;
    right: 5.5rem;
    top: 45%;
    transform: translateY(-50%);
    z-index: 3;
    background-color: #ffffff;
    border-radius: 50%;
}

.location-dots .distance-dot {
    width: 8px;
    height: 8px;
    background-color: #d0d0d0;
    border-radius: 50%;
}

.route-line .distance-dot {
    width: 8px;
    height: 8px;
    background-color: #d0d0d0;
    border-radius: 50%;
}

.location-dots .dots-line {
    flex: 1;
    height: 1px;
    background-image: repeating-linear-gradient(to right, #B0B4CC 0, #B0B4CC 3px, transparent 3px, transparent 6px);
    width: 10rem;
}

.route-line .dots-line {
    flex: 1;
    height: 1px;
    background-image: repeating-linear-gradient(to right, #B0B4CC 0, #B0B4CC 3px, transparent 3px, transparent 6px);
    width: 8rem;
}

.location-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    gap: 1.25rem;
    width: 100%;
}

.location-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 11px;
    height: 57px;
    min-height: 57px;
    height: auto;
}

/* .location-info.from {
  width: 92px;
  min-width: 92px;
}

.location-info.to {
  width: 84px;
  min-width: 84px;
} */

.location-label {
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    color: #2C2D64;
    height: auto;
    min-height: 18px;
}

.location-value {
    font-weight: 500;
    font-size: var(--font-size-base);
    line-height: 1.2;
    color: #2C2D64;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
}

.route-line-container {
    display: flex;
    align-items: center;
}

    .route-line-container .svg-container {
        filter: brightness(0) saturate(100%) invert(71%) sepia(8%) saturate(661%) hue-rotate(197deg) brightness(97%) contrast(91%);
        width: 6rem;
    }

.route-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    width: 100px;
    height: 9px;
    position: relative;
}

.route-dot {
    width: 9px;
    height: 9px;
    background: #B0B4CC;
    border-radius: 50%;
    flex: none;
    z-index: 2;
}

    .route-dot.start {
        margin-right: -1px;
    }

    .route-dot.end {
        margin-left: -1px;
    }

.dashed-line {
    flex-grow: 1;
    height: 1px;
    background: transparent;
    border-top: 1px dashed #B0B4CC;
    margin: 0 -1px;
}

/* .location-label {
  font-size: 13px;
  color: var(--primary-color);
  margin-left: 8px;
} */

.address-pill {
    background-color: #8b5cf6;
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
    display: inline-block;
}

/* 3x4 Dot Grid Design */
.route-input-container {
    display: flex;
    align-items: stretch;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
}

.dots-section {
    background-color: #6269991a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-right: 1px solid #e9ecef;
}

.dot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 5px;
    width: 10px;
    height: 25px;
}

    .dot-grid .dot {
        width: 4px;
        height: 4px;
        background-color: var(--primary-color);
        border-radius: 50%;
    }

.route-input-content {
    position: relative;
}


.route-input-wrapper .route-input-clear {
    position: absolute;
    right: 3.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all var(--transition-fast);
    z-index: 2;
}

.route-input-content .route-input-clear:hover {
    color: var(--error);
    background: var(--error-light-bg);
}

.route-input-content .route-input-clear i {
    font-size: 12px;
}


.flight-grid {
    display: none;
}

    .flight-grid.active {
        display: block;
    }

/* Removed unused mobile-flight-grid classes */
.services-grid.hidden {
    display: none;
}

.flight-screen {
    /* background: var(--white); */
    border-radius: 12px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    /* max-width: 400px; */
    margin: 0.2rem auto;
}

.flight-header {
    /* background: #1e40af; */
    color: #4a4646;
    padding: var(--spacing-2);
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

.flight-back-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
    padding: var(--spacing-2);
    border-radius: 6px;
    transition: background 0.2s;
    font-size: var(--font-size-base);
    color: var(--primary-color);
}

    .flight-back-btn span {
        padding: 0.20rem 0.35rem;
    }

/* Removed duplicate mobile-flight-back-btn class */
.flight-content {
    padding: 0rem;
}

.flight-card {
    cursor: pointer;
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: 16px;
    padding: var(--spacing-4);
    box-shadow: 0 2px 8px var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    max-width: 100%;
    transition: all var(--transition-slow);
}



/* Removed duplicate mobile-flight-card class */

.airline-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.flight-destination {
    font-weight: 500;
    font-size: var(--font-size-base);
    color: var(--primary-color);
}

.flight-details {
    font-size: var(--font-size-xs);
    color: var(--primary-color);
    margin: 0.5rem 0rem;
    max-width: 180px;
    padding-right: 40px;
}

.flight-status-time {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0.65rem 0rem;
}

.flight-status {
    margin-right: 1rem;
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: 12px;
    font-size: var(--font-size-xs);
    font-weight: 500;
}



/* Flight Details Container */
.flight-details-container {
    max-width: 100%;
}

.flight-header-outside {
    padding: 0.5rem 1rem 0.5rem 0.2rem;
    margin-bottom: 0.5rem;
}

.flight-info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
}

/* Removed unused mobile-flight-info-card and mobile-flight-details-container classes */

.flight-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.airline-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

.airline-logo {
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .airline-logo img {
        width: 40px;
        height: 40px;
        object-fit: contain;
        border-radius: var(--radius-md);
    }

.flight-basic-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flight-number {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    margin: 0;
}

.flight-status-info {
    display: flex;
    /*flex-direction: column;*/
    align-items: center;
    gap: 4px;
    margin: 1.0rem 0.15rem;
}

.last-updated {
    font-size: 11px;
    color: var(--gray-600);
}

.flight-datetime {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 500;
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 3px;
}

.flight-debug-info {
    font-size: 10px;
    color: var(--gray-500);
    font-family: monospace;
    background: var(--gray-50);
    padding: 1px 4px;
    border-radius: 2px;
}

.flight-debug-section {
    margin-top: 8px;
    padding: 12px;
    background: #fff3cd;
    border-radius: 6px;
    border: 2px solid #ffc107;
    font-size: 11px;
}

.debug-title {
    font-size: 12px;
    font-weight: 700;
    color: #856404;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.debug-item {
    font-size: 10px;
    color: #856404;
    font-family: monospace;
    margin: 3px 0;
    word-break: break-all;
    background: rgba(255, 255, 255, 0.5);
    padding: 2px 4px;
    border-radius: 2px;
}

.status-badge {
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    background-color: var(--gray-100);
    color: var(--text-primary);
}

.last-updated {
    font-size: 12px;
    color: var(--primary-color);
}

.flight-info {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
}

.separator {
    height: 1px;
    background-color: #D9D9D9;
    margin: 1.5rem 1.5rem;
    opacity: 0.6;
}

.flight-status-section {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.flight-time {
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--primary-color);
    margin: 0;
}

.flight-actions-container {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.get-directions-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 9px 12px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: calc(50% - 0.5rem);
    transition: all var(--transition-slow);
    display: block;
    text-align: center;
    text-decoration: none;
    flex: 1;
}

.show-location-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 9px 12px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: calc(50% - 0.5rem);
    transition: all var(--transition-slow);
    display: block;
    text-align: center;
    flex: 1;
}

    .show-location-btn:hover {
        background: var(--primary-hover);
    }

.get-directions-btn:hover {
    background: var(--primary-hover);
}

.get-directions-btn:hover {
    background: var(--primary-hover-light);
    border: 1px solid var(--primary-hover-light);
}

.show-location-btn:hover {
    background: var(--primary-hover-light);
    border: 1px solid var(--primary-hover-light);
}

.route-section {
    padding: 0 1.5rem 1rem 1.5rem;
}

.route-cities {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.flight-city {
    display: inline;
    flex-direction: column;
    align-items: center;
}

.city-name {
    font-size: 14px;
    color: var(--primary-color);
    margin: 0;
}

.city-code {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
}

/* .route-line {

  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 8px;
} */

.route-dots {
    color: var(--primary-color);
    font-size: 8px;
    letter-spacing: 2px;
}

.arrival-text {
    font-size: var(--font-size-sm);
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.flight-info-bottom {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.info-item {
    text-align: center;
}

.info-label {
    font-size: 0.75rem;
    color: var(--primary-color);
}

.info-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
}

.terminal-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--primary-color);
}

.hidden {
    display: none !important;
}


/* ===== CONSOLIDATED RESPONSIVE STYLES ===== */

/* Extra Small Screens (max-width: 360px) */
@media (max-width: 360px) {
    .map-top-controls .header-tabs {
        gap: 0.125rem;
        margin: 0.25rem;
        margin-top: 4.5rem;
        padding: 0.375rem;
    }

        .map-top-controls .header-tabs .service-tab {
            padding: 0.4rem 0.25rem;
            font-size: 0.7rem;
            gap: 0.125rem;
        }

            .map-top-controls .header-tabs .service-tab i {
                font-size: 0.8rem;
            }
}

/* Small Mobile Screens (max-width: 480px) */
@media (max-width: 480px) {

    .flight-details {
        max-width: 175px;
    }

    .map-top-controls .language-selector {
        position: relative;
        right: 0rem;
        /* background: var(--white); */
        padding: 0.5rem 1rem;
        /* box-shadow: var(--shadow-md); */
        font-size: 0.875rem;
        font-weight: 500;
        z-index: 1001;
    }

    .map-top-controls .header-tabs .service-tab i {
        font-size: 0.8rem;
    }


    .route-input-clear {
        right: calc(20% + 0.5rem);
        font-size: var(--font-size-xs);
    }

    .directions-clear-icon {
        right: calc(15% + 0.5rem);
        font-size: var(--font-size-xs);
    }
}

/* Tablet Devices (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .directions-clear-icon {
        right: calc(20% + 0.6875rem);
    }

    .header-tabs {
        margin-top: 3.9rem;
    }
}

/* Desktop Screens (min-width: 769px) */
@media (min-width: 769px) {
    .services-sidebar.show {
        width: 394px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
    }

    .service-card {
        display: flex;
        align-items: flex-start;
    }

    .service-actions {
        width: 100%;
    }

    .main-container {
        display: flex;
    }

    .directions-clear-icon {
        right: calc(15% + 0.625rem);
    }

    /* Desktop: Reset inline styles and use CSS flex layout */
    .sidebar-container {
        overflow: visible;
        height: 100vh;
    }

    /* Desktop: Content container should fill available space using flex */
    #contentContainer {
        height: auto !important;
        max-height: none !important;
        flex: 1;
        overflow-y: auto;
    }

    /* Desktop: Services sidebar uses flex layout */
    .services-sidebar {
        height: 100vh;
        display: flex;
        flex-direction: column;
    }

        .services-sidebar .sidebar-section {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .services-sidebar .content-container {
            flex: 1;
            overflow-y: auto;
            min-height: 0;
        }
}

/* Large Desktop Screens (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .terminal-sidebar {
        width: 180px;
    }

    .services-sidebar.show {
        width: 350px;
    }

    .language-selector {
        position: relative;
        margin-left: 1rem;
        flex-shrink: 0;
        top: 0rem;
    }
}

@media (max-width: 768px) {

    /* Prevent horizontal scrolling */
    body {
        overflow: hidden;
        max-width: 100vw;
    }

    .main-container {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .map-container {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .flight-details {
        max-width: 175px;
    }

    .map-top-controls .header-tabs {
        margin-top: 5rem;
        padding: 0.375rem;
        gap: 0.125rem;
        margin-right: 0.325rem;
        margin-left: 0.675rem;
    }

        .map-top-controls .header-tabs .service-tab {
            flex-shrink: 0;
            min-width: fit-content;
        }

            .map-top-controls .header-tabs .service-tab i {
                font-size: 0.8rem;
            }

    #contentContainer {
        overflow-y: auto;
        padding-right: 0px;
        scrollbar-width: thin;
        scrollbar-color: var(--surface-elevated) transparent;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .services-sidebar.expanded #contentContainer:has(.directions-dropdown.show) {
        /* Use dvh for full screen - subtract header area and safe areas */
        height: calc(100dvh - 120px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        max-height: calc(100dvh - 120px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    }
    .services-sidebar #contentContainer {
        height: fit-content;
        max-height: fit-content;
    }
    /***/

    .services-sidebar.collapsed #contentContainer {
        /* Use dvh to match transform calculations */
        height: 45dvh;
        max-height: 45dvh;
    }
}

/* Travel Journey Renderer Styles */
.travel-journey-container {
    /* TEMPORARILY HIDDEN - Travel journey functionality disabled per requirements */
    display: none !important;
    padding: 20px;
    max-width: 100%;
    background: var(--white);
    font-family: '29LT Bukra', sans-serif;
}

    /* Flight Info Section within Travel Journey */
    .travel-journey-container .flight-info-card {
        margin-bottom: 25px;
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .travel-journey-container .flight-info-header {
        padding: 16px 20px;
        background: var(--gray-50);
        border-bottom: 1px solid var(--gray-200);
    }

    .travel-journey-container .airline-section {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }

    .travel-journey-container .airline-logo {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        overflow: hidden;
        background: var(--gray-100);
    }

        .travel-journey-container .airline-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

    .travel-journey-container .flight-number {
        font-size: 16px;
        font-weight: 500;
        color: var(--primary-color);
    }

    .travel-journey-container .flight-status-info {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
    }

    .travel-journey-container .flight-status {
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 500;
    }

    .travel-journey-container .last-updated {
        font-size: 12px;
        color: var(--gray-500);
    }

    .travel-journey-container .flight-info {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .travel-journey-container .flight-tag {
        background: var(--gray-100);
        color: var(--primary-color);
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 500;
    }

    .travel-journey-container .flight-status-section {
        padding: 16px 20px;
        background: var(--white);
    }

    .travel-journey-container .flight-time {
        font-size: 14px;
        color: var(--gray-600);
        font-weight: 500;
    }

    .travel-journey-container .get-directions-btn {
        width: 100%;
        background: var(--primary-color);
        color: var(--white);
        border: none;
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .travel-journey-container .get-directions-btn:hover {
            background: var(--primary-hover);
        }

    .travel-journey-container .separator {
        height: 1px;
        background: var(--gray-200);
        margin: 0;
    }

    .travel-journey-container .route-section {
        padding: 16px 20px;
        background: var(--white);
    }

    .travel-journey-container .route-cities {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    .travel-journey-container .flight-city {
        text-align: center;
        flex: 1;
    }

    .travel-journey-container .city-name {
        font-size: 14px;
        font-weight: 500;
        color: var(--primary-color);
        margin-bottom: 4px;
    }

    .travel-journey-container .city-code {
        font-size: 12px;
        color: var(--gray-500);
    }

    .travel-journey-container .route-line {
        display: flex;
        align-items: center;
        gap: 4px;
        margin: 0 16px;
    }

    .travel-journey-container .distance-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--gray-400);
    }

    .travel-journey-container .dots-line {
        width: 20px;
        height: 1px;
        background: var(--gray-300);
    }

    .travel-journey-container .flight-date {
        font-size: 12px;
        color: var(--gray-600);
        text-align: center;
    }

    .travel-journey-container .gate-departure-section {
        padding: 16px 20px;
        background: var(--white);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .travel-journey-container .gate-info,
    .travel-journey-container .flight-type-details {
        text-align: center;
    }

    .travel-journey-container .gate-label,
    .travel-journey-container .flight-type-label {
        font-size: 12px;
        color: var(--gray-500);
        margin-bottom: 4px;
    }

    .travel-journey-container .gate-value,
    .travel-journey-container .flight-type-value {
        font-size: 14px;
        font-weight: 500;
        color: var(--primary-color);
    }

.travel-journey-header {
    margin-bottom: 20px;
}

.journey-planner-title {
    text-align: center;
    margin-bottom: 30px;
}

    .journey-planner-title h2 {
        font-size: 18px;
        font-weight: 500;
        color: var(--primary-color);
        margin: 0 0 10px 0;
    }

.journey-planner-subtitle {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.4;
}

/* Traveler Type Tabs */
.traveler-type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.traveler-tab {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--gray-100);
    color: var(--primary-color);
    min-width: 140px;
    justify-content: center;
}

    .traveler-tab.active {
        background: var(--primary-light);
        color: var(--white);
    }

    .traveler-tab:hover:not(.active) {
        background: var(--gray-200);
    }

/* Timeline Styles */
.timeline-container {
    position: relative;
    padding-left: 20px;
}

    .timeline-container::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: var(--gray-300);
    }

.timeline-step {
    position: relative;
    margin-bottom: 20px;
}

.timeline-marker {
    position: absolute;
    left: -19px;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--white);
    z-index: 1;
}

.timeline-content {
    margin-left: 10px;
}

.timeline-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.timeline-card-header {
    padding: 16px 20px;
    background: var(--gray-50);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-200);
}

    .timeline-card-header h3 {
        font-size: 16px;
        font-weight: 500;
        color: var(--primary-color);
        margin: 0;
    }

.expand-icon {
    font-size: 12px;
    color: var(--gray-500);
    transition: transform 0.3s ease;
}

.timeline-card-content {
    padding: 20px;
}

.timeline-card.collapsed .timeline-card-content {
    display: none;
}

.timeline-card.expanded .timeline-card-content {
    display: block;
}

/* Journey Steps */
.journey-steps {
    margin-bottom: 25px;
}

.journey-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

    .journey-step:last-child {
        border-bottom: none;
    }

.step-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
}

.step-timing {
    display: inline;
    align-items: center;
    gap: 6px;
    background: var(--gray-100);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 500;
}

.step-belt {
    display: inline;
    background: #fbbf24;
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.timing-icon {
    font-size: 10px;
}

/* Experiences Section */
.experiences-section {
    margin-bottom: 25px;
}

    .experiences-section h4 {
        font-size: 16px;
        font-weight: 500;
        color: var(--primary-color);
        margin: 0 0 15px 0;
    }

.experiences-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.experience-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.experience-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

    .experience-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.experience-content {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    padding: 0 12px;
}

.experience-button {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .experience-button:hover {
        background: var(--primary-color);
        color: var(--white);
    }

/* Time Display Styles */
.strikethrough-time {
    text-decoration: line-through;
    color: var(--gray-500);
    margin-right: 8px;
}

.actual-time {
    color: var(--warning-color);
    font-weight: 500;
}

.estimated-time {
    color: var(--warning-color);
    font-weight: 500;
}

.scheduled-time {
    color: var(--text-primary);
    font-weight: 500;
}

/* Flight Date Section */
.flight-date-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 8px;
}

.flight-date-info,
.flight-time-info {
    text-align: center;
}

.date-label,
.time-label {
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.date-value,
.time-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Validation Error Styles */
.validation-error-container {
    text-align: center;
    padding: 40px 20px;
    background: var(--gray-50);
    border-radius: 8px;
    margin: 20px 0;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.validation-error-container h3 {
    color: var(--error-color);
    margin-bottom: 12px;
    font-size: 18px;
}

.error-details {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 14px;
}

.retry-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 9px 12px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .retry-btn:hover {
        background: var(--primary-color-dark);
    }

/* Timeline Hidden Steps */
.timeline-step.hidden {
    display: none;
}

/* Previous Steps Button */
.timeline-step.previous-steps {
    margin-top: 20px;
}

.timeline-marker.previous-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--gray-100);
    border-radius: 50%;
}

.previous-icon {
    font-size: 12px;
    color: var(--success-color);
    font-weight: bold;
}

.previous-steps-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    text-decoration: underline;
}

    .previous-steps-btn:hover {
        color: var(--primary-color-dark);
    }

/* Continue Trip Section */
.continue-trip-section {
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
}

.continue-trip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 15px;
}

    .continue-trip-header h4 {
        font-size: 16px;
        font-weight: 500;
        color: var(--primary-color);
        margin: 0;
    }

.continue-trip-content {
    display: block;
}

.continue-trip-item {
    margin-bottom: 8px;
}

.continue-trip-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .continue-trip-link:hover {
        color: var(--primary-hover);
    }

/* Arrival Text */
.arrival-text {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0 0 20px 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 480px) {
    .travel-journey-container {
        padding: 15px;
    }

    .journey-planner-title h2 {
        font-size: 20px;
    }

    .traveler-type-tabs {
        flex-direction: column;
        gap: 8px;
    }

    .traveler-tab {
        min-width: auto;
    }

    .timeline-card-content {
        padding: 15px;
    }
}

/* Journey Step Cards */
.journey-step-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .journey-step-card .step-title {
        font-size: 16px;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 8px;
    }

    .journey-step-card .step-timing {
        display: inline;
        align-items: center;
        gap: 8px;
        margin-top: 8px;
    }

        .journey-step-card .step-timing .timing-icon {
            font-size: 14px;
        }

        .journey-step-card .step-timing .timing-text {
            font-size: 14px;
            color: var(--gray-600);
            font-weight: 500;
        }

    .journey-step-card .step-belt,
    .journey-step-card .step-gate {
        margin-top: 8px;
    }

    .journey-step-card .belt-text,
    .journey-step-card .gate-text {
        font-size: 14px;
        color: var(--primary-color);
        font-weight: 600;
        background: var(--gray-100);
        padding: 4px 8px;
        border-radius: 4px;
        display: inline-block;
    }
