/* Ensure map fills the screen */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#map-container {
    /* Height is 100% minus the navbar height */
    height: calc(100vh - 56px); 
    width: 100%;
}

#map {
    height: 100%;
    width: 100%;
    z-index: 1;
}

/* Leaflet Popup Customization */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
}
.leaflet-popup-content {
    font-size: 14px;
}
.leaflet-popup-content strong {
    color: #333;
    font-size: 16px;
}

/* --- Floating Action Buttons (FAB) --- */
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    margin-top: 10px;
}
.fab-main:hover {
    transform: scale(1.05);
}

.fab-options {
    display: none; /* Hidden by default */
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.fab-option {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    cursor: pointer;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.2s ease-out;
}

.fab-container.open .fab-options {
    display: flex;
}

/* Staggered animation for options */
.fab-container.open .fab-option {
    opacity: 1;
    transform: translateY(0);
}
.fab-container.open .fab-option:nth-child(1) {
    transition-delay: 0.1s;
}
.fab-container.open .fab-option:nth-child(2) {
    transition-delay: 0.05s;
}

.fab-container.open #report-fab i {
    transform: rotate(45deg);
    transition: transform 0.2s ease-in-out;
}

#report-fab i {
    transition: transform 0.2s ease-in-out;
}