* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #eef7f0;
    color: #173b2a;
}

header {
    background: #14532d;
    color: white;
    text-align: center;
    padding: 25px;
}

header h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

header p {
    font-size: 16px;
}

main {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}

.hero {
    text-align: center;
    margin-bottom: 25px;
}

.hero h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.hero p {
    color: #527060;
}

.prediction-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: end;
    gap: 20px;
    flex-wrap: wrap;
}

.input-group {
    flex: 1;
    min-width: 200px;
}

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

select {
    width: 100%;
    padding: 12px;
    border: 1px solid #b7cdbd;
    border-radius: 8px;
    font-size: 15px;
}

button {
    padding: 13px 25px;
    border: none;
    border-radius: 8px;
    background: #16a34a;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #15803d;
}

.result {
    margin-top: 25px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.hidden {
    display: none;
}

.users {
    margin: 20px 0;
}

.users span {
    display: block;
    font-size: 48px;
    font-weight: bold;
}

.users small {
    color: #64748b;
}

.status {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    margin: 10px;
}

.status.green {
    background: #dcfce7;
    color: #166534;
}

.status.yellow {
    background: #fef9c3;
    color: #854d0e;
}

.status.red {
    background: #fee2e2;
    color: #991b1b;
}

.info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.info-card span {
    font-size: 30px;
}

.info-card h3 {
    margin: 10px 0;
}

.info-card p {
    color: #64748b;
}

footer {
    text-align: center;
    padding: 25px;
    color: #64748b;
}

@media (max-width: 700px) {
    .info {
        grid-template-columns: 1fr;
    }

    .prediction-box {
        flex-direction: column;
        align-items: stretch;
    }
}
.chart-box {
    background: white;
    margin-top: 25px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.chart-box h2 {
    text-align: center;
    margin-bottom: 10px;
}

.chart-box p {
    text-align: center;
    color: #64748b;
    margin-bottom: 25px;
}

#usageChart {
    max-height: 350px;
}

.checkin-box {
    background: white;
    margin-top: 25px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.checkin-box h2 {
    text-align: center;
    margin-bottom: 10px;
}

.checkin-box > p {
    text-align: center;
    color: #64748b;
    margin-bottom: 25px;
}

.checkin-form {
    display: flex;
    gap: 20px;
    align-items: end;
}

.checkin-form .input-group {
    flex: 1;
}

.checkin-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #b7cdbd;
    border-radius: 8px;
    font-size: 15px;
}

.success-message {
    margin-top: 15px;
    text-align: center;
    color: #166534;
    font-weight: bold;
}

@media (max-width: 700px) {
    .checkin-form {
        flex-direction: column;
        align-items: stretch;
    }
}

.accuracy-box {
    background: white;
    margin-top: 25px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.accuracy-box h2 {
    text-align: center;
    margin-bottom: 10px;
}

.accuracy-box > p {
    text-align: center;
    color: #64748b;
    margin-bottom: 25px;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background: #14532d;
    color: white;
}

tr:hover {
    background: #f0fdf4;
}

.accuracy-card {
    background: white;
    margin-top: 25px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 20px;
    text-align: center;
}

.accuracy-icon {
    font-size: 45px;
}

.accuracy-card h2 {
    font-size: 36px;
    margin-bottom: 5px;
}

.accuracy-card p {
    margin-bottom: 5px;
    font-weight: bold;
}

.accuracy-card small {
    color: #64748b;
}
