* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-base: #060d19;
    --bg-surface: rgba(14, 23, 42, 0.78);
    --bg-surface-elevated: rgba(20, 32, 56, 0.88);
    --border-glass: rgba(255, 255, 255, 0.12);
    --border-glass-hover: rgba(255, 255, 255, 0.25);
    
    /* Warm Luxury Travel & Riviera Palette */
    --sun-gold: #f59e0b;
    --sun-gold-glow: rgba(245, 158, 11, 0.35);
    --sun-amber: #d97706;
    --sunset-orange: #ea580c;
    --coral-rose: #f43f5e;
    --coral-glow: rgba(244, 63, 94, 0.3);
    --ocean-azure: #0ea5e9;
    --ocean-deep: #0284c7;
    --ocean-glow: rgba(14, 165, 233, 0.35);
    --tropical-teal: #14b8a6;
    --sand-ivory: #fef3c7;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--font-sans);
    background: 
        radial-gradient(ellipse 70% 50% at 50% -10%, rgba(14, 165, 233, 0.22), transparent 70%),
        radial-gradient(ellipse 60% 40% at 88% 18%, rgba(245, 158, 11, 0.18), transparent 60%),
        radial-gradient(ellipse 60% 40% at 12% 32%, rgba(244, 63, 94, 0.14), transparent 60%),
        radial-gradient(ellipse 80% 60% at 50% 90%, rgba(20, 184, 166, 0.12), transparent 70%),
        #060d19;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

button, input, select, textarea {
    font: inherit;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}

button:focus {
    outline: none;
}

button:focus-visible {
    outline: 2px solid rgba(245, 158, 11, 0.6);
    outline-offset: 2px;
}

.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
.header {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(8, 14, 26, 0.92);
    backdrop-filter: blur(24px);
    position: sticky;
    top: 0;
    z-index: 1000;
    gap: 16px;
    overflow: visible;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-compass-icon {
    font-size: 24px;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.5));
    animation: compassSway 6s ease-in-out infinite alternate;
}

@keyframes compassSway {
    0% { transform: rotate(-8deg); }
    100% { transform: rotate(8deg); }
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    cursor: pointer;
}

.logo span {
    color: var(--sun-gold);
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

.resort-atmosphere-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #fde68a;
    letter-spacing: 0.5px;
}

.badge-tropical-dot {
    animation: pulseScale 2s ease-in-out infinite;
}

@keyframes pulseScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.tagline {
    color: var(--text-muted);
    font-size: 13px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    flex: 1;
    min-width: 0;
    padding: 0 8px;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-item {
    background: none;
    border: 1px solid transparent;
    padding: 7px 13px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-item.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(245, 158, 11, 0.18));
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.25);
}

.auth-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-badge {
    font-size: 13px;
    font-weight: 600;
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 16px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.btn-secondary:hover {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btn-secondary-sm {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 6px 13px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    cursor: pointer;
    outline: none;
}

.btn-secondary-sm:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(245, 158, 11, 0.45);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    border: none;
    color: white;
    padding: 9px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
    outline: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-primary-sm {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    border: none;
    color: #ffffff;
    padding: 7px 15px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    outline: none;
    cursor: pointer;
}

.btn-primary-sm:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    outline: none;
    cursor: pointer;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
}

.community-tag-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.community-tag-chip:hover, .community-tag-chip.active {
    background: rgba(20, 184, 166, 0.15);
    border-color: rgba(20, 184, 166, 0.4);
    color: #2dd4bf;
}

.open-legal-privacy, .open-legal-terms {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: color 0.2s;
}

.open-legal-privacy:hover, .open-legal-terms:hover {
    color: var(--sun-gold);
}

/* =========================================
   CONTAINERS & SECTIONS
========================================= */
main {
    flex: 1;
}

.hidden {
    display: none !important;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 2.5px;
    font-weight: 700;
    color: var(--sun-gold);
    margin-bottom: 12px;
    text-transform: uppercase;
    display: inline-block;
    background: rgba(245, 158, 11, 0.12);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

/* =========================================
   VIEW 1: PLANNER HERO & DESTINATION SHOWCASE
========================================= */
.hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 45px 25px 0;
    display: flex;
    flex-direction: column;
    gap: 36px;
    position: relative;
}

.hero-text {
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 72px;
    line-height: 1.2;
    letter-spacing: 0.2px;
    word-spacing: 2px;
    margin-bottom: 22px;
    color: #ffffff;
}

.hero h1 span {
    display: inline-block;
    background: linear-gradient(135deg, #fde68a 0%, #f59e0b 45%, #f43f5e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    padding-bottom: 4px;
    filter: drop-shadow(0 2px 14px rgba(245, 158, 11, 0.25));
}

.subtitle {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0 auto;
}

/* --- WANDERLUST DESTINATION SHOWCASE SLIDER --- */
.destinations-showcase-container {
    background: rgba(14, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    padding: 24px 28px;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.4);
}

.showcase-header {
    margin-bottom: 20px;
}

.showcase-badge-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--sun-gold);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.showcase-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.showcase-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.showcase-cards-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 158, 11, 0.3) transparent;
}

.showcase-cards-slider::-webkit-scrollbar {
    height: 6px;
}

.showcase-cards-slider::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.3);
    border-radius: 10px;
}

.travel-showcase-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: rgba(18, 28, 48, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
}

.travel-showcase-card:hover {
    transform: translateY(-7px) scale(1.02);
    border-color: var(--sun-gold);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.25);
}

.card-media-wrapper {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px;
    transition: transform 0.5s ease;
}

.travel-showcase-card:hover .card-media-wrapper {
    transform: scale(1.05);
}

.card-vibe-tag {
    background: rgba(8, 14, 26, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.card-weather-tag {
    background: rgba(245, 158, 11, 0.85);
    color: #0f172a;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
}

.card-content-wrapper {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-country {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--ocean-azure);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.card-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.card-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
}

.card-meta-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 8px;
}

.card-meta-rating .badge-discount {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    margin-left: auto;
}

.card-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card-duration {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

.btn-select-showcase {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(234, 88, 12, 0.25));
    border: 1px solid var(--sun-gold);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 12px;
    transition: all 0.2s;
}

.travel-showcase-card:hover .btn-select-showcase {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #0f172a;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

/* --- PLANNER CARD --- */
.planner-card {
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
    background: rgba(14, 23, 42, 0.82);
    backdrop-filter: blur(28px);
    padding: 36px 40px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 25px 65px -15px rgba(0, 0, 0, 0.6), 0 0 40px rgba(14, 165, 233, 0.08);
    position: relative;
    z-index: 10;
}

.field {
    margin-bottom: 22px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #f1f5f9;
    letter-spacing: 0.2px;
}

.quick-dest-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.dest-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-secondary);
    border-radius: 100px;
    padding: 7px 15px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dest-pill:hover, .dest-pill.active {
    border-color: var(--ocean-azure);
    background: rgba(14, 165, 233, 0.22);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.35);
    transform: translateY(-1px);
}

.budget-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.budget-hint {
    font-size: 11px;
    color: var(--text-muted);
}

.budget-range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-sep {
    color: var(--text-muted);
    font-weight: 700;
}

.select-currency {
    max-width: 120px;
}

.budget-presets-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.preset-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border-radius: 100px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.preset-pill:hover, .preset-pill.active {
    border-color: var(--sun-gold);
    background: rgba(245, 158, 11, 0.2);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
    transform: translateY(-1px);
}

input, select, textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 13px 16px;
    outline: none;
    background: rgba(8, 14, 26, 0.75);
    color: #ffffff;
    transition: border-color 0.25s, box-shadow 0.25s;
    font-size: 14px;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--ocean-azure);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

.row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 16px;
}

.interests {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.interest {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.interest:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transform: translateY(-1px);
}

.interest.active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(244, 63, 94, 0.22));
    color: #ffffff;
    border-color: var(--sun-gold);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.32);
}

.primary-button {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 45%, #f43f5e 100%);
    color: white;
    padding: 16px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    margin-top: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.4);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.55);
}

/* --- ANIMATED OCEAN WAVES RIBBON --- */
.ocean-waves-wrapper {
    width: 100%;
    position: relative;
    margin-top: 20px;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}

.ocean-waves {
    width: 100%;
    height: 75px;
    min-height: 50px;
    max-height: 90px;
}

