@charset "utf-8";

:root {
    --primary-color: #0f172a;   /* Navy dari landing page */
    --accent-color: #3b82f6;    /* Blue dari landing page */
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --sidebar-width: 280px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    color: var(--primary-color);
    background-color: #f1f5f9; /* Sedikit lebih gelap dari putih agar card putih terlihat 'pop' */
}

/* Sidebar Modern */
#sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background: var(--primary-color);
    position: fixed;
    transition: all 0.3s;
    z-index: 1000;
}

#sidebar .nav-link {
    color: #94a3b8;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 12px;
    margin: 4px 15px;
    transition: 0.3s;
}

#sidebar .nav-link:hover, #sidebar .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

#sidebar .nav-link.active {
    color: #fff;
    background: var(--accent-color);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

/* Main Content Area */
#main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
}

/* Dashboard Card (Mengadaptasi .feature-card dari landing page) */
.stat-card {
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

/* Icon Box (Sama dengan landing page) */
.icon-box-dashboard {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Navbar Dashboard */
.navbar-dashboard {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px); /* Efek blur seperti floating badge */
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
}

/* Table Styling */
.table-modern {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.table-modern thead th {
    background: #f8fafc;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.table-modern tbody td {
    padding: 1rem;
    vertical-align: middle;
    color: var(--primary-color);
}