/* Modern Teal Admin Dashboard - Full Implementation */ :root { /* Teal Color Palette */ --teal-50: #f0fdfa; --teal-100: #ccfbf1; --teal-200: #99f6e4; --teal-300: #5eead4; --teal-400: #2dd4bf; --teal-500: #14b8a6; --teal-600: #0d9488; --teal-700: #0f766e; --teal-800: #115e59; --teal-900: #134e4a; /* Semantic Colors */ --primary: var(--teal-600); --primary-dark: var(--teal-700); --primary-light: var(--teal-500); --success: #10b981; --warning: #f59e0b; --danger: #ef4444; --info: #06b6d4; /* Neutral Colors */ --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb; --gray-300: #d1d5db; --gray-400: #9ca3af; --gray-500: #6b7280; --gray-600: #4b5563; --gray-700: #374151; --gray-800: #1f2937; --gray-900: #111827; /* Background */ --bg-main: var(--teal-50); --bg-card: #ffffff; --text-primary: var(--gray-900); --text-secondary: var(--gray-600); --text-muted: var(--gray-400); --border: var(--teal-100); --border-light: var(--teal-50); /* Shadows */ --shadow-sm: 0 1px 2px 0 rgba(13, 148, 136, 0.05); --shadow: 0 1px 3px 0 rgba(13, 148, 136, 0.1), 0 1px 2px -1px rgba(13, 148, 136, 0.1); --shadow-md: 0 4px 6px -1px rgba(13, 148, 136, 0.1), 0 2px 4px -2px rgba(13, 148, 136, 0.1); --shadow-lg: 0 10px 15px -3px rgba(13, 148, 136, 0.1), 0 4px 6px -4px rgba(13, 148, 136, 0.1); --shadow-xl: 0 20px 25px -5px rgba(13, 148, 136, 0.1), 0 8px 10px -6px rgba(13, 148, 136, 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; } /* Sidebar - Teal Theme */ .admin-sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; background: linear-gradient(180deg, var(--teal-800) 0%, var(--teal-900) 100%); z-index: 1000; display: flex; flex-direction: column; transition: transform 0.3s ease; box-shadow: var(--shadow-xl); } .sidebar-brand { padding: 1.5rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .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: 44px; height: 44px; background: rgba(255, 255, 255, 0.15); border: 2px solid rgba(255, 255, 255, 0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; } .sidebar-brand-copy strong { display: block; font-size: 1.25rem; font-weight: 700; color: white; letter-spacing: -0.02em; } .sidebar-brand-copy small { display: block; font-size: 0.75rem; color: var(--teal-200); font-weight: 600; 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: rgba(255, 255, 255, 0.2); border-radius: 10px; } .menu-section { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal-300); padding: 1rem 0.75rem 0.5rem; margin-top: 0.5rem; } .menu-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; margin-bottom: 0.25rem; border-radius: 10px; text-decoration: none; color: var(--teal-100); font-weight: 500; font-size: 0.9375rem; transition: all 0.2s ease; position: relative; } .menu-item:hover { background: rgba(255, 255, 255, 0.1); color: white; } .menu-item.active { background: var(--teal-600); color: white; font-weight: 600; box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3); } .menu-icon { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 1.125rem; flex-shrink: 0; } .menu-label { flex: 1; } .sidebar-footer { padding: 1rem 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1); } .sidebar-status { display: flex; align-items: center; gap: 0.625rem; padding: 0.75rem; background: rgba(255, 255, 255, 0.08); border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); } .status-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; flex-shrink: 0; animation: pulse 2s ease-in-out infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .status-text small { display: block; font-size: 0.6875rem; color: var(--teal-300); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; } .status-text strong { display: block; font-size: 0.8125rem; color: white; 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: 280px; min-height: 100vh; transition: margin-left 0.3s ease; } /* Topbar - Modern Teal Design */ .admin-topbar { position: sticky; top: 0; z-index: 900; background: white; border-bottom: 1px solid var(--teal-100); box-shadow: 0 2px 8px rgba(13, 148, 136, 0.08); backdrop-filter: blur(10px); } .topbar-container { display: flex; align-items: center; justify-content: space-between; padding: 0.875rem 1.5rem; gap: 1.5rem; } .topbar-left { display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 0; } .topbar-right { display: flex; align-items: center; gap: 0.75rem; } /* Menu Button */ .topbar-menu-btn { width: 44px; height: 44px; border: none; background: var(--teal-50); color: var(--teal-700); border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; font-size: 1.125rem; flex-shrink: 0; } .topbar-menu-btn:hover { background: var(--teal-600); color: white; transform: scale(1.05); } .topbar-menu-btn:active { transform: scale(0.95); } /* Breadcrumb */ .topbar-breadcrumb { display: flex; align-items: center; gap: 0.875rem; min-width: 0; } .breadcrumb-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--teal-600), var(--teal-500)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.125rem; flex-shrink: 0; box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2); } .breadcrumb-content { min-width: 0; } .breadcrumb-label { display: block; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-600); margin-bottom: 0.125rem; } .breadcrumb-title { font-size: 1.25rem; font-weight: 700; color: var(--teal-900); margin: 0; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Quick Actions */ .topbar-quick-actions { display: flex; align-items: center; gap: 0.5rem; } .quick-action-btn { display: flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1rem; background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: 10px; color: var(--teal-700); font-weight: 600; font-size: 0.875rem; text-decoration: none; transition: all 0.2s ease; } .quick-action-btn:hover { background: var(--teal-600); border-color: var(--teal-600); color: white; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2); } .quick-action-btn i { font-size: 1rem; } /* Profile Button */ .topbar-profile { position: relative; } .profile-btn { display: flex; align-items: center; gap: 0.75rem; padding: 0.375rem 0.75rem 0.375rem 0.375rem; background: white; border: 2px solid var(--teal-100); border-radius: 999px; cursor: pointer; transition: all 0.2s ease; } .profile-btn:hover { background: var(--teal-50); border-color: var(--teal-200); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15); } .profile-avatar { width: 40px; height: 40px; background: linear-gradient(135deg, var(--teal-600), var(--teal-500)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1rem; position: relative; flex-shrink: 0; } .profile-status { position: absolute; bottom: 0; right: 0; width: 12px; height: 12px; background: #10b981; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2); } .profile-info { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; } .profile-name { font-size: 0.875rem; font-weight: 600; color: var(--teal-900); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; } .profile-role { font-size: 0.6875rem; font-weight: 600; color: var(--teal-600); text-transform: uppercase; letter-spacing: 0.05em; } .profile-arrow { font-size: 0.75rem; color: var(--teal-600); transition: transform 0.2s ease; } .profile-btn[aria-expanded="true"] .profile-arrow { transform: rotate(180deg); } /* Profile Dropdown */ .profile-dropdown { min-width: 280px; border: 2px solid var(--teal-100); border-radius: 16px; box-shadow: 0 10px 40px rgba(13, 148, 136, 0.15); padding: 0.5rem; margin-top: 0.5rem; opacity: 0; transform: translateY(-10px) scale(0.95); transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; } .profile-dropdown.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; } /* Override Bootstrap dropdown default behavior */ .dropdown-menu { display: block !important; opacity: 0; transform: translateY(-10px) scale(0.95); transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; } .dropdown-menu.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; } .topbar-profile .dropdown-menu { margin-top: 0.5rem !important; } .dropdown-header { padding: 0; margin-bottom: 0.5rem; } .dropdown-user-info { display: flex; align-items: center; gap: 0.875rem; padding: 0.875rem; background: linear-gradient(135deg, var(--teal-50), white); border-radius: 12px; } .dropdown-avatar { width: 48px; height: 48px; background: linear-gradient(135deg, var(--teal-600), var(--teal-500)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1.125rem; flex-shrink: 0; } .dropdown-user-name { font-size: 0.9375rem; font-weight: 700; color: var(--teal-900); margin-bottom: 0.125rem; } .dropdown-user-email { font-size: 0.8125rem; color: var(--teal-600); } .profile-dropdown .dropdown-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: 10px; transition: all 0.2s ease; font-size: 0.9375rem; font-weight: 500; color: var(--teal-900); } .profile-dropdown .dropdown-item:hover { background: var(--teal-50); color: var(--teal-900); transform: translateX(4px); } .profile-dropdown .dropdown-item.text-danger:hover { background: #fef2f2; color: #dc2626; } .profile-dropdown .dropdown-item i { width: 20px; font-size: 1rem; color: var(--teal-600); } .profile-dropdown .dropdown-item.text-danger i { color: #dc2626; } .profile-dropdown .dropdown-divider { margin: 0.5rem 0; border-color: var(--teal-100); } /* Main Content */ .admin-content { padding: 2rem 1.5rem; } /* Cards - Teal Accent */ .card { background: white; border: 2px solid var(--teal-100); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; transition: all 0.2s ease; } .card:hover { box-shadow: var(--shadow-lg); border-color: var(--teal-200); } .card-header { background: linear-gradient(135deg, var(--teal-50), white); border-bottom: 2px solid var(--teal-100); padding: 1.25rem 1.5rem; font-weight: 700; font-size: 1rem; color: var(--teal-900); } .card-body { padding: 1.5rem; } /* Stat Cards - Teal Theme */ .stat-card { background: white; border: 2px solid var(--teal-100); border-radius: 16px; padding: 1.5rem; transition: all 0.2s ease; position: relative; overflow: hidden; } .stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--teal-600), var(--teal-400)); } .stat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--teal-200); } .stat-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; color: white; } .stat-icon.primary { background: linear-gradient(135deg, var(--teal-600), var(--teal-500)); } .stat-icon.secondary { background: linear-gradient(135deg, var(--teal-700), var(--teal-600)); } .stat-icon.warning { background: linear-gradient(135deg, #f59e0b, #fbbf24); } .stat-icon.success { background: linear-gradient(135deg, #10b981, #34d399); } .stat-value { font-size: 2rem; font-weight: 800; color: var(--teal-900); margin-bottom: 0.5rem; letter-spacing: -0.02em; } .stat-label { font-size: 0.9375rem; color: var(--text-secondary); font-weight: 600; } /* Buttons - Teal Theme with Rounded Full */ .btn { padding: 0.625rem 1.5rem; border-radius: 9999px; font-weight: 600; font-size: 0.9375rem; transition: all 0.2s ease; border: 2px solid transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none; } .btn:focus { outline: none; box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1); } .btn-primary { background: linear-gradient(135deg, var(--teal-600), var(--teal-500)); color: white; border-color: var(--teal-600); } .btn-primary:hover { background: linear-gradient(135deg, var(--teal-700), var(--teal-600)); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: white; } .btn-primary:active { transform: translateY(0); box-shadow: var(--shadow); } .btn-success { background: linear-gradient(135deg, #10b981, #34d399); color: white; } .btn-success:hover { background: linear-gradient(135deg, #059669, #10b981); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); color: white; } .btn-success:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2); } .btn-danger { background: linear-gradient(135deg, #ef4444, #f87171); color: white; } .btn-danger:hover { background: linear-gradient(135deg, #dc2626, #ef4444); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3); color: white; } .btn-danger:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(239, 68, 68, 0.2); } .btn-warning { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: white; } .btn-warning:hover { background: linear-gradient(135deg, #d97706, #f59e0b); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); color: white; } .btn-warning:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(245, 158, 11, 0.2); } .btn-outline-primary { border-color: var(--teal-300); color: var(--teal-700); background: white; position: relative; overflow: hidden; } .btn-outline-primary::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, var(--teal-600), var(--teal-500)); opacity: 0; transition: opacity 0.2s ease; z-index: -1; } .btn-outline-primary:hover { background: var(--teal-600); border-color: var(--teal-600); color: white; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25); } .btn-outline-primary:hover::before { opacity: 1; } .btn-outline-primary:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(13, 148, 136, 0.2); } .btn-secondary { background: linear-gradient(135deg, var(--gray-600), var(--gray-500)); color: white; border-color: var(--gray-600); } .btn-secondary:hover { background: linear-gradient(135deg, var(--gray-700), var(--gray-600)); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(75, 85, 99, 0.3); color: white; } .btn-outline-secondary { border-color: var(--gray-300); color: var(--gray-700); background: white; position: relative; overflow: hidden; } .btn-outline-secondary::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, var(--gray-600), var(--gray-500)); opacity: 0; transition: opacity 0.2s ease; z-index: -1; } .btn-outline-secondary:hover { background: var(--gray-600); border-color: var(--gray-600); color: white; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(75, 85, 99, 0.25); } .btn-outline-secondary:hover::before { opacity: 1; } .btn-outline-secondary:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(75, 85, 99, 0.2); } .btn-outline-danger { border-color: #fca5a5; color: #dc2626; background: white; position: relative; overflow: hidden; } .btn-outline-danger::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, #ef4444, #f87171); opacity: 0; transition: opacity 0.2s ease; z-index: -1; } .btn-outline-danger:hover { background: #ef4444; border-color: #ef4444; color: white; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25); } .btn-outline-danger:hover::before { opacity: 1; } .btn-outline-danger:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(239, 68, 68, 0.2); } .btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; } .btn-lg { padding: 0.875rem 2rem; font-size: 1rem; } .btn:disabled, .btn.disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none !important; } .btn:disabled:hover, .btn.disabled:hover { transform: none !important; box-shadow: none !important; } /* Button Group with Rounded */ .btn-group .btn { border-radius: 9999px !important; margin: 0 0.125rem; } .btn-group .btn:first-child { margin-left: 0; } .btn-group .btn:last-child { margin-right: 0; } /* Forms - Teal Accent */ .form-control, .form-select { border: 2px solid var(--teal-100); border-radius: 10px; padding: 0.75rem 1rem; font-size: 0.9375rem; transition: all 0.2s ease; background: white; } .form-control:focus, .form-select:focus { border-color: var(--teal-500); box-shadow: 0 0 0 4px var(--teal-50); outline: none; } .form-label { font-weight: 700; color: var(--teal-900); margin-bottom: 0.5rem; font-size: 0.9375rem; } .input-group-text { border: 2px solid var(--teal-100); background: var(--teal-50); color: var(--teal-700); font-weight: 600; } /* Tables - Teal Theme */ .table { width: 100%; border-collapse: separate; border-spacing: 0; } .table thead th { background: linear-gradient(135deg, var(--teal-50), white); color: var(--teal-900); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.1em; padding: 1rem; border: none; border-bottom: 2px solid var(--teal-100); } .table tbody td { padding: 1rem; border-bottom: 1px solid var(--teal-50); vertical-align: middle; font-size: 0.9375rem; } .table tbody tr { transition: background 0.2s ease; } .table tbody tr:hover { background: var(--teal-50); } /* Badges - Teal Theme */ .badge { padding: 0.5rem 0.875rem; border-radius: 8px; font-weight: 700; font-size: 0.8125rem; display: inline-flex; align-items: center; gap: 0.375rem; } .bg-primary, .badge-primary { background: linear-gradient(135deg, var(--teal-600), var(--teal-500)); color: white; } .bg-success, .badge-success { background: linear-gradient(135deg, #10b981, #34d399); color: white; } .bg-warning, .badge-warning { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: white; } .bg-danger, .badge-danger { background: linear-gradient(135deg, #ef4444, #f87171); color: white; } .bg-info, .badge-info { background: linear-gradient(135deg, #06b6d4, #22d3ee); color: white; } /* Alerts - Teal Theme */ .alert { border: 2px solid; border-radius: 12px; padding: 1rem 1.25rem; font-size: 0.9375rem; font-weight: 500; } .alert-info { background: var(--teal-50); border-color: var(--teal-200); color: var(--teal-900); } .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; } /* Breadcrumb - Teal */ .breadcrumb { background: white; border: 2px solid var(--teal-100); border-radius: 10px; padding: 0.75rem 1rem; } .breadcrumb-item a { color: var(--teal-600); font-weight: 600; } .breadcrumb-item.active { color: var(--teal-900); font-weight: 700; } /* 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.75rem; } body.admin-collapsed .sidebar-status { justify-content: center; } /* Responsive */ @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) { .topbar-container { padding: 0.75rem 1rem; } .breadcrumb-title { font-size: 1.125rem; } .breadcrumb-icon { width: 40px; height: 40px; font-size: 1rem; } .topbar-menu-btn { width: 40px; height: 40px; font-size: 1rem; } .profile-avatar { width: 36px; height: 36px; font-size: 0.875rem; } .admin-content { padding: 1.5rem 1rem; } .stat-card { padding: 1.25rem; } .stat-value { font-size: 1.5rem; } .topbar-user > div:not(.user-avatar) { display: none; } } @media (max-width: 575.98px) { .breadcrumb-label { display: none; } .breadcrumb-title { font-size: 1rem; } .topbar-breadcrumb { gap: 0.625rem; } .breadcrumb-icon { width: 36px; height: 36px; font-size: 0.875rem; border-radius: 10px; } .topbar-menu-btn { width: 36px; height: 36px; border-radius: 10px; } .profile-btn { padding: 0.25rem; } .profile-avatar { width: 32px; height: 32px; font-size: 0.8125rem; } .profile-status { width: 10px; height: 10px; } .btn { font-size: 0.875rem; padding: 0.5rem 1.25rem; } .btn-sm { font-size: 0.8125rem; padding: 0.375rem 1rem; } } /* Dropdown Menu */ .dropdown-menu { border: 2px solid var(--teal-100); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 0.5rem; background: white; } .dropdown-item { border-radius: 8px; padding: 0.625rem 1rem; transition: background 0.2s ease; font-size: 0.9375rem; font-weight: 500; color: var(--teal-900); } .dropdown-item:hover { background: var(--teal-50); color: var(--teal-900); } /* DataTables */ .dataTables_wrapper .dataTables_length select, .dataTables_wrapper .dataTables_filter input { border: 2px solid var(--teal-100); border-radius: 8px; padding: 0.5rem 0.75rem; font-size: 0.875rem; } .dataTables_wrapper .dataTables_paginate .paginate_button { border-radius: 8px !important; margin: 0 2px; } .dataTables_wrapper .dataTables_paginate .paginate_button.current { background: linear-gradient(135deg, var(--teal-600), var(--teal-500)) !important; color: white !important; border: none !important; } /* Utility Classes */ .text-primary { color: var(--teal-700) !important; } .text-success { color: #10b981 !important; } .text-warning { color: #f59e0b !important; } .text-danger { color: #ef4444 !important; } .text-muted { color: var(--text-muted) !important; } .bg-teal-50 { background: var(--teal-50) !important; } .bg-teal-100 { background: var(--teal-100) !important; } .border-teal { border-color: var(--teal-200) !important; } .fw-semibold { font-weight: 600 !important; } .fw-bold { font-weight: 700 !important; } /* Password Toggle */ .password-toggle-wrapper { position: relative; } .password-toggle-wrapper .form-control { padding-right: 3rem; } .password-toggle-btn { position: absolute; right: 0; top: 0; height: 100%; width: 3rem; border: none; background: transparent; color: var(--gray-500); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color 0.2s ease; z-index: 10; } .password-toggle-btn:hover { color: var(--teal-600); } .password-toggle-btn:focus { outline: none; color: var(--teal-700); } .password-toggle-btn i { font-size: 1rem; } /* SweetAlert Teal Theme */ .swal-teal-popup { border-radius: 16px !important; border: 2px solid var(--teal-100) !important; } .swal-teal-title { color: var(--teal-900) !important; font-weight: 700 !important; } .swal-teal-confirm { border-radius: 9999px !important; padding: 0.625rem 1.5rem !important; font-weight: 600 !important; box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3) !important; } .swal-teal-confirm:hover { background-color: #0f766e !important; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(13, 148, 136, 0.4) !important; } .swal-teal-cancel { border-radius: 9999px !important; padding: 0.625rem 1.5rem !important; font-weight: 600 !important; } .swal-teal-cancel:hover { background-color: #4b5563 !important; } .swal2-icon.swal2-question { border-color: var(--teal-500) !important; color: var(--teal-600) !important; } /* Fix SweetAlert z-index */ .swal2-container { z-index: 99999 !important; position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; } .swal2-popup { z-index: 99999 !important; position: relative !important; } /* Smooth scrollbar */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: var(--gray-100); } ::-webkit-scrollbar-thumb { background: var(--teal-300); border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { background: var(--teal-500); } /* Animations */ .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; }