/* Admin Panel Styles */
:root {
  --admin-sidebar: #1A1A2E;
  --admin-sidebar-active: #FF6B00;
  --admin-sidebar-width: 260px;
}
body.admin-body { background: #f4f6f9; font-family: 'Inter', sans-serif; }
/* Sidebar */
.admin-sidebar { width: var(--admin-sidebar-width); min-height: 100vh; background: var(--admin-sidebar); position: fixed; top: 0; left: 0; z-index: 1000; display: flex; flex-direction: column; transition: all 0.3s; overflow-y: auto; }
.admin-sidebar .sidebar-brand { padding: 1.5rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-sidebar .sidebar-brand .brand-name { color: white; font-weight: 800; font-size: 1.1rem; }
.admin-sidebar .sidebar-brand .brand-sub { color: rgba(255,255,255,0.5); font-size: 11px; }
.admin-sidebar .sidebar-nav { padding: 1rem 0; flex: 1; }
.admin-sidebar .nav-section { padding: 0.5rem 1.2rem 0.25rem; color: rgba(255,255,255,0.35); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; }
.admin-sidebar .nav-item { list-style: none; }
.admin-sidebar .nav-link { display: flex; align-items: center; gap: 10px; padding: 10px 1.2rem; color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; font-weight: 500; border-radius: 0; transition: all 0.2s; position: relative; }
.admin-sidebar .nav-link:hover { color: white; background: rgba(255,255,255,0.06); }
.admin-sidebar .nav-link.active { color: white; background: var(--admin-sidebar-active); }
.admin-sidebar .nav-link .nav-icon { width: 20px; text-align: center; font-size: 15px; }
.admin-sidebar .nav-link .badge { margin-left: auto; }
/* Topbar */
.admin-topbar { height: 65px; background: white; box-shadow: 0 1px 10px rgba(0,0,0,0.07); display: flex; align-items: center; padding: 0 1.5rem; justify-content: space-between; position: sticky; top: 0; z-index: 100; }
/* Content */
.admin-main { margin-left: var(--admin-sidebar-width); min-height: 100vh; display: flex; flex-direction: column; }
.admin-content { padding: 1.5rem; flex: 1; }
/* Cards */
.admin-stat-card { border-radius: 16px; padding: 1.5rem; border: none; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; }
.admin-stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.admin-stat-card .stat-icon-wrap { width: 55px; height: 55px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.admin-stat-card .stat-value { font-size: 2rem; font-weight: 800; }
.admin-stat-card .stat-label { font-size: 13px; color: #888; }
/* Table */
.admin-table thead th { background: #f8f9fa; font-size: 13px; font-weight: 700; color: #555; border: none; padding: 12px 16px; }
.admin-table td { padding: 12px 16px; vertical-align: middle; font-size: 14px; border-color: #f0f0f0; }
/* Form elements */
.admin-form .form-control, .admin-form .form-select { border: 2px solid #e9ecef; border-radius: 10px; }
.admin-form .form-control:focus, .admin-form .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,107,0,0.1); }
/* Page header */
.admin-page-header { background: white; border-radius: 16px; padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.04); display: flex; align-items: center; justify-content: space-between; }
.admin-page-header h4 { margin: 0; font-weight: 800; }
/* Tab nav */
.admin-tab-nav .nav-link { border-radius: 8px 8px 0 0; font-weight: 600; color: #888; }
.admin-tab-nav .nav-link.active { color: var(--primary); border-color: var(--primary) var(--primary) white; }
/* Badges */
.status-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.status-active { background: #d4edda; color: #155724; }
.status-pending { background: #fff3cd; color: #856404; }
.status-inactive, .status-rejected { background: #f8d7da; color: #721c24; }
.status-processing { background: #d1ecf1; color: #0c5460; }
/* Responsive */
@media (max-width: 768px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.show { transform: translateX(0); }
  .admin-main { margin-left: 0; }
}
