:root {
    --primary: #007bff;
    --bg: #f4f7f6;
    --white: #ffffff;
    --text: #333;
}

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--bg); margin: 0; color: var(--text); }
nav { background: var(--primary); color: white; padding: 1rem; display: flex; justify-content: space-between; align-items: center; }
nav button { background: none; border: none; color: white; cursor: pointer; font-size: 1rem; margin-left: 10px; }

.container { max-width: 800px; margin: 20px auto; padding: 20px; }

/* Auth */
.auth-box { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); max-width: 400px; margin: 0 auto; }
input, select, textarea { width: 100%; padding: 10px; margin: 10px 0; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box;}
button { padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; }
.btn-primary, button[type="submit"] { background-color: var(--primary); color: white; width: 100%; font-size: 1.1rem; }

/* Dashboard Cards */
.card { background: white; padding: 15px; margin-bottom: 15px; border-radius: 8px; border-left: 5px solid var(--primary); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.card img { max-width: 100%; border-radius: 4px; margin-top: 10px; height: 200px; object-fit: cover; }
.badge { background: #e1ecf4; color: #007bff; padding: 4px 8px; border-radius: 12px; font-size: 0.8rem; }

/* Toggles & Tabs */
.tabs, .tabs-sub { display: flex; gap: 10px; margin-bottom: 20px; }
.tabs button { flex: 1; background: #ddd; color: #333; }
.tabs button.active { background: var(--primary); color: white; }

/* Switch Toggle */
.switch { position: relative; display: inline-block; width: 60px; height: 34px; vertical-align: middle; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; }
.slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: .4s; }
input:checked + .slider { background-color: #2196F3; }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

/* Modal */
.modal { display: none; position: fixed; z-index: 100; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); }
.modal-content { background-color: #fefefe; margin: 15% auto; padding: 20px; border: 1px solid #888; width: 300px; text-align: center; border-radius: 8px; }
.disclaimer-box { background: #fff3cd; padding: 10px; font-size: 0.8rem; margin: 10px 0; border: 1px solid #ffeeba; }