.wave-parallax > use {
    animation: moveWave 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.wave-parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.wave-parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.wave-parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.wave-parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes moveWave {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

/* =========================================
   TROPICAL COMPASS & AIRPLANE NAVIGATOR LOADER
========================================= */
.loading {
    text-align: center;
    padding: 90px 20px;
}

.tropical-loader-container {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compass-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.25), inset 0 0 20px rgba(14, 165, 233, 0.2);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(14, 23, 42, 0.8), rgba(6, 13, 25, 0.95));
}

.compass-dial {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    animation: rotateDial 20s linear infinite;
}

@keyframes rotateDial {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.compass-needle {
    position: absolute;
    width: 4px;
    height: 60px;
    background: linear-gradient(to bottom, #f43f5e 50%, #0ea5e9 50%);
    border-radius: 2px;
    animation: swingNeedle 3s ease-in-out infinite alternate;
}

@keyframes swingNeedle {
    0% { transform: rotate(-35deg); }
    100% { transform: rotate(45deg); }
}

.airplane-orbit {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    animation: orbitPlane 4s linear infinite;
}

@keyframes orbitPlane {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.soaring-plane {
    position: absolute;
    top: -10px;
    left: calc(50% - 12px);
    font-size: 24px;
    transform: rotate(45deg);
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.8));
}

.wave-pulse {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid rgba(14, 165, 233, 0.4);
    animation: wavePulseRipple 2s ease-out infinite;
}

@keyframes wavePulseRipple {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.loading h2 {
    font-family: var(--font-heading);
    margin: 18px 0 8px;
    font-size: 28px;
    color: #ffffff;
}

.loading-status-ticker {
    color: var(--sun-gold);
    font-size: 15px;
    font-weight: 500;
    min-height: 24px;
}

.loading-progress-bar {
    max-width: 320px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 20px auto 0;
    overflow: hidden;
}

.loading-progress-fill {
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, var(--ocean-azure), var(--sun-gold), var(--coral-rose));
    border-radius: 10px;
    animation: progressBounce 2s ease-in-out infinite alternate;
}

@keyframes progressBounce {
    0% { width: 20%; transform: translateX(0); }
    100% { width: 85%; transform: translateX(15%); }
}

/* =========================================
   VIEW 2: ITINERARY
========================================= */
.trip-header {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.trip-header h1 {
    font-family: var(--font-heading);
    font-size: 52px;
    letter-spacing: 0.2px;
    margin-bottom: 12px;
    color: #ffffff;
}

.trip-header p {
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 1.6;
    font-size: 16px;
}

.budget-badge {
    white-space: nowrap;
    padding: 10px 20px;
    border-radius: 14px;
    background: rgba(14, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
    font-weight: 700;
    font-size: 14px;
    color: var(--sun-gold);
}

/* =========================================
   DAY TABS & SPLIT ITINERARY LAYOUT
========================================= */
.day-tabs-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 0 18px 0;
    margin-bottom: 24px;
    scrollbar-width: thin;
}

.day-tab-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.day-tab-pill strong {
    color: #f1f5f9;
}

.day-tab-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.day-tab-pill.active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(234, 88, 12, 0.22));
    border-color: var(--sun-gold);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.itinerary-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 40px;
}

@media (max-width: 960px) {
    .itinerary-split-grid {
        grid-template-columns: 1fr;
    }
}

.day-overview-card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
}

.day-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.active-day-badge {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.day-overview-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.day-overview-card p {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.5;
}

/* =========================================
   MINUTE-BY-MINUTE TIMELINE CARDS
========================================= */
.timeline-items-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.timeline-item-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.timeline-step-badge {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.5);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.timeline-step-badge.highlight-night {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-color: #ec4899;
    box-shadow: 0 0 18px rgba(236, 72, 153, 0.7);
}

.timeline-card-content {
    flex: 1;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px;
    transition: all 0.2s;
}

.timeline-card-content:hover {
    border-color: rgba(99, 102, 241, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.bridge-card-glow {
    border: 1px solid rgba(236, 72, 153, 0.5) !important;
    background: linear-gradient(135deg, rgba(23, 19, 58, 0.85), rgba(46, 16, 77, 0.6)) !important;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.25) !important;
}

.timeline-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.timeline-time-badge {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.timeline-cat-badge {
    font-size: 12px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 8px;
}

.timeline-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.35;
}

.timeline-location-row {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 12px;
}

.timeline-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 14px;
}

.timeline-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.meta-pill {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 600;
}

.meta-pill.logistics {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.meta-pill.cost {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.timeline-tip-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #fde68a;
    line-height: 1.45;
    margin-bottom: 14px;
}

.btn-focus-map {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-focus-map:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
    color: #ffffff;
}

/* =========================================
   INTERACTIVE MAP & ASTER LIVE NAVIGATOR
========================================= */
.map-sticky-wrapper {
    position: sticky;
    top: 95px;
}

.map-container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    padding: 12px 18px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
}

.map-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #ffffff;
}

.live-dot-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseRing 1.5s infinite;
}

.map-badge {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 100px;
}

.interactive-map {
    height: 440px;
    width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 10;
}

.live-navigator-card {
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    padding: 18px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.navigator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 10px;
}

.navigator-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.beacon-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 12px #10b981;
    animation: radarPulse 1.8s infinite;
}

.substatus {
    font-size: 12px;
    color: #94a3b8;
}

.next-point-pill {
    background: rgba(99, 102, 241, 0.18);
    color: #a5b4fc;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    white-space: nowrap;
}

.navigator-controls {
    display: flex;
    gap: 10px;
}

.btn-nav-control {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-nav-control:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
}

.btn-nav-control.warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.btn-nav-control.warning:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
}

.navigator-deviation-alert {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.5);
    border-radius: 14px;
    padding: 14px;
    margin-top: 14px;
    animation: slideDown 0.3s ease-out;
}

.deviation-main-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.deviation-warn-icon {
    font-size: 24px;
}

.deviation-main-row h4 {
    font-size: 14px;
    color: #fca5a5;
    margin-bottom: 4px;
}

.deviation-main-row p {
    font-size: 12px;
    color: #e2e8f0;
    line-height: 1.4;
}

