:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4cc9f0;
    --text-color: #2b2d42;
    --light-text: #f8f9fa;
    --background: #f8f9fa;
    --card-bg: #ffffff;
    --sidebar-bg: #ffffff;
    --map-bg: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --weather-tint-clear: rgba(255, 222, 89, 0.08);
    --weather-tint-clouds: rgba(158, 168, 179, 0.08);
    --weather-tint-rain: rgba(76, 201, 240, 0.08);
    --weather-tint-thunderstorm: rgba(72, 72, 112, 0.08);
    --weather-tint-snow: rgba(224, 236, 244, 0.08);
    --weather-tint-mist: rgba(200, 200, 200, 0.08);
}

/* Dark theme variables */
[data-theme="dark"] {
    --primary-color: #4cc9f0;
    --secondary-color: #4895ef;
    --accent-color: #4361ee;
    --text-color: #f8f9fa;
    --light-text: #2b2d42;
    --background: #121212;
    --card-bg: #1e1e1e;
    --sidebar-bg: #1e1e1e;
    --map-bg: #2d2d2d;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --transition: none;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body:not([data-theme="dark"])::before {
content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    background: var(--weather-tint);
    transition: background-color 0.5s ease;
}

body:not([data-theme="dark"]) .sidebar,
body:not([data-theme="dark"]) .app-container,
body:not([data-theme="dark"]) .main-content,
body:not([data-theme="dark"]) .card-bg,
body:not([data-theme="dark"]) .city-item,
body:not([data-theme="dark"]) .forecast-day,
body:not([data-theme="dark"]) .detail-item,
body:not([data-theme="dark"]) .info-card {
    background-color: rgba(67, 97, 238, 0.03);
    box-shadow: var(--shadow);
}

.app-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    min-height: 100vh;
    position: relative;
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(67, 97, 238, 0.3);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: var(--card-bg);
    box-shadow: 0 0 15px rgba(67, 97, 238, 0.5);
}

.theme-toggle i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* Sidebar Styles */
.sidebar {
    background-color: var(--sidebar-bg);
    padding: 2rem;
    box-shadow: var(--shadow);
    overflow-y: auto;
    z-index: 10;
    transition: var(--transition);
}

.sidebar-header {
    margin-bottom: 2rem;
}

.app-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0; /* Remove default margin */
}

/* Update search container and dropdown styles */
.search-container {
    position: relative;
    margin-bottom: 1.5rem;
    z-index: 100;
}

#city-search {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(67, 97, 238, 0.1);
    border-radius: var(--border-radius);
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 0.85rem;
}

#city-search:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.1);
}

.search-results {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid rgba(67, 97, 238, 0.1);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 250px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-result-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid rgba(67, 97, 238, 0.05);
}

.location-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
}

.location-detail {
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin-top: 2px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 4px;
}

#geolocation-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

#geolocation-btn:hover {
    color: var(--secondary-color);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: var(--shadow);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    border: 1px solid rgba(0,0,0,0.1);
}

.search-result-item {
    padding: 0.6rem 0.8rem;  /* Reduced padding */
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.search-result-item:last-child {
    border-bottom: none;
}

.location-name {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.85rem;  /* Decreased from default size */
}

.location-detail {
    font-size: 0.75rem;  /* Decreased from 0.8rem */
    color: #666;
    margin-top: 0.1rem;  /* Reduced margin */
}

.search-result-item:hover, 
.search-result-item.highlighted {
    background-color: var(--primary-color);
}

.search-result-item:hover .location-name,
.search-result-item:hover .location-detail,
search-result-item.highlighted .location-name,
search-result-item.highlighted .location-detail {
    color: white;
}

.current-weather {
    margin-bottom: 2rem;
}

.location-info {
    margin-bottom: 1.5rem;
}

.location-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.date {
    color: #666;
    font-size: 0.9rem;
}

.weather-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.temperature {
    display: flex;
    align-items: flex-start;
}

.temperature span {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1;
}

.temp-unit-toggle {
    display: flex;
    margin-left: 0.5rem;
}

.temp-unit-toggle button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.2rem;
}

.temp-unit-toggle button.active {
    color: var(--primary-color);
    font-weight: bold;
}

.weather-icon {
    width: 80px;
    height: 80px;
}

