/* ===== ROOT & RESET ===== */
:root {
    --tb-ink: #0B1A2F;
    --tb-canvas: #F0F4F9;
    --tb-paper: #FFFFFF;
    --tb-teal: #0E7C86;
    --tb-teal-light: #E6F3F5;
    --tb-teal-dark: #095A62;
    --tb-teal-glow: rgba(14,124,134,.15);
    --tb-amber: #E8935B;
    --tb-amber-light: #FDF0E8;
    --tb-green: #2F8F5B;
    --tb-green-light: #E8F5EE;
    --tb-red: #C0503A;
    --tb-red-light: #FDE8E5;
    --tb-slate: #6B7A8F;
    --tb-slate-light: #E8ECF0;
    --tb-line: rgba(11,26,47,.06);
    --tb-shadow-sm: 0 2px 8px rgba(11,26,47,.04);
    --tb-shadow-md: 0 8px 32px rgba(11,26,47,.08);
    --tb-shadow-lg: 0 16px 56px rgba(11,26,47,.10);
    --tb-shadow-xl: 0 24px 72px rgba(11,26,47,.14);
    --tb-display: 'Fraunces', Georgia, serif;
    --tb-body: 'Inter', system-ui, -apple-system, sans-serif;
    --tb-mono: 'IBM Plex Mono', monospace;
    --tb-radius-sm: 10px;
    --tb-radius-md: 16px;
    --tb-radius-lg: 24px;
    --tb-radius-xl: 32px;
    --tb-sidebar-width: 260px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background: var(--tb-canvas);
    font-family: var(--tb-body);
    color: var(--tb-ink);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
}

/* ===== SIDEBAR ===== */
.tb-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--tb-sidebar-width);
    background: var(--tb-paper);
    border-right: 1px solid var(--tb-line);
    z-index: 1000;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: var(--tb-shadow-md);
}
.tb-sidebar::-webkit-scrollbar { width: 4px; }
.tb-sidebar::-webkit-scrollbar-thumb { background: var(--tb-teal); border-radius: 4px; }

.tb-sidebar-brand {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--tb-line);
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.tb-sidebar-brand .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--tb-teal), var(--tb-teal-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    font-family: var(--tb-display);
    flex-shrink: 0;
    transition: transform 0.3s;
}
.tb-sidebar-brand:hover .logo-icon { transform: rotate(-5deg) scale(1.05); }
.tb-sidebar-brand .brand-text {
    font-family: var(--tb-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--tb-ink);
    white-space: nowrap;
}
.tb-sidebar-brand .brand-text span { color: var(--tb-teal); }

