@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --navy-dark: #0f172a;
    --navy-light: #1e293b;
    --orange: #ea580c;
    --yellow: #eab308;
    --bg-gray: #f3f4f6;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border: #e5e7eb;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-gray);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

a { text-decoration: none; color: inherit; }

/* ================= LOGIN PAGE ================= */
.login-body {
    background-color: var(--navy-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.login-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    text-align: center;
}
.login-logo { width: 80px; margin-bottom: 15px; }
.login-card h1 { margin: 0 0 5px; font-size: 24px; color: var(--navy-dark); }
.login-card p { margin: 0 0 15px; font-size: 13px; color: var(--text-muted); }
.badge-yellow { background: var(--yellow); color: #000; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: bold; display: inline-block; margin-bottom: 25px; }

.input-group { text-align: left; margin-bottom: 20px; }
.input-group label { display: block; font-size: 14px; font-weight: bold; margin-bottom: 8px; color: var(--navy-dark); }
.input-wrapper { display: flex; border: 1px solid #93c5fd; border-radius: 6px; overflow: hidden; background: #eff6ff; }
.input-wrapper i { padding: 12px 15px; color: var(--navy-dark); background: #f8fafc; border-right: 1px solid #93c5fd; }
.input-wrapper input { border: none; padding: 12px; width: 100%; background: transparent; outline: none; font-size: 14px; }

.btn-orange { background: var(--orange); color: white; border: none; padding: 12px; width: 100%; border-radius: 6px; font-size: 15px; font-weight: bold; cursor: pointer; transition: 0.2s; }
.btn-orange:hover { background: #c2410c; }

.demo-box { margin-top: 30px; border: 1px solid var(--border); border-radius: 6px; padding: 15px; text-align: left; font-size: 12px; color: var(--text-muted); }
.demo-box h4 { margin: 0 0 10px; text-align: center; font-weight: normal; }

/* ================= EDUWEB LAYOUT ================= */
.edu-topbar { background: #111827; color: #9ca3af; font-size: 11px; padding: 5px 20px; display: flex; justify-content: space-between; align-items: center; }
.edu-topbar b { color: #d1d5db; }
.edu-topbar .right { display: flex; gap: 15px; }

.edu-navbar { background: #ffffff; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); box-shadow: 0 2px 4px rgba(0,0,0,0.05); z-index: 10; }
.nav-brand { display: flex; align-items: center; gap: 15px; }
.nav-brand img { width: 35px; }
.nav-titles { line-height: 1.2; }
.nav-titles .title { font-size: 11px; font-weight: bold; color: var(--orange); }
.nav-titles .subtitle { font-size: 16px; font-weight: 900; color: var(--navy-dark); }
.nav-titles .subtitle span { font-weight: normal; font-size: 13px; color: var(--text-muted); }

.nav-actions { display: flex; align-items: center; gap: 15px; }
.school-dropdown { background: #f9fafb; border: 1px solid var(--border); padding: 6px 12px; border-radius: 4px; font-size: 13px; font-weight: bold; color: var(--navy-dark); display: flex; align-items: center; gap: 8px;}
.school-dropdown i { color: var(--yellow); }
.role-badge { background: #dc2626; color: white; padding: 6px 12px; border-radius: 4px; font-size: 12px; font-weight: bold; display: flex; align-items: center; gap: 6px; }
.notif-bell { background: transparent; border: 1px solid var(--border); padding: 6px 10px; border-radius: 4px; color: var(--text-muted); cursor: pointer; }

.edu-wrapper { display: flex; flex: 1; overflow: hidden; }

/* ================= SIDEBAR ================= */
.edu-sidebar { width: 250px; background: var(--navy-dark); color: #94a3b8; display: flex; flex-direction: column; overflow-y: auto; }
.sidebar-profile { padding: 20px; border-bottom: 1px solid var(--navy-light); }
.profile-flex { display: flex; gap: 15px; align-items: center; }
.avatar { background: var(--orange); color: white; width: 45px; height: 45px; display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 18px; border-radius: 6px; }
.prof-info { line-height: 1.3; }
.prof-name { color: white; font-size: 13px; font-weight: bold; }
.prof-nip { font-size: 10px; margin-top: 4px; }
.binaan-box { margin-top: 15px; }
.binaan-box small { font-size: 10px; }
.cert-badge { background: var(--yellow); color: black; font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: bold; float: right; }
.binaan-name { color: white; font-weight: bold; font-size: 13px; margin-top: 5px; }

.sidebar-menu { padding: 15px 0; }
.menu-label { font-size: 10px; font-weight: bold; text-transform: uppercase; padding: 10px 20px; letter-spacing: 0.5px; }
.sidebar-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 20px; font-size: 13px; color: #cbd5e1; transition: 0.2s; }
.sidebar-menu a i { width: 16px; text-align: center; }
.sidebar-menu a:hover, .sidebar-menu a.active { background: var(--navy-light); color: white; border-left: 3px solid var(--orange); }
.menu-badge { background: #334155; color: white; font-size: 10px; padding: 2px 6px; border-radius: 4px; margin-left: auto; }
.menu-badge.orange { background: var(--orange); }

/* ================= MAIN CONTENT ================= */
.edu-content { flex: 1; overflow-y: auto; padding: 20px 30px; }
.breadcrumb-bar { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-bottom: 15px; }
.breadcrumb-bar b { color: var(--text-main); }
.server-status { color: #16a34a; font-weight: bold; }
.server-status::before { content: '●'; margin-right: 5px; }

.alert-banner { background: #ffedd5; border: 1px solid #fdba74; padding: 12px 20px; border-radius: 6px; display: flex; align-items: center; gap: 15px; font-size: 13px; margin-bottom: 20px; }
.alert-banner i { color: var(--orange); font-size: 18px; }
.alert-banner .right-text { margin-left: auto; color: var(--text-muted); text-align: right; }

.dark-hero { background: var(--navy-dark); border-radius: 10px; padding: 25px; color: white; margin-bottom: 25px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.hero-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.hero-head h4 { color: #94a3b8; font-size: 11px; margin: 0 0 5px; text-transform: uppercase; letter-spacing: 1px; }
.hero-head h1 { margin: 0 0 5px; font-size: 28px; display: flex; align-items: center; gap: 15px; }
.hero-head p { margin: 0; font-size: 12px; color: #cbd5e1; }
.hero-head .sma-badge { background: var(--yellow); color: black; font-size: 12px; padding: 4px 10px; border-radius: 4px; font-weight: bold; }
.hero-actions { display: flex; align-items: center; gap: 10px; }
.status-text { text-align: right; font-size: 10px; color: #94a3b8; }
.status-text b { display: block; color: var(--yellow); font-size: 12px; margin-top: 3px; }
.btn-green { background: #16a34a; color: white; border: none; padding: 10px 20px; border-radius: 6px; font-weight: bold; font-size: 13px; cursor: pointer; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--navy-light); padding-top: 20px; }
.stat-box h5 { margin: 0 0 10px; font-size: 13px; color: #e2e8f0; display: flex; justify-content: space-between; font-weight: normal; }
.stat-box h5 b { font-size: 14px; font-weight: bold; color: white; }
.progress-bg { background: #334155; height: 6px; border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.progress-bar { height: 100%; border-radius: 3px; }
.progress-bar.orange { background: var(--orange); }
.progress-bar.blue { background: #3b82f6; }
.stat-box p { margin: 0; font-size: 11px; color: #94a3b8; }

.section-title { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--border); padding-bottom: 10px; margin-bottom: 20px; font-weight: bold; font-size: 16px; color: var(--navy-dark); }
.section-title i { color: var(--orange); margin-right: 8px; }
.section-title span { font-weight: normal; font-size: 12px; color: var(--text-muted); }