body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f4f6f9;
    margin: 0;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

h2, h3 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
}

form {
    text-align: center;
    margin-bottom: 20px;
}

input[type="text"], input[type="password"] {
    width: 80%;
    max-width: 350px;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
}

button {
    padding: 10px 18px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s ease;
}

button:hover {
    background: #005fcc;
}

.table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

table th {
    background: #007bff;
    color: white;
    padding: 10px;
    font-weight: 500;
    text-align: center;
}

table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.status-on {
    color: #28a745;
    font-weight: 600;
}

.status-off {
    color: #dc3545;
    font-weight: 600;
}

.toggle-btn {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
}

.toggle-on {
    background: #dc3545 !important;
}

.toggle-off {
    background: #28a745 !important;
}

.search-bar {
    width: 80%;
    max-width: 350px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #aaa;
    margin-bottom: 10px;
}
