/* ══════════════════════════════════════
   VEYA iMAP™ — Full Styles
   ══════════════════════════════════════ */

/* Hide navbar/footer on map page for full-screen experience */
.map-page .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1100; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 1px 8px rgba(0,0,0,0.08); }
.map-page footer { display: none; }
.map-page main { padding: 0; margin: 0; }
.map-page .veya-float { display: none; }
.map-page .alert { display: none; }
.map-page .container.mt-2 { display: none; }

/* ── Container ── */
.vmap-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    padding-top: 60px; /* navbar height */
    position: relative;
    overflow: hidden;
}

/* ── Sidebar ── */
.vmap-sidebar {
    width: 340px;
    min-width: 340px;
    height: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
    z-index: 500;
}
.vmap-sidebar.hidden {
    transform: translateX(-100%);
    opacity: 0;
    min-width: 0;
    width: 0;
    border: none;
}

/* RTL sidebar */
[dir="rtl"] .vmap-sidebar {
    border-right: none;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
}
[dir="rtl"] .vmap-sidebar.hidden {
    transform: translateX(100%);
}

.vmap-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}
.vmap-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.vmap-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
}
.vmap-sidebar-brand h2 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #E8654A;
    margin: 0;
    line-height: 1.2;
    font-family: 'DM Sans', sans-serif !important;
    direction: ltr;
    unicode-bidi: isolate;
}
.vmap-count {
    font-size: 0.72rem;
    color: #999;
}
.vmap-sidebar-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.vmap-sidebar-close:hover {
    background: rgba(0,0,0,0.1);
}

/* ── Search ── */
.vmap-search {
    display: flex;
    gap: 0;
    padding: 12px 16px;
    flex-shrink: 0;
}
.vmap-search input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px 0 0 10px;
    font-size: 0.85rem;
    outline: none;
    background: #f8fafc;
    transition: border-color 0.2s;
}
[dir="rtl"] .vmap-search input {
    border-radius: 0 10px 10px 0;
}
.vmap-search input:focus {
    border-color: #E8654A;
    background: #fff;
}
.vmap-search button {
    padding: 10px 14px;
    border: 1px solid #E8654A;
    border-left: none;
    background: #E8654A;
    color: #fff;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}
[dir="rtl"] .vmap-search button {
    border-radius: 10px 0 0 10px;
    border-left: 1px solid #E8654A;
    border-right: none;
}
.vmap-search button:hover {
    background: #d4533a;
}

/* ── City select ── */
.vmap-cities-bar {
    padding: 0 16px 8px;
    flex-shrink: 0;
}
.vmap-city-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.8rem;
    background: #f8fafc;
    color: inherit;
    cursor: pointer;
    outline: none;
}
.vmap-city-select:focus { border-color: #E8654A; }

/* ── Section labels ── */
.vmap-section-label {
    padding: 8px 16px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    flex-shrink: 0;
}

/* ── Category filters ── */
.vmap-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 16px 8px;
    max-height: 120px;
    overflow-y: auto;
    flex-shrink: 0;
}
.vmap-filter-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    font-size: 0.72rem;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    white-space: nowrap;
    background: #fff;
}
.vmap-filter-pill:hover {
    border-color: #E8654A;
    box-shadow: 0 0 0 2px rgba(232, 101, 74, 0.1);
}
.vmap-filter-pill input { display: none; }
.vmap-filter-pill.active {
    background: #E8654A;
    color: #fff;
    border-color: #E8654A;
}
.vmap-filter-icon { font-size: 0.85rem; }
.vmap-filter-text { font-weight: 500; }

/* ── Mood orbs ── */
.vmap-moods {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 16px 8px;
    flex-shrink: 0;
}
.vmap-mood-orb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 8px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 52px;
}
.vmap-mood-orb:hover {
    border-color: #E8654A;
    transform: translateY(-1px);
}
.vmap-mood-orb.active {
    background: linear-gradient(135deg, #fff5f3, #ffe8e3);
    border-color: #E8654A;
    box-shadow: 0 2px 8px rgba(232, 101, 74, 0.2);
}
.vmap-mood-icon { font-size: 1.1rem; }
.vmap-mood-label { font-size: 0.6rem; font-weight: 600; color: #777; }

/* ── Layer toggles ── */
.vmap-layers {
    display: flex;
    gap: 12px;
    padding: 8px 16px;
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    flex-shrink: 0;
}
.vmap-layer-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    cursor: pointer;
    user-select: none;
    color: #666;
}
.vmap-layer-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #E8654A;
}
.vmap-layer-icon { font-size: 0.9rem; }

/* ── Place list ── */
.vmap-places {
    flex: 1;
    overflow-y: auto;
    padding: 8px 12px;
}
.vmap-places::-webkit-scrollbar { width: 4px; }
.vmap-places::-webkit-scrollbar-track { background: transparent; }
.vmap-places::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.vmap-places-count {
    font-size: 0.78rem;
    font-weight: 600;
    color: #888;
    padding: 4px 6px 8px;
}
.vmap-places-empty {
    text-align: center;
    padding: 30px 16px;
    color: #bbb;
    font-size: 0.85rem;
}

