body {
    font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin:20px;
    color:#000;
    background: #f5f5f5;
    transition: background 0.3s, color 0.3s;
}
body.dark {
    background: #121212;
    color: #edf2f7;
}
h1, h3 {
    color: #3182ce;
    margin-bottom: 10px;
}
body.dark h1,body.dark h3 {
    color: #90cdf4;
}
.container {
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 5px #0003;
    margin-bottom: 20px;
    transition: background 0.3s;
}
body.dark .container {
    background: #1a202c;
    box-shadow: 0 2px 5px #0009;
}
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); 
    gap: 20px;
    margin-bottom: 20px;
}
.card {
    padding: 20px;
    border-radius: 10px;
    background: #edf2f7;
    box-shadow: 0 2px 5px #0003;
    transition: transform 0.3s;
    text-align: center;
}
body.dark .card {
    background: #2d3748;
    color: #edf2f7;
    box-shadow: 0 2px 5px #0009;
}
.card:hover {
    transform: translateY(-5px);
}
.card h4 {
    margin-bottom: 10px;
    color: #3182ce;
}
body.dark .card h4 {
    color: #90cdf4;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
th,td {
    border: 1px solid #3182ce;
    padding: 8px;
    text-align: center;
    cursor: pointer;
}
th {
    background: #edf2f7;
}
body.dark th {
    background: #2d3748;
    color: #edf2f7;
}
body.dark td {
    background: #1a202c;
    color: #edf2f7;
}
button {
    margin-bottom: 20px;
    padding: 10px 20px;
    background: #3182ce;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}
button:hover {
    background: #2c5282;
}
input[type=date],
input[type=text] {
    padding: 6px;
    margin-bottom: 20px;
    margin-right: 10px;
}
body.dark input[type=date],
body.dark input[type=text] {
    background: #2d3748;
    color: #edf2f7;
    border: 1px solid #edf2f7;
}
.badge {
    padding: 3px 6px;
    border-radius: 4px;
    color: #ffffff;
    font-weight: bold;
}
.badge.red { background: #e53e3e }
.badge.green { background: #38a169 }
@media (max-width: 768px) {
    .dashboard-cards {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    table, th, td {
        font-size: 12px;
    }
    button {
        width: 100%;
        margin-bottom: 10px;
    }
}
.temp-high {
    color: #e53e3e;  /* red text */
    font-weight: bold;
}