.deviation-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-deviation-action {
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-deviation-action.primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-deviation-action.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.recalc-success-toast {
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
    font-size: 12px;
}

/* Custom Marker Pins */
.custom-marker-pin {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: 2px solid #ffffff;
    color: white;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.custom-marker-pin.night-glow-pin {
    background: linear-gradient(135deg, #ec4899, #a855f7);
    border-color: #ffd6f0;
    box-shadow: 0 0 16px rgba(236, 72, 153, 0.8);
}

.gps-user-beacon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.25);
    border: 2px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: radarPulse 1.8s infinite;
}

.gps-beacon-center {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
}

.custom-popup-content {
    color: #0f172a;
    padding: 4px;
    max-width: 240px;
}

.popup-step-badge {
    display: inline-block;
    background: #ede9fe;
    color: #6366f1;
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.popup-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}

.popup-location {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

.popup-desc {
    font-size: 12px;
    color: #334155;
    line-height: 1.4;
    margin-bottom: 8px;
}

.popup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 6px;
}

.popup-cost {
    font-weight: 700;
    font-size: 12px;
    color: #059669;
}

.popup-scroll-btn {
    background: #1e293b;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11px;
    cursor: pointer;
}

@keyframes radarPulse {
    0% { transform: scale(0.95); opacity: 1; }
    70% { transform: scale(1.6); opacity: 0.2; }
    100% { transform: scale(1.9); opacity: 0; }
}

@keyframes pulseRing {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.day {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.day-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 12px;
}

.day-number {
    color: var(--sun-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.day-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.period {
    margin-bottom: 18px;
}

.period:last-child {
    margin-bottom: 0;
}

.period-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--sun-gold);
    margin-bottom: 8px;
}

.place {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.tips-card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 30px;
}

.tips-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.tips-card ul {
    list-style: none;
}

.tips-card li {
    padding: 8px 0;
    font-size: 14px;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.tips-card li:last-child {
    border-bottom: none;
}

.tips-card li::before {
    content: "💡";
    font-size: 14px;
}

.replan {
    margin-top: 40px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: white;
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.replan .eyebrow {
    color: #818cf8;
}

.replan h2 {
    font-size: 26px;
    margin-bottom: 8px;
    color: #ffffff;
}

.replan p {
    color: #94a3b8;
    font-size: 14px;
}

.replan-input {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.replan-input input {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(8, 12, 20, 0.85);
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 12px;
}

.replan-input button {
    border: none;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: white;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.replan-input button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* =========================================
   VIEW 3: SAVED TRIPS / DASHBOARD
========================================= */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    letter-spacing: 0.2px;
    color: #ffffff;
}

.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.trip-card {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}

.trip-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
    border-color: var(--border-glass-hover);
}

.trip-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 6px;
    color: #ffffff;
}

.trip-card-meta {
    font-size: 13px;
    color: var(--sun-gold);
    margin-bottom: 12px;
}

.trip-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.trip-card-actions {
    display: flex;
    gap: 10px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px dashed var(--border-glass);
    color: var(--text-primary);
}

.empty-state h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 8px;
    color: #ffffff;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* =========================================
   VIEW 4: PROFILE & PREFERENCES
========================================= */
.profile-card {
    background: var(--bg-surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 36px;
    border-radius: 24px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    color: var(--text-primary);
}

.profile-card h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: 0.2px;
}

.profile-card label, .field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #e2e8f0;
    letter-spacing: 0.2px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* =========================================
   VIEW 5: SMART BUDGET
========================================= */
.budget-summary-card {
    background: var(--bg-surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--border-glass);
    margin-bottom: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    color: var(--text-primary);
}

.budget-summary-card h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.budget-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.stat-box {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid var(--border-glass);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    margin-top: 4px;
    color: #ffffff;
}

.progress-bar-container {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #ea580c);
    border-radius: 6px;
    transition: width 0.3s ease;
}

.progress-bar-fill.warning {
    background: #f59e0b;
}

.progress-bar-fill.danger {
    background: #f43f5e;
}

.alert-banner {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.alert-banner.warning {
    background: #fff8e1;
    color: #b78103;
    border: 1px solid #ffe082;
}

.alert-banner.danger {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.alert-banner.info {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.expenses-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.expenses-table th, .expenses-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-glass);
    font-size: 14px;
    color: var(--text-primary);
}

.expenses-table th {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   MODAL (AUTH)
========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-card {
    background: var(--bg-surface-elevated);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--border-glass);
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    color: var(--text-primary);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 24px;
}

.modal-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 12px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-tab:hover {
    color: #ffffff;
}

.modal-tab.active {
    color: var(--sun-gold);
    border-bottom-color: var(--sun-gold);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 850px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 40px;
        gap: 40px;
    }
    .hero h1 { font-size: 42px; }
    .trip-header { flex-direction: column; }
    .replan-input { flex-direction: column; }
    .replan-input button { padding: 14px; }
    .form-grid { grid-template-columns: 1fr; }
    .budget-stats { grid-template-columns: 1fr 1fr; }
    .tagline { display: none; }
}

/* =========================================
   HEADER ACTIONS & LANGUAGE PICKER
========================================= */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.select-clean {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.select-clean:hover {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.pro-badge-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
    transition: transform 0.15s, box-shadow 0.15s;
}

.pro-badge-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

/* =========================================
   PROACTIVE SENTINEL DISRUPTION BANNER
========================================= */
.disruption-banner {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-bottom: 2px solid #f59e0b;
    padding: 12px 24px;
    animation: slideDown 0.3s ease;
}

.disruption-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.disruption-pulse-icon {
    font-size: 24px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.disruption-banner-text {
    flex: 1;
    font-size: 14px;
    color: #92400e;
}

.disruption-banner-text strong {
    display: block;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #b45309;
}

.btn-warning-sm {
    background: #d97706;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.btn-warning-sm:hover {
    background: #b45309;
}

.demo-test-bar {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
}

.btn-sentinel-demo {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-sentinel-demo:hover {
    background: #fde68a;
}

/* =========================================
   BUDGET RANGE & CURRENCY INPUTS
========================================= */
.budget-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.budget-range-inputs input {
    flex: 1;
    min-width: 0;
}

.range-sep {
    color: #888;
    font-weight: 700;
}

.select-currency {
    background: #f5f5f4;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

/* =========================================
   PAYMENT CARDS (ASTER WALLET)
========================================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.payment-card-visual {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 170px;
    position: relative;
    border: 1px solid #334155;
}

.payment-card-visual.is-default {
    border: 2px solid #f59e0b;
}

.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-chip {
    width: 38px;
    height: 28px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 6px;
    border: 1px solid #94a3b8;
}

.card-brand-badge {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-number-masked {
    font-family: 'Courier New', Courier, monospace;
    font-size: 19px;
    letter-spacing: 2px;
    margin: 16px 0;
    color: #f1f5f9;
}

.card-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 12px;
}

.card-holder-name {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #cbd5e1;
}

.card-expiry {
    font-family: monospace;
    font-size: 13px;
    color: #cbd5e1;
}

.card-actions-bar {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.btn-card-action {
    background: #f5f5f4;
    border: 1px solid #e7e5e4;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.btn-card-action:hover {
    background: #e7e5e4;
}

.btn-card-action.danger {
    color: #dc2626;
}

.btn-card-action.danger:hover {
    background: #fee2e2;
}

.badge-default-card {
    background: #fef3c7;
    color: #b45309;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

/* =========================================
   SENTINEL DISRUPTION MODAL
========================================= */
.modal-card.wide {
    max-width: 760px;
    max-height: 90vh;
    overflow-y: auto;
}

.disruption-header {
    margin-bottom: 24px;
}

.disruption-alert-tag {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--sun-gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.disruption-proactive-msg {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 6px;
}

.disruption-section {
    margin-bottom: 24px;
}

.disruption-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.disruption-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.disruption-option-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-primary);
}

.disruption-option-card.selected {
    border-color: var(--sun-gold);
    background: rgba(245, 158, 11, 0.12);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

.disruption-option-card h4 {
    font-size: 16px;
    margin-bottom: 6px;
    color: #ffffff;
}

.disruption-option-price {
    font-size: 15px;
    font-weight: 800;
    color: #34d399;
    margin-bottom: 8px;
}

.disruption-option-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.disruption-info-box {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
}

.taxi-highlight {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    font-weight: 600;
}

.disruption-subdetails {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 6px;
}

.disruption-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.disruption-feedback-row {
    display: flex;
    gap: 10px;
}

.disruption-feedback-row input {
    flex: 1;
}

/* =========================================
   SUBSCRIPTION PLANS MODAL
========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.plan-card {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    color: var(--text-primary);
}

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    border-color: var(--border-glass-hover);
}

.plan-card.featured {
    border: 2px solid var(--sun-gold);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.25);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 18px;
    background: #f59e0b;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.plan-badge.discount {
    background: #10b981;
}

.plan-tier {
    font-size: 16px;
    font-weight: 700;
    color: var(--sun-gold);
    margin-bottom: 8px;
}

.plan-price {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 16px;
}

.plan-price span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.plan-features li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.plan-features li.feature-unavailable::before {
    content: "✕";
    color: #ef4444;
    left: 0;
    position: absolute;
}

.plan-features li.feature-unavailable {
    color: #64748b;
    opacity: 0.8;
}

.plan-action-btn {
    width: 100%;
    padding: 13px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.plan-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.checkout-tab-btn {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #cbd5e1 !important;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
}

.checkout-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
    color: #ffffff !important;
}

.checkout-tab-btn.active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(14, 165, 233, 0.2)) !important;
    border-color: var(--sun-gold) !important;
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.3);
}

/* =========================================
   GATED FEATURES & LOCK BADGES
========================================= */
.nav-item.tab-locked {
    position: relative;
    opacity: 0.85;
}

.nav-item.tab-locked:hover {
    opacity: 1;
    color: #fbbf24;
}

.nav-lock-pill {
    font-size: 11px;
    margin-left: 5px;
    color: #f59e0b;
    vertical-align: middle;
}

.mobile-nav-item.tab-locked {
    position: relative;
}

.mobile-lock-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    font-size: 11px;
    background: rgba(245, 158, 11, 0.25);
    border-radius: 8px;
    padding: 1px 3px;
}

.pro-pitch-banner {
    animation: fadeIn 0.3s ease-in-out;
}

/* =========================================
   OTP EMAIL VERIFICATION VIEW
========================================= */
.verify-container {
    text-align: center;
    padding: 10px 0;
}

.verify-container h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 8px;
}

.verify-container p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.otp-input-row {
    margin: 20px 0;
}

.otp-input {
    font-family: monospace;
    font-size: 28px;
    letter-spacing: 8px;
    text-align: center;
    width: 220px;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    outline: none;
    background: rgba(8, 14, 26, 0.85);
    color: #ffffff;
}

.otp-input:focus {
    border-color: var(--sun-gold);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
}

.dev-code-hint {
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: #7dd3fc;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    display: inline-block;
}

.resend-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
}

.btn-link {
    background: none;
    border: none;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.btn-link:disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

.resend-timer {
    color: #6b7280;
    font-family: monospace;
}

.field-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    font-size: 14px;
    cursor: pointer;
}

.field-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* =========================================
   ADDITIONAL QA & COMPONENT STYLING
========================================= */

/* LOCATE ME BUTTON */
.btn-locate {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-locate:hover {
    background: rgba(99, 102, 241, 0.3);
    color: #ffffff;
}

/* EMPTY STATES */
.empty-state-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    margin: 20px 0;
}
.empty-icon {
    font-size: 44px;
    margin-bottom: 12px;
}
.empty-state-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #f1f5f9;
}
.empty-state-card p {
    font-size: 14px;
    color: #94a3b8;
    max-width: 420px;
    margin: 0 auto 20px auto;
}

/* BRIEFING CARD */
.briefing-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}
.briefing-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.briefing-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #38bdf8;
}
.briefing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.briefing-box {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}
.briefing-box .b-icon {
    font-size: 24px;
}
.briefing-box strong {
    display: block;
    font-size: 13px;
    color: #f1f5f9;
    margin-bottom: 4px;
}
.briefing-box p {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}

/* CHECKLIST */
.checklist-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.badge-counter {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.checklist-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.checklist-category-col h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #f8fafc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}
.check-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #cbd5e1;
    transition: all 0.2s;
}
.check-item:hover {
    background: rgba(255, 255, 255, 0.05);
}
.check-item input {
    margin-top: 2px;
    accent-color: #6366f1;
    cursor: pointer;
}
.check-item.done span {
    text-decoration: line-through;
    color: #64748b;
}

/* CONCIERGE & TRANSLATOR */
.concierge-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 900px) {
    .concierge-split-grid {
        grid-template-columns: 1fr;
    }
}
.concierge-chat-card, .translator-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.concierge-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.concierge-avatar {
    font-size: 32px;
    background: rgba(99, 102, 241, 0.2);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.quick-prompts-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.quick-prompt-chip, .phrase-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.quick-prompt-chip:hover, .phrase-chip:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.5);
    color: #ffffff;
}
.concierge-messages-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
    min-height: 280px;
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}
.msg-bubble {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 85%;
}
.msg-bubble.assistant {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #e2e8f0;
    align-self: flex-start;
}
.msg-bubble.user {
    background: #4f46e5;
    color: #ffffff;
    align-self: flex-end;
}
.concierge-input-form {
    display: flex;
    gap: 10px;
}
.concierge-input-form input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}
.translator-controls-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lang-arrow {
    font-size: 18px;
    color: #6366f1;
}
.translation-result-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}
.translation-result-box label {
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 6px;
    display: block;
}
.trans-output-text {
    font-size: 16px;
    font-weight: 600;
    color: #38bdf8;
    min-height: 28px;
}
.trans-phonetic-text {
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
    margin-top: 4px;
}
.quick-phrasebook strong {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
}
.phrasebook-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* DEV TOOLS DRAWER */
.dev-tools-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f1f5f9;
    padding: 8px 14px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    z-index: 9999;
    backdrop-filter: blur(10px);
    transition: all 0.2s;
}
.dev-tools-toggle-btn:hover {
    background: #4f46e5;
    border-color: #6366f1;
}
.dev-tools-drawer {
    position: fixed;
    bottom: 65px;
    right: 20px;
    width: 320px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 10000;
    backdrop-filter: blur(16px);
}
.dev-tools-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.btn-icon {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
}
.btn-icon:hover {
    color: #fff;
}
.dev-tools-note {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 14px;
    line-height: 1.4;
}
.dev-tools-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.btn-dev-action {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}
.btn-dev-action:hover {
    background: rgba(255, 255, 255, 0.12);
}
.btn-dev-action.warning {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}
.btn-dev-action.danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

