body {

    font-family: Arial;
    padding: 20px;
    background: #f5f5f5;
}

h1 {

    margin-bottom: 30px;
}

.container {

    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card {

    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.title {

    font-size: 18px;
    margin-bottom: 10px;
}

.value {

    font-size: 32px;
    font-weight: bold;
}

.relay-state {

    font-size: 28px;
    font-weight: bold;
}

.on {

    color: green;
}

.off {

    color: red;
}

button {

    padding: 10px 20px;
    font-size: 16px;
    margin-right: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-on {

    background: #4CAF50;
    color: white;
}

.btn-off {

    background: #F44336;
    color: white;
}

#status {

    margin-bottom: 20px;
    font-weight: bold;
}

.graph-card {

    width: 700px;
}

.low {
    background: orange;
    color: black;
    font-weight: bold;
}

.critical {
    background: red;
    color: white;
    font-weight: bold;
}