.tb-sidebar-user {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--tb-line);
    display: flex;
    align-items: center;
    gap: 14px;
}
.tb-sidebar-user .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tb-teal), var(--tb-teal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
}
.tb-sidebar-user .avatar .status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--tb-green);
    border: 2px solid white;
}
.tb-sidebar-user .user-info { flex: 1; min-width: 0; }
.tb-sidebar-user .user-info .name {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tb-sidebar-user .user-info .role {
    font-size: 12px;
    color: var(--tb-slate);
    display: flex;
    align-items: center;
    gap: 6px;
}
.tb-sidebar-user .user-info .role .badge-gold {
    background: linear-gradient(135deg, #F5A623, #F7C948);
    color: white;
    font-size: 9px;
    padding: 1px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.tb-sidebar-nav {
    flex: 1;
    padding: 12px 12px 8px;
    overflow-y: auto;
}
.tb-sidebar-nav .nav-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--tb-slate);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 12px 6px;
    opacity: 0.5;
}
.tb-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    border-radius: var(--tb-radius-sm);
    color: var(--tb-slate);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s;
    position: relative;
    margin-bottom: 2px;
}
.tb-sidebar-nav a i { width: 20px; text-align: center; font-size: 16px; flex-shrink: 0; }
.tb-sidebar-nav a .nav-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-sidebar-nav a .nav-badge {
    background: var(--tb-amber);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 10px;
    border-radius: 20px;
    min-width: 20px;
    text-align: center;
}
.tb-sidebar-nav a .nav-badge.best { background: linear-gradient(135deg, #0E7C86, #095A62); }
.tb-sidebar-nav a .nav-badge.new { background: linear-gradient(135deg, #E8935B, #d47a44); }
.tb-sidebar-nav a .nav-badge.luxury { background: linear-gradient(135deg, #F5A623, #F7C948); }
.tb-sidebar-nav a:hover { background: var(--tb-teal-light); color: var(--tb-teal-dark); }
.tb-sidebar-nav a.active {
    background: linear-gradient(135deg, var(--tb-teal), var(--tb-teal-dark));
    color: white;
    box-shadow: 0 4px 16px var(--tb-teal-glow);
}
.tb-sidebar-nav a.active i { color: white; }
.tb-sidebar-nav a.active .nav-badge { background: white; color: var(--tb-teal-dark); }

.tb-sidebar-footer {
    padding: 12px 12px 16px;
    border-top: 1px solid var(--tb-line);
    flex-shrink: 0;
}
.tb-sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    border-radius: var(--tb-radius-sm);
    color: var(--tb-red);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s;
}
.tb-sidebar-footer a i { width: 20px; text-align: center; font-size: 16px; }
.tb-sidebar-footer a:hover { background: var(--tb-red-light); }

.tb-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11,26,47,.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}
.tb-sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ===== MAIN WRAPPER ===== */
.tb-main-wrapper {
    margin-left: var(--tb-sidebar-width);
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== HEADER ===== */
.tb-header {
    position: sticky;
    top: 0;
    z-index: 998;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--tb-line);
    padding: 0;
}
.tb-header-inner {
    max-width: 100%;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.tb-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.tb-header-toggle {
    width: 36px;
    height: 36px;
    border-radius: var(--tb-radius-sm);
    border: 1px solid var(--tb-line);
    background: transparent;
    color: var(--tb-slate);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
}
.tb-header-toggle:hover {
    border-color: var(--tb-teal);
    color: var(--tb-teal);
}
.tb-header-title {
    font-family: var(--tb-display);
    font-weight: 600;
    font-size: 18px;
    color: var(--tb-ink);
}
.tb-header-title span { color: var(--tb-slate); font-weight: 400; }

.tb-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.tb-wallet-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--tb-teal-light);
    padding: 8px 18px 8px 14px;
    border-radius: 40px;
    border: 1px solid rgba(14,124,134,.12);
    transition: all 0.25s;
    text-decoration: none;
    cursor: pointer;
}
.tb-wallet-chip:hover {
    background: rgba(14,124,134,.12);
    border-color: var(--tb-teal);
    transform: translateY(-1px);
}
.tb-wallet-chip i { color: var(--tb-teal); font-size: 15px; }
.tb-wallet-chip .wallet-label { font-size: 12px; color: var(--tb-slate); font-weight: 500; }
.tb-wallet-chip .wallet-amount {
    font-family: var(--tb-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--tb-teal-dark);
}

.tb-user-dropdown {
    position: relative;
    cursor: pointer;
}
.tb-user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 12px 4px 4px;
    border-radius: 40px;
    border: 1px solid var(--tb-line);
    background: white;
    transition: all 0.25s;
    text-decoration: none;
    color: var(--tb-ink);
}
.tb-user-trigger:hover {
    border-color: var(--tb-teal);
    box-shadow: var(--tb-shadow-sm);
}
.tb-user-trigger img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--tb-teal);
}
.tb-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.tb-user-name { font-size: 13px; font-weight: 600; }
.tb-user-role { font-size: 10px; color: var(--tb-slate); font-weight: 500; letter-spacing: 0.04em; }
.tb-user-trigger .fa-chevron-down { font-size: 10px; color: var(--tb-slate); margin-left: 2px; }

.tb-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius-md);
    min-width: 210px;
    box-shadow: var(--tb-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: all 0.25s ease;
    padding: 6px 0;
    z-index: 100;
}
.tb-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.tb-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--tb-ink);
    text-decoration: none;
    font-size: 13px;
    transition: background 0.15s;
}
.tb-dropdown-menu a:hover { background: var(--tb-teal-light); }
.tb-dropdown-menu a i { width: 18px; color: var(--tb-slate); font-size: 14px; }
.tb-dropdown-divider { height: 1px; background: var(--tb-line); margin: 4px 16px; }
.tb-dropdown-menu .logout-item { color: var(--tb-red); }
.tb-dropdown-menu .logout-item i { color: var(--tb-red); }

/* ===== MAIN CONTENT ===== */
.tb-main { flex: 1; padding: 32px 24px 48px; }