/* ONBOARDING MODAL */
.onboarding-header {
    text-align: center;
    margin-bottom: 20px;
}
.onboarding-icon {
    font-size: 38px;
    margin-bottom: 8px;
}
.onboarding-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}
.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
}
.step-dot.active {
    background: #6366f1;
    border-color: #818cf8;
    color: #fff;
}
.step-line {
    width: 32px;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
}
.onb-step-panel h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #f8fafc;
}

/* TIMELINE ITEM ACTIONS (EDIT & DELETE) */
.timeline-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.timeline-item-actions {
    display: flex;
    gap: 6px;
    margin-left: auto;
}
.act-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}
.act-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.act-btn.del:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #f87171;
}

/* =========================================
   FLUID MOTION & RESORT ANIMATION SYSTEM
========================================= */
.tab-view:not(.hidden) {
    animation: travelFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes travelFadeIn {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item-card {
    animation: travelSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s;
}

.timeline-item-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.4) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 15px rgba(245, 158, 11, 0.15);
}

@keyframes travelSlideUp {
    0% {
        opacity: 0;
        transform: translateY(22px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* STAGGERED CASCADE ENTRANCE FOR TIMELINE ITEMS */
.timeline-item-card:nth-child(1) { animation-delay: 0.04s; }
.timeline-item-card:nth-child(2) { animation-delay: 0.08s; }
.timeline-item-card:nth-child(3) { animation-delay: 0.12s; }
.timeline-item-card:nth-child(4) { animation-delay: 0.16s; }
.timeline-item-card:nth-child(5) { animation-delay: 0.20s; }
.timeline-item-card:nth-child(6) { animation-delay: 0.24s; }
.timeline-item-card:nth-child(7) { animation-delay: 0.28s; }

/* FLOATING WANDERLUST BADGES */
.floating-vibe-badge {
    animation: gentleFloat 4s ease-in-out infinite alternate;
}

@keyframes gentleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

/* RESPONSIVE DESIGN ADJUSTMENTS */
@media (max-width: 860px) {
    .hero {
        padding: 30px 16px 0;
        gap: 28px;
    }
    .hero h1 {
        font-size: 38px;
    }
    .planner-card {
        padding: 24px 18px;
        border-radius: 20px;
    }
    .destinations-showcase-container {
        padding: 18px 14px;
    }
    .travel-showcase-card {
        flex: 0 0 240px;
    }
    .card-media-wrapper {
        height: 135px;
    }
    .ocean-waves {
        height: 45px;
    }
}

/* =========================================
   MULTI-CITY & TRAVEL OS ENHANCEMENTS
========================================= */

/* Segmented Planner Toggle */
.planner-mode-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    background: rgba(0, 0, 0, 0.28);
    padding: 4px;
    border-radius: 24px;
    border: 1px solid var(--border-glass);
    width: fit-content;
}

.mode-pill {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mode-pill.active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(234, 88, 12, 0.28));
    color: var(--sun-gold);
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

/* Multi-City Chips & Inputs */
.multi-city-tags-wrapper {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 14px;
}

.multi-city-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.city-chip {
    background: rgba(14, 165, 233, 0.18);
    border: 1px solid rgba(14, 165, 233, 0.35);
    color: #38bdf8;
    padding: 5px 12px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chip-remove {
    background: none;
    border: none;
    color: #f87171;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
}

.chip-remove:hover {
    color: #ef4444;
}

.add-city-row {
    display: flex;
    gap: 10px;
}

.multi-city-tip-banner {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(20, 184, 166, 0.28);
    font-size: 13px;
    color: #2dd4bf;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Voice Input in Field */
.input-with-voice {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-voice input {
    width: 100%;
    padding-right: 44px;
}

.btn-voice-input {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.8;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-voice-input:hover {
    opacity: 1;
    transform: scale(1.15);
}

.btn-voice-input.recording {
    animation: voicePulse 1s infinite alternate;
}

@keyframes voicePulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px #ef4444); }
    100% { transform: scale(1.25); filter: drop-shadow(0 0 8px #ef4444); }
}

/* Trip Header Badges Cluster */
.header-badges-cluster {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.eco-badge-btn, .group-badge-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.eco-badge-btn {
    background: rgba(20, 184, 166, 0.15);
    border-color: rgba(20, 184, 166, 0.35);
    color: #2dd4bf;
}

.eco-badge-btn:hover {
    background: rgba(20, 184, 166, 0.25);
    box-shadow: 0 0 12px rgba(20, 184, 166, 0.25);
}

.group-badge-btn {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.35);
    color: #38bdf8;
}

.group-badge-btn:hover {
    background: rgba(14, 165, 233, 0.25);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.25);
}

/* Multi-City Banner Card in Itinerary */
.multi-city-banner-card {
    background: rgba(14, 23, 42, 0.88);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.multi-city-banner-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.multi-city-icon {
    font-size: 26px;
}

.multi-city-segments-flow {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.multi-city-segment-item {
    flex: 1;
    min-width: 190px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 12px 16px;
}

.multi-city-segment-item .seg-city {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
}

.multi-city-segment-item .seg-days {
    font-size: 13px;
    color: var(--sun-gold);
    margin-top: 2px;
}

.multi-city-segment-item .seg-transit {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 6px;
}

/* Logistics Subtabs */
.subtabs-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.subtab-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.subtab-btn:hover {
    border-color: var(--border-glass-hover);
    color: #fff;
}

.subtab-btn.active {
    background: var(--sun-gold);
    border-color: var(--sun-gold);
    color: #060d19;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.logistics-results-container {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.logistics-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s;
}

.logistics-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-glass-hover);
}

/* Marketplace Section */
.itinerary-marketplace-section {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-gold {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--sun-gold);
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.marketplace-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: transform 0.2s, border-color 0.2s;
}

.marketplace-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.marketplace-card .mp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.marketplace-card .mp-rating {
    background: rgba(245, 158, 11, 0.15);
    color: var(--sun-gold);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.marketplace-card .mp-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--tropical-teal);
}

/* Memories & Journal */
.memories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.memory-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.memory-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-glass-hover);
}

.memory-photo-cover {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.memory-day-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(6, 13, 25, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass);
    color: var(--sun-gold);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.memory-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.memory-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.memory-pill {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Travel Twin Gauges */
.twin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}

.twin-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}

.twin-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.twin-stat-val {
    font-size: 26px;
    font-weight: 700;
    margin: 8px 0;
    color: var(--ocean-azure);
}

.twin-subtext {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Activity Voting Cluster */
.activity-voting-cluster {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.vote-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    border-radius: 14px;
    padding: 3px 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.vote-pill:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--border-glass-hover);
    color: #fff;
}

/* Eco Modal Results Box */
.eco-results-box {
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.25);
    border-radius: 12px;
    padding: 14px 18px;
}

.eco-stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.eco-tip {
    font-size: 12px;
    color: #2dd4bf;
    margin-top: 10px;
    line-height: 1.4;
}

/* Group Members List */
.group-members-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
}

.group-member-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13px;
}
/* =========================================
   GENERIC MODAL OVERLAY (Baggage, Group, Eco)
========================================= */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
}

