* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.sidebar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.province-info {
    text-align: left;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#province-name {
    font-size: 32px;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#province-counter {
    font-size: 16px;
    color: #7f8c8d;
    font-weight: 500;
    padding: 5px 10px;
    background: rgba(44, 62, 80, 0.1);
    border-radius: 15px;
    display: inline-block;
}

.navigation {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.nav-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 20px;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
    z-index: 2;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        bottom: 0;
        top: auto;
        padding: 10px;
        background: rgba(255, 255, 255, 0.98);
    }

    .navigation {
        flex-direction: row;
        justify-content: center;
    }

    #province-name {
        font-size: 24px;
    }

    #province-counter {
        font-size: 14px;
    }
} 