body { font-family: 'Segoe UI', Arial, sans-serif; margin: 0; background: #f0f2f5; display: flex; height: 100vh; }
.sidebar { width: 240px; background: #002b49; color: white; padding: 20px 0; }
.sidebar h2 { font-size: 1.1rem; padding: 0 20px; color: #00a8ff; text-transform: uppercase; margin-bottom: 15px; }
.sidebar a { display: block; color: #d0dbe5; padding: 12px 20px; text-decoration: none; font-size: 0.95rem; }
.sidebar a:hover, .sidebar a.active { background: #003f6b; color: white; border-left: 4px solid #00a8ff; }
.main-content { flex: 1; padding: 30px; overflow-y: auto; }
.card { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); margin-bottom: 25px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
.btn { background: #0084ff; color: white; padding: 10px 18px; border: none; border-radius: 4px; cursor: pointer; font-weight: 600; }
table { width: 100%; border-collapse: collapse; margin-top: 15px; }
table, th, td { border: 1px solid #e1e4e8; padding: 10px; text-align: left; }
th { background: #f8f9fa; }
.thumb { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; }

/* Utilities */
.login-body { justify-content: center; align-items: center; }
.login-card { width: 100%; max-width: 340px; margin: auto; }
.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.form-row { display: flex; gap: 15px; }
.form-col { flex: 1; }

/* Responsive */
@media (max-width: 768px) {
    body { flex-direction: column; height: auto; }
    .login-body { height: 100vh; }
    .sidebar { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; padding: 10px; box-sizing: border-box; }
    .sidebar h2 { width: 100%; text-align: center; margin-bottom: 10px; padding: 0; }
    .sidebar a { flex: 1 1 auto; text-align: center; padding: 8px; border-left: none; border-bottom: 2px solid transparent; font-size: 0.85rem; }
    .sidebar a:hover, .sidebar a.active { border-left: none; border-bottom: 2px solid #00a8ff; }
    .main-content { padding: 15px; }
    .grid-cards { grid-template-columns: 1fr 1fr; }
    table { display: block; overflow-x: auto; white-space: nowrap; }
    .form-row { flex-direction: column; gap: 0; }
}

@media (max-width: 480px) {
    .grid-cards { grid-template-columns: 1fr; }
}