.modal-content {
    background: var(--bg-surface-elevated);
    backdrop-filter: blur(28px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
    animation: modalSlideUp 0.25s ease;
}

.modal-content.modal-compact {
    max-width: 440px;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px 16px;
    border-bottom: 1px solid var(--border-glass);
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-body {
    padding: 22px 26px 26px;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Loading placeholder for cards */
.card-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: var(--text-muted);
    font-size: 14px;
    gap: 10px;
}

.card-loading::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-top-color: var(--sun-gold);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Logistics card result */
.logistics-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.logistics-card:hover {
    border-color: rgba(245, 158, 11, 0.35);
}

.logistics-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 8px 0 4px;
}

/* =========================================
   FLIGHT RADAR & LIVE TRACKER
========================================= */
.flight-radar-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    margin-top: 16px;
}

.radar-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.airline-badge {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-right: 10px;
}

.flight-code-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

.radar-status-pill {
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-on-time {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.status-boarding {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.status-in-air {
    background: rgba(59, 130, 246, 0.25);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.5);
}

.radar-airports-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.radar-ap {
    flex: 1;
}

.radar-iata {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.radar-ap-name {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.radar-time, .radar-gate {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
}

.radar-plane-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 28px;
    color: #60a5fa;
    padding: 0 16px;
}

.radar-progress-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.radar-meta-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: var(--text-muted);
}

/* =========================================
   ESIM CARDS & PACKAGES
========================================= */
.esim-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.esim-plan-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, border-color 0.2s;
}

.esim-plan-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.5);
}

.esim-plan-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.esim-plan-data {
    font-size: 20px;
    font-weight: 800;
    color: #60a5fa;
}

.esim-plan-price {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.esim-plan-name {
    font-size: 14px;
    font-weight: 600;
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.9);
}

.esim-plan-details {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================
   SPLITWISE DEBT SETTLER & MEMBER BALANCES
========================================= */
.member-balances-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.member-balance-chip {
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.balance-positive {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.balance-negative {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.balance-status-tag {
    font-size: 11px;
    opacity: 0.8;
    margin-left: 4px;
}

.settle-tx-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.tx-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
}

.tx-amount {
    color: #60a5fa;
    font-weight: 700;
}

/* =========================================
   CURRENCY CONVERTER & BENCHMARKS
========================================= */
.conv-main-result {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.15));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
}

.conv-from-val {
    font-size: 16px;
    color: var(--text-muted);
}

.conv-to-val {
    font-size: 32px;
    font-weight: 800;
    color: var(--sun-gold);
    margin: 4px 0;
}

.conv-rate-note {
    font-size: 12px;
    color: var(--text-muted);
}

.benchmarks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.benchmark-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.benchmark-price {
    color: #34d399;
}

/* =========================================
   SMART PACKING LIST
========================================= */
.smart-pack-summary-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-glass);
}

/* =========================================
   PRINT / PDF EXPORT STYLESHEET
========================================= */
@media print {
    header, .nav-links, .header-actions, .auth-nav, #sentinel-banner, .subtabs-bar, .header-badges-cluster, .map-sticky-wrapper, .day-tabs-container, button, #mobile-bottom-bar, #mobile-more-sheet, .mobile-bottom-nav, .mobile-sheet-overlay, .modal-overlay {
        display: none !important;
    }
    body, .app, main {
        background: #ffffff !important;
        color: #111827 !important;
    }
    .tab-view {
        display: block !important;
    }
    .container, #view-itinerary, .itinerary-split-grid, .itinerary-timeline-col {
        display: block !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .day-overview-card, .planner-card, .profile-card {
        background: #f9fafb !important;
        border: 1px solid #e5e7eb !important;
        color: #111827 !important;
        page-break-inside: avoid;
    }
    .timeline-item {
        border-left: 2px solid #3b82f6 !important;
        page-break-inside: avoid;
        margin-bottom: 16px;
    }
}

/* =========================================
   VISA RADAR & DESTINATION MATCHMAKER
========================================= */
.dest-matchmaker-card {
    background: var(--bg-surface-elevated, #101c30);
    border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.12));
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-card, 0 10px 30px rgba(0,0,0,0.3));
}

