/* assets/styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f5f5f5;
}

#map {
    border: none;
}

.date-picker-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dropdown-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
    justify-content: center;
    width: 100%;
}

.dropdown-label {
    margin-right: 10px;
    width: 150px;
    text-align: right;
}

.dropdown {
    width: 300px;
}

button#load-button {
    background-color: #636363;
    border: none;
    color: white;
    padding: 10px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button#load-button:hover {
    background-color: #0056b3;
}

.transport-summary {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.transport-summary div {
    text-align: center;
    font-size: 20px;
}

.transport-summary .icon {
    font-size: 40px;
    margin-bottom: 10px;
}

html, body, .main-container, .left-section, .right-section {
    height: 100%;
}

.main-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.left-section {
    width: 100%;
    height: 50%;
    padding: 20px;
    background-color: #f5f5f5;
    overflow-y: auto;  /* Enable vertical scrolling */
}

.right-section {
    width: 100%;
    height: 50%;
    padding: 20px;
    background-color: #f5f5f5;
    overflow-y: auto;  /* Enable vertical scrolling */
}

.header {
    padding: 20px;
    text-align: center;
    background: #343a40;
    color: white;
    font-size: 24px;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table-container {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 20px;
}

.dash-table-container {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dash-table-container .dash-table {
    border-collapse: separate;
}

.dash-table-container .dash-table th,
.dash-table-container .dash-table td {
    border: 1px solid #dee2e6;
    padding: 8px;
    text-align: center; /* Center text inside table cells */
}

.dash-table-container .dash-table th {
    background-color: #636363;
    color: white;
    text-align: center; /* Center text inside table headers */
}

.dash-table-container .dash-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.dash-table-container .dash-table tr:nth-child(odd) {
    background-color: #ffffff;
}

@media screen and (min-width: 768px) {
    .main-container {
        flex-direction: row;
    }

    .left-section, .right-section {
        width: 50%;
        height: 100%;
    }
}
