/* --- Base --- */
body {
    margin: 0;
    font-family: Verdana, Tahoma, sans-serif;
    background-color: #bdd2d3;
}

/* --- Layout --- */
.header, .footer {
    background: #ddf3f6;
    text-align: center;
    padding: 1rem;
}

.container {
    display: flex;
    flex-wrap: wrap;
}

.menu {
    flex: 1 1 220px;
    padding: 1rem;
}

.main {
    flex: 2 1 400px;
    padding: 1rem;
}

.aside {
    flex: 1 1 220px;
    padding: 1rem;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
}

/* --- Menu --- */
.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    background: #ddf3f6;
    margin-bottom: 8px;
    padding: 10px;
}

.menu a {
    text-decoration: none;
    color: #000;
}

.menu li:hover {
    background: #ccc;
}

/* --- Cards --- */
.card {
    background: #ddf3f6;
    padding: 10px;
    margin-bottom: 15px;
}

/* --- Solar --- */
.solar-block {
    background: #111;
    color: #0f0;
    padding: 10px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    margin-bottom: 10px;
}

/* --- Media --- */
img {
    max-width: 100%;
    height: auto;
}

/* --- Links --- */
a {
    color: blue;
}

a:hover {
    text-decoration: underline;
}
html,
body {
    background-color: #d8ecff !important;
    color: #000 !important;
}

.topbar {
    background-color: #005fa3 !important;
    color: #fff !important;
}

.stats {
    background-color: #b8dcff !important;
    color: #000 !important;
}

.section,
.table-container,
.leaderboard {
    background-color: #d8ecff !important;
}

table {
    background-color: #d8ecff !important;
}

th {
    background-color: #005fa3 !important;
    color: #fff !important;
}

td {
    background-color: #eaf6ff !important;
    color: #000 !important;
}

tr:nth-child(even) td {
    background-color: #d6ecff !important;
}

tr.bad td {
    background-color: #ffcccc !important;
    color: #000 !important;
}
.chart-row {
    margin-bottom: 14px;
}

.chart-bg {
    background: #ccc !important;
    width: 100%;
    height: 26px;
    margin-top: 4px;
}

.chart-bar {
    background: #005fa3 !important;
    color: #fff !important;
    height: 26px;
    line-height: 26px;
    padding-left: 6px;
    font-weight: bold;
}
