:root {
    --panel-bg: rgba(12, 25, 42, 0.46);
    --panel-border: rgba(255, 255, 255, 0.28);
    --panel-soft: rgba(10, 24, 42, 0.4);
    --field-bg: rgba(12, 29, 49, 0.44);
    --text: #f8fbff;
    --muted: #e7eef7;
    --heading: #ffffff;
    --green: #49d17e;
    --blue: #45a8ff;
    --cyan: #8fd8ff;
    --amber: #ffd477;
    --red: #ff9c9c;
    --radius-lg: 24px;
    --radius-md: 18px;
    --shadow: 0 20px 48px rgba(5, 12, 25, 0.33);
    --glow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 36px rgba(18, 42, 78, 0.28);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100%;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
}

body {
    overflow-y: auto;
    background-image: url('../background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.dashboard-bg {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(125deg, rgba(6, 14, 28, 0.76), rgba(8, 15, 29, 0.56) 45%, rgba(5, 16, 30, 0.72)),
        radial-gradient(circle at 10% 20%, rgba(69, 168, 255, 0.2), transparent 36%),
        radial-gradient(circle at 86% 78%, rgba(73, 209, 126, 0.16), transparent 30%);
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.dashboard-layout {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    padding: 22px;
    display: grid;
    grid-template-columns: minmax(300px, 20%) minmax(0, 80%);
    grid-template-areas: "left details";
    gap: 20px;
    box-sizing: border-box;
}

.panel {
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    background: var(--panel-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.panel,
.panel-right>section,
.map-header,
.map-empty {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

.panel-left,
.panel-right {
    padding: 20px;
}

.panel-left {
    grid-area: left;
    width: 100%;
    position: sticky;
    top: 20px;
    height: auto;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    align-self: start;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.panel-left::-webkit-scrollbar {
    width: 4px;
}

.panel-left::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}


.panel-right {
    grid-area: details;
    width: auto;
    max-width: 100%;
    min-width: 0;
}

.panel-head h1 {
    margin: 0;
    color: var(--heading);
    font-size: clamp(1.7rem, 2.35vw, 2.15rem);
    font-weight: 800;
    letter-spacing: 0.01em;
}

.panel-head p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.trip-form {
    margin-top: 16px;
    display: grid;
    gap: 14px;
}

.field-group {
    position: relative;
    display: grid;
    gap: 8px;
}

.field-group span {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.field-group input,
.field-group select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    background: var(--field-bg);
    color: var(--text);
    padding: 0 12px;
    outline: 0;
    transition: all 0.3s ease;
}

.field-group input::placeholder {
    color: #edf4fb;
}

.field-group input:focus,
.field-group select:focus {
    border-color: rgba(143, 216, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(143, 216, 255, 0.18);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.style-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.style-pill {
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid var(--panel-border);
    background: rgba(13, 30, 49, 0.42);
    color: var(--muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.style-pill:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.2);
}

.style-pill.active {
    color: #ffffff;
    border-color: rgba(143, 216, 255, 0.85);
    background: linear-gradient(135deg, rgba(73, 209, 126, 0.55), rgba(69, 168, 255, 0.62));
    box-shadow: 0 8px 20px rgba(69, 168, 255, 0.2);
}

input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    outline: none;
    cursor: pointer;
    margin: 10px 0;
}

/* Track styles - WebKit */
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 12px;
    border-radius: 12px;
    background: var(--track-fill, rgba(255, 255, 255, 0.05));
    background-repeat: no-repeat;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    border: none;
    transition: background 0.1s ease;
}

/* Track styles - Firefox */
input[type="range"]::-moz-range-track {
    width: 100%;
    height: 12px;
    border-radius: 12px;
    background: var(--track-fill, rgba(255, 255, 255, 0.05));
    background-repeat: no-repeat;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    border: none;
}

/* Track styles - IE/Edge */
input[type="range"]::-ms-track {
    width: 100%;
    height: 12px;
    border-radius: 12px;
    background: var(--track-fill, rgba(255, 255, 255, 0.05));
    background-repeat: no-repeat;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    border: none;
    color: transparent;
}

input[type="range"]:hover::-webkit-slider-runnable-track,
input[type="range"]:hover::-moz-range-track,
input[type="range"]:hover::-ms-track {
    background-color: rgba(255, 255, 255, 0.08);
}

/* Chrome, Safari, Opera, Edge */
input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #f0f9ff 40%, #e0f2fe 100%);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.5),
        0 0 0 4px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(69, 168, 255, 0.4);
    border: 2px solid #ffffff;
    cursor: grab;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

/* Thumb styles - Firefox */
input[type="range"]::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #f0f9ff 40%, #e0f2fe 100%);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.5),
        0 0 0 4px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(69, 168, 255, 0.4);
    border: 2px solid #ffffff;
    cursor: grab;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Thumb styles - IE/Edge */
input[type="range"]::-ms-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #f0f9ff 40%, #e0f2fe 100%);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.5),
        0 0 0 4px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(69, 168, 255, 0.4);
    border: 2px solid #ffffff;
    cursor: grab;
}

input[type="range"]::-webkit-slider-thumb:hover,
input[type="range"]::-moz-range-thumb:hover,
input[type="range"]::-ms-thumb:hover {
    transform: scale(1.15);
    box-shadow:
        0 6px 15px rgba(0, 0, 0, 0.5),
        0 0 0 6px rgba(69, 168, 255, 0.2);
}

input[type="range"]::-webkit-slider-thumb:active,
input[type="range"]::-moz-range-thumb:active,
input[type="range"]::-ms-thumb:active {
    cursor: grabbing;
    transform: scale(0.95);
}

/* Firefox */
input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.1);
    border: 2px solid var(--blue);
    cursor: grab;
    transition: all 0.2s ease;
}

.meter-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    padding: 0 4px;
}

.meter-meta small {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 500;
}

.meter-meta strong {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(69, 168, 255, 0.3);
    background: rgba(14, 28, 48, 0.8);
    padding: 3px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: color 0.3s ease;
    min-width: 80px;
    text-align: center;
}

.quick-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
}

