body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f4f4f4;
}

.container {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

input {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px;
    border: none;
    background-color: #28a745;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

p {
    margin-top: 10px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.dashboard-links {
    position: relative;
}

.dashboard-links a {
    display: block;
    margin: 10px 0;
    padding: 10px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}

.dashboard-links a:hover {
    background-color: #0056b3;
}

.notification-button {
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    cursor: pointer;
}

.notification-button::after {
    content: "!";
    display: block;
    font-weight: bold;
}

.sensor-data {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sensor {
    margin: 10px 0;
    width: 100%;
    max-width: 300px;
}

.sensor-label {
    display: flex;
    justify-content: space-between;
}

.sensor-bar {
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    height: 20px;
    margin-top: 5px;
    position: relative;
}

.sensor-bar-inner {
    height: 100%;
    background: #28a745;
    width: 0;
    transition: width 0.5s;
}

.harvest-readiness {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.harvest-readiness input {
    margin-left: 10px;
}

@media (max-width: 600px) {
    .container {
        width: 90%;
    }

    .sensor-data p {
        width: 100%;
    }
}

.chart-container {
    position: relative;
    margin: 20px auto;
    width: 100%;
    max-width: 600px;
}