.weather-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    will-change: transform;
}

.weather-description {
    text-transform: capitalize;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.sun-times {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
}

.sun-time {
    display: flex;
    align-items: center;
    color: #666;
}

.sun-time i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.weather-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    will-change: transform;
    box-shadow: var(--shadow);
}

.detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.detail-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--primary-color);
}

.detail-item p:first-of-type {
    font-size: 0.8rem;
    color: #666;
}

.detail-item p:last-of-type {
    font-size: 1.1rem;
    font-weight: 600;
}

.forecast-container {
    margin-bottom: 2rem;
}

.forecast-container h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.forecast-days {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.forecast-day {
    background-color: var(--card-bg);
    padding: 0.8rem 0.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    will-change: transform;
    box-shadow: var(--shadow);
}

.forecast-day:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.forecast-day p:first-child {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.forecast-day i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.forecast-day p:last-child {
    font-size: 1rem;
    font-weight: 600;
}

.global-cities {
    margin-bottom: 2rem;
}

.global-cities h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.city-list {
    display: grid;
    gap: 0.8rem;
}

.city-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    transition: var(--transition);
    will-change: transform;
    box-shadow: var(--shadow);
}

.city-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Main Content Styles */
.main-content {
    padding: 2rem;
    background-color: var(--background);
    overflow-y: auto;
    transition: var(--transition);
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    position: relative;
    transition: var(--transition);
}

#weather-map {
    height: 100%;
    width: 100%;
    background-color: var(--map-bg);
    transition: var(--transition);
}

.leaflet-container {
    background-color: var(--map-bg) !important;
}

.leaflet-control {
    background-color: var(--card-bg) !important;
    color: var(--text-color) !important;
}

.leaflet-bar a {
    color: var(--text-color) !important;
    background-color: var(--card-bg) !important;
    border-bottom: 1px solid var(--background) !important;
}

.leaflet-bar a:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.hourly-forecast {
    margin-bottom: 2rem;
}

.hourly-forecast h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.hourly-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

.hourly-scroll::-webkit-scrollbar {
    height: 8px;
}

.hourly-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.hourly-scroll::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

/* Updated Hourly item styles */
.hourly-item {
    min-width: 80px;
    background: var(--card-bg);
    padding: 1rem 0.5rem;  /* Reverted to original padding */
    border-radius: var(--border-radius);  /* Reverted to original border-radius */
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(67, 97, 238, 0.1);
}

.hourly-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.2);
    border-color: var(--primary-color);
}

