:root {
    --zs-yellow: #FFC107;
    --zs-yellow-dark: #E5A800;
    --zs-dark: #1A1D29;
    --zs-sidebar-bg: #1A1D29;
    --zs-sidebar-hover: #262A3B;
    --zs-body-bg: #F4F5F9;
    --zs-border: #E5E7EB;
    --zs-text-muted: #6B7280;
    --radius: 10px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--zs-body-bg);
    color: #1F2330;
    margin: 0;
}

.zs-app { display: flex; min-height: 100vh; }

/* Sidebar */
.zs-sidebar {
    width: 250px;
    background: var(--zs-sidebar-bg);
    color: #C6C9D8;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; bottom: 0; left: 0;
    overflow-y: auto;
    z-index: 1030;
    transition: transform .2s ease;
}
.zs-sidebar-brand {
    display: flex; align-items: center; gap: 10px;
    padding: 20px 22px; color: #fff; font-weight: 700; font-size: 1.15rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.zs-nav { padding: 14px 12px; }
.zs-nav-section {
    text-transform: uppercase; font-size: .68rem; letter-spacing: .06em;
    color: #6B7085; margin: 18px 10px 6px; font-weight: 600;
}
.zs-nav-link {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: 8px; color: #C6C9D8;
    text-decoration: none; font-size: .89rem; font-weight: 500; margin-bottom: 2px;
}
.zs-nav-link i { font-size: 1rem; width: 18px; }
.zs-nav-link:hover { background: var(--zs-sidebar-hover); color: #fff; }
.zs-nav-link.active { background: var(--zs-yellow); color: #1A1D29; font-weight: 600; }

/* Main */
.zs-main { margin-left: 250px; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zs-topbar {
    background: #fff; border-bottom: 1px solid var(--zs-border);
    display: flex; align-items: center; padding: 0 24px; height: 62px;
    position: sticky; top: 0; z-index: 1020;
}
.zs-topbar-title { font-weight: 600; font-size: 1.05rem; }
.zs-topbar-right { margin-left: auto; }
.zs-burger { border: none; background: none; font-size: 1.4rem; margin-right: 14px; }
.zs-admin-btn {
    display: flex; align-items: center; gap: 8px; background: none; border: none;
    padding: 6px 10px; border-radius: 8px; font-weight: 500; font-size: .88rem;
}
.zs-admin-btn:hover { background: var(--zs-body-bg); }
.zs-avatar {
    width: 30px; height: 30px; border-radius: 50%; background: var(--zs-yellow);
    color: #1A1D29; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .85rem;
}
.zs-content { padding: 24px; }

/* Cards */
.zs-card {
    background: #fff; border: 1px solid var(--zs-border); border-radius: var(--radius);
    padding: 20px; margin-bottom: 20px;
}
.zs-stat-card {
    background: #fff; border: 1px solid var(--zs-border); border-radius: var(--radius);
    padding: 18px 20px;
}
.zs-stat-card .zs-stat-label { font-size: .78rem; color: var(--zs-text-muted); font-weight: 500; }
.zs-stat-card .zs-stat-value { font-size: 1.6rem; font-weight: 700; margin-top: 4px; }
.zs-stat-card .zs-stat-icon {
    width: 40px; height: 40px; border-radius: 9px; display: flex; align-items: center;
    justify-content: center; font-size: 1.1rem; background: rgba(255,193,7,.15); color: var(--zs-yellow-dark);
}

.zs-page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.zs-page-header h4 { font-weight: 700; margin: 0; }

.table thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--zs-text-muted); border-bottom-width: 1px; font-weight: 600; }
.table td { vertical-align: middle; font-size: .89rem; }

.badge-status { font-weight: 500; padding: 5px 10px; border-radius: 6px; font-size: .74rem; }

.btn-zs-primary {
    background: var(--zs-yellow); border-color: var(--zs-yellow); color: #1A1D29; font-weight: 600;
}
.btn-zs-primary:hover { background: var(--zs-yellow-dark); border-color: var(--zs-yellow-dark); color: #1A1D29; }

.zs-login-wrap {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: var(--zs-dark);
}
.zs-login-card { background: #fff; border-radius: 14px; padding: 40px; width: 380px; }

.zs-logo { background: #1a1c29; border-radius: 8px; padding: 8px; }
@media (max-width: 991px) {
    .zs-sidebar { transform: translateX(-100%); }
    .zs-sidebar.open { transform: translateX(0); }
    .zs-main { margin-left: 0; }
}
