#worldMapContainer {
    margin-top: 30px;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden; /* Ensures map corners are rounded */
    box-shadow: var(--shadow);
}

#worldMap .leaflet-popup-content-wrapper {
    background: var(--card);
    color: var(--fg);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

#worldMap .leaflet-popup-content {
    margin: 10px 15px;
    text-align: center;
}

#worldMap .leaflet-popup-tip-container {
    display: none; /* Hide the default popup arrow */
}

#worldMap .map-popup-city {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
}

#worldMap .map-popup-time {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-color);
    font-variant-numeric: tabular-nums;
}

/* --- Pulsing Dot Marker --- */
@keyframes pulse-dot {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    70% {
        transform: scale(2.5);
        opacity: 0;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}


.pulsing-dot-marker {
    position: relative;
    width: 7px; /* Size of the central dot */
    height: 7px;
}

.pulsing-dot-marker::before,
.pulsing-dot-marker::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--accent-color); /* Use your site's accent color */
}

/* Central solid dot */
.pulsing-dot-marker::before {
    z-index: 2;
}

/* Outer pulsing ring */
.pulsing-dot-marker::after {
    z-index: 1;
    animation: pulse-dot 1.5s infinite cubic-bezier(0.215, 0.610, 0.355, 1);
}



.leaflet-touch .leaflet-control-attribution {
	display: none;
}

.leaflet-control-layers {
	display: none;
}

.leaflet-touch .leaflet-bar a:last-child {
    display: none;
}

.leaflet-touch .leaflet-bar a {
    display: none;
}

/* --- City List Styles --- */
.city-list-section {
    margin-top: 40px;
}

.city-list-section h2 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 800;
}

#cityListContainer {
    display: grid;
    /* Create columns that adjust automatically */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.city-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.city-list-item:last-child {
    border-bottom: none; /* Remove border from the last item */
}

.city-list-item .city-name {
    font-weight: 700;
    color: var(--fg);
}

.city-list-item .city-time {
    font-weight: 800;
    font-size: 18px;
    color: var(--accent-color);
    font-variant-numeric: tabular-nums; /* Keeps numbers aligned */
}

* --- User Location Marker (Red) --- */
.user-location-marker {
    position: relative;
    width: 7px; /* Same size as the default */
    height: 7px;
}

.user-location-marker::before,
.user-location-marker::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* Use a red color */
    background-color: #ff4d4d; /* Or your preferred red */
}

/* Central solid red dot */
.user-location-marker::before {
    z-index: 2;
}

/* Outer pulsing red ring */
.user-location-marker::after {
    z-index: 1;
    /* Use the same pulse animation, but the color comes from background-color */
    animation: pulse-dot 1.5s infinite cubic-bezier(0.215, 0.610, 0.355, 1);
}