/* Profit Map Styling - Simplified Layout */

/* Ensure the map fills its container properly */
#map {
    background-color: #f8f9fa;
}

/* Style the year selection buttons */
.btn-group-vertical .btn-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

/* Ensure proper spacing in vertical button group */
.btn-group-vertical .btn {
    border-radius: 0.375rem !important;
    margin-bottom: 2px;
}

.btn-group-vertical .btn:last-child {
    margin-bottom: 0;
}

/* Legend image styling */
.card-body img {
    max-width: 100%;
    height: auto;
}

/* Disclaimer toggle button styling */
#disclaimer_btn {
    font-weight: 500;
}

#disclaimer_btn:hover {
    text-decoration: underline !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .col-md-9, .col-md-3 {
        margin-bottom: 1rem;
    }
    
    #map {
        height: 400px !important;
    }
}