/* =======================================
   VIAGET – Mobile-First App Styles
   Design: budgy-inspired (screenshot ref)
   ======================================= */

:root {
    --navy: #1E3150;
    --green-logo: #2E9E7B;
    --bg-app: #FFFFFF;
    --bg-white: #FFFFFF;
    --bg-card: #F2F4F7;
    --bg-nav: #FAFBFC;
    
    --pink: #F8BBD0;
    --pink-bright: #E91E63;
    --pink-glow: rgba(233, 30, 99, 0.25);
    
    --yellow: #FFF59D;
    
    --text-primary: #1E3150;
    --text-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #8895A7;
    
    --border-light: #E3E8EE;
    
    --shadow-card: 0 2px 16px rgba(30, 49, 80, 0.08);
    --shadow-btn: 0 4px 14px rgba(248, 187, 208, 0.35);
    --shadow-btn-yellow: 0 4px 14px rgba(255, 245, 157, 0.40);

    --radius: 20px;
    --radius-pill: 999px;
}

/* ── Reset ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #e4e9f2;
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
}

/* ── Phone Container ── */
#app {
    width: 100%;
    max-width: 390px;
    height: 100vh;
    max-height: 844px;
    background: var(--bg-app);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: env(safe-area-inset-top, 0);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
}

@media (max-width: 419px) {
    body {
        background: var(--bg-app);
        align-items: stretch;
    }
    #app {
        max-width: none;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }
}

@media (min-width: 420px) {
    #app {
        height: 92vh;
        border-radius: 44px;
        border: 6px solid #111;
        box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    }
    body { padding: 20px; }
}

/* ── Header ── */
.app-header {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.header-curve {
    background: var(--bg-white);
    padding: 8px 10px 6px;
    text-align: center;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 6px 8px;
    min-height: 56px;
}

.header-curve::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: -8%;
    width: 116%;
    height: 32px;
    background: var(--bg-white);
    border-radius: 0 0 50% 50%;
    box-shadow: 0 6px 0 0 var(--green-logo), 0 12px 0 0 var(--navy);
}

.logo {
    position: relative;
    z-index: 2;
    grid-column: 2;
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    line-height: 1;
}

.logo-mark {
    display: block;
    flex-shrink: 0;
}

.logo-wordmark {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.logo-via {
    color: var(--navy);
}

.logo-get {
    color: var(--green-logo);
}

/* ── Main Content (scrollable) ── */
.app-main {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 38px 20px 90px;
    position: relative;
    z-index: 5;
    -webkit-overflow-scrolling: touch;
}

.app-main::-webkit-scrollbar { display: none; }

/* ── Greeting ── */
.greeting {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--text-white);
}
.greeting strong { font-weight: 800; }

/* Partenza — dentro la budget card (tema navy) */
.departure-block {
    margin-bottom: 14px;
}
.departure-question {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 8px;
    letter-spacing: 0.02em;
}
.departure-city-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    padding: 8px 10px;
    transition: border-color 0.2s, background 0.2s;
}
.departure-city-input-row:focus-within {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.14);
}
.departure-city-icon {
    flex-shrink: 0;
    opacity: 0.75;
    color: rgba(255, 255, 255, 0.9);
}
.departure-city-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    outline: none;
    min-width: 0;
}
.departure-city-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}
.departure-city-clear {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.departure-city-clear:hover {
    background: rgba(255, 255, 255, 0.25);
}
.departure-city-suggestions {
    display: none;
    margin-top: 6px;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(30, 49, 80, 0.2);
    border: 1px solid rgba(30, 49, 80, 0.08);
}
.departure-city-suggestions.open {
    display: block;
}
.departure-sugg-empty {
    padding: 12px 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}
.departure-sugg-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    border: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.12s;
}
.departure-sugg-item:last-child {
    border-bottom: none;
}
.departure-sugg-item:hover {
    background: var(--bg-card);
}
.departure-sugg-name {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-primary);
}
.departure-sugg-country {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── Budget Card ── */
.budget-card {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 12px 12px 10px;
    box-shadow: var(--shadow-card);
    margin-bottom: 22px;
}

.budget-title {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}

/* ── SVG Arc Slider (wide chord, low profile) ── */
.arc-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 2px auto 12px;
    aspect-ratio: 320 / 96;
    min-height: 60px;
}

.arc-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
    touch-action: none;
}

.arc-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.32);
    stroke-width: 12;
    stroke-linecap: round;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.1));
    opacity: 0;
}

.arc-fill {
    fill: none;
    stroke: url(#arcGradient);
    stroke-width: 12;
    stroke-linecap: round;
    filter:
        drop-shadow(0 0 6px rgba(255, 193, 7, 0.4))
        drop-shadow(0 1px 4px rgba(255, 179, 0, 0.28));
    opacity: 0;
}

.arc-track-segment,
.arc-fill-segment {
    fill: none;
    stroke-linecap: round;
    pointer-events: none;
}

.arc-track-segments,
.arc-fill-segments {
    display: none;
}

.arc-taper-track,
.arc-taper-fill {
    pointer-events: none;
}

.arc-taper-track {
    fill: rgba(255, 255, 255, 0.25);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.08));
}

.arc-taper-fill {
    fill: url(#arcGradient);
    filter:
        drop-shadow(0 0 5px rgba(255, 193, 7, 0.34))
        drop-shadow(0 1px 4px rgba(255, 179, 0, 0.26));
}

.arc-track-segment {
    stroke: rgba(255, 255, 255, 0.24);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.08));
}

.arc-fill-segment {
    filter:
        drop-shadow(0 0 5px rgba(255, 193, 7, 0.34))
        drop-shadow(0 1px 4px rgba(255, 179, 0, 0.26));
}

.arc-handle {
    fill: var(--bg-white);
    stroke: var(--navy);
    stroke-width: 2.5px;
    filter: drop-shadow(0 3px 7px rgba(30, 49, 80, 0.32));
    cursor: grab;
}

.arc-handle:active { cursor: grabbing; }

.arc-value {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-white);
    pointer-events: none;
    letter-spacing: -0.03em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ── Filter Chips ── */
.chips-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: var(--radius-pill);
    padding: 6px 10px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-white);
    /* chips are inside navy budget-card, keep white */
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}

.chip svg { 
    flex-shrink: 0; 
    opacity: 0.6;
    width: 12px;
    height: 12px;
}
.chip-muted { color: var(--text-muted); font-weight: 500; }

/* ── Action Buttons ── */
.actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.btn-search {
    width: 100%;
    padding: 16px;
    background: var(--green-logo);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-pill);
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(46, 158, 123, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-search:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(248,187,208,0.2);
}

.group-action {
    position: relative;
}

.verified-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--bg-white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-pill);
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    white-space: nowrap;
}

.btn-group {
    width: 100%;
    padding: 16px;
    background: var(--navy);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(30, 49, 80, 0.30);
    transition: transform 0.15s;
}

.btn-group:active { transform: scale(0.97); }

/* ── Destinations Carousel ── */
.destinations { margin-bottom: 10px; }

.section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.carousel {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }

.dest-card {
    min-width: 150px;
    max-width: 150px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: var(--shadow-card);
    flex-shrink: 0;
}

.dest-img-wrap {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.dest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

/* Branded fallback (gradient + flag + city name) shown if the photo fails */
.dest-img-wrap--with-fallback { background-color: var(--navy); }
.dest-img-fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    pointer-events: none;
    padding: 6px;
    gap: 2px;
}
.dest-img-wrap.img-loaded .dest-img-fallback { display: none; }
.dest-img-wrap.img-failed .dest-img-fallback { display: flex; }
.dest-fallback-flag { font-size: 1.6rem; line-height: 1; }
.dest-fallback-name {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1.1;
}

.dest-tag {
    position: absolute;
    top: 7px;
    left: 7px;
    background: rgba(255,255,255,0.92);
    font-size: 0.62rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 6px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 3px;
    backdrop-filter: blur(4px);
}

.dest-info {
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dest-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.dest-price {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--green-logo);
}

.recent-search-card,
.recent-empty-card {
    min-width: 210px;
    max-width: 230px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--border-light);
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88));
    box-shadow: var(--shadow-card);
    scroll-snap-align: start;
    flex-shrink: 0;
}

.recent-empty-card {
    min-width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.recent-search-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-soft);
    color: var(--green-logo);
    font-size: 1.1rem;
    font-weight: 900;
    flex: 0 0 38px;
}

.recent-search-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.recent-search-label,
.recent-empty-card span {
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
}

.recent-search-body strong,
.recent-empty-card strong {
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.recent-search-body span:last-child {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Bottom Navigation (fixed: always visible above scroll content) ── */
.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 390px;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    padding: 10px 14px calc(22px + env(safe-area-inset-bottom, 0));
    padding-left: calc(14px + env(safe-area-inset-left, 0));
    padding-right: calc(14px + env(safe-area-inset-right, 0));
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, #FFFFFF 70%);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-top: 1px solid rgba(30, 49, 80, 0.06);
    box-shadow: 0 -10px 24px rgba(30, 49, 80, 0.06);
    z-index: 400;
    box-sizing: border-box;
}

.tab {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px 4px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.15px;
    transition: color 0.25s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.tab svg {
    stroke: var(--text-muted);
    transition: stroke 0.25s ease, transform 0.25s ease;
}

.tab:active { transform: scale(0.94); }

.tab.active {
    color: var(--navy);
}

.tab.active svg {
    stroke: var(--navy);
    transform: translateY(-1px);
}

/* Tiny indicator pill above the active tab */
.tab.active::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--green-logo), #50C39B);
    box-shadow: 0 2px 8px rgba(46, 158, 123, 0.35);
}

/* Plans tab uses a simple check mark, visually aligned with the other nav icons. */
.tab[data-tab="plans"] svg { stroke: var(--text-muted); }
.tab[data-tab="plans"]:not(.active) svg { opacity: 0.92; }
.tab[data-tab="plans"].active { color: var(--navy); }
.tab[data-tab="plans"].active svg { stroke: var(--green-logo); opacity: 1; }
.tab[data-tab="plans"].active::before {
    background: linear-gradient(90deg, var(--green-logo), #1E8866);
}

/* ── Section Block ── */
.section-block {
    margin-bottom: 22px;
}

/* ── Btn Search icon alignment ── */
.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ── Category Filter Scroll ── */
.category-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.category-scroll::-webkit-scrollbar { display: none; }

.cat-btn {
    flex-shrink: 0;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border-light);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s;
}

.cat-btn.active {
    background: var(--navy);
    color: var(--text-white);
    border-color: var(--navy);
    box-shadow: 0 3px 10px rgba(30,49,80,0.20);
}

