/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* 10% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Split-screen layout */
#split-container {
    display: flex;
    width: 100%;
    height: calc(100vh - 100px); /* Fill space between top/bottom bars */
}

#left-panel {
    width: 50%;
    height: 100%;
    overflow-y: auto;
    background-color: var(--primary-bg);
    padding: 2rem;
    box-sizing: border-box;
}

#right-panel {
    width: 50%;
    height: 100%;
}

#cesiumContainer {
    width: 100%;
    height: 100%;
}

/* Remove padding from content divs as it's now on the parent */
#dashboard-content,
#analytics-content,
#reports-content,
#settings-content,
#summary-content,
#help-content {
    padding: 0 !important; /* Override dashboard.css */
}