/* ===== SEARCH CARD ===== */
.tb-search-card {
    background: var(--tb-paper);
    border-radius: var(--tb-radius-lg);
    padding: 32px 36px 36px;
    box-shadow: var(--tb-shadow-sm);
    border: 1px solid var(--tb-line);
    max-width: 960px;
    margin: 0 auto;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
}
.tb-search-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tb-teal), var(--tb-amber), var(--tb-teal));
    background-size: 200% 100%;
    animation: shimmerBar 4s linear infinite;
}
@keyframes shimmerBar {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.tb-search-card:hover {
    box-shadow: var(--tb-shadow-lg);
    transform: translateY(-2px);
}

/* ===== BREADCRUMB ===== */
.tb-breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--tb-slate);
    flex-wrap: wrap;
    margin-bottom: 28px;
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
    animation-delay: 0.1s;
}
.tb-breadcrumb .step {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}
.tb-breadcrumb .step.active {
    color: var(--tb-ink);
    font-weight: 600;
}
.tb-breadcrumb .step .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--tb-slate-light);
    font-size: 11px;
    font-weight: 600;
    transition: all 0.25s;
}
.tb-breadcrumb .step.active .num {
    background: linear-gradient(135deg, var(--tb-teal), var(--tb-teal-dark));
    color: white;
    box-shadow: 0 4px 12px var(--tb-teal-glow);
}
.tb-breadcrumb .step.done .num {
    background: var(--tb-green);
    color: white;
}
.tb-breadcrumb .step.done .num i { font-size: 10px; }
.tb-breadcrumb .arrow { color: var(--tb-line); font-size: 11px; }

.tb-search-card h2 {
    font-family: var(--tb-display);
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 4px;
}
.tb-search-card .subtitle {
    color: var(--tb-slate);
    margin-bottom: 24px;
    font-size: 15px;
}

/* ===== TOGGLES ===== */
.tb-trip-toggle,
.tb-travel-toggle {
    display: flex;
    gap: 4px;
    background: var(--tb-canvas);
    padding: 4px;
    border-radius: var(--tb-radius-sm);
    border: 1px solid var(--tb-line);
    margin-bottom: 12px;
}
.tb-trip-toggle label,
.tb-travel-toggle label {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s;
    color: var(--tb-slate);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.tb-trip-toggle label i,
.tb-travel-toggle label i { font-size: 13px; }
.tb-trip-toggle input[type="radio"],
.tb-travel-toggle input[type="radio"] { display: none; }
.tb-trip-toggle input[type="radio"]:checked + label,
.tb-travel-toggle input[type="radio"]:checked + label {
    background: var(--tb-paper);
    color: var(--tb-teal-dark);
    box-shadow: var(--tb-shadow-sm);
    font-weight: 600;
    border: 1px solid rgba(14,124,134,.08);
}
.tb-trip-toggle input[type="radio"]:checked + label i,
.tb-travel-toggle input[type="radio"]:checked + label i { color: var(--tb-teal); }

/* ===== FORMS ===== */
.tb-form-group { margin-bottom: 16px; }
.tb-form-group label {
    font-weight: 600;
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
    color: var(--tb-slate);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.tb-form-group .input-wrapper {
    position: relative;
}
.tb-form-group .input-wrapper .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tb-slate);
    font-size: 14px;
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 1;
}
.tb-form-group input:focus ~ .input-icon,
.tb-form-group select:focus ~ .input-icon {
    opacity: 1;
    color: var(--tb-teal);
}
.tb-form-group input,
.tb-form-group select {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1.5px solid var(--tb-line);
    border-radius: var(--tb-radius-sm);
    font-size: 14px;
    font-family: var(--tb-body);
    background: var(--tb-canvas);
    transition: all 0.25s;
    color: var(--tb-ink);
}
.tb-form-group input::placeholder {
    color: var(--tb-slate);
    opacity: 0.5;
}
.tb-form-group input:focus,
.tb-form-group select:focus {
    outline: none;
    border-color: var(--tb-teal);
    background: var(--tb-paper);
    box-shadow: 0 0 0 4px var(--tb-teal-glow);
    transform: scale(1.01);
}
.tb-form-group select {
    padding-right: 40px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7A8F' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
input[type="date"] {
    padding: 12px 16px 12px 44px;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.4;
    padding: 4px;
    cursor: pointer;
}

.tb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.tb-form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

/* ===== AUTOCOMPLETE ===== */
.autocomplete-container {
    position: relative;
}
.autocomplete-results {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: var(--tb-paper);
    border: 1.5px solid var(--tb-teal);
    border-radius: var(--tb-radius-sm);
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--tb-shadow-lg);
    display: none;
}
.autocomplete-results.show {
    display: block;
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.autocomplete-results::-webkit-scrollbar { width: 6px; }
.autocomplete-results::-webkit-scrollbar-thumb { background: var(--tb-teal); border-radius: 4px; }
.autocomplete-item {
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.15s;
    border-bottom: 1px solid var(--tb-line);
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: var(--tb-teal-light); }
.autocomplete-item.active { background: var(--tb-teal-light); }
.autocomplete-item .airport-code {
    font-weight: 700;
    color: var(--tb-teal-dark);
    font-family: var(--tb-mono);
    min-width: 50px;
    font-size: 14px;
}
.autocomplete-item .airport-full {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.autocomplete-item .airport-full .city-country {
    display: flex;
    align-items: center;
    gap: 6px;
}
.autocomplete-item .airport-full .city-country .city-name {
    font-weight: 600;
    color: var(--tb-ink);
}
.autocomplete-item .airport-full .city-country .country-code {
    font-size: 11px;
    color: var(--tb-slate);
    background: var(--tb-canvas);
    padding: 1px 8px;
    border-radius: 10px;
}
.autocomplete-item .airport-full .airport-name-full {
    font-size: 13px;
    color: var(--tb-slate);
}
.autocomplete-item .airport-full .airport-name-full .airport-iata-code {
    color: var(--tb-teal-dark);
    font-weight: 600;
    font-family: var(--tb-mono);
    margin-right: 4px;
}
.autocomplete-empty {
    padding: 16px 20px;
    color: var(--tb-slate);
    text-align: center;
    font-size: 14px;
}

/* ===== AIRPORT DETAIL CARDS ===== */
.airport-details-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
    margin-bottom: 8px;
    min-height: 60px;
}
.airport-detail-card {
    background: var(--tb-teal-light);
    border-radius: var(--tb-radius-sm);
    padding: 12px 18px;
    border: 1px solid rgba(14,124,134,.15);
    transition: all 0.3s ease;
    display: none !important;
    align-items: center;
    gap: 12px;
}
.airport-detail-card.show {
    display: flex !important;
    animation: fadeInUp 0.3s ease;
}
.airport-detail-card .detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tb-teal), var(--tb-teal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}
.airport-detail-card .detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.airport-detail-card .detail-info .detail-code {
    font-family: var(--tb-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--tb-teal-dark);
    line-height: 1.2;
}
.airport-detail-card .detail-info .detail-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--tb-ink);
}
.airport-detail-card .detail-info .detail-region {
    font-size: 12px;
    color: var(--tb-slate);
}
.airport-detail-card .detail-clear {
    background: none;
    border: none;
    color: var(--tb-slate);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    transition: all 0.2s;
    font-size: 14px;
    opacity: 0.5;
}
.airport-detail-card .detail-clear:hover {
    background: var(--tb-red-light);
    color: var(--tb-red);
    opacity: 1;
}