/* ── Group Trips ── */
.group-trips-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.virgin-empty-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border: 1.5px dashed rgba(34, 49, 66, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    text-align: center;
}

.virgin-empty-card strong {
    color: var(--navy);
    font-size: 0.9rem;
    letter-spacing: -0.02em;
}

.virgin-empty-card span {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.plans-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow-card);
}

.plan-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.plan-card-title {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--text-primary);
}

.plan-card-meta {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.plan-card-price {
    font-weight: 900;
    color: var(--green-logo);
    white-space: nowrap;
}

.plan-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    padding: 5px 9px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    color: #1E8449;
    background: rgba(46, 158, 123, 0.12);
}

.result-source-note {
    margin-top: 8px;
    padding: 7px 9px;
    border-radius: 11px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    background: rgba(34, 49, 66, 0.04);
}

.result-source-note.partner {
    color: #1E8449;
    background: rgba(46, 158, 123, 0.10);
}

.result-source-note.estimated {
    color: #B56A00;
    background: rgba(255, 179, 0, 0.12);
}

.group-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-card);
    flex-wrap: wrap;
}

.group-card .btn-join {
    width: 100%;
    text-align: center;
    margin-top: 4px;
}

.private-code-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border: 1px dashed rgba(34, 49, 66, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--text-secondary);
    font-size: 0.76rem;
    line-height: 1.35;
}

.private-code-card strong {
    color: var(--navy);
    font-size: 0.84rem;
}

.group-card-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.group-dest {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.group-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.group-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.group-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--green-logo);
}

.group-spots {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-app);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2px 8px;
}

.btn-join {
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--green-logo);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s;
    flex-shrink: 0;
}

.btn-join:active { transform: scale(0.96); }

.btn-join.premium-lock {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    color: #1A1A1A;
}

/* ── Sell Card ── */
.sell-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-card);
}

.sell-card-body {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.sell-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.sell-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.sell-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.btn-sell {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--navy);
    background: transparent;
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.18s;
}

.btn-sell:hover, .btn-sell:active {
    background: var(--navy);
    color: var(--text-white);
    transform: scale(0.98);
}

/* ── Premium Banner ── */
.premium-banner {
    background: linear-gradient(135deg, var(--navy) 0%, #2A4A7F 100%);
    border-radius: var(--radius);
    padding: 18px 16px;
    box-shadow: 0 4px 20px rgba(30,49,80,0.25);
}

.premium-banner-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.premium-star {
    font-size: 2rem;
    flex-shrink: 0;
}

.premium-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 3px;
}

.premium-sub {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
}

.btn-premium {
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-pill);
    border: none;
    background: linear-gradient(135deg, #FFF59D, #FFB300);
    color: #1A1A1A;
    font-size: 0.85rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 14px rgba(255,179,0,0.40);
}

.btn-premium:active { transform: scale(0.97); }

/* ══════════════════════════════════════════
   VIEWS (tab routing)
══════════════════════════════════════════ */
.view { display: none !important; }
.view.active { display: flex !important; flex-direction: column; }

/* ══════════════════════════════════════════
   LANGUAGE SELECTOR
══════════════════════════════════════════ */
.lang-selector {
    position: relative;
    z-index: 100;
    grid-column: 3;
    justify-self: end;
    align-self: center;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(30,49,80,0.08);
    border: 1px solid rgba(30,49,80,0.15);
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 600;
    transition: background 0.15s;
}
.lang-current:hover { background: rgba(30,49,80,0.14); }

/* ── Header Auth cluster (grid column 1) ── */
.header-auth-cluster {
    position: relative;
    z-index: 100;
    grid-column: 1;
    justify-self: start;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.header-logout-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.35);
    border-radius: 50%;
    color: #C0392B;
    cursor: pointer;
    transition: background 0.18s, transform 0.15s, border-color 0.18s;
}
.header-logout-btn:hover {
    background: rgba(231, 76, 60, 0.18);
    border-color: #E74C3C;
}
.header-logout-btn:active { transform: scale(0.94); }

/* ── Header Auth Button ── */
.header-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(30,49,80,0.08);
    border: 1px solid rgba(30,49,80,0.15);
    border-radius: 20px;
    padding: 5px 10px;
    min-height: 34px;
    font-size: 0.72rem;
    font-family: inherit;
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.2s;
    max-width: 100%;
}
.header-auth-btn:not(.logged-in) .header-auth-ico {
    display: none;
}
.header-auth-btn:hover { background: rgba(30,49,80,0.14); }
.header-auth-btn.logged-in {
    background: var(--green-logo);
    border-color: var(--green-logo);
    color: white;
    padding: 5px 10px;
    min-width: 36px;
}
.header-auth-btn.logged-in .header-auth-ico {
    display: block;
    stroke: white;
}
.header-auth-btn.logged-in #header-auth-label {
    font-weight: 800;
    font-size: 0.8rem;
}
.header-auth-btn.logged-in:hover { opacity: 0.92; }

.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(30,49,80,0.14);
    overflow: hidden;
    display: none;
    min-width: 140px;
    z-index: 200;
}
.lang-dropdown.open { display: block; }

.lang-opt {
    display: block;
    width: 100%;
    padding: 10px 14px;
    text-align: left;
    border: none;
    background: transparent;
    font-size: 0.82rem;
    font-family: inherit;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.12s;
}
.lang-opt:hover { background: var(--bg-card); }
.lang-opt.active { color: var(--green-logo); font-weight: 700; }

/* ══════════════════════════════════════════
   SELL PREMIUM BADGE
══════════════════════════════════════════ */
.sell-card-body { align-items: flex-start; }
.sell-premium-badge {
    flex-shrink: 0;
    background: linear-gradient(135deg, #FFF59D, #FFB300);
    color: #1A1A1A;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
    align-self: flex-start;
}

.btn-sell.premium-lock {
    background: transparent;
    border-color: #FFB300;
    color: #B8860B;
}
.btn-sell.premium-lock:hover,
.btn-sell.premium-lock:active {
    background: linear-gradient(135deg, #FFF59D, #FFB300);
    color: #1A1A1A;
    border-color: transparent;
}

/* ══════════════════════════════════════════
   MESSAGES — CHAT LIST VIEW
══════════════════════════════════════════ */
#view-messages {
    padding: 0;
    background: var(--bg-app);
    display: flex;
    flex-direction: column;
}

#msg-list-view {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.msg-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Header lowered by ~1cm (≈38px) per design request */
    padding: 56px 18px 12px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.msg-list-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Empty state for the chat list */
.chat-list-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 56px 28px;
    color: var(--text-muted);
}
.chat-list-empty .cle-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(46,158,123,0.10), rgba(30,49,80,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-logo);
    margin-bottom: 6px;
}
.chat-list-empty .cle-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}
.chat-list-empty .cle-sub {
    font-size: 0.82rem;
    line-height: 1.45;
    max-width: 280px;
    color: var(--text-muted);
}
/* Hide empty state automatically when at least one chat is rendered */
.chat-list:has(.chat-list-item) .chat-list-empty { display: none; }
/* Fallback for browsers without :has() — toggled from app.js */
.chat-list.chat-list--has-items .chat-list-empty { display: none !important; }

/* Subtle drop-shadow on the bottom-nav ViaGet brand icon */
.viaget-brand-icon {
    filter: drop-shadow(0 1px 0 rgba(30, 49, 80, 0.10));
    overflow: visible;
}

.btn-new-chat {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--navy);
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s;
}
.btn-new-chat:active { transform: scale(0.95); }

.chat-list {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
}
.chat-list::-webkit-scrollbar { display: none; }

.chat-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background 0.15s;
}
.chat-list-item:hover { background: var(--bg-card); }

.cli-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.cli-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

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

.cli-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cli-time {
    font-size: 0.65rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.cli-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cli-preview {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 8px;
}

.cli-badge {
    background: var(--navy);
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    border-radius: 10px;
    padding: 2px 6px;
    min-width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.cli-members {
    font-size: 0.65rem;
    color: var(--green-logo);
    font-weight: 600;
}

/* ── Chat open view ── */
#msg-chat-view {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

#msg-chat-view.hidden { display: none; }

.chat-back-btn, .chat-info-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 4px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: background 0.15s;
}
.chat-back-btn:hover, .chat-info-btn:hover { background: var(--bg-card); }

.chat-book-btn {
    flex-shrink: 0;
    margin-right: 4px;
    padding: 8px 14px;
    border: none;
    border-radius: var(--radius-pill);
    background: var(--navy);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.02em;
}
.chat-book-btn.hidden { display: none !important; }
.chat-book-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ── Trip Planning Bar ── */
/* Broker: prenotazione su partner (Booking, ecc.) — nessun incasso in-app */
.broker-strip {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(30, 49, 80, 0.06), rgba(46, 158, 123, 0.08));
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}
.broker-strip.hidden { display: none !important; }
.broker-strip-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.broker-strip-text strong {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--navy);
}
.broker-strip-text span {
    font-size: 0.7rem;
    line-height: 1.35;
    color: var(--text-muted);
}
.broker-strip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.broker-strip-btn {
    flex: 1;
    min-width: 120px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    font-size: 0.72rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--navy);
    cursor: pointer;
}
.broker-strip-btn.primary {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.broker-strip-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.trip-bar {
    display: flex;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 0;
}
.trip-bar::-webkit-scrollbar { display: none; }

.trip-bar-item {
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.18s;
    white-space: nowrap;
}

.trip-bar-item.active {
    color: var(--navy);
    border-bottom-color: var(--navy);
    font-weight: 700;
}

/* ── Trip Share Card (in chat) ── */
.trip-share-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 4px;
    max-width: 220px;
}

.trip-share-header {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.trip-share-route {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.trip-share-detail {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.trip-share-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--green-logo);
    margin-bottom: 8px;
}
.trip-share-price span {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
}

.trip-share-btn {
    width: 100%;
    padding: 8px;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--navy);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

/* ── Msg Avatar (letter-based) ── */
.msg-avatar-text {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-date-label {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3px 12px;
    align-self: center;
    margin: 4px 0;
}

/* Attach btn */
.chat-attach-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: color 0.15s;
}
.chat-attach-btn:hover { color: var(--navy); }

/* hidden util */
.hidden { display: none !important; }

.chat-header {
    background: var(--bg-white);
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 8px rgba(30,49,80,0.06);
    flex-shrink: 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.chat-avatar-group {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--green-logo));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.chat-group-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.chat-members {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: none;
}
.chat-messages::-webkit-scrollbar { display: none; }

.chat-msg {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.chat-msg.sent {
    justify-content: flex-end;
}

.msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.msg-content {
    max-width: 72%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.msg-sender {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-left: 2px;
}

.msg-bubble {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px 16px 16px 4px;
    padding: 9px 12px;
    font-size: 0.82rem;
    color: var(--text-primary);
    line-height: 1.45;
    box-shadow: var(--shadow-card);
}

.sent-content { align-items: flex-end; }
.sent-bubble {
    background: var(--navy);
    color: var(--text-white);
    border: none;
    border-radius: 16px 16px 4px 16px;
}

.msg-time {
    font-size: 0.6rem;
    color: var(--text-muted);
    margin: 0 4px;
}

.chat-date-divider {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 0;
    order: -1; /* push to top */
    display: none; /* hidden — will be used when needed */
}

.chat-input-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 24px;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
}

.chat-input {
    flex: 1;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-pill);
    padding: 10px 16px;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-card);
    outline: none;
    transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--green-logo); }

