/* Minimal Modern Admin Dashboard - Clean & Simple */ :root { --primary: #0f766e; --primary-dark: #0b5c56; --primary-light: #14b8a6; --secondary: #64748b; --success: #10b981; --warning: #f59e0b; --danger: #ef4444; --info: #06b6d4; --bg-main: #f8fafc; --bg-card: #ffffff; --text-primary: #0f172a; --text-secondary: #475569; --text-muted: #94a3b8; --border: #e2e8f0; --border-light: #f1f5f9; --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); } * { margin: 0; padding: 0; box-sizing: border-box; } body.admin-body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg-main); color: var(--text-primary); line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* Sidebar - Minimal & Clean */ .admin-sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 260px; background: var(--bg-card); border-right: 1px solid var(--border); z-index: 1000; display: flex; flex-direction: column; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .sidebar-brand { padding: 1.5rem 1.25rem; border-bottom: 1px solid var(--border-light); } .sidebar-brand-main { display: flex; align-items: center; justify-content: space-between; } .sidebar-brand-link { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; } .sidebar-brand-mark { width: 40px; height: 40px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: white; } .sidebar-brand-copy strong { display: block; font-size: 1.125rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; } .sidebar-brand-copy small { display: block; font-size: 0.75rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.125rem; } .sidebar-menu { flex: 1; overflow-y: auto; padding: 1rem 0.75rem; } .sidebar-menu::-webkit-scrollbar { width: 4px; } .sidebar-menu::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; } .menu-section { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); padding: 1rem 0.75rem 0.5rem; margin-top: 0.5rem; } .menu-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 0.75rem; margin-bottom: 0.25rem; border-radius: 8px; text-decoration: none; color: var(--text-secondary); font-weight: 500; font-size: 0.875rem; transition: all 0.15s ease; position: relative; } .menu-item:hover { background: var(--bg-main); color: var(--text-primary); } .menu-item.active { background: var(--primary); color: white; font-weight: 600; } .menu-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; } .menu-label { flex: 1; } .sidebar-footer { padding: 1rem 1.25rem; border-top: 1px solid var(--border-light); } .sidebar-status { display: flex; align-items: center; gap: 0.625rem; padding: 0.75rem; background: var(--bg-main); border-radius: 8px; } .status-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; flex-shrink: 0; } .status-text small { display: block; font-size: 0.6875rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; } .status-text strong { display: block; font-size: 0.8125rem; color: var(--text-primary); font-weight: 600; margin-top: 0.125rem; } /* Sidebar Overlay */ .admin-sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .admin-sidebar-overlay.show { display: block; opacity: 1; } /* Main Wrapper */ .admin-wrapper { margin-left: 260px; min-height: 100vh; transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1); } /* Topbar - Clean & Minimal */ .admin-topbar { position: sticky; top: 0; z-index: 900; background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; } .topbar-left { display: flex; align-items: center; gap: 1rem; } .topbar-icon-btn { width: 40px; height: 40px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-secondary); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.15s ease; } .topbar-icon-btn:hover { background: var(--bg-main); border-color: var(--primary); color: var(--primary); } .topbar-title-wrap small { display: block; font-size: 0.6875rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; } .topbar-title-wrap h5 { margin: 0.25rem 0 0; font-size: 1.25rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; } .topbar-actions { display: flex; align-items: center; gap: 0.75rem; } .topbar-link-btn { padding: 0.5rem 1rem; border-radius: 8px; font-weight: 600; font-size: 0.875rem; transition: all 0.15s ease; border: 1px solid var(--border); } .topbar-link-btn:hover { background: var(--bg-main); } .topbar-user { display: flex; align-items: center; gap: 0.625rem; padding: 0.375rem 0.75rem 0.375rem 0.375rem; background: var(--bg-main); border-radius: 999px; border: 1px solid var(--border); } .user-avatar { width: 32px; height: 32px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.875rem; } /* Main Content */ .admin-content { padding: 1.5rem; } /* Cards - Minimal Design */ .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; transition: all 0.2s ease; } .card:hover { box-shadow: var(--shadow-md); } .card-header { background: var(--bg-card); border-bottom: 1px solid var(--border-light); padding: 1rem 1.25rem; font-weight: 700; font-size: 0.9375rem; } .card-body { padding: 1.25rem; } /* Stat Cards - Simple & Clean */ .stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; transition: all 0.2s ease; position: relative; } .stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); } .stat-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 0.75rem; color: white; } .stat-icon.primary { background: var(--primary); } .stat-icon.secondary { background: var(--secondary); } .stat-icon.warning { background: var(--warning); } .stat-icon.success { background: var(--success); } .stat-value { font-size: 1.75rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.25rem; letter-spacing: -0.02em; } .stat-label { font-size: 0.875rem; color: var(--text-secondary); font-weight: 500; } /* Buttons - Minimal Style */ .btn { padding: 0.5rem 1rem; border-radius: 8px; font-weight: 600; font-size: 0.875rem; transition: all 0.15s ease; border: 1px solid transparent; cursor: pointer; } .btn-primary { background: var(--primary); color: white; } .btn-primary:hover { background: var(--primary-dark); color: white; } .btn-success { background: var(--success); color: white; } .btn-danger { background: var(--danger); color: white; } .btn-warning { background: var(--warning); color: white; } .btn-outline-primary { border-color: var(--primary); color: var(--primary); background: transparent; } .btn-outline-primary:hover { background: var(--primary); color: white; } .btn-outline-secondary { border-color: var(--border); color: var(--text-secondary); background: transparent; } .btn-outline-secondary:hover { background: var(--bg-main); } .btn-outline-danger { border-color: var(--danger); color: var(--danger); background: transparent; } .btn-outline-danger:hover { background: var(--danger); color: white; } .btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; } /* Forms - Clean Design */ .form-control, .form-select { border: 1px solid var(--border); border-radius: 8px; padding: 0.625rem 0.875rem; font-size: 0.875rem; transition: all 0.15s ease; background: var(--bg-card); } .form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1); outline: none; } .form-label { font-weight: 600; color: var(--text-primary); margin-bottom: 0.5rem; font-size: 0.875rem; } /* Tables - Minimal & Clean */ .table { width: 100%; border-collapse: separate; border-spacing: 0; } .table thead th { background: var(--bg-main); color: var(--text-secondary); font-weight: 600; text-transform: uppercase; font-size: 0.6875rem; letter-spacing: 0.1em; padding: 0.75rem 1rem; border: none; border-bottom: 1px solid var(--border); } .table tbody td { padding: 1rem; border-bottom: 1px solid var(--border-light); vertical-align: middle; font-size: 0.875rem; } .table tbody tr { transition: background 0.15s ease; } .table tbody tr:hover { background: var(--bg-main); } /* Badges - Simple Design */ .badge { padding: 0.375rem 0.75rem; border-radius: 6px; font-weight: 600; font-size: 0.75rem; display: inline-flex; align-items: center; gap: 0.375rem; } .bg-primary, .badge-primary { background: var(--primary); color: white; } .bg-success, .badge-success { background: var(--success); color: white; } .bg-warning, .badge-warning { background: var(--warning); color: white; } .bg-danger, .badge-danger { background: var(--danger); color: white; } .bg-info, .badge-info { background: var(--info); color: white; } /* Alerts - Minimal */ .alert { border: 1px solid; border-radius: 8px; padding: 1rem; font-size: 0.875rem; } .alert-info { background: #f0f9ff; border-color: #bae6fd; color: #075985; } .alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; } .alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; } .alert-danger { background: #fef2f2; border-color: #fecaca; color: #991b1b; } /* Collapsed Sidebar */ body.admin-collapsed .admin-sidebar { width: 70px; } body.admin-collapsed .admin-wrapper { margin-left: 70px; } body.admin-collapsed .sidebar-brand-copy, body.admin-collapsed .menu-label, body.admin-collapsed .menu-section, body.admin-collapsed .status-text { display: none; } body.admin-collapsed .menu-item { justify-content: center; padding: 0.625rem; } body.admin-collapsed .sidebar-status { justify-content: center; } /* Responsive Design */ @media (max-width: 991.98px) { .admin-sidebar { transform: translateX(-100%); } .admin-sidebar.show { transform: translateX(0); } .admin-wrapper { margin-left: 0; } body.admin-collapsed .admin-wrapper { margin-left: 0; } } @media (max-width: 767.98px) { .admin-topbar { padding: 0.75rem 1rem; } .topbar-title-wrap h5 { font-size: 1.125rem; } .admin-content { padding: 1rem; } .stat-card { padding: 1rem; } .stat-value { font-size: 1.5rem; } .topbar-user > div:not(.user-avatar) { display: none; } } @media (max-width: 575.98px) { .topbar-link-btn { display: none !important; } .stat-icon { width: 40px; height: 40px; font-size: 1.125rem; } } /* Dropdown Menu */ .dropdown-menu { border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-lg); padding: 0.5rem; background: var(--bg-card); } .dropdown-item { border-radius: 6px; padding: 0.5rem 0.75rem; transition: background 0.15s ease; font-size: 0.875rem; font-weight: 500; } .dropdown-item:hover { background: var(--bg-main); } /* DataTables Styling */ .dataTables_wrapper .dataTables_length select, .dataTables_wrapper .dataTables_filter input { border: 1px solid var(--border); border-radius: 6px; padding: 0.375rem 0.625rem; font-size: 0.875rem; } .dataTables_wrapper .dataTables_paginate .paginate_button { border-radius: 6px !important; margin: 0 2px; } .dataTables_wrapper .dataTables_paginate .paginate_button.current { background: var(--primary) !important; color: white !important; border: none !important; } /* Utility Classes */ .text-primary { color: var(--primary) !important; } .text-success { color: var(--success) !important; } .text-warning { color: var(--warning) !important; } .text-danger { color: var(--danger) !important; } .text-muted { color: var(--text-muted) !important; } .fw-semibold { font-weight: 600 !important; } .fw-bold { font-weight: 700 !important; } .rounded-2 { border-radius: 8px !important; } .rounded-3 { border-radius: 12px !important; } .rounded-circle { border-radius: 50% !important; } /* Fade Animation */ .fade-in { animation: fadeIn 0.3s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* Page Shell */ .page-shell { max-width: 1400px; margin: 0 auto; } /* Additional Spacing */ .mb-4 { margin-bottom: 1.5rem; } .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; } .gap-2 { gap: 0.5rem; } .gap-3 { gap: 1rem; } .gap-4 { gap: 1.5rem; } /* Grid System */ .g-4 { gap: 1.5rem; } .g-3 { gap: 1rem; } /* Display Utilities */ .d-flex { display: flex; } .d-block { display: block; } .d-inline-flex { display: inline-flex; } .align-items-center { align-items: center; } .justify-content-between { justify-content: space-between; } .flex-wrap { flex-wrap: wrap; }