.vmap-place-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 4px;
}
.vmap-place-card:hover {
    background: rgba(232, 101, 74, 0.06);
    transform: translateX(2px);
}
[dir="rtl"] .vmap-place-card:hover {
    transform: translateX(-2px);
}
.vmap-place-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}
.vmap-place-info {
    flex: 1;
    min-width: 0;
}
.vmap-place-info strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}
.vmap-place-info small {
    display: block;
    font-size: 0.7rem;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Map area ── */
.vmap-map {
    flex: 1;
    height: 100%;
    position: relative;
    z-index: 400;
}

/* ── Map controls ── */
/* Controls — opposite side of sidebar, below zoom buttons */
.vmap-controls {
    position: absolute;
    top: 160px;
    right: 10px;
    left: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 800;
}
[dir="rtl"] .vmap-controls {
    right: auto;
    left: 10px;
}
.vmap-ctrl-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.15s;
}
.vmap-ctrl-btn:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    color: #E8654A;
}
.vmap-ctrl-btn.active {
    background: #E8654A;
    color: #fff;
}

/* ── Watermark ── */
.vmap-watermark {
    position: fixed;
    bottom: 8px;
    right: 60px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(232, 101, 74, 0.25);
    z-index: 600;
    pointer-events: none;
    user-select: none;
    font-family: 'DM Sans', sans-serif !important;
    direction: ltr;
    unicode-bidi: isolate;
}
[dir="rtl"] .vmap-watermark {
    right: auto;
    left: 60px;
}

/* ── Custom markers ── */
.vmap-marker {
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
    line-height: 1;
}
.vmap-marker > * {
    transform: rotate(45deg);
}
.vmap-marker:hover {
    transform: rotate(-45deg) scale(1.15);
}
.vmap-marker-inner {
    transform: rotate(45deg);
    font-size: 14px;
    line-height: 1;
}

/* ── Cluster icons ── */
.vmap-cluster {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 2px 8px rgba(232, 101, 74, 0.4);
}
.vmap-cluster-small {
    width: 36px;
    height: 36px;
    background: rgba(232, 101, 74, 0.8);
}
.vmap-cluster-medium {
    width: 44px;
    height: 44px;
    background: rgba(232, 101, 74, 0.9);
    font-size: 14px;
}
.vmap-cluster-large {
    width: 52px;
    height: 52px;
    background: rgba(200, 60, 40, 0.95);
    font-size: 15px;
}