.chat-send-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s, background 0.15s;
    color: white;
}
.chat-send-btn:active { transform: scale(0.9); }

/* Message badge on tab */
.tab-icon-wrap {
    position: relative;
    display: inline-flex;
}
.msg-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    background: var(--pink-bright);
    color: white;
    font-size: 0.55rem;
    font-weight: 800;
    border-radius: 10px;
    padding: 1px 4px;
    min-width: 14px;
    text-align: center;
}

/* ══════════════════════════════════════════
   VIEW PLACEHOLDER (Piani)
══════════════════════════════════════════ */
.view-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 40px 20px;
    text-align: center;
    gap: 12px;
    color: var(--text-muted);
}
.view-placeholder-icon { font-size: 3rem; }
.view-placeholder h2 { color: var(--text-primary); font-size: 1.1rem; }
.view-placeholder p { font-size: 0.85rem; }

/* ══════════════════════════════════════════
   PROFILE VIEW
══════════════════════════════════════════ */
#view-profile {
    padding: 0 0 0 0;
}

.profile-header {
    background: linear-gradient(135deg, var(--navy), #2A4A7F);
    padding: 40px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--green-logo);
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,0.3);
}

.profile-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
}

.profile-email {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
}

.profile-section {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: background 0.15s;
}
.profile-item:hover { background: var(--border-light); }
.profile-item svg { flex-shrink: 0; stroke: var(--text-muted); }
.profile-item span:not(.profile-item-val) { flex: 1; font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }

.profile-item-val {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.premium-item { background: linear-gradient(135deg, rgba(255,245,157,0.25), rgba(255,179,0,0.12)); border-color: rgba(255,179,0,0.3); }

.premium-cta {
    color: #B8860B !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
}

/* ══════════════════════════════════════════
   PREMIUM FEATURES LIST (in banner)
══════════════════════════════════════════ */
.premium-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0 16px;
    padding: 12px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
}

.pf-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.pf-item span { flex: 1; }

/* ══════════════════════════════════════════
   PLANS VIEW — PRICE MONITOR
══════════════════════════════════════════ */
.plans-header {
    padding: 18px 18px 8px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.plans-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.plans-section {
    padding: 16px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plans-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.monitor-count {
    font-size: 0.7rem;
    background: var(--navy);
    color: white;
    padding: 2px 9px;
    border-radius: 20px;
    font-weight: 700;
}

/* Monitor card */
.monitor-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.monitor-card.alert {
    border-color: rgba(46,158,123,0.4);
    background: linear-gradient(135deg, rgba(46,158,123,0.05), rgba(255,255,255,1));
}

.monitor-upgrade-note {
    border: 1px dashed rgba(34, 49, 66, 0.18);
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--text-secondary);
    font-size: 0.76rem;
    line-height: 1.35;
    font-weight: 650;
}

.monitor-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.monitor-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.monitor-info { flex: 1; min-width: 0; }

.monitor-route {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.monitor-detail {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.monitor-close {
    background: none;
    border: none;
    font-size: 0.75rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 6px;
    flex-shrink: 0;
    border-radius: 6px;
    transition: background 0.15s;
}
.monitor-close:hover { background: var(--border-light); }

/* Price comparison row */
.monitor-prices {
    display: flex;
    align-items: center;
    gap: 8px;
}

.monitor-price-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.monitor-price-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.monitor-price-old {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: line-through;
}
.monitor-price-old.stable {
    text-decoration: none;
    color: var(--text-primary);
}

.monitor-price-new {
    font-size: 1rem;
    font-weight: 800;
    color: var(--green-logo);
}
.monitor-price-new.stable { color: var(--text-primary); }

.monitor-arrow {
    font-size: 1rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.monitor-drop-badge {
    margin-left: auto;
    background: linear-gradient(135deg, #2E9E7B, #3BB891);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
}

.monitor-stable-badge {
    margin-left: auto;
    background: var(--bg-app);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.monitor-alert-bar {
    background: linear-gradient(135deg, rgba(46,158,123,0.15), rgba(46,158,123,0.05));
    border: 1px solid rgba(46,158,123,0.3);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1E7A5C;
}

.monitor-watching {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
}

.monitor-actions {
    display: flex;
    gap: 8px;
}

.monitor-btn-book {
    flex: 1;
    padding: 10px;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--navy);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s;
}
.monitor-btn-book:active { transform: scale(0.97); }

.monitor-btn-keep {
    flex: 1;
    padding: 10px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border-light);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
}
.monitor-btn-keep:hover { border-color: var(--navy); color: var(--navy); }

/* Monitor button on dest cards */
.monitor-trip-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 7px 10px;
    border-radius: 0 0 14px 14px;
    border: none;
    border-top: 1px solid var(--border-light);
    background: var(--bg-app);
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
    justify-content: center;
}
.monitor-trip-btn:hover { background: rgba(30,49,80,0.06); color: var(--navy); }
.monitor-trip-btn.premium-lock { color: #B8860B; }

/* ══════════════════════════════════════════
   PRICE DROP TOAST NOTIFICATION
══════════════════════════════════════════ */
.price-toast {
    position: fixed;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 380px;
    background: var(--navy);
    color: white;
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(30,49,80,0.35);
    z-index: 500;
    transition: top 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.price-toast.show { top: 14px; }

.price-toast-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    animation: bell-shake 0.6s ease 0.5s;
}

@keyframes bell-shake {
    0%,100% { transform: rotate(0); }
    20% { transform: rotate(-15deg); }
    40% { transform: rotate(12deg); }
    60% { transform: rotate(-8deg); }
    80% { transform: rotate(5deg); }
}

.price-toast-body { flex: 1; }
.price-toast-title { font-size: 0.8rem; font-weight: 800; }
.price-toast-msg { font-size: 0.72rem; color: rgba(255,255,255,0.75); margin-top: 2px; }

.price-toast-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.65rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   DATE PICKER & PAX PANELS
══════════════════════════════════════════ */
.picker-panel {
    background: var(--bg-white);
    border: 1.5px solid var(--border-light);
    border-radius: 16px;
    padding: 16px;
    margin: 8px 0 4px;
    box-shadow: 0 4px 20px rgba(30,49,80,0.10);
    animation: slideDown 0.2s ease;
}
@keyframes slideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

.picker-panel-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

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

.date-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.date-input-group label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.date-input {
    width: 100%;
    padding: 9px 10px;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    font-size: 0.8rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-app);
    outline: none;
    transition: border-color 0.15s;
}
.date-input:focus { border-color: var(--navy); }

.date-input-sep { font-size: 1rem; color: var(--text-muted); flex-shrink: 0; }

.picker-row { margin-bottom: 12px; }

.picker-check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.picker-confirm-btn {
    width: 100%;
    padding: 11px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s;
}
.picker-confirm-btn:active { transform: scale(0.97); }

/* Pax counter */
.pax-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}
.pax-row:last-of-type { border-bottom: none; }

.pax-label { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); }
.pax-label small { display: block; font-size: 0.65rem; color: var(--text-muted); font-weight: 400; }

.pax-counter { display: flex; align-items: center; gap: 12px; }

.pax-btn {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    background: white;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    line-height: 1;
}
.pax-btn:hover { border-color: var(--navy); background: var(--navy); color: white; }
.pax-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.pax-val { font-size: 1rem; font-weight: 800; color: var(--text-primary); min-width: 20px; text-align: center; }

/* ══════════════════════════════════════════
   TRAVEL MATCH SECTION
══════════════════════════════════════════ */
.travel-match-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.travel-match-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 3px;
}

.travel-match-badge {
    background: linear-gradient(135deg, #FFB300, #FF8F00);
    color: white;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.match-card { border-left: 3px solid #FFB300; }

.match-verified-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0 2px;
    font-size: 0.68rem;
}

.match-verified-badge {
    color: #1E7A5C;
    font-weight: 700;
}

.match-host { color: var(--text-muted); }

/* ══════════════════════════════════════════
   MESSAGES — FIX OVERLAP
══════════════════════════════════════════ */
#view-messages {
    position: relative;
    overflow: hidden;
}

#msg-list-view,
#msg-chat-view {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow-y: auto;
    background: var(--bg-app);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
}

/* Sotto le curve decorative dell’header (verde/blu): ~1 cm così titolo e icone non restano coperti */
#msg-chat-view {
    padding-top: 38px;
    transform: translateX(100%);
    opacity: 0;
}
#msg-chat-view:not(.hidden) { transform: translateX(0); opacity: 1; }
#msg-list-view.hidden { transform: translateX(-30%); opacity: 0; pointer-events: none; }

/* ══════════════════════════════════════════
   PROFILE — FORM & VERIFY
══════════════════════════════════════════ */
.profile-verify-status { margin-top: 8px; }

.verify-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}
.verify-badge.unverified { background: rgba(255,152,0,0.12); color: #E65100; }
.verify-badge.verified { background: rgba(46,158,123,0.12); color: #1E7A5C; }

.profile-section-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 16px 18px 6px;
    background: var(--bg-app);
}

.profile-form {
    background: var(--bg-white);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-form-row {
    display: flex;
    gap: 10px;
}

.profile-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-form-group label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.profile-input {
    padding: 10px 12px;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    font-size: 0.82rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-app);
    outline: none;
    transition: border-color 0.15s;
    width: 100%;
    box-sizing: border-box;
}
.profile-input:focus { border-color: var(--navy); }
.profile-select { appearance: none; cursor: pointer; }

.profile-save-btn {
    width: 100%;
    padding: 12px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-top: 4px;
    transition: transform 0.15s;
}
.profile-save-btn:active { transform: scale(0.97); }

/* Verify card */
.profile-verify-card {
    background: var(--bg-white);
    padding: 14px 16px;
}

.profile-verify-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.verify-steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }

.verify-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-app);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.verify-step-icon { font-size: 1.1rem; }

