body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
}

header {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    min-width: 240px;
}

header h1 {
    margin: 0;
    font-size: 1.5em;
}

header p {
    margin: 5px 0 0;
    font-size: 0.9em;
}

.mapboxgl-popup {
    max-width: 250px;
}

.mapboxgl-popup-content {
    text-align: left;
    font-family: "Helvetica Neue", Arial, sans-serif;
    padding: 15px;
    border-radius: 8px;
}

.mapboxgl-popup-content h3 {
    margin: 0 0 5px;
    font-size: 1.1em;
    color: #005a8d;
}

.mapboxgl-popup-content p {
    margin: 0;
    font-size: 0.9em;
}

.popup-date {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.map-overlay {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2;
}

.style-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: #007cbf;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.style-toggle-btn:hover {
    transform: scale(1.05);
}

.radio-group {
    position: absolute;
    bottom: 60px;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group.hidden {
    display: none;
}

.radio-group label {
    font-size: 0.9em;
    font-weight: bold;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-group input[type="radio"]:checked + label {
    background-color: #007cbf;
    color: white;
}

@keyframes expand-options {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.map-overlay-top-right {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.language-options {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.language-options.hidden {
    display: none;
}

.lang-btn {
    border: none;
    background-color: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.lang-btn:hover {
    transform: scale(1.1);
}

.lang-btn.active {
    border-color: #007cbf;
}

.lang-flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}