.admin-panel{--primary: #10b981;--primary-dark: #059669;--primary-light: #34d399;--success: #10b981;--danger: #ef4444;--warning: #f59e0b;--info: #3b82f6;--bg: #0a0e14;--bg-secondary: #0f1419;--card-bg: #151b23;--surface: #1a2332;--surface-hover: #1f2937;--text: #e5e7eb;--text-secondary: #9ca3af;--text-muted: #6b7280;--border: #1f2937;--border-light: #374151;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .3);--shadow: 0 4px 6px -1px rgba(0, 0, 0, .4);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .5);--radius-sm: 4px;--radius: 8px;--radius-lg: 12px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;font-size:14px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh}.admin-panel{scrollbar-color:rgba(16,185,129,.55) rgba(12,18,28,.4);scrollbar-width:thin}.admin-panel ::-webkit-scrollbar{width:10px;height:10px}.admin-panel ::-webkit-scrollbar-track{background:#0c121c66;border:1px solid var(--border);border-radius:999px}.admin-panel ::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#10b98199,#3b82f680);border-radius:999px;border:2px solid rgba(6,9,15,.6)}.admin-panel ::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#10b981cc,#3b82f6b3)}.admin-panel ::-webkit-scrollbar-corner{background:transparent}.admin-panel *{box-sizing:border-box}.admin-panel a{color:var(--primary);text-decoration:none;transition:color .2s ease}.admin-panel a:hover{color:var(--primary-light)}.admin-panel.app{display:flex;min-height:100vh}.mobile-menu-toggle{display:none!important;position:fixed;top:16px;left:16px;z-index:1001;background:var(--card-bg);border:1px solid var(--border);padding:8px;border-radius:var(--radius);color:var(--text);cursor:pointer;box-shadow:var(--shadow)}.admin-panel .sidebar{width:260px;background:var(--card-bg);border-right:1px solid var(--border);display:flex;flex-direction:column;position:fixed;height:100vh;overflow-y:auto;z-index:100;transition:transform .3s ease}.admin-panel .sidebar-header{padding:24px 20px;border-bottom:1px solid var(--border)}.admin-panel .sidebar-header h1{font-size:20px;font-weight:700;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;display:flex;align-items:center;gap:10px}.admin-panel .sidebar-nav{flex:1;padding:20px 0}.admin-panel .nav-item{display:flex;align-items:center;gap:12px;padding:12px 20px;color:var(--text-secondary);text-decoration:none;transition:all .2s;font-weight:500;border-left:3px solid transparent}.admin-panel .nav-item:hover{background:var(--surface);color:var(--text)}.admin-panel .nav-item.active{background:var(--surface);color:var(--primary);border-left-color:var(--primary)}.admin-panel .nav-item i{width:20px;text-align:center;font-size:16px}.admin-panel .sidebar-footer{padding:20px;border-top:1px solid var(--border)}.admin-panel .user-info{display:flex;align-items:center;gap:12px;margin-bottom:12px}.admin-panel .user-avatar{width:40px;height:40px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px}.admin-panel .user-details{flex:1}.admin-panel .user-name{font-weight:600;font-size:14px;color:var(--text)}.admin-panel .user-role{font-size:12px;color:var(--text-muted)}.admin-panel .main-content{flex:1;margin-left:260px;padding:32px;min-height:100vh;width:100%}.admin-panel .page-header{margin-bottom:32px}.admin-panel .page-header h1{font-size:28px;font-weight:700;margin-bottom:8px;color:var(--text)}.admin-panel .page-header p{color:var(--text-secondary)}.admin-panel .card{background:var(--card-bg);border-radius:var(--radius-lg);border:1px solid var(--border);padding:24px;margin-bottom:24px;box-shadow:var(--shadow);transition:transform .2s ease,box-shadow .2s ease}.admin-panel .card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.admin-panel .card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--border)}.admin-panel .card-title{font-size:18px;font-weight:600;color:var(--text);display:flex;align-items:center;gap:8px}.admin-panel .card-body{padding:0}.admin-panel .stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-bottom:32px}.admin-panel .stat-card{background:linear-gradient(135deg,var(--card-bg) 0%,var(--surface) 100%);padding:24px;border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:var(--shadow);transition:all .3s ease;position:relative;overflow:hidden}.admin-panel .stat-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--primary) 0%,var(--primary-light) 100%)}.admin-panel .stat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--primary)}.admin-panel .stat-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.admin-panel .stat-icon{width:48px;height:48px;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;font-size:20px}.admin-panel .stat-icon.primary{background:#10b98126;color:var(--primary)}.admin-panel .stat-icon.success{background:#10b98126;color:var(--success)}.admin-panel .stat-icon.warning{background:#f59e0b26;color:var(--warning)}.admin-panel .stat-icon.info{background:#3b82f626;color:var(--info)}.admin-panel .stat-icon.danger{background:#ef444426;color:var(--danger)}.admin-panel .stat-label{color:var(--text-secondary);font-size:12px;font-weight:600;margin-bottom:8px;text-transform:uppercase;letter-spacing:1px}.admin-panel .stat-value{font-size:32px;font-weight:800;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.admin-panel .table-container{overflow-x:auto;border-radius:var(--radius);border:1px solid var(--border)}.admin-panel table{width:100%;border-collapse:collapse;background:var(--card-bg)}.admin-panel table th{background:var(--surface);padding:14px 16px;text-align:left;font-weight:600;border-bottom:2px solid var(--border);color:var(--text);font-size:13px;text-transform:uppercase;letter-spacing:.5px}.admin-panel table td{padding:14px 16px;border-bottom:1px solid var(--border);color:var(--text);font-size:14px}.admin-panel table tr:last-child td{border-bottom:none}.admin-panel table tr:hover{background:var(--surface)}.admin-panel table code{background:var(--surface);padding:4px 8px;border-radius:var(--radius-sm);font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;border:1px solid var(--border);color:var(--primary-light)}.pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:24px;flex-wrap:wrap}.pagination-btn{min-width:36px;height:36px;padding:0 10px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius);border:1px solid var(--border);background:var(--card-bg);color:var(--text);cursor:pointer;transition:all .2s;font-size:14px}.pagination-btn:hover:not(:disabled){background:var(--surface);border-color:var(--primary)}.pagination-btn.active{background:var(--primary);color:#fff;border-color:var(--primary)}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.admin-panel button,.admin-panel .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 20px;border:1px solid transparent;border-radius:var(--radius);font-size:14px;font-weight:600;cursor:pointer;text-decoration:none;transition:all .2s ease;background:var(--primary);color:#fff;font-family:inherit}.admin-panel button:hover,.admin-panel .btn:hover{background:var(--primary-dark);transform:translateY(-1px);box-shadow:var(--shadow)}.admin-panel button:active,.admin-panel .btn:active{transform:translateY(0)}.admin-panel button:disabled,.admin-panel .btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.admin-panel .btn-primary{background:var(--primary);color:#fff}.admin-panel .btn-success{background:var(--success);color:#fff}.admin-panel .btn-danger{background:var(--danger);color:#fff}.admin-panel .btn-warning{background:var(--warning);color:#fff}.admin-panel .btn-info{background:var(--info);color:#fff}.admin-panel .btn-secondary{background:var(--surface);color:var(--text);border-color:var(--border)}.admin-panel .btn-secondary:hover{background:var(--surface-hover)}.admin-panel .btn-sm{padding:6px 12px;font-size:12px}.admin-panel .btn-lg{padding:14px 28px;font-size:16px}.admin-panel .btn-outline{background:transparent;border-color:var(--primary);color:var(--primary)}.admin-panel .btn-outline:hover{background:var(--primary);color:#fff}.admin-panel .form-group{margin-bottom:20px}.admin-panel .form-label{display:block;margin-bottom:8px;font-weight:500;color:var(--text);font-size:14px}.admin-panel .form-group small{display:block;margin-top:4px;color:var(--text-muted);font-size:12px}.admin-panel .form-control,.admin-panel input[type=text],.admin-panel input[type=email],.admin-panel input[type=password],.admin-panel input[type=number],.admin-panel input[type=date],.admin-panel select,.admin-panel textarea{width:100%;padding:10px 14px;border:1px solid var(--border);border-radius:var(--radius);font-size:14px;font-family:inherit;background:var(--surface);color:var(--text);transition:all .2s ease}.admin-panel input::placeholder,.admin-panel textarea::placeholder{color:var(--text-muted)}.admin-panel .form-control:focus,.admin-panel input:focus,.admin-panel select:focus,.admin-panel textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #10b9811a}.admin-panel input[type=checkbox]{width:auto;margin-right:8px;accent-color:var(--primary);cursor:pointer}.admin-panel select{cursor:pointer}.admin-panel .badge{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600;border:1px solid;white-space:nowrap}.admin-panel .badge-success{background:#10b98126;color:var(--success);border-color:var(--success)}.admin-panel .badge-danger{background:#ef444426;color:var(--danger);border-color:var(--danger)}.admin-panel .badge-warning{background:#f59e0b26;color:var(--warning);border-color:var(--warning)}.admin-panel .badge-info{background:#3b82f626;color:var(--info);border-color:var(--info)}.admin-panel .badge-secondary{background:#9ca3af26;color:var(--text-secondary);border-color:var(--text-secondary)}.admin-panel .alert{padding:14px 18px;border-radius:var(--radius);margin-bottom:20px;border:1px solid;display:flex;align-items:center;gap:10px;animation:slideIn .3s ease}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.admin-panel .alert-success{background:#10b9811a;color:var(--success);border-color:var(--success)}.admin-panel .alert-error{background:#ef44441a;color:var(--danger);border-color:var(--danger)}.admin-panel .alert-warning{background:#f59e0b1a;color:var(--warning);border-color:var(--warning)}.admin-panel .alert-info{background:#3b82f61a;color:var(--info);border-color:var(--info)}.admin-panel .modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;display:flex;align-items:center;justify-content:center;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.admin-panel .modal{background:var(--card-bg);border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:var(--shadow-lg);max-width:600px;width:90%;max-height:90vh;overflow-y:auto;animation:slideUp .3s ease}.admin-panel .modal-large{max-width:900px}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.admin-panel .modal-header{padding:24px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}.admin-panel .modal-title{font-size:20px;font-weight:600;color:var(--text)}.admin-panel .modal-close{background:none;border:none;color:var(--text-secondary);font-size:24px;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius);transition:all .2s ease}.admin-panel .modal-close:hover{background:var(--surface);color:var(--text);transform:none}.admin-panel .modal-body{padding:24px}.admin-panel .modal-footer{padding:16px 24px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:12px}.admin-panel .loading{display:flex;align-items:center;justify-content:center;padding:40px}.admin-panel .spinner{border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;width:40px;height:40px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.admin-panel.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--bg) 0%,var(--bg-secondary) 100%);padding:20px}.admin-panel .login-card{background:var(--card-bg);padding:40px;border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);width:100%;max-width:420px;border:1px solid var(--border)}.admin-panel .login-header{text-align:center;margin-bottom:32px}.admin-panel .login-header .logo{font-size:48px;margin-bottom:16px}.admin-panel .login-header h1{font-size:24px;font-weight:700;margin-bottom:8px;color:var(--text)}.admin-panel .login-header p{color:var(--text-secondary)}.admin-panel .mt-10{margin-top:10px}.admin-panel .mt-20{margin-top:20px}.admin-panel .mt-30{margin-top:30px}.admin-panel .mb-10{margin-bottom:10px}.admin-panel .mb-20{margin-bottom:20px}.admin-panel .mb-30{margin-bottom:30px}.admin-panel .text-right{text-align:right}.admin-panel .text-center{text-align:center}.admin-panel .text-muted{color:var(--text-muted)}.admin-panel .text-secondary{color:var(--text-secondary)}.admin-panel .flex{display:flex}.admin-panel .flex-col{flex-direction:column}.admin-panel .justify-between{justify-content:space-between}.admin-panel .justify-center{justify-content:center}.admin-panel .items-center{align-items:center}.admin-panel .items-end{align-items:end}.admin-panel .gap-10{gap:10px}.admin-panel .gap-20{gap:20px}.admin-panel .w-full{width:100%}@media (max-width: 768px){.mobile-menu-toggle{display:flex!important}.admin-panel .sidebar{transform:translate(-100%)}.admin-panel .sidebar.open{transform:translate(0)}.admin-panel .sidebar-overlay{display:block;position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:90;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.admin-panel .main-content{margin-left:0;padding:80px 16px 32px}.admin-panel .stats-grid{grid-template-columns:1fr}.admin-panel .page-header{flex-direction:column;align-items:flex-start;gap:16px}.admin-panel .page-header button{width:100%}.admin-panel .table-container table{display:block}.admin-panel .table-container thead{display:none}.admin-panel .table-container tbody{display:block}.admin-panel .table-container tr{display:block;background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:16px;padding:16px;position:relative}.admin-panel .table-container td{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid var(--border-light);text-align:right;font-size:13px}.admin-panel .table-container td:last-child{border-bottom:none;justify-content:flex-end;padding-top:16px}.admin-panel .table-container td:before{content:attr(data-label);font-weight:600;color:var(--text-secondary);text-align:left;margin-right:16px;font-size:12px;text-transform:uppercase}.admin-panel .modal{width:95%;max-height:85vh}.admin-panel .card-body>div[style*=grid-template-columns]{grid-template-columns:1fr!important}}