/* ===== SEARCH BUTTON ===== */
.tb-btn-search {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--tb-teal), var(--tb-teal-dark));
    color: white;
    border: none;
    border-radius: var(--tb-radius-sm);
    font-size: 16px;
    font-weight: 700;
    font-family: var(--tb-body);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
    position: relative;
    overflow: hidden;
}
.tb-btn-search::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s;
}
.tb-btn-search:hover::before { transform: translateX(100%); }
.tb-btn-search:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(14,124,134,.35);
}
.tb-btn-search i,
.tb-btn-search span,
.tb-btn-search .route-count {
    position: relative;
    z-index: 1;
}
.tb-btn-search .route-count {
    font-weight: 400;
    opacity: 0.7;
    font-size: 13px;
}
.tb-btn-search:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}
.tb-btn-search .spinner {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== QUICK DEST ===== */
.tb-quick-dest {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    justify-content: center;
}
.tb-quick-dest .label {
    font-size: 12px;
    color: var(--tb-slate);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.tb-quick-dest a {
    font-size: 13px;
    color: var(--tb-slate);
    text-decoration: none;
    padding: 5px 16px;
    border-radius: 40px;
    border: 1px solid var(--tb-line);
    transition: all 0.3s;
    background: var(--tb-paper);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.tb-quick-dest a:hover {
    background: var(--tb-teal-light);
    border-color: var(--tb-teal);
    color: var(--tb-teal-dark);
    transform: translateY(-2px);
}
.tb-quick-dest a i { font-size: 11px; opacity: 0.5; }

/* ===== STATS BAR ===== */
.tb-stats-bar {
    display: flex;
    justify-content: center;
    gap: 32px 56px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--tb-line);
    animation: fadeInUp 0.7s ease forwards;
    opacity: 0;
    animation-delay: 0.3s;
}
.tb-stats-bar .stat-item { text-align: center; }
.tb-stats-bar .stat-item .number {
    font-family: var(--tb-display);
    font-size: 30px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--tb-teal), var(--tb-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.tb-stats-bar .stat-item .stat-label {
    font-size: 12px;
    color: var(--tb-slate);
    margin-top: 2px;
    font-weight: 500;
}

/* ===== TOAST ===== */
.tb-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--tb-ink);
    color: white;
    padding: 16px 24px;
    border-radius: var(--tb-radius-md);
    box-shadow: var(--tb-shadow-xl);
    z-index: 9999;
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.4s ease;
    max-width: 420px;
    font-size: 14px;
    border-left: 4px solid var(--tb-teal);
}
.tb-toast.show {
    transform: translateY(0);
    opacity: 1;
}
.tb-toast .toast-title { font-weight: 600; margin-bottom: 4px; }
.tb-toast .toast-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 16px;
}
.tb-toast .toast-close:hover { color: white; }