.matchmaker-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.matchmaker-result-card {
    background: var(--bg-surface, #0c1524);
    border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    padding: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.matchmaker-result-card:hover {
    transform: translateY(-3px);
    border-color: var(--sun-gold, #f59e0b);
}

.matchmaker-score-badge {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--sun-gold, #f59e0b);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.visa-card-box {
    background: var(--bg-surface, #0c1524);
    border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    padding: 20px;
}

.visa-regime-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.visa-regime-free {
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid #10b981;
    color: #34d399;
}

.visa-regime-visa {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid #ef4444;
    color: #f87171;
}

.visa-regime-evisa {
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid #3b82f6;
    color: #60a5fa;
}

/* =========================================
   REAL-TIME WEATHER RADAR & GOLDEN HOUR
========================================= */
.weather-radar-bar-card {
    background: linear-gradient(135deg, rgba(16, 28, 48, 0.95), rgba(12, 21, 36, 0.95));
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-card);
}

.weather-radar-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
}

.weather-current-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wr-big-icon {
    font-size: 36px;
}

.wr-temp-val {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.wr-feels {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

.wr-cond-text {
    font-size: 13px;
    color: var(--sun-gold);
    font-weight: 600;
}

.weather-astro-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.astro-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 6px 12px;
}

.astro-icon {
    font-size: 18px;
}

.astro-lbl {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.astro-item strong {
    font-size: 13px;
    color: #ffffff;
}

.wr-hourly-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.wr-hour-pill {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 8px 10px;
    text-align: center;
    min-width: 58px;
    transition: transform 0.15s ease, background 0.15s ease;
}

.wr-hour-pill:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--sun-gold);
    transform: translateY(-2px);
}

.wr-hour-pill.current-hour {
    border-color: var(--sun-gold);
    background: rgba(245, 158, 11, 0.15);
}

.wr-hour-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.wr-hour-icon {
    font-size: 16px;
    margin: 2px 0;
}

.wr-hour-temp {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.wr-hour-pop {
    font-size: 10px;
    color: #60a5fa;
    margin-top: 2px;
}

.wr-clothing-advice {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: var(--text-secondary);
}

.wr-clothing-icon {
    font-size: 16px;
}

/* =========================================
   LIVE NOTIFICATION BELL & SENTINEL DRAWER
========================================= */
.notif-wrapper {
    position: relative;
    display: inline-block;
}

.notif-bell-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.notif-bell-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
}

.notif-badge-pill {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #060d19;
}

.notif-dropdown-card {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 400px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 90px);
    background: rgba(13, 22, 38, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(245, 158, 11, 0.22);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: notifFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes notifFadeIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
    .notif-dropdown-card {
        position: fixed !important;
        top: 70px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: none !important;
        max-height: calc(100vh - 84px) !important;
    }
}

.notif-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-glass);
    font-size: 13px;
    background: rgba(255, 255, 255, 0.02);
}

.btn-text-sm {
    background: none;
    border: none;
    color: var(--sun-gold);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.notif-stream-list {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    flex: 1;
}

.notif-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
    transition: all 0.2s ease;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.notif-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(245, 158, 11, 0.35);
}

.notif-item.unread {
    border-left: 3px solid var(--sun-gold);
    background: rgba(245, 158, 11, 0.06);
}

.notif-item-title {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.notif-item-msg {
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 6px;
}

.notif-item-action-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
    margin-top: 4px;
}

