:root {
    --primary-color: #047857;
    --primary-hover: #065f46;
    --sidebar-bg: #ffffff;
    --main-bg: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --accent-color: #2563eb;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--main-bg);
    color: var(--text-main);
    display: flex;
    min-height: 100vh;
    margin: 0;
}

.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    height: 100vh;
    overflow-y: auto;
    flex-shrink: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.brand-section {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.brand-title {
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.dashboard-box:hover { background: #f8fafc; border-color: #cbd5e1; }

.dashboard-icon {
    width: 36px; height: 36px;
    background: #ecfdf5;
    color: var(--primary-color);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}

.dashboard-info-text { display: flex; flex-direction: column; }
.dashboard-info-text .title { font-size: 0.85rem; font-weight: 700; color: var(--text-main); margin: 0; }
.dashboard-info-text .subtitle { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }

.dashboard-box.active { background: var(--primary-color); border-color: var(--primary-color); box-shadow: 0 4px 6px -1px rgba(4, 120, 87, 0.2); }
.dashboard-box.active .dashboard-icon { background: rgba(255,255,255,0.2); color: #ffffff; }
.dashboard-box.active .dashboard-info-text .title,
.dashboard-box.active .dashboard-info-text .subtitle { color: #ffffff; }

.section-label {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;
    font-weight: 700; color: var(--text-muted); margin-bottom: 12px; margin-top: 24px;
}

.nav-link-custom {
    color: var(--text-muted); font-weight: 500; padding: 10px 14px; border-radius: 6px;
    display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 4px;
    background: transparent; border: 1px solid transparent; cursor: pointer;
    transition: all 0.2s ease; font-size: 0.9rem;
}

.nav-link-custom i { font-size: 1.1rem; color: #94a3b8; transition: color 0.2s ease; }
.nav-link-custom:hover { background: #f1f5f9; color: var(--text-main); }
.nav-link-custom:hover i { color: var(--text-main); }

.nav-link-custom.active { background: #ecfdf5; color: var(--primary-hover); font-weight: 600; border: 1px solid #d1fae5; }
.nav-link-custom.active i { color: var(--primary-hover); }

.form-label { font-size: 0.8rem; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }

.form-select-sm, .form-control-sm {
    border-radius: 6px; padding: 8px 12px; border: 1px solid #cbd5e1;
    background-color: #ffffff; font-size: 0.85rem; color: var(--text-main);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02); transition: all 0.2s ease;
}

.form-select-sm:focus, .form-control-sm:focus {
    border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.1);
}

.card-pindah {
    background: #ffffff; border: 1px solid var(--border-color); border-radius: 8px;
    margin-top: 20px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.btn-indigo {
    background-color: var(--accent-color); color: white; border-radius: 6px;
    font-weight: 600; border: none; padding: 8px 16px; transition: background-color 0.2s ease;
}
.btn-indigo:hover { background-color: #1d4ed8; color: white; }

.main-content { flex-grow: 1; display: flex; flex-direction: column; height: 100vh; overflow: hidden; }

.konten-wrapper {
    width: 100%;
    height: calc(100vh - 65px);
    overflow-y: auto;
    background-color: var(--main-bg);
}

.navbar-custom { background: var(--primary-color) !important; padding: 14px 24px; border-bottom: 1px solid rgba(0,0,0,0.1); box-shadow: none; z-index: 10; }

.sidebar-footer { padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 0.75rem; color: var(--text-muted); margin-top: auto; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
#wrapperFilterSiswa { animation: fadeIn 0.3s ease-out; }

@media (max-width: 991.98px) { .sidebar { display: none; } }