body {

    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#fuelLevel {
    font-size: 50px;
    color: green;
}

.login-container {
    width: 100%;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    width: 350px;
    background: white;
    padding: 30px;
    border-radius: 10px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
}

.login-box button {
    width: 100%;
    padding: 12px;
    background: #111827;
    color: white;
    border: none;
    cursor: pointer;
}

.error {
    color: red;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}
form {

    display: flex;

    flex-direction: column;

    gap: 15px;

}

input,
select,
button {

    padding: 12px;

    border-radius: 8px;

    border: 1px solid #ccc;

}

button {

    background: #0f172a;

    color: white;

    border: none;

    cursor: pointer;

}

button:hover {

    opacity: 0.9;

}
.layout {

    display: flex;

    min-height: 100vh;

}

.sidebar {

    width: 250px;

    background: #0f172a;

    color: white;

    padding: 20px;

}

.sidebar ul {

    list-style: none;

    padding: 0;

}

.sidebar li {

    margin: 20px 0;

    cursor: pointer;

}

.main-content {

    flex: 1;

    padding: 20px;

    background: #f5f7fa;

}

.card-grid {

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;

    margin-bottom: 20px;

}

.alert-card {

    background: #fff4e5;

    padding: 15px;

    border-radius: 10px;

    margin-bottom: 10px;

}
.critical {

    background: #fee2e2;

    color: #b91c1c;

    padding: 6px 10px;

    border-radius: 6px;

}

.warning {

    background: #fef3c7;

    color: #92400e;

    padding: 6px 10px;

    border-radius: 6px;

}

table button {

    background: #0f172a;

    color: white;

    border: none;

    padding: 8px 12px;

    border-radius: 6px;

    cursor: pointer;

}
.chart-grid {

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(400px, 1fr));

    gap: 20px;

    margin-bottom: 20px;

}

canvas {

    width: 100% !important;

    max-height: 350px;

}