.primary-btn {
    min-height: 58px;
    border-radius: 16px;
    border: 0;
    background: linear-gradient(135deg, var(--green), var(--blue));
    color: #effcff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(41, 158, 205, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
}

.suggestions {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    background: rgba(9, 25, 42, 0.86);
    backdrop-filter: blur(10px);
    z-index: 30;
    max-height: 280px;
    overflow-y: auto;
}

.suggestions.visible {
    display: block;
}

.s-item {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: var(--text);
    padding: 10px 12px;
    cursor: pointer;
}

.s-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

.recent-searches-box {
    margin-top: 16px;
}

.recent-searches-box h2,
.panel-right h2 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 700;
}

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

.chip {
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(14, 31, 50, 0.48);
    color: var(--text);
    font-size: 0.8rem;
    border: 0;
    cursor: pointer;
}

.panel-right {
    position: relative;
    height: auto;
    max-height: none;
    overflow: visible;
    scrollbar-gutter: stable;
    display: grid;
    align-content: start;
    gap: 16px;
}

/* Global Scrollbar Styles */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--green) transparent;
}

::-webkit-scrollbar {
    width: 10px !important;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 10px !important;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--green) 0%, var(--green) 50%, var(--blue) 50%, var(--blue) 100%) !important;
    border-radius: 20px !important;
    border: 2px solid transparent !important;
    background-clip: content-box !important;
}

.contents-wrapper>section,
.summary-box {
    padding: 20px;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    background: rgba(11, 25, 43, 0.42);
    backdrop-filter: blur(10px);
    box-shadow: var(--glow);
    position: relative;
    overflow: hidden;
}

.summary-loader-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.summary-loader-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.google-spinner {
    width: 42px;
    height: 42px;
    border: 4.5px solid transparent;
    border-top-color: #4285F4;
    border-radius: 50%;
    animation: google-spinner-rotate 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes google-spinner-rotate {
    0% {
        transform: rotate(0deg);
        border-top-color: #4285F4;
    }

    25% {
        border-top-color: #EA4335;
    }

    50% {
        border-top-color: #FBBC05;
    }

    75% {
        border-top-color: #34A853;
    }

    100% {
        transform: rotate(360deg);
        border-top-color: #4285F4;
    }
}

.transport-box {
    padding: 20px;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    background: rgba(11, 25, 43, 0.42);
    backdrop-filter: blur(10px);
    box-shadow: var(--glow);
}

.summary-box #cost-chart {
    display: block;
    width: 100% !important;
    height: auto !important;
    margin: 0;
    filter: drop-shadow(0 0 15px rgba(69, 168, 255, 0.2));
}

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

.currency-switch {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.13);
    padding: 4px;
    border-radius: 999px;
}

