/* Full-page map styling - no scrolling allowed */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden; /* Prevent scrolling */
}

/* Fixed header styling */
#header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 80px;
}

/* Map container - takes remaining space below header */
#map-container {
    position: fixed;
    top: 80px; /* Same as header height */
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
}

/* Map fills its container */
#map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

/* Logo styling */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

/* Back button styles */
.back-button {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    cursor: pointer;
    border: none;
    padding: 0;
    z-index: 1000;
}

.back-button svg {
    width: 20px;
    height: 20px;
}

.back-button:hover {
    background: #f0f0f0;
}

/* Incident popup styles */
.incident-popup {
    max-width: 400px;
    display: flex;
    gap: 15px;
}

.incident-text {
    flex: 1;
    min-width: 0;
}

.incident-image {
    flex: 1;
    max-width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.incident-popup h3 {
    margin-top: 0;
    color: #2c3e50;
}

.incident-popup img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.incident-detail {
    margin: 8px 0;
}

.detail-label {
    font-weight: bold;
    color: #2c3e50;
}

/* Hide menu completely */
#menu {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #header {
        height: 50px;
        padding: 10px;
    }
    
    #map-container {
        top: 50px;
    }
    
    .back-button {
        width: 36px;
        height: 36px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .incident-popup {
        flex-direction: column;
        max-width: 280px;
    }
    
    .incident-image {
        max-width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .back-button {
        width: 32px;
        height: 32px;
        left: 10px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
}

.evidence-label {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}