/* ====== GENERAL PAGE ====== */
body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    color: #333;
}

/* ====== HEADER ====== */
h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #222;
}

/* ====== DROPDOWN CONTAINER ====== */
.dropdown-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 25px;
}

.dash-dropdown {
    min-width: 180px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: border-color 0.3s;
}

.dash-dropdown:hover {
    border-color: #007bff;
}

/* ====== CHART GRID LAYOUT ====== */
.chart-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 30px;
}

.half-chart {
    flex: 1 1 400px;
    min-width: 300px;
    max-width: 600px;
    background-color: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
}

.half-chart:hover {
    transform: scale(1.02);
}

/* ====== FULL-WIDTH CHART ====== */
.full-chart {
    width: 100%;
    background-color: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

/* ====== TABS ====== */
.tab {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 6px;
    border-radius: 8px;
    background-color: #ffffff;
    cursor: pointer;
    font-weight: 500;
    border: 1px solid #ddd;
    transition: background-color 0.3s, color 0.3s;
}

.tab:hover {
    background-color: #f0f0f0;
}

.tab--selected {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* ====== TABLES ====== */
.dash-table {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 15px;
    overflow-x: auto;
}

/* ====== FOOTER OR ADDITIONAL NOTES ====== */
.footer-note {
    text-align: center;
    margin-top: 30px;
    color: #888;
    font-size: 0.9rem;
}

/* ====== DASH DATATABLE STYLING ====== */
.dash-table-container .dash-spreadsheet-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.dash-table-container .dash-spreadsheet-inner table {
    border-collapse: collapse;
    width: 100%;
}

.dash-table-container .dash-spreadsheet-container .dash-table {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    border-radius: 0;
}

/* HEADER */
.dash-table-container .dash-header {
    background-color: #007bff;
    color: white;
    font-weight: 600;
    text-align: center;
}

/* CELLS */
.dash-table-container .dash-cell {
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
}

/* STRIPED ROWS */
.dash-table-container .dash-spreadsheet-container .dash-table .dash-cell {
    background-color: #fff;
}

.dash-table-container .dash-spreadsheet-container .dash-table .row-odd .dash-cell {
    background-color: #f9f9f9;
}

/* HOVER EFFECT */
.dash-table-container .dash-cell:hover {
    background-color: #eef6ff !important;
    transition: background-color 0.2s;
}

/* SORT ICON OVERRIDE (OPTIONAL) */
.dash-table-container .dash-header .column-header--sort {
    color: #fff;
}

/* PAGINATION + NAVIGATION */
.dash-table-container .previous-next-container {
    padding: 10px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    border-radius: 0 0 12px 12px;
    text-align: right;
}