/* ── Popup card ── */
.vmap-popup .leaflet-popup-content-wrapper {
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.vmap-popup .leaflet-popup-content {
    margin: 0;
    width: 260px !important;
}
.vmap-popup .leaflet-popup-tip {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.vmap-popup-content { }
.vmap-popup-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}
.vmap-popup-body {
    padding: 12px 14px;
}
.vmap-popup-body h3 {
    font-size: 0.92rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #222;
    line-height: 1.3;
}
.vmap-popup-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.72rem;
    color: #888;
    margin-bottom: 6px;
}
.vmap-popup-rating {
    font-size: 0.82rem;
    font-weight: 600;
    color: #E8654A;
    margin-bottom: 6px;
}
.vmap-popup-rating small {
    color: #bbb;
    font-weight: 400;
}
.vmap-popup-badges {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}
.vmap-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 0.7rem;
}
.vmap-badge.featured { background: #fef3c7; }
.vmap-badge.gem { background: #ede9fe; }
.vmap-badge.verified { background: #d1fae5; color: #059669; font-weight: 700; }

.vmap-popup-actions {
    display: flex;
    gap: 6px;
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
}
.vmap-popup-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 0.82rem;
    text-decoration: none;
    color: #555;
    transition: all 0.2s;
}
.vmap-popup-btn:hover {
    background: #E8654A;
    color: #fff;
}

/* ── Mobile bottom sheet ── */
.vmap-sheet-handle {
    display: none;
}

/* ── Dark mode ── */
.vmap-dark .vmap-sidebar {
    background: rgba(30, 30, 35, 0.97);
    border-color: rgba(255, 255, 255, 0.06);
}
.vmap-dark .vmap-sidebar-brand h2 { color: #F5A08A; }
.vmap-dark .vmap-count { color: #777; }
.vmap-dark .vmap-sidebar-close { background: rgba(255,255,255,0.08); color: #aaa; }
.vmap-dark .vmap-search input { background: #2a2a30; border-color: #3a3a40; color: #eee; }
.vmap-dark .vmap-search input:focus { border-color: #E8654A; background: #333; }
.vmap-dark .vmap-city-select { background: #2a2a30; border-color: #3a3a40; color: #eee; }
.vmap-dark .vmap-section-label { color: #666; }
.vmap-dark .vmap-filter-pill { background: #2a2a30; border-color: #3a3a40; color: #ccc; }
.vmap-dark .vmap-filter-pill.active { background: #E8654A; color: #fff; border-color: #E8654A; }
.vmap-dark .vmap-mood-orb { background: #2a2a30; border-color: #3a3a40; }
.vmap-dark .vmap-mood-label { color: #888; }
.vmap-dark .vmap-layer-toggle { color: #aaa; }
.vmap-dark .vmap-layers { border-color: rgba(255,255,255,0.06); }
.vmap-dark .vmap-place-card:hover { background: rgba(232, 101, 74, 0.1); }
.vmap-dark .vmap-place-info strong { color: #eee; }

/* Lightning strike animation */
.vmap-lightning-strike {
    animation: lightningFlash 0.3s ease-out;
}
@keyframes lightningFlash {
    0% { opacity: 0; transform: scale(3); }
    50% { opacity: 1; transform: scale(1.5); }
    100% { opacity: 0.9; transform: scale(1); }
}
.vmap-dark .vmap-place-info small { color: #777; }
.vmap-dark .vmap-ctrl-btn { background: rgba(40, 40, 45, 0.95); color: #ccc; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
.vmap-dark .vmap-ctrl-btn:hover { background: #3a3a40; color: #E8654A; }
.vmap-dark .vmap-watermark { color: rgba(232, 101, 74, 0.15); }
.vmap-dark .vmap-popup .leaflet-popup-content-wrapper { background: #2a2a30; }
.vmap-dark .vmap-popup-body h3 { color: #eee; }
.vmap-dark .vmap-popup-meta { color: #888; }
.vmap-dark .vmap-popup-actions { border-color: #3a3a40; }
.vmap-dark .vmap-popup-btn { background: #333; color: #ccc; }
.vmap-dark .vmap-popup-btn:hover { background: #E8654A; color: #fff; }
.vmap-dark .vmap-places-empty { color: #555; }

/* Satellite mode */
.vmap-satellite .vmap-ctrl-btn { background: rgba(0,0,0,0.6); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.vmap-satellite .vmap-ctrl-btn:hover { background: rgba(0,0,0,0.8); color: #E8654A; }
.vmap-satellite .vmap-ctrl-btn.active { background: rgba(232, 101, 74, 0.8); color: #fff; }
.vmap-satellite .vmap-watermark { color: rgba(255,255,255,0.2); }
.vmap-satellite .vmap-sidebar { background: rgba(10,15,30,0.92); backdrop-filter: blur(10px); }
.vmap-satellite .vmap-sidebar-brand h2 { color: #F5A08A; }
.vmap-satellite .vmap-search input { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: #eee; }
.vmap-satellite .vmap-filter-pill { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1); color: #ccc; }
.vmap-satellite .vmap-filter-pill.active { background: #E8654A; color: #fff; }
.vmap-satellite .vmap-place-info strong { color: #eee; }
.vmap-satellite .vmap-place-info small { color: #999; }
.vmap-satellite .leaflet-control-zoom a { background: rgba(0,0,0,0.6); color: #fff; }
.vmap-satellite .leaflet-control-zoom a:hover { background: rgba(0,0,0,0.8); }

/* ── 3D Explore View ── */
.veya-3d-explore {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9998; background: #000; display: none;
}
.v3d-explore-controls {
    position: absolute; top: 0; left: 0; right: 0;
    pointer-events: none; z-index: 10;
}
.v3d-explore-top {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 100%);
    pointer-events: auto;
}
.v3d-explore-top .v3d-title {
    color: #fff; font-size: 0.85rem; font-weight: 700;
    font-family: 'DM Sans', sans-serif; flex: 1;
}
.v3d-explore-top .v3d-btn {
    width: 40px; height: 40px; border-radius: 50%;
    border: none; background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px); color: #fff;
    font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.v3d-explore-top .v3d-exit { background: rgba(239,68,68,0.3); }
.v3d-explore-top .v3d-exit:hover { background: rgba(239,68,68,0.6); }

/* ── Click Popup with OSM POIs ── */
.vmap-click-popup { min-width: 220px; }
.vmap-click-nav {
    width: 100%; padding: 9px; background: #E8654A; color: #fff;
    border: none; border-radius: 8px; cursor: pointer;
    font-family: inherit; font-size: 0.8rem; font-weight: 600;
    margin-bottom: 6px;
}
.vmap-click-nav:hover { background: #d44a2e; }
.vmap-click-weather {
    width: 100%; padding: 6px; background: #1e3a5f; color: #fff;
    border: none; border-radius: 8px; cursor: pointer;
    font-family: inherit; font-size: 0.75rem; margin-bottom: 8px;
}
.vmap-click-weather:hover { background: #2a4f7f; }
.vmap-click-loading {
    font-size: 0.75rem; color: #999; text-align: center; padding: 8px 0;
}
.vmap-click-coords { font-size: 0.65rem; color: #999; text-align: center; margin-top: 4px; }

.vmap-osm-item {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 6px; border-radius: 8px; cursor: pointer;
    transition: background 0.15s;
}
.vmap-osm-item:hover { background: rgba(232, 101, 74, 0.08); }
.vmap-osm-icon { font-size: 1.2rem; flex-shrink: 0; width: 28px; text-align: center; }
.vmap-osm-info { flex: 1; min-width: 0; }
.vmap-osm-info strong { display: block; font-size: 0.78rem; line-height: 1.3; color: #333; }
.vmap-osm-info small { font-size: 0.65rem; color: #999; }
.vmap-osm-go { color: #E8654A; font-size: 0.8rem; flex-shrink: 0; }

.vmap-dark .vmap-osm-info strong { color: #eee; }
.vmap-dark .vmap-osm-item:hover { background: rgba(232, 101, 74, 0.15); }
.vmap-satellite .vmap-osm-info strong { color: #eee; }

/* ── Dynamic OSM POI markers ── */
.vpoi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    pointer-events: auto;
    cursor: pointer;
}
.vpoi-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    border: 2px solid #fff;
    transition: transform 0.15s;
}
.vpoi-dot:hover { transform: scale(1.2); }
.vpoi-icon { font-size: 13px; line-height: 1; }
.vpoi-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: #333;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 1px 0 2px #fff, -1px 0 2px #fff, 0 1px 2px #fff, 0 -1px 2px #fff;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
}
.vmap-satellite .vpoi-label {
    color: #fff;
    text-shadow: 0 0 4px #000, 0 0 4px #000, 1px 1px 3px #000;
}
.vmap-dark .vpoi-label {
    color: #ddd;
    text-shadow: 0 0 3px #000, 0 0 3px #000;
}
.vmap-satellite .vpoi-dot { border-color: rgba(255,255,255,0.6); }

/* ── POI Popup ── */
.vpoi-popup { min-width: 200px; }
.vpoi-popup-top {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 0 0 8px; margin-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    padding-left: 10px;
}
.vpoi-popup-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.vpoi-popup-titles { flex: 1; min-width: 0; }
.vpoi-popup-titles strong {
    display: block; font-size: 0.88rem; line-height: 1.3;
    color: #222; margin-bottom: 2px;
}
.vpoi-popup-brand { display: block; font-size: 0.7rem; color: #888; }
.vpoi-popup-type { display: block; font-size: 0.7rem; color: #E8654A; font-weight: 600; }

.vpoi-popup-details { margin-bottom: 8px; }
.vpoi-popup-row {
    display: flex; align-items: flex-start; gap: 6px;
    font-size: 0.75rem; color: #555;
    padding: 3px 0; line-height: 1.4;
}
.vpoi-popup-row-icon { flex-shrink: 0; width: 18px; text-align: center; font-size: 0.8rem; }
.vpoi-popup-row a { color: #E8654A; text-decoration: none; }
.vpoi-popup-row a:hover { text-decoration: underline; }

.vpoi-popup-coords {
    font-size: 0.6rem; color: #bbb; text-align: center;
    margin-bottom: 8px; font-family: monospace;
}

.vpoi-popup-actions { display: flex; gap: 6px; }
.vpoi-popup-btn {
    flex: 1; padding: 8px 6px;
    border: none; border-radius: 8px; cursor: pointer;
    font-family: inherit; font-size: 0.75rem; font-weight: 600;
    text-align: center; text-decoration: none;
    display: flex; align-items: center; justify-content: center; gap: 4px;
}
.vpoi-popup-btn-nav { background: #E8654A; color: #fff; }
.vpoi-popup-btn-nav:hover { background: #d44a2e; }
.vpoi-popup-btn-call { background: #27ae60; color: #fff; }
.vpoi-popup-btn-call:hover { background: #219a52; }

/* ── Loading spinner ── */
.vmap-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 700;
    display: none;
}
.vmap-loading.show { display: block; }
.vmap-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(232, 101, 74, 0.2);
    border-top-color: #E8654A;
    border-radius: 50%;
    animation: vmap-spin 0.7s linear infinite;
}
@keyframes vmap-spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════
   RESPONSIVE — Mobile bottom sheet
   ══════════════════════════════════════ */
@media (max-width: 768px) {
    .vmap-container {
        flex-direction: column;
        padding-top: 56px;
    }

    .vmap-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100% !important;
        min-width: 100% !important;
        height: 65vh;
        max-height: 65vh;
        border-radius: 20px 20px 0 0;
        border-right: none !important;
        border-left: none !important;
        border-top: 1px solid rgba(0,0,0,0.08);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(calc(100% - 0px));
        z-index: 900;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .vmap-sidebar.show-mobile {
        transform: translateY(0);
    }
    .vmap-sidebar.hidden {
        transform: translateY(100%);
        opacity: 1;
        width: 100% !important;
        min-width: 100% !important;
    }

    .vmap-sheet-handle {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 850;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 10px 16px 14px;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
        cursor: pointer;
    }
    .vmap-sheet-bar {
        width: 40px;
        height: 4px;
        background: #ddd;
        border-radius: 2px;
    }
    .vmap-sheet-label {
        font-size: 0.72rem;
        font-weight: 600;
        color: #888;
    }

    .vmap-dark .vmap-sheet-handle {
        background: rgba(30, 30, 35, 0.95);
    }
    .vmap-dark .vmap-sheet-bar { background: #555; }
    .vmap-dark .vmap-sheet-label { color: #777; }

    .vmap-map {
        width: 100%;
        height: 100%;
    }

    .vmap-controls {
        top: 150px;
        right: 10px;
        left: auto;
        gap: 4px;
    }
    [dir="rtl"] .vmap-controls {
        right: auto;
        left: 10px;
    }
    .vmap-ctrl-btn {
        width: 34px;
        height: 34px;
    }

    .vmap-ctrl-menu { display: none; }

    .vmap-sidebar-close { display: none; }

    .vmap-watermark {
        bottom: 52px;
        right: 10px;
    }
    [dir="rtl"] .vmap-watermark {
        right: auto;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .vmap-filters {
        max-height: 80px;
    }
    .vmap-moods {
        gap: 4px;
    }
    .vmap-mood-orb {
        min-width: 44px;
        padding: 4px 6px;
    }
}

/* ── Leaflet overrides ── */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    border-radius: 10px !important;
    overflow: hidden;
}
.leaflet-control-zoom a {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #555 !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 16px !important;
    border: none !important;
    transition: all 0.2s;
}
.leaflet-control-zoom a:hover {
    background: #E8654A !important;
    color: #fff !important;
}
.vmap-dark .leaflet-control-zoom a {
    background: rgba(40, 40, 45, 0.95) !important;
    color: #ccc !important;
}
.vmap-dark .leaflet-control-zoom a:hover {
    background: #E8654A !important;
    color: #fff !important;
}

/* User location pulsing circle */
@keyframes vmap-pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(2.5); opacity: 0; }
}
.vmap-user-pulse {
    animation: vmap-pulse 2s ease-out infinite;
}

/* ═══════════════════════════════════════
   VEYA iMAP™ Navigation Panel
   ═══════════════════════════════════════ */
/* Navigation Panel — OPPOSITE side of sidebar, independent, collapsible */
/* LTR: sidebar=left → nav panel=RIGHT. RTL: sidebar=right → nav panel=LEFT */
.vnav-panel {
    display: none; /* shown by JS */
    position: fixed;
    right: 12px;
    left: auto;
    top: 80px;
    width: 360px;
    max-height: calc(100vh - 100px);
    z-index: 900;
    pointer-events: auto;
}
[dir="rtl"] .vnav-panel { right: auto; left: 12px; }

.vnav-inner {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 100px);
}

/* Collapsed state: only header visible */
.vnav-panel.vnav-collapsed .vnav-body { display: none; }
.vnav-panel.vnav-collapsed .vnav-inner { max-height: auto; }

.vnav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border-light, #e2e8f0);
    flex-shrink: 0;
}
.vnav-brand { font-weight: 700; font-size: 0.85rem; color: var(--deep-ocean, #1e3a5f); font-family: 'DM Sans', sans-serif !important; direction: ltr; unicode-bidi: isolate; }
.vnav-collapse-btn, .vnav-close-btn {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    color: var(--text-light, #888);
    transition: background 0.15s;
}
.vnav-collapse-btn:hover, .vnav-close-btn:hover { background: var(--soft-cream, #fef7f4); }
.vnav-close-btn { color: var(--sunset-coral, #E8654A); }

.vnav-body {
    overflow-y: auto;
    flex: 1;
    padding-bottom: 8px;
}

.vnav-endpoints { padding: 16px; background: var(--soft-cream, #fef7f4); border-radius: 12px; margin: 12px 16px; }
.vnav-point { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 0.85rem; }
.vnav-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.vnav-dot.blue { background: #3b82f6; }
.vnav-dot.red { background: #E8654A; }
.vnav-line { width: 2px; height: 20px; background: var(--border-color, #ccc); margin-left: 4px; margin-inline-start: 4px; }

.vnav-pick-btn {
    background: none;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}
.vnav-pick-btn:hover { background: var(--soft-cream, #fef7f4); border-color: var(--sunset-coral, #E8654A); }
.vmap-dark .vnav-pick-btn { border-color: #334155; color: #e2e8f0; }
.vmap-dark .vnav-pick-btn:hover { background: #1e293b; }

.vnav-modes { display: flex; gap: 6px; padding: 0 16px; margin-bottom: 12px; }
.vnav-mode { flex: 1; padding: 10px 8px; border: 1px solid var(--border-light, #e2e8f0); border-radius: 10px; background: #fff; font-size: 0.78rem; cursor: pointer; text-align: center; transition: all 0.2s; font-family: inherit; }
.vnav-mode:hover { border-color: var(--sunset-coral, #E8654A); }
.vnav-mode.active { background: var(--sunset-coral, #E8654A); color: #fff; border-color: var(--sunset-coral, #E8654A); }

.vnav-summary { display: flex; gap: 16px; padding: 14px 16px; background: var(--deep-ocean, #1e3a5f); color: #fff; border-radius: 12px; margin: 0 16px 12px; font-size: 0.85rem; }
.vnav-summary .vnav-stat { text-align: center; flex: 1; }
.vnav-summary .vnav-stat-value { font-size: 1.3rem; font-weight: 800; }
.vnav-summary .vnav-stat-label { font-size: 0.65rem; opacity: 0.6; margin-top: 2px; }

.vnav-weather { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(59,130,246,0.06); border-radius: 10px; margin: 0 16px 12px; font-size: 0.8rem; }
.vnav-weather-icon { font-size: 1.5rem; }
.vnav-weather-temp { font-weight: 700; font-size: 1.1rem; }

.vnav-directions { padding: 0 16px 16px; }
.vnav-step { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-light, #e2e8f0); cursor: pointer; transition: background 0.15s; border-radius: 6px; }
.vnav-step:hover { background: var(--soft-cream, #fef7f4); }
.vnav-step-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--soft-cream, #fef7f4); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.vnav-step-text { flex: 1; font-size: 0.82rem; line-height: 1.5; }
.vnav-step-dist { font-size: 0.7rem; color: var(--text-lighter, #999); margin-top: 2px; }

.vnav-warnings { padding: 0 16px 12px; }
.vnav-warning { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; font-size: 0.78rem; margin-bottom: 6px; }
.vnav-warning.speed { background: rgba(245,176,65,0.1); color: #b8860b; }
.vnav-warning.construction { background: rgba(232,101,74,0.1); color: #c0392b; }
.vnav-warning.prayer { background: rgba(107,142,35,0.1); color: #556b2f; }

.vnav-actions { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border-light, #e2e8f0); }
.vnav-actions button { flex: 1; padding: 10px; border: 1px solid var(--border-light, #e2e8f0); border-radius: 10px; background: #fff; font-size: 0.78rem; cursor: pointer; text-align: center; font-family: inherit; transition: all 0.2s; }
.vnav-actions button:hover { border-color: var(--sunset-coral, #E8654A); color: var(--sunset-coral, #E8654A); }
.vnav-sos { padding: 10px 16px; background: #dc2626; color: #fff; border-radius: 10px; font-size: 0.78rem; text-decoration: none; text-align: center; font-weight: 600; }

/* Cloud circles — soft blur for realistic look */
.vmap-cloud-circle { filter: blur(8px); pointer-events: none; }

.vnav-start-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
.vnav-start-btn:hover { background: linear-gradient(135deg, #16a34a, #15803d); box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4); }
.vnav-start-btn:active { transform: scale(0.98); }
.vnav-start-btn.navigating { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3); }

/* ═══ 3D Navigation View ═══ */
.vnav-3d-active {
    perspective: 800px;
    perspective-origin: center 75%;
    overflow: hidden;
}

.vnav-3d-active .leaflet-map-pane {
    transform-origin: center center;
    transform: rotateX(45deg);
    transition: transform 0.5s ease;
}

/* Scale up tiles in 3D to fill gaps */
.vnav-3d-active .leaflet-tile-pane {
    transform: scale(1.1);
    transform-origin: center center;
}

/* Hide controls during 3D navigation */
.vnav-3d-active .leaflet-control-zoom {
    opacity: 0.3;
}

/* Make car marker bigger in 3D */
.vnav-3d-active .vnav-car-dot .vnav-car-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.6);
}

.vnav-3d-active .vnav-car-dot::before {
    width: 50px;
    height: 50px;
}

/* Speed indicator during navigation */
.vnav-3d-speed {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1100;
    backdrop-filter: blur(8px);
    display: none;
}

/* Car navigation marker */
.vnav-car-dot {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.vnav-car-dot::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(66, 133, 244, 0.15);
    animation: carPulse 2s ease infinite;
}
.vnav-car-arrow {
    width: 28px;
    height: 28px;
    background: #4285f4;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.4);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

@keyframes carPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.6); opacity: 0; }
}

/* Active step highlight */
.vnav-step-active {
    background: rgba(232, 101, 74, 0.08) !important;
    border-inline-start: 3px solid #E8654A;
    padding-inline-start: 9px;
}
.vnav-step-active .vnav-step-icon {
    background: #E8654A !important;
    color: #fff;
}

.vnav-loading { text-align: center; padding: 40px; color: var(--text-lighter, #999); }

/* Dark mode — Navigation */
.vmap-dark .vnav-inner { background: #0f172a; }
.vmap-dark .vnav-header { background: #0f172a; border-color: #334155; }
.vmap-dark .vnav-brand { color: #e2e8f0; }
.vmap-dark .vnav-collapse-btn, .vmap-dark .vnav-close-btn { color: #94a3b8; }
.vmap-dark .vnav-endpoints { background: #1e293b; }
.vmap-dark .vnav-point { color: #e2e8f0; }
.vmap-dark .vnav-mode { background: #1e293b; border-color: #334155; color: #e2e8f0; }
.vmap-dark .vnav-mode.active { background: var(--sunset-coral, #E8654A); color: #fff; }
.vmap-dark .vnav-step { border-color: #334155; }
.vmap-dark .vnav-step:hover { background: #1e293b; }
.vmap-dark .vnav-step-text { color: #e2e8f0; }
.vmap-dark .vnav-actions button { background: #1e293b; border-color: #334155; color: #e2e8f0; }
.vmap-dark .vnav-weather { background: rgba(59,130,246,0.1); color: #e2e8f0; }
.vmap-dark .vnav-loading { color: #666; }

/* Mobile — Navigation as bottom sheet */
@media (max-width: 768px) {
    .vnav-panel {
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        bottom: 0;
        width: 100%;
        max-height: 55vh;
    }
    .vnav-inner { border-radius: 20px 20px 0 0; max-height: 55vh; }
}

/* Tablet — narrower panel */
@media (min-width: 769px) and (max-width: 1024px) {
    .vnav-panel { width: 300px; }
}

/* Route polyline — hide default LRM panel */
.leaflet-routing-container { display: none !important; }

/* ═══ Place Detail Panel ═══ */
.vmap-detail-panel {
    position: fixed;
    right: 12px;
    left: auto;
    top: 80px;
    width: 380px;
    max-height: calc(100vh - 100px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    overflow: hidden;
    z-index: 950;
}
[dir="rtl"] .vmap-detail-panel { right: auto; left: 12px; }

.vdetail-loading { text-align: center; padding: 60px 20px; color: #999; }
.vdetail-spinner { width: 32px; height: 32px; border: 3px solid #eee; border-top-color: #E8654A; border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

.vdetail-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #f0f0f0; position: sticky; top: 0; background: #fff; z-index: 2; }
.vdetail-title { font-weight: 700; font-size: 0.85rem; color: #1e3a5f; }
.vdetail-close { background: none; border: none; font-size: 1.1rem; cursor: pointer; color: #E8654A; padding: 4px 8px; border-radius: 6px; }
.vdetail-close:hover { background: #fef7f4; }

.vdetail-body { overflow-y: auto; max-height: calc(100vh - 160px); }

.vdetail-hero { height: 180px; overflow: hidden; position: relative; }
.vdetail-hero img { width: 100%; height: 100%; object-fit: cover; }
.vdetail-hero-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #1e3a5f, #2c5a7c); display: flex; align-items: center; justify-content: center; font-size: 4rem; }

.vdetail-section { padding: 16px; }
.vdetail-name { font-size: 1.15rem; margin-bottom: 4px; color: #1a1a2e; }
.vdetail-cat { font-size: 0.8rem; color: #888; margin-bottom: 6px; }
.vdetail-rating { font-size: 0.85rem; margin-bottom: 8px; }
.vdetail-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.vdetail-badge { padding: 3px 10px; border-radius: 20px; font-size: 0.68rem; background: #fef7f4; color: #E8654A; font-weight: 600; }

.vdetail-info { padding: 0 16px 12px; }
.vdetail-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 0.82rem; }
.vdetail-row a { color: #3b82f6; text-decoration: none; }

.vdetail-weather { display: flex; align-items: center; gap: 10px; padding: 10px 16px; margin: 0 16px 12px; background: rgba(59,130,246,0.05); border-radius: 10px; font-size: 0.82rem; }
.vdetail-weather-icon { font-size: 1.4rem; }
.vdetail-weather-temp { font-weight: 700; font-size: 1.1rem; }

.vdetail-desc { padding: 0 16px 12px; font-size: 0.82rem; line-height: 1.7; color: #555; }

.vdetail-actions { display: flex; gap: 6px; padding: 12px 16px; flex-wrap: wrap; }
.vdetail-btn { flex: 1; min-width: 80px; padding: 10px 8px; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 0.75rem; text-align: center; cursor: pointer; text-decoration: none; font-family: inherit; transition: all 0.15s; background: #fff; color: #333; }
.vdetail-btn:hover { border-color: #E8654A; color: #E8654A; }
.vdetail-btn-nav { background: #E8654A; color: #fff; border-color: #E8654A; }
.vdetail-btn-nav:hover { background: #d4553d; color: #fff; }
.vdetail-btn-veya { background: #1e3a5f; color: #fff; border-color: #1e3a5f; }
.vdetail-btn-veya:hover { background: #2c5a7c; color: #fff; }

.vdetail-nearby { padding: 0 16px 16px; }
.vdetail-nearby h4 { font-size: 0.85rem; margin-bottom: 10px; color: #1e3a5f; }
.vdetail-nearby-item { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 10px; cursor: pointer; transition: background 0.15s; }
.vdetail-nearby-item:hover { background: #fef7f4; }
.vdetail-nearby-icon { width: 36px; height: 36px; border-radius: 10px; background: #f0f4f8; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.vdetail-nearby-info { flex: 1; }
.vdetail-nearby-info strong { font-size: 0.82rem; display: block; }
.vdetail-nearby-info small { font-size: 0.7rem; color: #999; }
.vdetail-nearby-rating { font-size: 0.75rem; color: #666; }

/* Popup — "Show Details" button */
.vmap-popup-btn-detail { width: 100%; padding: 8px; background: #1e3a5f; color: #fff; border: none; border-radius: 8px; font-size: 0.78rem; cursor: pointer; font-family: inherit; font-weight: 600; transition: background 0.15s; margin-bottom: 6px; }
.vmap-popup-btn-detail:hover { background: #2c5a7c; }

/* Popup — image placeholder */
.vmap-popup-img-placeholder { width: 100%; height: 100px; background: linear-gradient(135deg, #1e3a5f, #2c5a7c); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }

/* Dark mode — Detail Panel */
.vmap-dark .vmap-detail-panel { background: #0f172a; }
.vmap-dark .vdetail-header { background: #0f172a; border-color: #334155; }
.vmap-dark .vdetail-title { color: #e2e8f0; }
.vmap-dark .vdetail-name { color: #e2e8f0; }
.vmap-dark .vdetail-cat { color: #94a3b8; }
.vmap-dark .vdetail-row { border-color: #1e293b; color: #e2e8f0; }
.vmap-dark .vdetail-desc { color: #94a3b8; }
.vmap-dark .vdetail-nearby-item:hover { background: #1e293b; }
.vmap-dark .vdetail-nearby-info strong { color: #e2e8f0; }
.vmap-dark .vdetail-btn { background: #1e293b; border-color: #334155; color: #e2e8f0; }
.vmap-dark .vmap-popup-btn-detail { background: #E8654A; }

/* Mobile — Detail Panel */
@media (max-width: 768px) {
    .vmap-detail-panel {
        left: 0 !important; right: 0 !important;
        top: auto !important; bottom: 0;
        width: 100%; max-height: 60vh;
        border-radius: 20px 20px 0 0;
    }
}

/* Rain animation button */
.vmap-rain-animate.animating { background: #E8654A; color: #fff; border-color: #E8654A; }

/* ═══ Weather Detail Popup ═══ */
.vmap-weather-popup .leaflet-popup-content { margin: 0; padding: 0; width: 280px !important; }

.vweather-detail { font-size: 0.82rem; }

.vweather-header { display: flex; align-items: center; gap: 14px; padding: 16px; background: linear-gradient(135deg, #1e3a5f, #2c5a7c); color: #fff; border-radius: 0; }
.vweather-big-icon { font-size: 2.5rem; }
.vweather-big-temp { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.vweather-desc { font-size: 0.78rem; opacity: 0.8; margin-top: 2px; }

.vweather-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; border-bottom: 1px solid #f0f0f0; font-size: 0.8rem; }
.vweather-precip { background: rgba(59,130,246,0.05); }
.vweather-warning { background: rgba(245,176,65,0.1); color: #b8860b; font-weight: 600; }

.vweather-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: center; border-bottom: 1px solid #f0f0f0; }
.vweather-cell { padding: 12px 4px; font-size: 0.75rem; line-height: 1.4; border-inline-end: 1px solid #f0f0f0; }
.vweather-cell:last-child { border-inline-end: none; }
.vweather-cell small { color: #999; font-size: 0.65rem; }

.vweather-forecast { padding: 10px 16px; }
.vweather-forecast-title { font-size: 0.72rem; font-weight: 600; color: #1e3a5f; margin-bottom: 8px; }
.vweather-forecast-row { display: flex; gap: 4px; overflow-x: auto; }
.vweather-forecast-cell { flex: 0 0 auto; text-align: center; padding: 6px 8px; border-radius: 8px; background: #f8f9fa; min-width: 48px; }
.vweather-fh-time { font-size: 0.65rem; color: #888; }
.vweather-fh-temp { font-size: 0.78rem; font-weight: 700; }
.vweather-fh-rain { font-size: 0.6rem; color: #3b82f6; }

.vweather-source { padding: 8px 16px; font-size: 0.6rem; color: #bbb; text-align: center; }

/* Dark mode weather */
.vmap-dark .vweather-row { border-color: #334155; color: #e2e8f0; }
.vmap-dark .vweather-grid { border-color: #334155; }
.vmap-dark .vweather-cell { border-color: #334155; }
.vmap-dark .vweather-cell small { color: #666; }
.vmap-dark .vweather-forecast-cell { background: #1e293b; }
.vmap-dark .vweather-forecast-title { color: #e2e8f0; }