/* =========================================
   CURATED HIDDEN GEMS & NARRATIVE AUDIO TOURS
========================================= */
.audiotour-header-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.audiotour-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.audiotour-pill {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.audiotour-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.audiotour-intro {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.5;
}

.audiotour-stops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.audiotour-stop-card {
    background: var(--bg-surface, #0c1524);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.audiotour-stop-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.audiotour-stop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.audiotour-stop-badge {
    background: rgba(245, 158, 11, 0.15);
    color: var(--sun-gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.audiotour-cat-tag {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    text-transform: capitalize;
}

.audiotour-stop-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.audiotour-stop-tagline {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 12px;
}

.audiotour-secret-tip {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.audiotour-narration-box {
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid #6366f1;
    border-radius: 0 8px 8px 0;
    padding: 8px 12px;
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
    line-height: 1.45;
    margin-bottom: 14px;
    flex-grow: 1;
}

.audiotour-actions-row {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-play-audio-stop {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    flex-grow: 1;
    transition: all 0.2s ease;
}

.btn-play-audio-stop:hover {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.btn-play-audio-stop.playing-wave {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: pulseWave 1.4s infinite alternate;
}

@keyframes pulseWave {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    100% { transform: scale(1.02); box-shadow: 0 0 14px 4px rgba(239, 68, 68, 0.3); }
}

/* =========================================
   EMERGENCY DIRECTORY & MEDICAL CARD STYLES
========================================= */
.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.emergency-phone-card {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.emergency-phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.emergency-phone-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.emergency-phone-pill {
    background: #ef4444;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: transform 0.2s;
}

.emergency-phone-pill:hover {
    transform: scale(1.05);
}

.embassy-card {
    background: var(--bg-surface, #0c1524);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.embassy-mission-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.embassy-row {
    font-size: 12.5px;
    color: var(--text-secondary);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.medcard-box {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    border: 2px solid #ef4444;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.15);
}

.medcard-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 14px;
}

.medcard-urgent-pill {
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.medcard-phrases-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.medcard-phrase-item {
    background: rgba(0, 0, 0, 0.25);
    border-left: 3px solid #ef4444;
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
}

.medcard-phrase-native {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.medcard-phrase-phonetic {
    font-size: 12px;
    color: #38bdf8;
    font-style: italic;
    margin-bottom: 2px;
}

.medcard-phrase-meaning {
    font-size: 11px;
    color: var(--text-muted);
}


/* ==========================================================================
   MOBILE BOTTOM NAVIGATION & ACTION SHEET
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(10, 17, 32, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 5000;
    justify-content: space-around;
    align-items: center;
    padding: 0 4px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-muted, #94a3b8);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    min-height: 48px;
}

.mobile-nav-item * {
    pointer-events: none;
}

.mobile-nav-item .mobile-nav-icon {
    font-size: 20px;
    line-height: 1;
    margin-bottom: 2px;
}

.mobile-nav-item.active {
    color: #38bdf8;
}

.mobile-nav-item.active .mobile-nav-icon {
    transform: scale(1.15);
}

@media (max-width: 992px) {
    .resort-atmosphere-badge {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    .nav-links {
        display: none !important;
    }

    body {
        padding-bottom: 72px !important;
    }

    .header {
        padding: 0 14px;
    }
}

#mobile-more-sheet {
    z-index: 99999 !important;
}

.mobile-sheet-card {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px 24px 0 0;
    padding: 20px 18px 36px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
    z-index: 100000 !important;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUpSheet 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.mobile-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
}

.mobile-sheet-header h3 {
    margin: 0;
    font-size: 18px;
    color: #f8fafc;
}

.mobile-services-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-service-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
    text-align: left;
    color: inherit;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.mobile-service-tile:active, .mobile-service-tile:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.4);
}

.mobile-service-tile .service-icon {
    font-size: 26px;
    flex-shrink: 0;
}

.mobile-service-tile strong {
    display: block;
    color: #f8fafc;
    font-size: 14px;
    margin-bottom: 2px;
}

.mobile-service-tile p {
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
}


/* ==========================================================================
   ASTER AUTONOMOUS CRISIS SOLVER & PRO FREEMIUM TEASER OVERLAYS
   ========================================================================== */

/* 1. Travel Guardian Crisis Solver Section */
.travel-guardian-showcase-section {
    margin: 40px auto 20px auto;
    padding: 32px 24px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.7) 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.travel-guardian-showcase-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.guardian-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 28px auto;
}

.guardian-title {
    font-size: 26px;
    font-weight: 800;
    color: #f8fafc;
    margin: 10px 0 8px 0;
    line-height: 1.3;
}

.guardian-subtitle {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

.guardian-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.guardian-card {
    background: rgba(18, 24, 38, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.guardian-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
}

.guardian-card-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: inline-block;
}

.guardian-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.guardian-tag.delay-tag {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.guardian-tag.baggage-tag {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.guardian-tag.weather-tag {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.guardian-tag.dcc-tag {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.guardian-tag.sos-tag {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.guardian-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.guardian-card p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.45;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

.btn-try-crisis {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    width: 100%;
}

.btn-try-crisis:hover {
    background: #f59e0b;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* 2. Pro Teaser Lock Banner in Views */
.pro-teaser-lock-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(14, 165, 233, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.pro-teaser-lock-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #f59e0b, #0ea5e9);
}

.teaser-lock-body {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.teaser-lock-icon {
    font-size: 32px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.teaser-lock-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.teaser-lock-body h3 {
    margin: 0 0 4px 0;
    font-size: 17px;
    font-weight: 700;
    color: #f8fafc;
}

.teaser-lock-body p {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
}

.btn-pro-unlock-teaser {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0f172a;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    flex-shrink: 0;
}

.btn-pro-unlock-teaser:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

@media (max-width: 768px) {
    .pro-teaser-lock-card {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .btn-pro-unlock-teaser {
        width: 100%;
        text-align: center;
    }
}

/* 3. Apple Wallet Style Boarding Pass Demo */
.apple-wallet-demo-pass {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.pass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.pass-airline {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pass-flight-no {
    font-size: 13px;
    color: #38bdf8;
    font-weight: 600;
}

.pass-route {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.route-point {
    display: flex;
    flex-direction: column;
}

.airport-code {
    font-size: 32px;
    font-weight: 900;
    color: #f8fafc;
    letter-spacing: 1px;
}

.airport-city {
    font-size: 12px;
    color: #94a3b8;
}

.route-flight-icon {
    font-size: 24px;
    color: #f59e0b;
}

.pass-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 16px;
    text-align: center;
}

.pass-meta-cell label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 2px;
}

.pass-meta-cell strong {
    font-size: 14px;
    color: #f1f5f9;
}

.pass-barcode-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.pass-barcode-visual {
    letter-spacing: 4px;
    font-family: monospace;
    font-size: 18px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.06);
    padding: 8px 16px;
    border-radius: 6px;
    width: 100%;
    text-align: center;
}

.pass-lock-overlay-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 4px 10px;
    border-radius: 20px;
}

/* 4. Quick Replan Scenario Pills */
.quick-replan-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.quick-replan-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.quick-replan-pill:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    transform: translateY(-1px);
}

/* 5. Crisis Simulation Modal */
.crisis-step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.crisis-step-card.active-resolution {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.06);
}

.crisis-step-num {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    font-weight: 800;
    font-size: 12px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.crisis-step-content strong {
    display: block;
    color: #f8fafc;
    font-size: 14px;
    margin-bottom: 2px;
}
.crisis-step-content p {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.4;
}

/* =======================================================
   ASTER 24/7 ACTIVE JOURNEY COMPANION & MOBILE PUSH SENTINEL
   ======================================================= */
.trip-journey-bar-card {
    background: linear-gradient(135deg, rgba(13, 23, 42, 0.96) 0%, rgba(18, 30, 54, 0.94) 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.45);
    border-radius: 20px;
    padding: 24px 28px;
    margin: 20px 0 28px 0;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.trip-journey-bar-card.is-active-journey {
    border-color: rgba(16, 185, 129, 0.75);
    box-shadow: 0 16px 50px rgba(16, 185, 129, 0.28), inset 0 1px 0 rgba(52, 211, 153, 0.4);
    background: linear-gradient(135deg, rgba(5, 46, 36, 0.96) 0%, rgba(13, 23, 42, 0.98) 100%);
}

.companion-bar-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.companion-status-col {
    width: 100%;
}

.companion-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.journey-badge-planned {
    background: rgba(245, 158, 11, 0.22);
    color: #fbbf24;
    border: 1.5px solid rgba(245, 158, 11, 0.55);
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.journey-badge-active {
    background: rgba(16, 185, 129, 0.25);
    color: #34d399;
    border: 1.5px solid rgba(16, 185, 129, 0.65);
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
}

.journey-badge-active::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: beaconPulse 1.5s infinite;
}

@keyframes beaconPulse {
    0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.journey-countdown-pill {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.journey-push-pill {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 14px;
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.journey-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: 0.2px;
}

.journey-desc {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

/* =======================================================
   BIG BEAUTIFUL HERO BUTTONS (ASTERS 24/7 SPUTNIK)
   ======================================================= */
.companion-actions-cluster {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 14px !important;
    margin-top: 14px !important;
}

.btn-companion-hero {
    position: relative;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 20px !important;
    min-height: 68px !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    border: 1px solid transparent !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    overflow: hidden !important;
    color: #ffffff !important;
    outline: none !important;
}

.btn-companion-hero:hover {
    transform: translateY(-3px) !important;
}

.btn-companion-hero:active {
    transform: translateY(0) !important;
}

.btn-companion-icon-box {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease !important;
}

.btn-companion-hero:hover .btn-companion-icon-box {
    transform: scale(1.1) !important;
}

.btn-companion-text-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.btn-companion-headline {
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
}

.btn-companion-subline {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    margin-top: 4px !important;
    opacity: 0.9 !important;
    color: #f1f5f9 !important;
}

/* 1. Start Journey Button (Vivid Sunset Gold & Orange) */
.btn-companion-start {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}
.btn-companion-start .btn-companion-icon-box {
    background: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}
.btn-companion-start .btn-companion-subline {
    color: #fff7ed !important;
}
.btn-companion-start:hover {
    box-shadow: 0 14px 38px rgba(245, 158, 11, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

/* 2. Finish Journey Button (Vivid Emerald Green) */
.btn-companion-finish {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}
.btn-companion-finish .btn-companion-icon-box {
    background: rgba(255, 255, 255, 0.25) !important;
}
.btn-companion-finish .btn-companion-subline {
    color: #ecfdf5 !important;
}
.btn-companion-finish:hover {
    box-shadow: 0 14px 38px rgba(16, 185, 129, 0.65) !important;
}

/* 3. Mobile Push Button (Cyan Glassmorphism) */
.btn-companion-push {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.3) 0%, rgba(2, 132, 199, 0.22) 100%) !important;
    border: 1.5px solid rgba(56, 189, 248, 0.6) !important;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}
.btn-companion-push .btn-companion-icon-box {
    background: rgba(56, 189, 248, 0.25) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
}
.btn-companion-push .btn-companion-headline {
    color: #e0f2fe !important;
}
.btn-companion-push .btn-companion-subline {
    color: #bae6fd !important;
}
.btn-companion-push:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.45) 0%, rgba(2, 132, 199, 0.35) 100%) !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 12px 34px rgba(14, 165, 233, 0.45) !important;
}
.btn-companion-push.is-push-enabled {
    border-color: rgba(52, 211, 153, 0.7) !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.28) 0%, rgba(5, 150, 105, 0.2) 100%) !important;
}
.btn-companion-push.is-push-enabled .btn-companion-icon-box {
    background: rgba(16, 185, 129, 0.3) !important;
    border-color: rgba(52, 211, 153, 0.55) !important;
}
.btn-companion-push.is-push-enabled .btn-companion-subline {
    color: #a7f3d0 !important;
}

/* 4. Test Push Button (Frosted Translucent Glass) */
.btn-companion-test {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}
.btn-companion-test .btn-companion-icon-box {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}
.btn-companion-test .btn-companion-headline {
    color: #ffffff !important;
}
.btn-companion-test .btn-companion-subline {
    color: #cbd5e1 !important;
}
.btn-companion-test:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
}

/* 5. SOS Crisis Button (Vivid Crimson Glass) */
.btn-companion-sos {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.38) 0%, rgba(185, 28, 28, 0.48) 100%) !important;
    border: 1.5px solid rgba(248, 113, 113, 0.7) !important;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}
.btn-companion-sos .btn-companion-icon-box {
    background: rgba(239, 68, 68, 0.38) !important;
    border: 1px solid rgba(248, 113, 113, 0.6) !important;
}
.btn-companion-sos .btn-companion-subline {
    color: #fecaca !important;
}
.btn-companion-sos:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.5) 0%, rgba(185, 28, 28, 0.62) 100%) !important;
    border-color: #ef4444 !important;
    box-shadow: 0 12px 36px rgba(239, 68, 68, 0.6) !important;
}

/* SOS Options Grid inside Modal */
.journey-sos-options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.journey-sos-tile {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.journey-sos-tile:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 158, 11, 0.4);
}

.sos-tile-icon {
    font-size: 26px;
    flex-shrink: 0;
}

.sos-tile-text {
    flex: 1;
}

.sos-tile-text strong {
    display: block;
    color: #f8fafc;
    font-size: 14.5px;
    margin-bottom: 2px;
}

.sos-tile-text p {
    margin: 0;
    color: #94a3b8;
    font-size: 12.5px;
    line-height: 1.35;
}

.btn-sos-trigger {
    background: rgba(245, 158, 11, 0.22);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fbbf24;
    font-weight: 700;
    font-size: 12.5px;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.btn-sos-trigger:hover {
    background: #f59e0b;
    color: #000000;
}

/* =======================================================
   LIVE NOTIFICATION BELL & DROPDOWN (100% RESPONSIVE)
   ======================================================= */
.notif-wrapper {
    position: relative;
    display: inline-block;
    z-index: 1001;
}

.notif-bell-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 17px !important;
    transition: all 0.2s ease !important;
    color: #ffffff !important;
}

.notif-bell-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.45) !important;
    transform: scale(1.05) !important;
}

.notif-badge-pill {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #080e1a;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.6);
}

.notif-dropdown-card {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    width: 400px !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 90px) !important;
    background: rgba(13, 22, 38, 0.98) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(245, 158, 11, 0.25) !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    animation: notifFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes notifFadeIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.notif-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13.5px;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-weight: 700;
}

.notif-stream-list {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    max-height: 400px !important;
    flex: 1 !important;
}

.notif-item {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    transition: all 0.2s ease !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

.notif-item:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(245, 158, 11, 0.35) !important;
}

.notif-item.unread {
    border-left: 3.5px solid var(--sun-gold, #f59e0b) !important;
    background: rgba(245, 158, 11, 0.09) !important;
}

.notif-item-title {
    font-weight: 700 !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    margin-bottom: 4px !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

.notif-item-msg {
    color: #94a3b8 !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 6px !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

.notif-item-action-btn {
    background: rgba(245, 158, 11, 0.18) !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    color: #fbbf24 !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin-top: 4px !important;
    transition: all 0.15s ease !important;
}

.notif-item-action-btn:hover {
    background: #f59e0b !important;
    color: #000000 !important;
}

@media (max-width: 640px) {
    .notif-dropdown-card {
        position: fixed !important;
        top: 68px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: none !important;
        max-height: calc(100vh - 84px) !important;
    }
}

/* =======================================================
   NOTIFICATIONS DISMISS, CLEAR ALL & EMPTY STATE POLISH
   ======================================================= */
.notif-dropdown-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-size: 13px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.notif-header-title-box {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.notif-header-title-box strong {
    font-size: 13.5px !important;
    color: #ffffff !important;
    letter-spacing: 0.2px !important;
}

.notif-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}

.notif-push-toggle {
    color: #38bdf8 !important;
}

.notif-clear-btn {
    color: #f87171 !important;
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    border-radius: 6px !important;
}

.notif-clear-btn:hover {
    background: rgba(239, 68, 68, 0.28) !important;
    color: #ffffff !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
}

.notif-item {
    position: relative !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 12px 38px 12px 14px !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, max-height 0.25s ease, margin 0.25s ease, padding 0.25s ease !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

.notif-item-dismiss-btn {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 24px !important;
    height: 24px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #94a3b8 !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 5 !important;
    outline: none !important;
}

.notif-item-dismiss-btn:hover {
    background: rgba(239, 68, 68, 0.35) !important;
    border-color: rgba(239, 68, 68, 0.6) !important;
    color: #ffffff !important;
    transform: scale(1.15) !important;
}

.notif-item-dismiss-btn:active {
    transform: scale(0.92) !important;
}

.notif-item-dismissing {
    transform: translateX(40px) scale(0.95) !important;
    opacity: 0 !important;
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-color: transparent !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.notif-empty-state {
    padding: 32px 20px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.notif-empty-icon {
    font-size: 32px !important;
    margin-bottom: 6px !important;
}

.notif-empty-title {
    color: #f1f5f9 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.notif-empty-desc {
    color: #94a3b8 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    max-width: 320px !important;
}

/* =========================================================================
   ASTER LIVE JOURNEY COCKPIT & LOGISTICS ASSISTANT (v3.9)
   ========================================================================= */

.btn-companion-logistics {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(79, 70, 229, 0.25) 100%) !important;
    border-color: rgba(129, 140, 248, 0.4) !important;
    color: #a5b4fc !important;
}
.btn-companion-logistics:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(79, 70, 229, 0.4) 100%) !important;
    border-color: #818cf8 !important;
    transform: translateY(-2px);
}

.live-cockpit-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(20, 32, 56, 0.92) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    padding: 20px;
    margin-top: 16px;
    margin-bottom: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(14, 165, 233, 0.15);
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

.cockpit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cockpit-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cockpit-live-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 12px #10b981;
    animation: livePulse 1.6s infinite ease-in-out;
}

@keyframes livePulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 16px #34d399; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

#cockpit-badge-title {
    font-size: 13px;
    letter-spacing: 0.8px;
    color: #38bdf8;
    text-transform: uppercase;
}

.cockpit-sub {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.cockpit-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-cockpit-action {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cockpit-action:hover {
    background: rgba(56, 189, 248, 0.25);
    border-color: #38bdf8;
}

.cockpit-sim-select {
    background: #0f172a;
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.cockpit-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin: 16px 0;
    overflow-x: auto;
    padding-bottom: 4px;
}

.cockpit-step {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.cockpit-step .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 10px;
    font-weight: 700;
}

.cockpit-step.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    color: #34d399;
    font-weight: 700;
}

.cockpit-step.active .step-num {
    background: #10b981;
    color: #060d19;
}

.cockpit-step-arrow {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

.cockpit-active-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.cockpit-card-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.cockpit-card-headline {
    font-size: 16px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 6px 0;
}

.cockpit-card-desc {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.cockpit-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cockpit-sentinel-tag {
    font-size: 11px;
    color: #94a3b8;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 12px;
    border-radius: 6px;
}

.cockpit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.cockpit-metric-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cockpit-metric-card .metric-icon {
    font-size: 24px;
}

.cockpit-metric-card .metric-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
}

.cockpit-metric-card strong {
    font-size: 14px;
    color: #f1f5f9;
    display: block;
    margin: 2px 0;
}

.cockpit-metric-card .metric-sub {
    font-size: 11px;
    color: #38bdf8;
}

/* WIZARD MODAL CARDS */
.wizard-tab-btn {
    padding: 10px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wizard-tab-btn.active {
    background: rgba(14, 165, 233, 0.2);
    border-color: #38bdf8;
    color: #38bdf8;
}

.flight-sort-btn, .hotel-cat-btn {
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
}

.flight-sort-btn.active, .hotel-cat-btn.active {
    background: #0284c7;
    border-color: #38bdf8;
    color: #fff;
    font-weight: 600;
}

.flight-card-item, .hotel-card-item {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
}

.flight-card-item:hover, .hotel-card-item:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(20, 32, 56, 0.85);
    transform: translateY(-1px);
}

.flight-card-main {
    flex: 1;
}

.flight-route-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0;
}

.flight-time-point strong {
    font-size: 18px;
    color: #fff;
}

.flight-time-point span {
    font-size: 11px;
    color: #94a3b8;
    display: block;
}

.flight-duration-line {
    font-size: 11px;
    color: #38bdf8;
    border-bottom: 1px dashed rgba(56, 189, 248, 0.3);
    padding-bottom: 2px;
}

.flight-price-box {
    text-align: right;
}

.flight-price-rub {
    font-size: 20px;
    font-weight: 800;
    color: #10b981;
}

.city-pill-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    border-radius: 14px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.city-pill-btn:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #fff;
}

.city-pill-btn.active {
    background: #0284c7;
    border-color: #38bdf8;
    color: #fff;
    font-weight: 700;
}


/* ==========================================================================
   GLOBAL PERSISTENT ACTIVE JOURNEY & FLOATING COCKPIT WIDGETS
   ========================================================================== */
.global-active-journey-bar {
    background: linear-gradient(90deg, #064e3b 0%, #065f46 50%, #047857 100%);
    border-bottom: 2px solid #10b981;
    color: #ffffff;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 998;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    animation: slideDownBanner 0.3s ease;
}

@keyframes slideDownBanner {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.active-journey-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.active-journey-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
}

.pulsing-green-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.active-journey-tag {
    color: #a7f3d0;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.active-trip-dest-highlight {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.active-trip-meta-pill {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 11px;
    color: #d1fae5;
}

.active-journey-cta-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-active-journey-open {
    background: #ffffff;
    color: #065f46;
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.btn-active-journey-open:hover {
    background: #ecfdf5;
    transform: translateY(-1px);
}

.btn-active-journey-finish {
    background: rgba(0, 0, 0, 0.3);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-active-journey-finish:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ffffff;
}

/* FLOATING ACTIVE JOURNEY CARD */
.floating-active-journey-card {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 290px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(12px);
    z-index: 999;
    padding: 12px 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