.currency-btn {
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--muted);
    background: transparent;
    font-size: 0.76rem;
    font-weight: 600;
    border: 0;
    cursor: pointer;
}

.currency-btn.active {
    color: #0d2844;
    background: #d9f2ff;
}

.results-top-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 8px;
}

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

.summary-header h2 {
    margin: 0 !important;
    font-size: 0.72rem !important;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    background: var(--blue);
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(71, 109, 255, 0.3);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.transport-box h2 {
    margin: 0 !important;
    font-size: 0.85rem !important;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
}

.summary-split {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.summary-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.total-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

#trip-total-display {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.location-tag {
    font-size: 0.9rem;
    color: var(--blue);
    font-weight: 700;
    background: rgba(69, 168, 255, 0.12);
    padding: 2px 10px;
    border-radius: 99px;
}

.inline-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--muted);
}

.inline-stats strong {
    color: #fff;
}

.divider {
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.cost-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.cost-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    min-width: fit-content;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cost-pill i {
    font-style: normal;
    font-size: 0.9rem;
    opacity: 0.9;
}

.cost-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.cost-pill span {
    color: rgb(0, 219, 255);
    text-transform: uppercase;
    font-weight: 700;
}

.cost-pill strong {
    color: #fff;
}

.p-hotel {
    border-left: 2px solid var(--blue);
}

.p-food {
    border-left: 2px solid var(--green);
}

.p-transport {
    border-left: 2px solid var(--amber);
}

.p-activity {
    border-left: 2px solid var(--red);
}

.summary-right {
    flex: 0 0 165px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-top: 4px;
}

.transport-card {
    padding: 6px 10px !important;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.transport-icon {
    width: 32px;
    height: 32px;
    background: rgba(69, 168, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.transport-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.transport-details span {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    text-transform: uppercase;
}

.transport-details strong {
    font-size: 0.8rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.transport-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.transport-details {
    display: flex;
    flex-direction: column;
}

.transport-details span {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.transport-details strong {
    font-size: 1rem;
    color: #fff;
    margin-top: 2px;
}

.scroll-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(25% - 14px), 1fr));
    gap: 14px;
    padding-bottom: 10px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(71, 109, 255, 0.1);
    z-index: 2;
}

.card-img-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.info-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.info-card:hover img {
    transform: scale(1.15);
}

.info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.info-card:hover::after {
    left: 150%;
}

.info-card h3 {
    margin: 12px 12px 6px;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-card p {
    margin: 0 12px 12px;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.4;
}

.meta-row {
    margin: auto 12px 12px;
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 600;
}

.deal-btn {
    margin: 0 12px 12px;
    padding: 12px;
    text-align: center;
    background: linear-gradient(135deg, var(--green), var(--blue));
    color: #fff;
    text-decoration: none;
    border-radius: 14px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 20px rgba(41, 158, 205, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
}

.deal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(41, 158, 205, 0.45);
    filter: brightness(1.1);
}

.city-overview-wrapper {
    margin-bottom: 5px;
}

.city-hero {
    position: relative;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 10px;
}

.city-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.85));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.city-hero-overlay h1 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
}

.city-hero-overlay p {
    margin: 5px 0 0;
    color: var(--cyan);
    font-weight: 600;
}

.city-insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

.insight-card {
    position: relative;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.insight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
}

.insight-content {
    position: relative;
    z-index: 2;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.insight-icon-wrap {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.insight-text-wrap {
    display: flex;
    flex-direction: column;
}

.insight-text-wrap span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.insight-text-wrap strong {
    font-size: 1.1rem;
    color: #fff;
    margin-top: 2px;
}

.insight-icon {
    font-size: 1.4rem;
}

.insight-text strong {
    display: block;
    font-size: 0.85rem;
}

.insight-text span {
    font-size: 0.75rem;
    color: var(--muted);
}

.loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 24, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #fff;
    border-bottom-color: var(--blue);
    border-radius: 50%;
    animation: rotation 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none !important;
}

.preview-section {
    min-height: 100%;
    animation: fadeIn 0.8s ease-out;
}

.preview-shell {
    display: grid;
    gap: 12px;
}

.preview-shell>.empty-icon {
    display: none;
}

.preview-hero {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 240px;
    padding: 32px 40px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(90deg, rgba(8, 14, 28, 0.98) 25%, rgba(8, 14, 28, 0.85) 45%, rgba(8, 14, 28, 0.3) 75%, rgba(8, 14, 28, 0.1) 100%),
        url('top.webp');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.preview-hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 0;
}

.preview-hero h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 44px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.preview-hero .perfect {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 35%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.preview-hero .plane-icon {
    font-size: 0.8em;
    margin-left: 4px;
    filter: drop-shadow(0 0 10px rgba(79, 172, 254, 0.5));
}

.subtitle-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
}

.preview-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.dashed-path {
    position: absolute;
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
    width: 110px;
    height: 30px;
    pointer-events: none;
}

.dashed-path svg {
    width: 100%;
    height: 100%;
    stroke-dasharray: 4 4;
}

.path-pin {
    position: absolute;
    right: -12px;
    top: 2px;
    font-size: 16px;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
}

.preview-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    width: 100%;
}

.preview-feature-card {
    flex: 1 1 0;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(12, 22, 40, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.preview-feature-card:hover {
    background: rgba(18, 32, 58, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.preview-feature-card-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.preview-feature-card-icon svg {
    width: 20px;
    height: 20px;
}

.icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.icon-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.icon-orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.icon-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.preview-feature-card-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.preview-feature-card-text strong {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.preview-feature-card-text span {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.preview-card {
    position: relative;
    height: auto;
    display: block;
    padding: 16px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26), 0 0 24px rgba(69, 168, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.preview-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(73, 209, 126, 0.08), transparent 38%, rgba(255, 163, 99, 0.08));
    opacity: 0;
    transition: opacity 0.28s ease;
}

.preview-card:hover {
    transform: translateY(-6px);
    border-color: rgba(143, 216, 255, 0.32);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 28px rgba(69, 168, 255, 0.14);
}

.preview-card:hover::after {
    opacity: 1;
}

.preview-main-image {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
    border-radius: 12px;
}

.preview-main-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.preview-thumb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    height: 96px;
    margin-top: 12px;
}

.preview-thumb-grid img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.preview-card-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
    margin-top: 12px;
}

.preview-kicker {
    display: inline-flex;
    margin-bottom: 7px;
    color: var(--cyan);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.preview-card h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 0.98rem;
    line-height: 1.25;
}

.preview-card p {
    margin: 3px 0;
    color: rgba(248, 251, 255, 0.84);
    font-size: 0.8rem;
    line-height: 1.45;
}

.preview-btn {
    position: relative;
    z-index: 1;
    align-self: end;
    width: 100%;
    margin-top: 14px;
    min-width: 0;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    color: #ffffff;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(41, 158, 205, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.preview-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(41, 158, 205, 0.34);
}

.preview-info-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 12px 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94)),
        radial-gradient(circle at 18% 50%, rgba(56, 189, 248, 0.18), transparent 32%);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.preview-info-lead {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    flex: 1 1 42%;
}

.preview-illustration {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(6, 182, 212, 0.14));
    box-shadow: 0 16px 36px rgba(6, 182, 212, 0.12);
}

.preview-illustration svg {
    width: 36px;
    height: 36px;
    display: block;
}

.preview-info-copy h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    line-height: 1.35;
    font-weight: 700;
}