.verify-step-status {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
}
.verify-step-status.pending { background: rgba(255,152,0,0.12); color: #E65100; }
.verify-step-status.done { background: rgba(46,158,123,0.12); color: #1E7A5C; }

.profile-verify-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2E9E7B, #1E3150);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s;
}
.profile-verify-btn:active { transform: scale(0.97); }
.profile-verify-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.verify-doc-panel {
    margin-bottom: 14px;
    padding: 12px;
    background: var(--bg-app);
    border-radius: 12px;
    border: 1px dashed var(--border-light);
}
.verify-doc-hint {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0 0 12px;
}
.verify-doc-field { margin-bottom: 10px; }
.verify-doc-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.verify-doc-file {
    width: 100%;
    font-size: 0.75rem;
    font-family: inherit;
}
.verify-doc-filename {
    font-size: 0.7rem;
    color: var(--green-logo);
    font-weight: 600;
    margin-top: 6px;
    word-break: break-all;
}
.verify-doc-submit { margin-top: 4px; }
.verify-doc-done-msg {
    font-size: 0.82rem;
    color: var(--text-primary);
    margin: 0 0 8px;
}

/* Currency toggle */
.currency-toggle {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.currency-btn {
    padding: 5px 12px;
    border-radius: 20px;
    border: 1.5px solid var(--border-light);
    background: transparent;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s;
}
.currency-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}

/* ══════════════════════════════════════════
   MODAL OVERLAY (Bottom Sheet)
══════════════════════════════════════════ */
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 600;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}
.modal-overlay.hidden { display: none !important; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.modal-sheet {
    width: 100%;
    max-height: 85%;
    background: var(--bg-white);
    border-radius: 24px 24px 0 0;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    scrollbar-width: none;
}
.modal-sheet::-webkit-scrollbar { display: none; }
.modal-sheet-sm { max-height: 50%; }

/* Date sheet: calendar scrolls; checkbox + confirm stay pinned above safe area */
#date-modal .modal-sheet {
    display: flex;
    flex-direction: column;
    max-height: 85%;
    overflow: hidden;
}
#date-modal .modal-handle,
#date-modal .modal-header,
#date-modal .date-selection-summary {
    flex-shrink: 0;
}
#date-modal .calendar-container {
    flex: 1 1 auto;
    min-height: 120px;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.date-modal-footer {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 20px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border-light);
    background: var(--bg-white);
    box-shadow: 0 -8px 24px rgba(30, 49, 80, 0.06);
}
.date-modal-flex-row {
    margin: 0;
    padding: 0 2px;
}

.modal-handle {
    width: 40px; height: 4px;
    background: #D1D5DB;
    border-radius: 4px;
    margin: 10px auto 0;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 10px;
}

.modal-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.modal-close-btn {
    background: var(--bg-card);
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: background 0.15s;
}
.modal-close-btn:hover { background: var(--border-light); }

/* Date Selection Summary */
.date-selection-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 20px 12px;
}
.date-sel-box {
    flex: 1;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: border-color 0.2s;
}
.date-sel-box.active { border-color: var(--green-logo); }
.date-sel-label { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.5px; }
.date-sel-value { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); }
.date-sel-arrow { font-size: 0.9rem; color: var(--text-muted); flex-shrink: 0; }

/* Calendar */
.calendar-container {
    padding: 0 16px 8px;
    overflow-y: auto;
    max-height: 340px;
    scrollbar-width: none;
}
.calendar-container::-webkit-scrollbar { display: none; }

.cal-month {
    margin-bottom: 16px;
}
.cal-month-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 4px;
}
.cal-month-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: capitalize;
}
.cal-nav-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    width: 30px; height: 30px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: background 0.15s;
}
.cal-nav-btn:hover { background: var(--border-light); }

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}
.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.15s;
    background: transparent;
    border: none;
    font-family: inherit;
}
.cal-day:hover { background: var(--bg-card); }
.cal-day.disabled { color: #CCC; pointer-events: none; }
.cal-day.today { border: 1.5px solid var(--green-logo); }
.cal-day.selected { background: var(--navy); color: white; font-weight: 800; }
.cal-day.in-range { background: rgba(30,49,80,0.1); }
.cal-day.range-start { background: var(--navy); color: white; border-radius: 10px 4px 4px 10px; }
.cal-day.range-end { background: var(--navy); color: white; border-radius: 4px 10px 10px 4px; }
.cal-day.empty { pointer-events: none; }

/* Pax row inside modal */
.modal-sheet .pax-row {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
}

/* ── Search Spinner ── */
.search-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Logout Button Hover ── */
#btn-logout:hover, #btn-logout:active {
    background: #e74c3c !important;
    color: white !important;
    transform: scale(0.98);
}

/* ── Monitor Trip Button (on dest cards) ── */
.monitor-trip-btn {
    width: 100%;
    padding: 8px 0;
    border: none;
    background: transparent;
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border-top: 1px solid var(--border-light);
    transition: all 0.15s;
}
.monitor-trip-btn:hover { background: var(--bg-card); }
.monitor-trip-btn.premium-lock { color: #B8860B; }
.monitor-trip-btn:disabled { opacity: 0.6; cursor: default; }

/* ══════════════════════════════════════════
   DESTINATION SEARCH INPUT (in budget card)
══════════════════════════════════════════ */
.dest-search-wrap {
    position: relative;
    margin-top: 10px;
}
.dest-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}
.dest-search-input {
    width: 100%;
    padding: 10px 12px 10px 34px;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    color: #fff;
    font-size: 0.78rem;
    font-family: inherit;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.dest-search-input::placeholder { color: rgba(255,255,255,0.5); }
.dest-search-input:focus {
    border-color: var(--green-logo);
    background: rgba(255,255,255,0.18);
}
.dest-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    z-index: 300;
    display: none;
    max-height: 240px;
    overflow-y: auto;
}
.dest-suggestions.open { display: block; }
.dest-sugg-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 14px;
    cursor: pointer;
    transition: background 0.12s;
    border-bottom: 1px solid var(--border-light);
}
.dest-sugg-item:last-child { border-bottom: none; }
.dest-sugg-item:hover { background: var(--bg-card); }
.dest-sugg-name { font-weight: 700; font-size: 0.82rem; color: var(--navy); }
.dest-sugg-country { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }

/* ══════════════════════════════════════════
   SEARCH RESULTS VIEW
══════════════════════════════════════════ */
.sr-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}
.sr-back-btn {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--border-light);
    border-radius: 12px;
    background: var(--bg-card);
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
    color: var(--navy);
}
.sr-back-btn:hover { background: var(--navy); color: white; }
.sr-back-btn:hover svg { stroke: white; }
.sr-title { font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.sr-subtitle { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

/* ── Summary Card ── */
.sr-summary-card {
    background: linear-gradient(135deg, var(--navy), #2A4A7F);
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.sr-summary-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sr-summary-icon { font-size: 1rem; }
.sr-summary-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}
.sr-summary-row--budget {
    cursor: pointer;
    user-select: none;
    border-radius: 10px;
    padding: 4px 6px;
    margin: -4px -6px;
    transition: background 0.15s ease;
}
.sr-summary-row--budget:hover,
.sr-summary-row--budget:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

/* ── Section ── */
.sr-section {
    margin-bottom: 22px;
}
.sr-section-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 4px;
}
.sr-section-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* ── Provider Cards ── */
.sr-providers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sr-provider-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
    border-left: 4px solid var(--prov-color, var(--navy));
}
.sr-provider-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(30,49,80,0.12);
    border-color: var(--prov-color, var(--navy));
    background: #fff;
}
.sr-provider-card:active { transform: scale(0.98); }

.sr-prov-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.sr-prov-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30,49,80,0.06);
    border-radius: 10px;
}
.sr-prov-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.sr-prov-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sr-prov-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
}
.sr-prov-cta {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green-logo);
    padding: 6px 12px;
    background: rgba(46,158,123,0.1);
    border-radius: 20px;
    white-space: nowrap;
    transition: all 0.15s;
}
.sr-provider-card:hover .sr-prov-cta {
    background: var(--green-logo);
    color: white;
}

/* ── Search spinner ── */
.search-spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════
   SEARCH TABS & SORT BAR
══════════════════════════════════════════ */
.sr-tabs { display:flex; gap:6px; margin-bottom:12px; }
.sr-tab {
    flex:1; padding:10px; border:none; border-radius:12px;
    font-size:0.85rem; font-weight:700; font-family:inherit; cursor:pointer;
    background:var(--bg-card); color:var(--text-muted); border:1.5px solid var(--border-light);
    transition:all 0.2s;
}
.sr-tab.active { background:var(--navy); color:white; border-color:var(--navy); }

