/* Dark theme and styling */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #bb86fc;
}

.buttons {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.button {
    background-color: #1e1e1e;
    border: 1px solid #bb86fc;
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    text-align: center;
    text-decoration: none;
    color: #e0e0e0;
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button:hover {
    background-color: #2d2d2d;
    transform: scale(1.05);
}

.button i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #bb86fc;
}

.button .label {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.button .power, .button .usage {
    font-size: 14px;
    margin: 5px 0;
    font-weight: bold;
}

.time-range-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.time-range-buttons button {
    background-color: #1e1e1e;
    color: #e0e0e0;
    border: 1px solid #bb86fc;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.time-range-buttons button:hover {
    background-color: #bb86fc;
    color: #121212;
}

.chart-container {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    height: 500px;
}