/* ===== LOADING OVERLAY ===== */
.tb-loading-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11,26,47,0.5);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.tb-loading-overlay.show { display: flex; }
.tb-loading-overlay .spinner-box {
    background: var(--tb-paper);
    padding: 40px 50px;
    border-radius: var(--tb-radius-lg);
    text-align: center;
    box-shadow: var(--tb-shadow-xl);
    max-width: 400px;
}
.tb-loading-overlay .spinner-box .loader {
    width: 60px;
    height: 60px;
    border: 4px solid var(--tb-line);
    border-top: 4px solid var(--tb-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}
.tb-loading-overlay .spinner-box h4 {
    font-family: var(--tb-display);
    font-weight: 600;
    margin-bottom: 4px;
}
.tb-loading-overlay .spinner-box p {
    color: var(--tb-slate);
    font-size: 14px;
    margin: 0;
}

/* ===== FOOTER ===== */
.tb-footer {
    background: var(--tb-ink);
    color: #E7EAF2;
    margin-top: auto;
}
.tb-footer-inner {
    max-width: 100%;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.tb-footer-copy {
    font-size: 13px;
    color: #9AA5B8;
}
.tb-footer-copy strong { color: white; }
.tb-footer-payments {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #6A7A8E;
    font-size: 20px;
}
.tb-footer-payments i:hover { color: white; transition: color 0.2s; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .tb-header-toggle { display: flex; }
    .tb-user-trigger .tb-user-info { display: none; }
    .tb-user-trigger { padding: 4px 8px; }
    .tb-wallet-chip .wallet-label { display: none; }
    .tb-wallet-chip { padding: 8px 14px; }
    .tb-sidebar { transform: translateX(-100%); }
    .tb-sidebar.mobile-open { transform: translateX(0); }
    .tb-main-wrapper { margin-left: 0; }
    .tb-sidebar-overlay { display: block; }
}

@media (max-width: 767px) {
    .tb-main { padding: 20px 16px 32px; }
    .tb-search-card { padding: 24px 18px 28px; border-radius: var(--tb-radius-md); }
    .tb-form-row { grid-template-columns: 1fr; }
    .tb-form-row-3 { grid-template-columns: 1fr 1fr; }
    .airport-details-wrapper { grid-template-columns: 1fr; }
    .airport-detail-card { padding: 10px 14px; }
    .airport-detail-card .detail-info .detail-code { font-size: 18px; }
}

@media (max-width: 575px) {
    .tb-header-inner { padding: 8px 16px; }
    .tb-header-title { font-size: 16px; }
    .tb-header-title span { display: none; }
    .tb-wallet-chip .wallet-amount { font-size: 13px; }
    .tb-footer-inner { padding: 16px 20px; flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .tb-breadcrumb .step .label-text { display: none; }
    .tb-breadcrumb .step .num { width: 28px; height: 28px; font-size: 12px; }
    .tb-trip-toggle { flex-direction: column; }
    .tb-trip-toggle label { padding: 8px 12px; font-size: 13px; }
    .tb-travel-toggle { flex-direction: column; }
    .tb-travel-toggle label { padding: 8px 12px; font-size: 13px; }
    .tb-form-row-3 { grid-template-columns: 1fr; }
}

@media (min-width: 992px) {
    .tb-sidebar-overlay { display: none; }
}