body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f0f0f0;
}

.container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

h1, h2 { text-align: center; }

.sensor-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.sensor-form input {
    padding: 10px;
    font-size: 16px;
    flex: 1 1 120px;
    min-width: 120px;
}

.sensor-form button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

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

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

table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

table th {
    background-color: #4CAF50;
    color: white;
}

@media (max-width: 600px) {
    .sensor-form { flex-direction: column; align-items: stretch; }
    table th, table td { font-size: 14px; padding: 8px; }
}
