:root {
    --primary-color: #ff385c;
    --text-dark: #222222;
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.app-container {
    position: relative;
    width: 100%;
    height: 100%;
}

#map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.overlay-header {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    min-width: 280px;
    animation: fadeIn 0.8s ease-out;
}

.glass-panel h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-item .label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.stat-item .value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

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

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

/* Custom Marker Styles */
.custom-pin {
    background: transparent;
    border: none;
}

.pin-marker {
    color: var(--primary-color);
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pin-marker:hover {
    transform: scale(1.2) translateY(-5px);
    color: #ff0f3b;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .overlay-header {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        min-width: 280px;
        max-width: 90%;
        z-index: 2000;
    }

    .glass-panel {
        padding: 15px 20px;
        min-width: auto;
        text-align: center;
        border-radius: 12px;
    }

    .glass-panel h1 {
        font-size: 1.1rem;
        margin-bottom: 5px;
        white-space: nowrap;
        /* Prevent ugly wrapping if possible */
    }

    .stat-item {
        justify-content: center;
        gap: 10px;
    }

    .stat-item .label {
        font-size: 0.9rem;
    }

    .stat-item .value {
        font-size: 1.1rem;
    }
}