* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #2c3e50;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 24px;
}

.toggles-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 2px solid #bdc3c7;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ecf0f1;
}

.toggle-item:hover {
    border-color: #3498db;
    background: #d6eaf8;
}

.toggle-label {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    flex: 1;
}

.toggle-switch {
    width: 60px;
    height: 30px;
    background: #95a5a6;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 15px;
}

.toggle-switch.active {
    background: #27ae60;
}

.toggle-handle {
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
    transform: rotate(0deg);
}

.toggle-handle.active {
    left: calc(100% - 28px);
    transform: rotate(180deg);
}

.toggle-state {
    font-size: 14px;
    color: #7f8c8d;
    min-width: 80px;
    text-align: right;
}

.toggle-state.active {
    color: #27ae60;
    font-weight: bold;
}

.controls {
    text-align: center;
    margin-bottom: 20px;
}

.reset-button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.reset-button:hover {
    background: #c0392b;
}

.status-info {
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.4;
}

.status-info strong {
    color: #2c3e50;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    
    .toggle-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .toggle-label {
        text-align: center;
    }
}