* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; scroll-behavior: smooth; }
body { background: #f4f6f9; color: #333; }

/* Landing Page Flexbox Style */
.navbar { display: flex; justify-content: space-between; align-items: center; background: #1e3c72; padding: 15px 5%; color: white; position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.navbar .logo { font-size: 22px; font-weight: bold; }
.navbar .menu a { color: white; text-decoration: none; margin-left: 20px; font-weight: 500; padding: 6px 12px; border-radius: 4px; transition: 0.3s; }
.navbar .menu a:hover { background: rgba(255,255,255,0.2); color: #ff9f43; }

.hero { text-align: center; padding: 150px 20px 100px 20px; background: linear-gradient(135deg, #1e3c72, #2a5298); color: white; }
.hero h1 { font-size: 45px; margin-bottom: 15px; }
.section-container { max-width: 1100px; margin: 50px auto; padding: 40px; background: white; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.section-container h2 { color: #1e3c72; margin-bottom: 20px; border-bottom: 3px solid #ff9f43; padding-bottom: 5px; width: fit-content; }
footer { background: #112240; color: #a8b2d1; text-align: center; padding: 20px; font-size: 14px; margin-top: 50px; }

/* Grid Dashboard Stat */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { padding: 20px; border-radius: 8px; color: white; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

/* Auth Layout Split SCREEN */
.auth-container { display: flex; min-height: 100vh; padding-top: 70px; }
.auth-info-side { flex: 1; background: linear-gradient(135deg, #1e3c72, #2a5298); color: white; display: flex; flex-direction: column; justify-content: center; padding: 60px; }
.auth-form-side { width: 450px; background: white; display: flex; flex-direction: column; justify-content: center; padding: 50px; box-shadow: -5px 0 15px rgba(0,0,0,0.05); }

/* Standard UI Dashboard */
.wrapper { display: flex; min-height: 100vh; }
.sidebar { width: 260px; background: #1e3c72; color: white; padding: 20px; flex-shrink: 0; }
.sidebar h3 { text-align: center; margin-bottom: 5px; font-size: 20px; color: #ff9f43; }
.sidebar .role-badge { text-align: center; font-size: 11px; background: rgba(255,255,255,0.1); padding: 3px 8px; border-radius: 10px; display: block; width: fit-content; margin: 5px auto 20px auto; }
.sidebar a { display: block; color: #cbd5e1; text-decoration: none; padding: 12px 15px; border-radius: 4px; margin-bottom: 6px; font-size: 15px; transition: 0.2s; }
.sidebar a:hover, .sidebar a.active { background: #ff9f43; color: white; font-weight: bold; }
.sidebar a.logout { background: #e74c3c; color: white; margin-top: 40px; }

.content { flex: 1; padding: 40px; overflow-y: auto; }
.content h2 { color: #1e3c72; margin-bottom: 25px; padding-bottom: 10px; border-bottom: 2px solid #ddd; }
.card { background: white; padding: 25px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); margin-bottom: 30px; }

/* Tables & Forms */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 15px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 15px; }
.form-group label { font-size: 14px; font-weight: bold; margin-bottom: 6px; color: #444; }
.form-group input, .form-group select { padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; }
table { width: 100%; border-collapse: collapse; margin-top: 15px; background: white; }
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #ddd; font-size: 14px; }
th { background: #2a5298; color: white; font-weight: 600; }
tr:hover { background: #f8f9fa; }

/* Buttons Buttons */
.btn { padding: 10px 18px; border: none; border-radius: 4px; color: white; text-decoration: none; cursor: pointer; font-size: 14px; display: inline-block; font-weight: bold; text-align: center; }
.btn-primary { background: #1e3c72; } .btn-success { background: #2ecc71; } .btn-danger { background: #e74c3c; } .btn-warning { background: #f1c40f; color: #333; }
.btn:hover { opacity: 0.9; }
.alert { padding: 15px; margin-bottom: 25px; border-radius: 4px; font-weight: bold; }
.alert-danger { background: #f8d7da; color: #721c24; } .alert-success { background: #d4edda; color: #155724; }