* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f4f7fa;
    color: #1e293b;
    font-size: 14px;
    line-height: 1.5;
}
a { text-decoration: none; color: inherit; }

.adm-shell { display: flex; min-height: 100vh; }
.adm-sidebar {
    width: 260px;
    background: #172c3d;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.adm-brand {
    padding: 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.adm-brand img { height: 34px; }
.adm-nav { list-style: none; padding: 16px 12px; flex: 1; }
.adm-nav li { margin-bottom: 4px; }
.adm-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 6px;
    color: #cbd5e1;
    font-weight: 500;
    transition: all 0.2s;
}
.adm-nav a:hover, .adm-nav a.active {
    background: #ee5519;
    color: #ffffff;
}
.adm-badge {
    background: #ee5519;
    color: #fff;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 700;
}
.adm-nav a.active .adm-badge { background: #172c3d; }

.adm-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.adm-topbar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.adm-topbar h1 { font-size: 20px; font-weight: 700; color: #0f172a; }
.adm-content { padding: 28px 32px; flex: 1; }

.adm-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.adm-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.adm-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 24px;
}
.adm-stat-card h3 { font-size: 13px; color: #64748b; font-weight: 600; margin-bottom: 8px; }
.adm-stat-card .num { font-size: 32px; font-weight: 700; color: #172c3d; }

.adm-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 6px;
    border: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.adm-btn-primary { background: #ee5519; color: #fff; }
.adm-btn-primary:hover { background: #d4440e; }
.adm-btn-navy { background: #172c3d; color: #fff; }
.adm-btn-navy:hover { background: #22425c; }
.adm-btn-danger { background: #ef4444; color: #fff; }
.adm-btn-danger:hover { background: #dc2626; }
.adm-btn-light { background: #e2e8f0; color: #1e293b; }

.adm-field { margin-bottom: 16px; }
.adm-field label { display: block; font-weight: 600; margin-bottom: 6px; color: #334155; font-size: 13px; }
.adm-input, .adm-textarea, .adm-select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}
.adm-input:focus, .adm-textarea:focus { border-color: #ee5519; }

.adm-table { width: 100%; border-collapse: collapse; }
.adm-table th, .adm-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}
.adm-table th { font-size: 12px; text-transform: uppercase; color: #64748b; background: #f8fafc; }

.adm-alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}
.adm-alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.adm-alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

.adm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.adm-tab {
    padding: 8px 14px;
    border-radius: 6px;
    background: #e2e8f0;
    color: #334155;
    font-weight: 600;
    font-size: 13px;
}
.adm-tab.active { background: #172c3d; color: #ffffff; }

@media (max-width: 1024px) {
    .adm-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .adm-grid-2 { grid-template-columns: 1fr; }
    .adm-sidebar { width: 210px; }
}