.preview-info-copy strong {
    display: block;
    margin-top: 4px;
    background: linear-gradient(90deg, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-size: clamp(1.25rem, 1.85vw, 1.75rem);
    line-height: 1.15;
    font-weight: 800;
}

.preview-feature-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex: 1 1 auto;
}

.preview-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.preview-feature-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #22c55e, #06b6d4);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 8px 16px rgba(6, 182, 212, 0.18);
}

.preview-feature-item h4 {
    margin: 0;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.2;
}

.preview-feature-item p {
    margin: 4px 0 0;
    color: rgba(248, 251, 255, 0.68);
    font-size: 0.78rem;
    line-height: 1.35;
}

.contents-wrapper {
    display: grid;
    align-content: start;
    gap: 14px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .preview-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .preview-info-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .preview-feature-list {
        width: 100%;
        justify-content: space-between;
        gap: 20px;
    }

    .results-top-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {

    html,
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .dashboard-layout {
        min-height: 100vh;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 14px !important;
        margin: 0 !important;
        gap: 16px;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .panel-right {
        max-height: none;
        height: auto;
        width: calc(100% - 0px) !important;
        margin: 0 auto !important;
        overflow-y: auto;
        overflow-x: hidden;
        flex: none;
    }

    .panel-left {
        width: calc(100% - 0px) !important;
        margin: 0 auto !important;
        position: relative;
        top: 0;
        max-height: none;
        flex: none;
    }

    .preview-cards {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .preview-info-banner {
        flex-direction: column;
    }

    .preview-hero-content {
        max-width: 72%;
    }

    .preview-main-image {
        height: 170px;
    }

    .preview-thumb-grid {
        height: 110px;
    }

    .preview-btn {
        width: 100%;
    }
}

@media (max-width: 560px) {

    .panel-left,
    .panel-right {
        padding: 14px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
        margin: 0 auto 16px !important;
        width: calc(100% - 2px) !important;
        max-width: calc(100vw - 28px) !important;
        box-sizing: border-box !important;
    }

    .preview-hero {
        max-height: none;
        padding: 18px 15px;
        width: auto;
        max-width: 100%;
    }

    .preview-hero-content {
        padding: 0;
        max-width: 100%;
    }

    .preview-hero h2 {
        font-size: 22px;
        line-height: 1.2;
    }

    .preview-cards {
        grid-template-columns: 1fr;
    }

    .preview-info-banner {
        padding: 16px 12px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }

    .preview-info-lead {
        flex: 1 1 100% !important;
        width: 100% !important;
    }

    .preview-feature-list {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .preview-illustration {
        width: 44px;
        height: 44px;
    }

    .preview-illustration svg {
        width: 28px;
        height: 28px;
    }

    .preview-badges span {
        font-size: 0.76rem;
        padding: 8px 10px;
    }

    .preview-thumb-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer Banner Mobile Fix */
    .preview-footer-banner {
        padding: 18px 12px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    .banner-logo-wrap {
        width: 44px;
        height: 44px;
    }

    .banner-shield-icon svg {
        width: 28px;
        height: 28px;
    }

    .banner-main-text h2 {
        font-size: 1.2rem !important;
    }

    .footer-banner-main {
        width: 100%;
        gap: 12px;
    }

    .footer-banner-items {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .banner-v-sep,
    .warning-sign {
        display: none !important;
    }

    .banner-item {
        width: 100%;
    }

    .style-pills {
        grid-template-columns: 1fr !important;
    }

    /* Results Mobile Fixes */
    .summary-split {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .summary-right {
        width: 100%;
        justify-content: center;
        flex: none;
        margin-top: 10px;
    }

    .results-top-grid {
        grid-template-columns: 1fr !important;
    }

    .transport-grid,
    .city-insights-grid {
        grid-template-columns: 1fr !important;
    }

    .scroll-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .info-card img {
        height: 110px;
    }

    .info-card h3 {
        font-size: 0.85rem !important;
        margin: 10px 10px 4px !important;
    }

    .info-card p {
        font-size: 0.72rem !important;
        margin: 0 10px 10px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .meta-row {
        margin: auto 10px 10px !important;
        font-size: 0.7rem !important;
    }

    .deal-btn {
        margin: 0 10px 10px !important;
        font-size: 0.75rem !important;
        padding: 8px !important;
    }

    .summary-header h2 {
        font-size: 0.65rem !important;
        padding: 3px 8px !important;
        letter-spacing: 0.02em !important;
    }

    .summary-box #cost-chart {
        max-width: 180px;
        margin: 0 auto;
    }

    #trip-total-display {
        font-size: 2rem;
    }
}

/* Redesigned Preview Cards v2 */
.preview-card-v2 {
    display: flex !important;
    flex-direction: column !important;
    padding: 11px 13px !important;
    /* Reduced padding for more text space */
    background: rgba(12, 22, 40, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 28px !important;
    /* Increased border radius */
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26) !important;
}

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

.card-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.card-number.n-1 {
    background: var(--green);
    box-shadow: 0 0 15px rgba(73, 209, 126, 0.4);
}

.card-number.n-2 {
    background: var(--blue);
    box-shadow: 0 0 15px rgba(69, 168, 255, 0.4);
}

.card-number.n-3 {
    background: var(--amber);
    box-shadow: 0 0 15px rgba(255, 212, 119, 0.4);
}

.card-number.n-4 {
    background: #a855f7;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.card-number.n-5 {
    background: var(--red);
    box-shadow: 0 0 15px rgba(255, 156, 156, 0.4);
}

.card-title-group {
    min-width: 0;
    flex: 1;
}

.card-title-group h3 {
    margin: 0 !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-title-group p {
    margin: 2px 0 0 !important;
    font-size: 0.72rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.card-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 12px;
}

.card-visual>img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.card-content-box {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item {
    background: rgba(13, 22, 38, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-icon {
    font-size: 1.25rem;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

/* Specific tints for the icons */
.info-item:first-child .info-icon {
    background: rgba(73, 209, 126, 0.15);
}

.info-item:last-child .info-icon {
    background: rgba(168, 85, 247, 0.12);
}

.info-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.info-text span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.info-text strong {
    font-size: 0.98rem;
    color: #fff;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-text .highlight {
    color: #49d17e;
}

.card-summary-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 10px;
}

.card-summary-text .highlight {
    font-weight: 700;
}

.card-summary-text.c-1 .highlight {
    color: var(--green);
}

.card-summary-text.c-2 .highlight {
    color: var(--blue);
}

.card-summary-text.c-3 .highlight {
    color: var(--amber);
}

.card-summary-text.c-4 .highlight {
    color: #a855f7;
}

.card-summary-text.c-5 .highlight {
    color: var(--red);
}

/* Ensure preview thumbnails also have good radius */
.preview-thumb-grid img {
    border-radius: 12px !important;
}

/* Hide the old preview buttons/links as requested */
.preview-card-v2 .card-footer,
.preview-card-v2 .preview-btn,
.preview-card-v2 .preview-link {
    display: none !important;
}

/* Request Location Box - Premium Design */
.request-location-box {
    margin-top: 32px;
    padding: 24px;
    background: rgba(12, 22, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.request-location-box.highlight {
    display: block !important;
    border-color: #476dff;
    box-shadow: 0 0 40px rgba(71, 109, 255, 0.3);
    animation: highlightPulse 2s infinite alternate;
    margin-bottom: 20px;
}

/* Error Panel Styles */
.error-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 40px;
    animation: fadeIn 0.5s ease-out;
}

.error-card {
    background: rgba(12, 22, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 60px 40px;
    max-width: 500px;
    text-align: center;
    backdrop-filter: blur(12px);
}

.error-illustration {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-illustration svg {
    width: 40px;
    height: 40px;
}

.error-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
}

.error-card p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.error-actions {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    font-size: 0.9rem;
}

@keyframes highlightPulse {
    from {
        transform: translateY(0) scale(1);
        border-color: rgba(71, 109, 255, 0.3);
    }

    to {
        transform: translateY(-4px) scale(1.01);
        border-color: #476dff;
    }
}

.request-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.request-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.request-icon svg {
    width: 24px;
    height: 24px;
}

.request-titles h3 {
    margin: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #fff;
}

.request-titles p {
    margin: 2px 0 0 !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.request-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#request-city-input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

#request-city-input:focus {
    outline: none;
    border-color: var(--blue);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 3px rgba(69, 168, 255, 0.15);
}

#request-city-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.request-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.helper-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.request-btn {
    min-width: 100px;
    height: 44px;
    background: linear-gradient(135deg, rgba(69, 168, 255, 0.4), rgba(41, 158, 205, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.request-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(69, 168, 255, 0.5), rgba(41, 158, 205, 0.7));
    box-shadow: 0 5px 15px rgba(41, 158, 205, 0.3);
}

.request-footer {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.request-footer p {
    margin: 0 !important;
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
}

.footer-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
}

.note-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.footer-note small {
    font-size: 0.75rem;
    font-weight: 400;
}

/* Custom Modern Modal - Premium Design - SAME TO SAME */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #0d1626;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 20px 40px;
    width: 90%;
    max-width: 460px;
    text-align: center;
    transform: translateY(30px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    position: relative;
}

.modal-overlay.visible .modal-content {
    transform: translateY(0) scale(1);
}

.modal-top-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.modal-top-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-illustration-wrap {
    position: relative;
}

.modal-illustration {
    width: 230px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

.modal-emoji-fallback {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: rgba(239, 68, 68, 0.1) !important;
    border-radius: 24px;
    margin: 20px auto;
    color: #ef4444;
}

.modal-emoji-fallback svg {
    width: 40px;
    height: 40px;
}

.transport-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.transport-card:hover {
    border-color: var(--blue);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.transport-card.selected {
    border-color: var(--blue);
    background: rgba(66, 133, 244, 0.15);
    box-shadow: 0 0 20px rgba(66, 133, 244, 0.3);
    transform: translateY(-4px);
}

.transport-card.selected .transport-icon {
    filter: drop-shadow(0 0 8px var(--blue));
}

.live-price-link {
    display: inline-block;
    font-size: 0.65rem;
    color: var(--blue);
    text-decoration: none;
    margin-top: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.live-price-link:hover {
    color: #fff;
    text-decoration: underline;
    opacity: 1;
}

.modal-content h3 {
    font-size: 2rem;
    margin: 0 0 10px;
    color: #fff;
    font-weight: 800;
}

.modal-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 40px;
}

.modal-close-btn {
    width: 100%;
    min-height: 64px;
    background: linear-gradient(to right, #49d17e, #45a8ff);
    border: none;
    border-radius: 99px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(69, 168, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(69, 168, 255, 0.4);
}

.hotels-section h2,
.summary-box h2,
.transport-box h2 {
    margin-bottom: 6px !important;
    font-size: 1.1rem !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Footer Banner Refined Same to Same - Fixed Visibility */
.preview-footer-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 180, 0.15), transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(0, 150, 255, 0.15), transparent 40%),
        linear-gradient(135deg, #071426, #0b1f3a) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    margin-top: 0px;
    margin-bottom: 0;
    min-height: 80px;
    height: auto !important;
    position: relative;
    z-index: 10;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-banner-main {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1 1 auto;
}

.banner-logo-wrap {
    width: 52px;
    height: 52px;
    background: rgba(0, 163, 255, 0.15);
    border: 1.5px solid rgba(0, 163, 255, 0.4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-shield-icon svg {
    width: 34px;
    height: 34px;
    color: #00a3ff;
}

.warning-sign {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
}

.banner-main-text h2 {
    margin: 0 !important;
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1 !important;
}

.banner-main-text .text-blue {
    color: #00a3ff;
}

.banner-main-text .text-green {
    color: #00ff85;
}

.banner-main-text p {
    margin: 4px 0 0 !important;
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-banner-items {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}

.banner-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.banner-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.banner-icon-box svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.5;
}

.bg-green {
    background: linear-gradient(135deg, #00c853, #00e676);
}

.bg-blue {
    background: linear-gradient(135deg, #0091ff, #00b2ff);
}

.bg-emerald {
    background: linear-gradient(135deg, #00bfa5, #1de9b6);
}

.banner-item-copy h4 {
    margin: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #fff;
}

.banner-item-copy p {
    margin: 2px 0 0 !important;
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.banner-v-sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 1100px) {
    .preview-footer-banner {
        flex-direction: column;
        height: auto !important;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-banner-items {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
}
/* Transport Bans Banner - Good Design */
.transport-bans-wrapper {
    margin-top: 15px;
    width: 100%;
}

/* Redundant alert banner styles removed */

/* Box Footer Insights - Good Design to fill space */
.summary-box, .transport-box {
    display: flex;
    flex-direction: column;
    min-height: 280px; /* Consistent height */
}

.summary-split, .transport-box-content {
    flex: 1;
}

.box-footer-insight {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.insight-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 12px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.insight-icon {
    font-style: normal;
    font-size: 0.8rem;
}

.insight-pill span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.insight-pill strong {
    color: var(--blue);
}

.insight-score {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.insight-score span {
    font-size: 0.65rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.insight-score strong {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 900;
    line-height: 1;
}

#value-score {
    color: var(--green);
    text-shadow: 0 0 10px rgba(73, 209, 126, 0.3);
}


/* Transport Bans Banner - Premium Purple Design */
.transport-alert-banner {
    background: rgba(147, 51, 234, 0.04); /* Very subtle purple */
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 18px;
    padding: 16px;
    animation: fadeInSlide 0.4s ease;
    width: 100%;
    box-sizing: border-box;
}

.alert-banner-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #c084fc; /* Bright Purple/Pink */
}

.shield-icon {
    width: 28px;
    height: 28px;
    background: rgba(168, 85, 247, 0.15);
    padding: 8px;
    border-radius: 12px;
    flex-shrink: 0;
}

.alert-banner-header span {
    font-weight: 900;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.alert-banner-body p {
    margin: 0 0 12px 0 !important;
    font-size: 0.88rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.4 !important;
}

.restriction-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.restriction-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.restriction-tag:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
}

.restriction-tag span {
    font-size: 1.1rem;
    line-height: 1;
}

.more-pill {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    cursor: default;
}