.hourly-item p:first-child {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hourly-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.hourly-item p:last-child {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.hourly-item.next-day {
    background: linear-gradient(135deg, var(--card-bg), rgba(67, 97, 238, 0.05));
    border-left: none;
    position: relative;
}

.hourly-item.next-day::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.additional-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.info-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    will-change: transform;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.info-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.uv-meter, .aqi-meter {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    margin-bottom: 1rem;
    position: relative;
    display: flex;
}

.uv-level, .aqi-level {
    height: 100%;
}

.uv-level {
    flex: 1;
}

.uv-level:nth-child(1) {
    background: #a3b18a;
    border-radius: 5px 0 0 5px;
}

.uv-level:nth-child(2) {
    background: #f9c74f;
}

.uv-level:nth-child(3) {
    background: #f8961e;
}

.uv-level:nth-child(4) {
    background: #f3722c;
}

.uv-level:nth-child(5) {
    background: #f94144;
    border-radius: 0 5px 5px 0;
}

.aqi-level {
    flex: 1;
}

.aqi-level:nth-child(1) {
    background: #a7c957;
    border-radius: 5px 0 0 5px;
}

.aqi-level:nth-child(2) {
    background: #f9c74f;
}

.aqi-level:nth-child(3) {
    background: #f8961e;
}

.aqi-level:nth-child(4) {
    background: #f3722c;
}

.aqi-level:nth-child(5) {
    background: #f94144;
}

.aqi-level:nth-child(6) {
    background: #6a040f;
    border-radius: 0 5px 5px 0;
}

.uv-indicator, .aqi-indicator {
    position: absolute;
    top: -5px;
    width: 6px;
    height: 20px;
    background-color: var(--text-color);
    transform: translateX(-50%);
}

.uv-advice, .aqi-advice, .aqi-value {
    font-size: 0.9rem;
    color: #666;
}

.comparison-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 150px;
    margin-bottom: 1.5rem;
    padding-bottom: 40px;
    position: relative;
}

.comparison-bar {
    width: 40%;
    background-color:#4361ee;
    border-radius: 5px 5px 0 0;
    position: relative;
    transition: height 0.5s ease-in-out;
    min-height: 20px;
}

.comparison-bar.yesterday {
    background-color: #666;
}

.comparison-bar span {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.9rem;
    width: 100%;
    color: var(--text-color);
}

.historical-comparison p {
    text-align: center;
    font-size: 0.9rem;
    color:#666;
    margin-top: 0.5rem;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.loading-text {
    font-size: 1.2rem;
    color: white;
    text-align: center;
    max-width: 300px;
}

/* Weather Background */
.weather-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.weather-bg-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.1;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.weather-icon-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Forecast Tabs */
.forecast-tab {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-right: 1rem;
    cursor: pointer;
    padding: 0.3rem 0.7rem;
    border-radius: 8px 8px 0 0;
    transition: background 0.2s;
}
.forecast-tab.active {
    background: var(--card-bg);
    color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(67,97,238,0.07);
}

/* Daily Forecast Scroll */
.daily-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}
.daily-scroll::-webkit-scrollbar {
    height: 8px;
}
.daily-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.daily-scroll::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

/* Daily Forecast Card */
.daily-item {
    min-width: 100px;
    background-color: var(--card-bg);
    padding: 1rem 0.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    will-change: transform;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.daily-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--accent-color) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.daily-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.daily-item:hover::before {
    opacity: 0.1;
}

.daily-item p,
.daily-item i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.daily-item:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.daily-item:hover p:last-child {
    font-weight: 700;
    color: var(--primary-color);
}

/* Detailed Forecast Overlay */
.detailed-forecast-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.detailed-forecast-overlay.active {
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
    visibility: visible;
}

.detailed-forecast {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.detailed-forecast-overlay.active .detailed-forecast {
    transform: scale(1);
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
}

.forecast-details {
    margin-top: 1.5rem;
}

.main-weather {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.large-icon {
    font-size: 4rem;
    color: var(--primary-color);
}

.temp-container .temp {
    font-size: 3rem;
    font-weight: 300;
}

.temp-container .feels-like {
    color: #666;
    margin-top: 0.5rem;
}

.weather-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.info-item {
    text-align: center;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Hourly and Daily item hover effects */
.hourly-item:hover,
.daily-item:hover {
    transform: translateY(-10px) scale(1.05);
    cursor: pointer;
}

/* Feels like temperature style */
.feels-like-temp {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .additional-info {
        grid-template-columns: 1fr 1fr;
    }
    
    .historical-comparison {
        grid-column: span 2;
    }
    
    .forecast-days {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .app-container {
        grid-template-columns: 300px 1fr;
    }
}

@media (max-width: 768px) {
    .app-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
    
    .sidebar {
        padding: 1.5rem;
    }
    
    .main-content {
        padding: 1.5rem;
    }
    
    .additional-info {
        grid-template-columns: 1fr;
    }
    
    .historical-comparison {
        grid-column: span 1;
    }
    
    .weather-details {
        grid-template-columns: 1fr;
    }
    
    .forecast-days {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 576px) {
    .sidebar {
        padding: 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .temperature span {
        font-size: 2.5rem;
    }
    
    .weather-icon {
        width: 60px;
        height: 60px;
    }
    
    .forecast-days {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .theme-toggle {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

.title-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Add these styles at the end of the file */
.marker-popup {
    padding: 5px;
    text-align: center;
}

.marker-popup .temp {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
}

.marker-popup .description {
    text-transform: capitalize;
    color: var(--text-color);
}

.marker-popup .humidity {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9em;
}

#weather-map {
    cursor: pointer;
}

.leaflet-popup-content-wrapper {
    background: var(--card-bg);
    color: var(--text-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.leaflet-popup-tip {
    background: var(--card-bg);
}

[data-theme="dark"] .leaflet-popup-content-wrapper,
[data-theme="dark"] .leaflet-popup-tip {
    background-color: var(--card-bg);
    color: var(--text-color);
}