.sr-sort-bar { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.sr-result-count { font-size:0.75rem; font-weight:600; color:var(--text-muted); }
.sr-sort-btns { display:flex; gap:4px; }
.sr-sort-btn {
    padding:5px 10px; border:1px solid var(--border-light); border-radius:8px;
    font-size:0.68rem; font-weight:600; font-family:inherit; cursor:pointer;
    background:var(--bg-card); color:var(--text-muted); transition:all 0.15s;
}
.sr-sort-btn.active { background:var(--green-logo); color:white; border-color:var(--green-logo); }

/* ── Loading Skeleton ── */
.sr-skeleton {
    height:100px; border-radius:14px; margin-bottom:10px;
    background:linear-gradient(90deg,var(--bg-card) 25%,#e8ecf1 50%,var(--bg-card) 75%);
    background-size:200% 100%; animation:shimmer 1.5s infinite;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.sr-loading-text { text-align:center; font-size:0.8rem; color:var(--text-muted); font-weight:600; margin-top:8px; }
.sr-empty { text-align:center; padding:30px; color:var(--text-muted); font-size:0.85rem; }

/* ══════════════════════════════════════════
   FLIGHT CARDS
══════════════════════════════════════════ */
.sr-results-list { display:flex; flex-direction:column; gap:10px; }

.flight-card {
    position:relative; background:var(--bg-card); border:1.5px solid var(--border-light);
    border-radius:16px; padding:14px 16px 12px; transition:all 0.2s;
}
.flight-card:hover { box-shadow:0 4px 16px rgba(30,49,80,0.1); }
.flight-tag {
    position:absolute; top:-8px; left:14px; background:var(--green-logo); color:white;
    font-size:0.62rem; font-weight:700; padding:3px 10px; border-radius:20px;
}

.flight-route { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.flight-time-block { text-align:center; min-width:42px; }
.flight-time { display:block; font-size:1.05rem; font-weight:800; color:var(--navy); }
.flight-iata { font-size:0.65rem; color:var(--text-muted); font-weight:600; }

.flight-duration-line { flex:1; text-align:center; }
.flight-duration { font-size:0.65rem; color:var(--text-muted); font-weight:600; }
.flight-line { display:flex; align-items:center; margin:3px 0; }
.flight-dot { width:6px; height:6px; border-radius:50%; background:var(--green-logo); flex-shrink:0; }
.flight-stop-dot { width:8px; height:8px; border-radius:50%; background:var(--navy); border:2px solid white; flex-shrink:0; }
.flight-dash { flex:1; height:2px; background:linear-gradient(90deg,var(--green-logo),var(--navy)); }
.flight-stops { font-size:0.62rem; color:var(--text-muted); }

.flight-bottom { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.flight-airline { font-size:0.75rem; font-weight:600; color:var(--text-primary); }
.flight-price-wrap { text-align:right; }
.flight-price { font-size:1.15rem; font-weight:800; color:var(--green-logo); }
.flight-price-label { font-size:0.62rem; color:var(--text-muted); }

.flight-extras { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:8px; }
.flight-extra {
    font-size:0.62rem; font-weight:600; color:var(--text-muted);
    background:rgba(30,49,80,0.05); padding:3px 8px; border-radius:6px;
}

.flight-select-btn {
    width:100%; padding:10px; border:none; border-radius:12px;
    background:var(--green-logo); color:white; font-size:0.82rem;
    font-weight:700; font-family:inherit; cursor:pointer; transition:all 0.15s;
}
.flight-select-btn:active { transform:scale(0.97); }

/* ══════════════════════════════════════════
   HOTEL CARDS
══════════════════════════════════════════ */
.hotel-card {
    position:relative; background:var(--bg-card); border:1.5px solid var(--border-light);
    border-radius:16px; padding:14px 16px 12px; transition:all 0.2s;
}
.hotel-card:hover { box-shadow:0 4px 16px rgba(30,49,80,0.1); }
.hotel-tag {
    position:absolute; top:-8px; left:14px; background:var(--green-logo); color:white;
    font-size:0.62rem; font-weight:700; padding:3px 10px; border-radius:20px;
}
.hotel-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
.hotel-stars { font-size:0.75rem; }
.hotel-rating { display:flex; align-items:center; gap:6px; }
.hotel-rating-num {
    background:var(--navy); color:white; font-size:0.72rem; font-weight:800;
    padding:2px 7px; border-radius:6px;
}
.hotel-review-count { font-size:0.62rem; color:var(--text-muted); }
.hotel-name { font-size:0.92rem; font-weight:700; color:var(--navy); margin-bottom:3px; }
.hotel-room { font-size:0.72rem; color:var(--text-muted); margin-bottom:8px; }
.hotel-amenities { display:flex; gap:5px; flex-wrap:wrap; margin-bottom:8px; }
.hotel-amenity {
    font-size:0.62rem; font-weight:600; background:rgba(46,158,123,0.1);
    color:var(--green-logo); padding:3px 8px; border-radius:6px;
}
.hotel-bottom { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:8px; }
.hotel-price-wrap {}
.hotel-price { font-size:1.15rem; font-weight:800; color:var(--green-logo); }
.hotel-price-label { font-size:0.62rem; color:var(--text-muted); }
.hotel-total { font-size:0.72rem; color:var(--text-muted); }
.hotel-badges { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:8px; }
.hotel-badge {
    font-size:0.62rem; font-weight:600; padding:3px 8px; border-radius:6px;
    background:rgba(30,49,80,0.05); color:var(--text-muted);
}
.hotel-badge.green { background:rgba(46,158,123,0.1); color:var(--green-logo); }

.booking-advice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 8px 0;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    line-height: 1.25;
    border: 1px solid rgba(34, 49, 66, 0.08);
}

.booking-advice strong {
    white-space: nowrap;
    font-size: 0.74rem;
}

.booking-advice span {
    color: var(--text-muted);
    text-align: right;
}

.booking-advice.buy {
    background: rgba(69, 185, 80, 0.10);
    border-color: rgba(69, 185, 80, 0.28);
}

.booking-advice.buy strong { color: var(--green-logo); }

.booking-advice.wait {
    background: rgba(255, 193, 7, 0.13);
    border-color: rgba(255, 179, 0, 0.26);
}

.booking-advice.wait strong { color: #C77C00; }

.booking-advice.neutral {
    background: rgba(34, 49, 66, 0.04);
}

.booking-advice.neutral strong { color: var(--navy); }

.partner-handoff-note {
    margin: 8px 0;
    padding: 9px 10px;
    border-radius: 12px;
    background: rgba(30, 49, 80, 0.06);
    border: 1px solid rgba(30, 49, 80, 0.12);
    color: var(--navy);
    font-size: 0.66rem;
    line-height: 1.35;
    font-weight: 650;
}

.hotel-select-btn {
    width:100%; padding:10px; border:none; border-radius:12px;
    background:var(--navy); color:white; font-size:0.82rem;
    font-weight:700; font-family:inherit; cursor:pointer; transition:all 0.15s;
}
.hotel-select-btn:active { transform:scale(0.97); }

/* ══════════════════════════════════════════
   DETAIL MODAL
══════════════════════════════════════════ */
.detail-modal-overlay {
    position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:1000;
    display:flex; align-items:flex-end; justify-content:center;
    backdrop-filter:blur(4px);
}
.detail-modal {
    background:white; border-radius:24px 24px 0 0; width:100%; max-width:420px;
    max-height:85vh; overflow-y:auto; padding:20px 20px 30px; position:relative;
    animation:slideUp 0.3s ease;
}
@keyframes slideUp { from{transform:translateY(100%)} to{transform:translateY(0)} }
.detail-close {
    position:absolute; top:12px; right:14px; width:30px; height:30px;
    border:none; background:var(--bg-card); border-radius:50%; font-size:1rem;
    cursor:pointer; display:flex; align-items:center; justify-content:center;
    color:var(--text-muted); transition:all 0.15s;
}
.detail-close:hover { background:var(--navy); color:white; }
.detail-type { font-size:0.72rem; font-weight:700; color:var(--green-logo); margin-bottom:6px; text-transform:uppercase; letter-spacing:1px; }
.detail-title { font-size:1.2rem; font-weight:800; color:var(--navy); margin-bottom:4px; }
.detail-subtitle { font-size:0.8rem; color:var(--text-muted); margin-bottom:14px; }
.detail-stars { margin-bottom:6px; }
.detail-rating { font-weight:700; color:var(--navy); margin-left:6px; font-size:0.85rem; }
.detail-route { background:var(--bg-card); border-radius:12px; padding:12px; margin-bottom:14px; }
.detail-leg { margin-bottom:6px; }
.detail-leg-label { font-size:0.68rem; font-weight:700; color:var(--green-logo); text-transform:uppercase; letter-spacing:0.5px; }
.detail-leg-info { font-size:0.9rem; font-weight:600; color:var(--navy); margin:4px 0; }
.detail-leg-meta { font-size:0.72rem; color:var(--text-muted); }
.detail-features { display:flex; flex-direction:column; gap:4px; margin-bottom:14px; }
.detail-feat { font-size:0.78rem; color:var(--text-primary); }
.detail-price-box { background:var(--bg-card); border-radius:12px; padding:12px; margin-bottom:16px; }
.detail-price-row { display:flex; justify-content:space-between; font-size:0.78rem; padding:4px 0; color:var(--text-primary); }
.detail-price-row.green { color:var(--green-logo); }
.detail-price-total { display:flex; justify-content:space-between; font-size:0.95rem; font-weight:800; padding:8px 0 0; border-top:1.5px solid var(--border-light); margin-top:4px; color:var(--navy); }
.detail-book-btn {
    width:100%; padding:15px; border:none; border-radius:14px;
    background:linear-gradient(135deg,var(--green-logo),#1a8a65); color:white;
    font-size:0.95rem; font-weight:800; font-family:inherit; cursor:pointer;
    box-shadow:0 4px 16px rgba(46,158,123,0.35); transition:all 0.2s;
}
.detail-book-btn:active { transform:scale(0.97); }
.detail-disclaimer { text-align:center; font-size:0.65rem; color:var(--text-muted); margin-top:8px; }

/* ══════════════════════════════════════════
   SOLO HOTEL TOGGLE (in budget card)
══════════════════════════════════════════ */
.solo-hotel-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.solo-hotel-toggle:hover { background: rgba(255,255,255,0.15); }
.solo-hotel-toggle:has(input:checked) {
    background: rgba(46,158,123,0.25);
    border-color: var(--green-logo);
}
.solo-hotel-icon { font-size: 0.9rem; }
.solo-hotel-label {
    flex: 1;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}
.toggle-switch {
    position: relative;
    width: 38px;
    height: 20px;
    flex-shrink: 0;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.toggle-slider {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    transition: all 0.25s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 2px;
    top: 2px;
    background: white;
    border-radius: 50%;
    transition: transform 0.25s;
}
.toggle-switch input:checked + .toggle-slider {
    background: var(--green-logo);
}
.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(18px);
}

/* Elegant Select Styles */
.pref-section {
    padding: 0 20px 20px;
}
.custom-select-wrapper {
    position: relative;
    width: 100%;
}
.elegant-select {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    appearance: none;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.elegant-select:focus {
    border-color: var(--green-logo);
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.15);
    background-color: #fff;
}
.custom-select-wrapper::after {
    content: '▼';
    font-size: 14px;
    color: var(--text-light);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* ═══ "Inserisci città esatta" inline input (under the preference dropdown) ═══ */
.specific-city-wrap {
    margin-top: 12px;
    position: relative;
    animation: specificFadeIn 0.28s ease-out;
}
@keyframes specificFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.specific-city-input-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 10px -4px rgba(30, 49, 80, 0.10);
    transition: all 0.25s ease;
}
.specific-city-input-row:focus-within {
    border-color: var(--green-logo);
    box-shadow: 0 0 0 4px rgba(46, 158, 123, 0.16), 0 6px 14px -4px rgba(46, 158, 123, 0.22);
}
.specific-city-icon {
    flex-shrink: 0;
    color: var(--green-logo);
}
.specific-city-input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    min-width: 0;
}
.specific-city-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}
.specific-city-clear {
    border: 0;
    background: #f1f5f9;
    color: #64748b;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}
.specific-city-clear:hover { background: #e2e8f0; }
.specific-city-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(30, 49, 80, 0.14);
    max-height: 240px;
    overflow-y: auto;
    z-index: 50;
    display: none;
    padding: 6px;
}
.specific-city-suggestions.open { display: block; }
.specific-sugg-item {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: 'Outfit', sans-serif;
    transition: background 0.15s ease;
}
.specific-sugg-item:hover { background: #f1f5f9; }
.specific-sugg-name {
    font-weight: 600;
    color: var(--navy);
    font-size: 14px;
}
.specific-sugg-country {
    font-size: 12px;
    color: var(--text-muted);
}
.specific-sugg-empty {
    padding: 12px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* ═══ Search-results: multi-destination chip-selector ═══ */
.sr-dest-chips {
    padding: 14px 20px 4px;
}
.sr-dest-chips-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.sr-dest-chips-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.sr-dest-chips-row::-webkit-scrollbar { display: none; }
.sr-dest-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(30, 49, 80, 0.04);
}
.sr-dest-chip:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(30, 49, 80, 0.08);
}
.sr-dest-chip.active {
    background: linear-gradient(135deg, var(--green-logo), #50C39B);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 14px rgba(46, 158, 123, 0.32);
    transform: translateY(-1px);
}
.sr-dest-chip-flag {
    font-size: 15px;
    line-height: 1;
}
.sr-dest-chip-name {
    line-height: 1.2;
}

/* ═══ Payment Request Card (chat) ═══ */
.pay-card {
    border: 1.5px solid var(--border-light);
    background: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    min-width: 240px;
    max-width: 320px;
    box-shadow: 0 2px 8px rgba(20, 30, 60, 0.04);
}
.pay-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.pay-card-title {
    font-weight: 800;
    color: var(--navy);
    font-size: 0.92rem;
    line-height: 1.2;
}
.pay-card-total {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.pay-card-shares {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px dashed var(--border-light);
    padding-top: 8px;
    margin-top: 6px;
}
.pay-card-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    gap: 8px;
}
.pay-card-share .who { color: var(--navy); font-weight: 600; }
.pay-card-share .amt { font-weight: 700; }
.pay-card-share.is-self { background: rgba(46, 158, 123, 0.08); border-radius: 8px; padding: 4px 8px; }
.pay-card-share-status {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.pay-card-share-status.pending { background: #FFF3E0; color: #E67E22; }
.pay-card-share-status.paid { background: rgba(46, 158, 123, 0.15); color: #1E8449; }
.pay-card-share-status.cancelled { background: #FBE5E5; color: #C0392B; }
.pay-card-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.pay-card-btn {
    flex: 1;
    border: none;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    padding: 8px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.pay-card-btn.secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}
.pay-card-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.poll-card {
    background: #fff;
    border: 1px solid rgba(34, 49, 66, 0.10);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 22px rgba(23, 36, 52, 0.08);
    min-width: min(250px, 72vw);
}

.poll-card-kicker {
    color: var(--green-logo);
    font-size: 0.68rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.poll-card-question {
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1.25;
    margin-bottom: 10px;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.poll-option {
    border: 1px solid rgba(34, 49, 66, 0.10);
    border-radius: 12px;
    background: rgba(246, 248, 251, 0.92);
    color: var(--text-primary);
    padding: 9px 10px;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
}

.poll-option.selected {
    border-color: rgba(69, 185, 80, 0.55);
    background: rgba(69, 185, 80, 0.10);
}

.poll-option-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 760;
}

.poll-progress {
    display: block;
    height: 5px;
    margin-top: 7px;
    border-radius: 99px;
    background: rgba(34, 49, 66, 0.08);
    overflow: hidden;
}

.poll-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green-logo), #2E9E7B);
}

.poll-card-footer {
    margin-top: 9px;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
}

/* Composer modal: per-member row */
.pay-share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 10px;
}
.pay-share-row .pay-share-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    font-size: 0.78rem;
    flex: 0 0 32px;
}
.pay-share-row .pay-share-name { flex: 1; font-weight: 600; font-size: 0.85rem; color: var(--navy); }
.pay-share-row input[type="number"] {
    width: 96px;
    padding: 8px 10px;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    text-align: right;
}
.pay-share-row .pay-share-currency { font-size: 0.8rem; color: var(--text-muted); cursor: pointer; user-select: none; }
.pay-share-row.is-admin { opacity: 0.7; }
.pay-share-row.is-admin input { background: var(--bg-card); }

/* ═══ Invite modal ═══ */
.invite-results {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
    max-height: 240px;
    overflow-y: auto;
}
.invite-result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: background 0.15s;
}
.invite-result:hover { background: var(--bg-card); }
.invite-result .ir-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    flex: 0 0 36px;
}
.invite-result .ir-body { flex: 1; min-width: 0; }
.invite-result .ir-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.invite-result .ir-email {
    font-size: 0.74rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.invite-result .ir-add {
    border: none;
    background: var(--green-logo);
    color: #fff;
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.invite-result .ir-add:disabled { opacity: 0.6; cursor: default; }

.invite-divider {
    margin: 18px 0 12px;
    text-align: center;
    position: relative;
    font-size: 0.74rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.invite-divider::before,
.invite-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: var(--border-light);
}
.invite-divider::before { left: 0; }
.invite-divider::after  { right: 0; }
.invite-divider span { background: var(--bg-card, #fff); padding: 0 8px; position: relative; }

/* ═══ Group Info / Members Modal ═══ */
.gi-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.gi-avatar {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--green-logo));
    color: #fff;
    font-size: 1.6rem;
    flex: 0 0 54px;
}
.gi-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--navy);
    line-height: 1.2;
}
.gi-destination {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.gi-section-title {
    margin: 18px 0 8px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.gi-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.gi-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: #fff;
}
.gi-row .gi-row-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    font-size: 0.82rem;
    flex: 0 0 34px;
}
.gi-row .gi-row-body { flex: 1; min-width: 0; }
.gi-row .gi-row-name {
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--navy);
    display: flex;
    gap: 6px;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gi-row .gi-row-email {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gi-row-badges {
    display: inline-flex;
    gap: 4px;
}
.gi-badge {
    font-size: 0.66rem;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.gi-badge.admin { background: rgba(46, 158, 123, 0.18); color: #1E8449; }
.gi-badge.you   { background: rgba(30, 49, 80, 0.12);  color: var(--navy); }
.gi-badge.pending { background: #FFF3E0; color: #E67E22; }

.gi-row-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.gi-mini-btn {
    border: 1px solid var(--border-light);
    background: #fff;
    color: var(--navy);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.gi-mini-btn:hover { background: var(--bg-card); }
.gi-mini-btn.danger { color: #C0392B; border-color: #F5C9C2; }
.gi-mini-btn.danger:hover { background: #FBE5E5; }
.gi-mini-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.gi-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gi-btn {
    flex: 1;
    border: 1.5px solid;
    background: #fff;
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}
.gi-btn-warn   { border-color: #F0A030; color: #E67E22; }
.gi-btn-warn:hover   { background: #FFF6EA; }
.gi-btn-danger { border-color: #E74C3C; color: #C0392B; }
.gi-btn-danger:hover { background: #FDECEA; }

.profile-link-item {
    color: inherit;
    text-decoration: none;
}

.profile-support-note {
    padding: 12px 14px 14px;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.profile-danger-card {
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid rgba(231, 76, 60, 0.28);
    border-radius: 18px;
    background: #FFF7F6;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-danger-card strong {
    color: #C0392B;
    font-size: 0.95rem;
}

.profile-danger-card span {
    color: #7F4A43;
    font-size: 0.8rem;
    line-height: 1.45;
}

.profile-danger-btn {
    margin-top: 6px;
    border: 0;
    border-radius: 14px;
    padding: 12px 14px;
    background: #C0392B;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.modal-body-compact {
    padding: 8px 20px 18px;
}

.modal-field-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.group-flow-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.group-flow-success {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.group-flow-success strong {
    color: var(--navy);
    font-size: 1rem;
}

.group-flow-success span,
.confirm-message {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

.group-code-box {
    padding: 14px;
    border-radius: 14px;
    background: rgba(46, 158, 123, 0.12);
    color: var(--green-logo);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.modal-error-text {
    margin-top: 10px;
    color: #C0392B;
    font-size: 0.8rem;
    text-align: center;
}

.confirm-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 16px;
}

/* ═══ Affiliate disclosure — discreet chip + popover (EU compliance) ═══ */
.aff-chip {
    position: fixed;
    right: 10px;
    bottom: calc(env(safe-area-inset-bottom, 0) + 96px);
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px 4px 8px;
    background: rgba(30, 49, 80, 0.78);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    opacity: 0.78;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 3px 10px rgba(20, 30, 60, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.aff-chip:hover,
.aff-chip:focus-visible { opacity: 1; outline: none; }
.aff-chip.hidden { display: none; }
.aff-chip-icon {
    font-size: 0.72rem;
    line-height: 1;
    opacity: 0.85;
}
.aff-chip-label {
    line-height: 1;
}

/* Popover that opens on tap */
.aff-popover {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    width: 240px;
    max-width: calc(100vw - 24px);
    padding: 12px 14px 10px;
    background: rgba(30, 49, 80, 0.96);
    color: #fff;
    border-radius: 12px;
    font-size: 0.72rem;
    line-height: 1.4;
    letter-spacing: normal;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(20, 30, 60, 0.28);
    opacity: 0;
    transform: translateY(4px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.aff-popover::after {
    content: '';
    position: absolute;
    right: 18px;
    bottom: -6px;
    width: 10px;
    height: 10px;
    background: inherit;
    transform: rotate(45deg);
    border-radius: 2px;
}
.aff-popover p {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.92);
}
.aff-popover button {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.18s ease;
}
.aff-popover button:hover { background: rgba(255, 255, 255, 0.28); }

.aff-chip.is-open .aff-popover {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.aff-chip.is-open {
    opacity: 1;
    background: rgba(30, 49, 80, 0.96);
}

/* ═══ Marketplace panel (in-chat tours / esim / insurance / rentals) ═══ */
.marketplace-panel {
    border-top: 1px solid var(--border-light);
    background: #fff;
    max-height: 65vh;
    overflow-y: auto;
    padding: 12px 14px;
}
.marketplace-panel.hidden { display: none; }
.marketplace-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.marketplace-header span {
    font-weight: 800;
    color: var(--navy);
    font-size: 0.92rem;
}
.marketplace-share-btn {
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    color: var(--navy);
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.marketplace-share-btn:hover { background: #fff; }
.marketplace-list { display: flex; flex-direction: column; gap: 10px; }
.mk-card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: #fff;
}
.mk-icon {
    font-size: 1.8rem;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--navy), var(--green-logo));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex: 0 0 44px;
}
.mk-body { flex: 1; min-width: 0; }
.mk-title {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.88rem;
    line-height: 1.2;
    margin-bottom: 4px;
}
.mk-meta { font-size: 0.74rem; color: var(--text-muted); }
.mk-price {
    font-weight: 800;
    color: var(--navy);
    font-size: 0.92rem;
    white-space: nowrap;
}
.mk-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}
.mk-cta {
    background: var(--green-logo);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
}
.mk-cta:hover { filter: brightness(0.95); }
.mk-mini {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.mk-mini:hover { background: var(--bg-card); }
.mk-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 20px 10px;
}
.mk-loading {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 12px;
}

/* ═══ Admin: Earnings dashboard ═══ */
.admin-earnings-fab {
    position: fixed;
    right: 14px;
    bottom: calc(env(safe-area-inset-bottom, 0) + 108px);
    z-index: 70;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--green-logo), #0E7A3A);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(20, 30, 60, 0.22);
}
.admin-earnings-fab:hover { transform: scale(1.05); }
.admin-earnings-fab.hidden { display: none; }

.modal-wide { max-width: 760px; }

.ae-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}
.ae-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px;
}
.ae-stat .ae-stat-label { color: var(--text-muted); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }
.ae-stat .ae-stat-value { color: var(--navy); font-size: 1.3rem; font-weight: 800; margin-top: 4px; }
.ae-stat .ae-stat-sub   { color: var(--text-muted); font-size: 0.72rem; margin-top: 2px; }

.ae-section-title {
    color: var(--navy);
    font-weight: 800;
    margin: 14px 0 8px;
    font-size: 0.92rem;
}
.ae-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}
.ae-table th, .ae-table td {
    text-align: left;
    padding: 8px 6px;
    border-bottom: 1px solid var(--border-light);
}
.ae-table th { color: var(--text-muted); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; }
.ae-table td.num, .ae-table th.num { text-align: right; font-variant-numeric: tabular-nums; }


/* ══════════════════════════════════════════════════════════════
   v2.2 — UI POLISH: AUTH SCREEN
   ══════════════════════════════════════════════════════════════ */
.auth-screen {
    padding: 0 22px 40px;
    overflow-y: auto;
    background:
        radial-gradient(120% 60% at 50% -10%, rgba(46, 158, 123, 0.10), rgba(46, 158, 123, 0) 60%),
        radial-gradient(80% 40% at 50% 110%, rgba(30, 49, 80, 0.08), rgba(30, 49, 80, 0) 60%),
        #FFFFFF;
}

.auth-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 44px 0 24px;
}
.auth-logo-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    width: auto;
    height: auto;
}
.viaget-logo {
    display: block;
    height: auto;
    object-fit: contain;
}
.viaget-logo--hero {
    width: min(168px, 72vw);
    max-height: 188px;
}
.viaget-logo--header {
    width: 40px;
    height: 40px;
}
.viaget-logo--tab {
    width: 26px;
    height: 26px;
}
.auth-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 24px;
    max-width: 280px;
}

.auth-card {
    background: #FFFFFF;
    border: 1px solid rgba(30, 49, 80, 0.06);
    border-radius: 22px;
    padding: 22px 18px 20px;
    box-shadow:
        0 18px 40px rgba(30, 49, 80, 0.08),
        0 2px 8px rgba(30, 49, 80, 0.04);
}

.auth-field { margin-bottom: 14px; }

.auth-label {
    display: block;
    font-size: 0.66rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
    padding-left: 4px;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.2s ease;
}
.auth-input {
    width: 100%;
    padding: 13px 14px 13px 40px;
    border: 1.5px solid rgba(30, 49, 80, 0.10);
    border-radius: 14px;
    background: #F7F9FC;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
}
.auth-input::placeholder {
    color: #A4AFBD;
    font-weight: 500;
}
.auth-input:focus {
    border-color: var(--green-logo);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(46, 158, 123, 0.14);
}
.auth-input-wrap:focus-within .auth-input-icon {
    color: var(--green-logo);
}

.auth-error {
    color: #C0392B;
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.18);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.76rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.auth-cta {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy) 0%, #2A4A7F 100%);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow:
        0 10px 22px rgba(30, 49, 80, 0.28),
        0 2px 4px rgba(30, 49, 80, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.auth-cta:hover { box-shadow: 0 12px 26px rgba(30, 49, 80, 0.32); }
.auth-cta:active { transform: scale(0.98); }
.auth-cta:disabled { opacity: 0.6; cursor: not-allowed; }

.auth-toggle-row {
    text-align: center;
    margin-top: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.auth-toggle-link {
    color: var(--green-logo);
    font-weight: 800;
    text-decoration: none;
    margin-left: 4px;
}
.auth-toggle-link:hover { text-decoration: underline; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 14px;
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(30, 49, 80, 0.10);
}

.auth-skip-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1.5px solid rgba(30, 49, 80, 0.10);
    border-radius: 14px;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.auth-skip-btn:hover {
    border-color: rgba(30, 49, 80, 0.20);
    color: var(--text-primary);
    background: rgba(30, 49, 80, 0.03);
}

.auth-help-link {
    margin-top: 14px;
    text-align: center;
    font-size: 0.82rem;
}

.auth-help-link a {
    color: var(--text-muted);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ══════════════════════════════════════════════════════════════
   v2.2 — UI POLISH: PROFILE
   ══════════════════════════════════════════════════════════════ */
.profile-header {
    background:
        radial-gradient(120% 80% at 50% -20%, rgba(46, 158, 123, 0.35), rgba(46, 158, 123, 0) 60%),
        linear-gradient(135deg, var(--navy) 0%, #2A4A7F 100%);
    padding: 44px 20px 32px;
    position: relative;
}
.profile-avatar {
    width: 84px;
    height: 84px;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--green-logo), #1E8866);
    border: 3px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.18),
        0 0 0 6px rgba(46, 158, 123, 0.18);
}
.profile-name {
    font-size: 1.2rem;
    margin-top: 12px;
    letter-spacing: -0.2px;
}
.profile-email {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
}

/* Refined form inputs */
.profile-input {
    padding: 12px 14px;
    border: 1.5px solid rgba(30, 49, 80, 0.10);
    border-radius: 12px;
    font-size: 0.86rem;
    background: #F7F9FC;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.profile-input:focus {
    border-color: var(--green-logo);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(46, 158, 123, 0.14);
}
.profile-form-group label {
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

/* Save button: gradient + brand shadow */
.profile-save-btn {
    background: linear-gradient(135deg, var(--navy) 0%, #2A4A7F 100%);
    padding: 13px;
    border-radius: 14px;
    margin-top: 8px;
    box-shadow:
        0 10px 22px rgba(30, 49, 80, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.profile-save-btn:hover { box-shadow: 0 12px 26px rgba(30, 49, 80, 0.28); }

/* Verify CTA */
.profile-verify-btn {
    padding: 13px;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(46, 158, 123, 0.28);
}

/* Settings items: subtle lift on hover */
.profile-section { gap: 8px; }
.profile-item {
    border-radius: 16px;
    padding: 14px 14px;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.profile-item:hover {
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(30, 49, 80, 0.08);
    transform: translateY(-1px);
}

/* Logout button — extracted from inline-style */
.profile-logout-wrap {
    padding: 24px 20px 16px;
    margin-top: 8px;
}
.profile-logout-btn {
    width: 100%;
    padding: 13px;
    border: 1.5px solid rgba(231, 76, 60, 0.45);
    border-radius: 14px;
    background: transparent;
    color: #E74C3C;
    font-size: 0.85rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}
.profile-logout-btn:hover {
    background: rgba(231, 76, 60, 0.08);
    border-color: #E74C3C;
}


/* ══════════════════════════════════════════════════════════════
   v2.2 — UI POLISH: HOME
   ══════════════════════════════════════════════════════════════ */
.budget-card {
    box-shadow:
        0 16px 36px rgba(30, 49, 80, 0.08),
        0 2px 8px rgba(30, 49, 80, 0.04);
}

.btn-search {
    box-shadow:
        0 12px 26px rgba(46, 158, 123, 0.32),
        0 2px 4px rgba(30, 49, 80, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-search:hover { box-shadow: 0 14px 30px rgba(46, 158, 123, 0.38); }
.btn-search:active { transform: scale(0.98); }

/* Premium banner buttons: more refined */
.btn-premium-monthly,
.btn-premium-annual {
    padding: 13px 14px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-premium-monthly:hover,
.btn-premium-annual:hover {
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-premium-monthly:active,
.btn-premium-annual:active { transform: scale(0.98); }


/* ══════════════════════════════════════════════════════════════
   v2.2 — HOTEL INFO & REVIEWS modal (rich detail)
   ══════════════════════════════════════════════════════════════ */

/* Card additions ─────────────────────────── */
.hotel-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: -4px 0 8px;
    font-weight: 600;
}
.hotel-location svg { stroke: var(--green-logo); flex-shrink: 0; }

.hotel-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.hotel-info-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border: 1.5px solid rgba(30, 49, 80, 0.16);
    border-radius: 12px;
    background: #FFFFFF;
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
}
.hotel-info-btn:hover { border-color: var(--green-logo); background: rgba(46, 158, 123, 0.06); color: var(--green-logo); }
.hotel-info-btn:active { transform: scale(0.97); }
.hotel-info-btn svg { stroke: currentColor; }

.hotel-actions .hotel-select-btn { flex: 1; width: auto; }

/* Modal container ───────────────────────── */
.hi-modal {
    display: flex;
    flex-direction: column;
    padding: 0 2px 4px;
}

/* Photos gallery */
.hi-photos {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 90px 90px;
    gap: 4px;
    border-radius: 14px;
    overflow: hidden;
    margin: -8px -8px 14px;
}
.hi-photo {
    background: linear-gradient(135deg, #1E3150 0%, #2E9E7B 100%);
    overflow: hidden;
    position: relative;
}
.hi-photo.main {
    grid-row: span 2;
}
.hi-photo img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.hi-photo:hover img { transform: scale(1.05); }
.hi-photo-fallback img { display: none; }

/* Head block (name, address, score) */
.hi-head { margin-bottom: 12px; }
.hi-stars { font-size: 0.78rem; margin-bottom: 4px; }
.hi-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}
.hi-address {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 12px;
}
.hi-address svg { stroke: var(--green-logo); flex-shrink: 0; }

.hi-score-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hi-score-badge {
    background: linear-gradient(135deg, var(--green-logo), #1E8866);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 12px 12px 4px 12px;
    box-shadow: 0 6px 14px rgba(46, 158, 123, 0.28);
    font-variant-numeric: tabular-nums;
}
.hi-score-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-primary);
}
.hi-score-count {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Tabs */
.hi-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--bg-card);
    border-radius: 12px;
    margin: 14px 0 14px;
}
.hi-tab {
    flex: 1;
    padding: 9px 6px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: 9px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}
.hi-tab.active {
    background: #FFFFFF;
    color: var(--navy);
    box-shadow: 0 2px 6px rgba(30, 49, 80, 0.08);
}

/* Panels */
.hi-panels { padding-bottom: 96px; /* leaves room for the sticky footer */ }
.hi-panel { display: none; animation: hiFade 0.22s ease; }
.hi-panel.active { display: block; }
@keyframes hiFade {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hi-section-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 14px 0 8px;
    letter-spacing: -0.1px;
}

/* Overview — description + location chips + breakdown */
.hi-desc {
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.hi-location-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.hi-loc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}
.hi-loc-chip strong { color: var(--text-primary); font-weight: 800; }

.hi-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hi-bd-item {
    display: grid;
    grid-template-columns: 100px 1fr 36px;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
}
.hi-bd-label { color: var(--text-muted); font-weight: 600; }
.hi-bd-bar {
    height: 6px;
    background: var(--bg-card);
    border-radius: 999px;
    overflow: hidden;
}
.hi-bd-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--green-logo), #50C39B);
    border-radius: 999px;
    transition: width 0.4s ease;
}
.hi-bd-val {
    text-align: right;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

/* Reviews */
.hi-reviews { display: flex; flex-direction: column; gap: 10px; }
.hi-review {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 12px 12px 10px;
    box-shadow: 0 2px 8px rgba(30, 49, 80, 0.04);
}
.hi-review-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.hi-review-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), #2A4A7F);
    color: #FFFFFF;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.9rem;
    flex-shrink: 0;
}
.hi-review-meta { flex: 1; min-width: 0; }
.hi-review-name { font-size: 0.82rem; font-weight: 800; color: var(--text-primary); }
.hi-review-sub  { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; margin-top: 1px; }
.hi-review-score {
    flex-shrink: 0;
    background: rgba(46, 158, 123, 0.12);
    color: var(--green-logo);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 5px 9px;
    border-radius: 8px;
    font-variant-numeric: tabular-nums;
}
.hi-review-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.hi-review-text {
    font-size: 0.76rem;
    line-height: 1.55;
    color: var(--text-primary);
}
.hi-review-helpful {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 600;
}

/* Amenities (grid) */
.hi-amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
}
.hi-amenity-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-primary);
    font-weight: 500;
    padding: 3px 0;
}
.hi-amenity-check {
    color: var(--green-logo);
    font-weight: 800;
}

/* Policies (list) */
.hi-policy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 4px 12px;
}
.hi-policy-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(30, 49, 80, 0.06);
    font-size: 0.78rem;
}
.hi-policy-row:last-child { border-bottom: none; }
.hi-policy-row > span { color: var(--text-muted); font-weight: 600; }
.hi-policy-row > strong { color: var(--text-primary); font-weight: 700; text-align: right; }
.hi-policy-row.full { flex-direction: column; align-items: flex-start; gap: 4px; }
.hi-policy-row.full > strong { text-align: left; }

.hi-empty {
    padding: 24px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Sticky footer with price + booking CTA */
.hi-footer {
    position: sticky;
    bottom: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0) 0%, #FFFFFF 30%);
    padding: 14px 0 0;
    margin: 6px -8px -10px;
    padding-left: 8px;
    padding-right: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hi-footer-price {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hi-footer-price-num {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}
.hi-footer-price-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}
.hi-footer-price-label strong { color: var(--text-primary); font-weight: 800; }
.hi-footer-btn {
    flex: 0 0 auto;
    padding: 12px 18px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green-logo), #1E8866);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(46, 158, 123, 0.32);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.hi-footer-btn:hover { box-shadow: 0 10px 24px rgba(46, 158, 123, 0.40); }
.hi-footer-btn:active { transform: scale(0.97); }


/* ══════════════════════════════════════════════════════════════
   v2.4 — ELEGANT APP SHELL + BRAND LAYOUT
   ══════════════════════════════════════════════════════════════ */
:root {
    --navy: #223142;
    --navy-deep: #172434;
    --green-logo: #45B950;
    --green-soft: #EAF8EC;
    --bg-app: #F6F8FB;
    --bg-card: #FFFFFF;
    --bg-nav: rgba(255, 255, 255, 0.88);
    --border-light: rgba(34, 49, 66, 0.10);
    --text-primary: #223142;
    --text-muted: #8290A3;
    --shadow-card: 0 14px 36px rgba(23, 36, 52, 0.08);
    --shadow-soft: 0 10px 28px rgba(23, 36, 52, 0.10);
}

body {
    background:
        radial-gradient(circle at 20% 0%, rgba(69, 185, 80, 0.14), transparent 28%),
        radial-gradient(circle at 80% 20%, rgba(34, 49, 66, 0.12), transparent 32%),
        linear-gradient(180deg, #EEF3F8 0%, #DDE6EF 100%);
}

#app {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(246,248,251,0.98) 38%, #F6F8FB 100%);
}

@media (min-width: 420px) {
    #app {
        border-color: rgba(15, 23, 32, 0.92);
        box-shadow:
            0 26px 80px rgba(15, 23, 32, 0.22),
            0 4px 18px rgba(15, 23, 32, 0.12);
    }
}

.header-curve {
    min-height: 86px;
    padding: 10px 16px 12px;
    background: #FFFFFF;
    backdrop-filter: saturate(150%) blur(18px);
    -webkit-backdrop-filter: saturate(150%) blur(18px);
    border-bottom: 1px solid rgba(34, 49, 66, 0.06);
}

.header-curve::after {
    bottom: -11px;
    height: 22px;
    background: #FFFFFF;
    pointer-events: none;
    box-shadow:
        0 5px 0 rgba(69, 185, 80, 0.86),
        0 10px 0 rgba(34, 49, 66, 0.94),
        0 18px 28px rgba(34, 49, 66, 0.08);
}

.logo {
    width: 96px;
    height: 76px;
    justify-content: center;
}

.viaget-logo--header {
    width: 78px;
    height: auto;
    max-height: 76px;
    object-fit: contain;
    filter: drop-shadow(0 7px 12px rgba(23, 36, 52, 0.11));
}

.viaget-logo--hero {
    width: min(190px, 74vw);
    max-height: 205px;
    filter: drop-shadow(0 16px 28px rgba(23, 36, 52, 0.11));
}

.header-auth-btn,
.header-logout-btn,
.lang-current {
    border: 1px solid rgba(34, 49, 66, 0.10);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 20px rgba(23, 36, 52, 0.07);
}

.header-logout-btn {
    position: relative;
    z-index: 250;
    pointer-events: auto;
}

.header-auth-btn.logged-in {
    background: linear-gradient(135deg, var(--green-logo), #2E9E7B);
    color: #fff;
    border-color: transparent;
}

.app-main {
    padding: 42px 20px 104px;
}

.app-main.view,
#msg-list-view,
#msg-chat-view {
    background:
        radial-gradient(circle at 50% 0%, rgba(69, 185, 80, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,0.86) 0%, #F6F8FB 46%);
}

.auth-screen {
    background:
        radial-gradient(circle at 50% 0%, rgba(69, 185, 80, 0.13), transparent 32%),
        linear-gradient(180deg, #FFFFFF 0%, #F6F8FB 100%);
}

.auth-card,
.budget-card,
.dest-card,
.match-card,
.private-card,
.plan-card,
.profile-card,
.verify-card,
.sell-card,
.chat-list-item,
.flight-card,
.hotel-card,
.mk-card,
.ae-stat,
#pay-view-card {
    border: 1px solid rgba(34, 49, 66, 0.09) !important;
    box-shadow: var(--shadow-card);
}

.budget-card {
    background:
        linear-gradient(145deg, rgba(34, 49, 66, 0.98) 0%, rgba(23, 36, 52, 0.98) 58%, rgba(46, 158, 123, 0.94) 140%);
    border-radius: 26px;
}

.departure-city-input-row,
.solo-hotel-toggle {
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.btn-search,
.flight-select-btn,
.hotel-select-btn,
.mk-cta,
.picker-confirm-btn,
.detail-book-btn,
.hi-footer-btn,
.chat-book-btn {
    background: linear-gradient(135deg, var(--green-logo), #2E9E7B) !important;
    box-shadow:
        0 14px 28px rgba(69, 185, 80, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.btn-group,
.sr-tab.active,
.hotel-rating-num,
.broker-strip-btn.primary {
    background: linear-gradient(135deg, var(--navy), var(--navy-deep)) !important;
}

.section-title,
.plans-title,
.msg-title,
.profile-name,
.sr-title,
.modal-title {
    letter-spacing: -0.03em;
}

.dest-card,
.flight-card,
.hotel-card,
.mk-card {
    border-radius: 20px;
}

.flight-card,
.hotel-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.90));
}

.flight-card:hover,
.hotel-card:hover,
.dest-card:hover,
.mk-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(23, 36, 52, 0.12);
}

.sr-header,
.profile-header,
.plans-header,
.msg-list-header,
.chat-header {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(34, 49, 66, 0.07);
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(23, 36, 52, 0.06);
    padding: 12px;
}

.msg-list-header {
    padding: 50px 12px 12px;
}

#view-profile {
    padding-top: 76px;
    padding-bottom: 190px;
}

#view-profile .profile-header {
    margin: 0 20px 0;
    padding: 96px 16px 28px;
    background:
        radial-gradient(100% 90% at 50% 0%, rgba(69, 185, 80, 0.16), transparent 58%),
        rgba(255, 255, 255, 0.84);
}

#view-profile .profile-avatar {
    margin-top: 0;
}

#view-profile .profile-name {
    color: var(--navy);
}

#view-profile .profile-email {
    color: var(--text-muted);
}

#view-profile .profile-logout-wrap {
    padding: 28px 20px 34px;
    margin-bottom: 88px;
}

.profile-bottom-spacer {
    height: 190px;
    flex: 0 0 190px;
}

.bottom-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    transform: none;
    width: auto;
    max-width: none;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0));
    border: 1px solid rgba(34, 49, 66, 0.10);
    border-radius: 24px;
    background: var(--bg-nav);
    box-shadow:
        0 18px 38px rgba(23, 36, 52, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.tab {
    min-height: 56px;
    border-radius: 18px;
    font-size: 0.64rem;
    font-weight: 750;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tab.active {
    color: var(--navy);
    background: linear-gradient(180deg, rgba(69, 185, 80, 0.14), rgba(69, 185, 80, 0.06));
}

.tab.active svg {
    stroke: var(--green-logo);
    transform: translateY(-1px);
}

.tab.active::before {
    top: 5px;
    width: 22px;
    height: 3px;
    background: linear-gradient(90deg, var(--green-logo), #2E9E7B);
}

.tab[data-tab="plans"].active {
    color: var(--navy);
}

.plans-tab-icon {
    width: 22px;
    height: 22px;
}

.modal-sheet {
    border: 1px solid rgba(34, 49, 66, 0.08);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -18px 48px rgba(23, 36, 52, 0.18);
}

@media (max-width: 419px) {
    .bottom-nav {
        bottom: 8px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
    }
}
