/**
 * 网盘资源搜索系统 - 后台管理样式
 * 科技风格仪表盘设计 (Requirements 14.1-14.11, 15.1-15.10)
 */

/* ========================================
   Admin CSS Variables - 科技风格配色
   ======================================== */
:root {
    /* 科技风格主色调 */
    --admin-bg-primary: #0a1628;
    --admin-bg-secondary: #1a2744;
    --admin-bg-tertiary: #0d1f3c;
    
    /* 霓虹色彩 */
    --neon-blue: #00d4ff;
    --neon-cyan: #00ffcc;
    --neon-purple: #7c3aed;
    --neon-orange: #ff9500;
    --neon-green: #00ff88;
    --neon-red: #ff4757;
    --neon-yellow: #ffd93d;
    
    /* 文字颜色 */
    --admin-text-primary: #e6f1ff;
    --admin-text-secondary: #8892b0;
    --admin-text-muted: #5a6a8a;
    
    /* 边框和分割线 */
    --admin-border-color: rgba(0, 212, 255, 0.2);
    --admin-border-glow: rgba(0, 212, 255, 0.4);
    
    /* 卡片背景 */
    --admin-card-bg: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 204, 0.05) 100%);
    --admin-card-border: rgba(0, 212, 255, 0.3);
    
    /* 侧边栏 */
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 64px;
    
    /* 科技字体 */
    --font-tech: 'Orbitron', 'Rajdhani', var(--font-family);
    --font-mono-tech: 'JetBrains Mono', 'Fira Code', var(--font-family-mono);
}


/* ========================================
   Admin Layout - 后台布局
   ======================================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--admin-bg-primary) 0%, var(--admin-bg-secondary) 100%);
}

.admin-layout::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 255, 204, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   Sidebar - 侧边栏
   ======================================== */
.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--admin-bg-tertiary) 0%, var(--admin-bg-primary) 100%);
    border-right: 1px solid var(--admin-border-color);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
}

.admin-sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--admin-border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-cyan) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--admin-bg-primary);
    font-weight: bold;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}


.sidebar-title {
    font-family: var(--font-tech);
    font-size: 18px;
    font-weight: 600;
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
}

.admin-sidebar.collapsed .sidebar-title {
    display: none;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 16px 0;
    overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--admin-border-color);
    border-radius: 2px;
}

.nav-section {
    margin-bottom: 8px;
}

.nav-section-title {
    padding: 8px 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--admin-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-sidebar.collapsed .nav-section-title {
    display: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--admin-text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    margin: 2px 8px;
    border-radius: 8px;
}


.nav-item:hover {
    color: var(--admin-text-primary);
    background: rgba(0, 212, 255, 0.1);
}

.nav-item.active {
    color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: var(--neon-blue);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 10px var(--neon-blue);
}

.nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
}

.admin-sidebar.collapsed .nav-text {
    display: none;
}

.nav-badge {
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    background: var(--neon-red);
    color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

.admin-sidebar.collapsed .nav-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 6px;
    font-size: 10px;
}


/* Sidebar Footer */
.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--admin-border-color);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

.user-info {
    flex: 1;
    min-width: 0;
}

.admin-sidebar.collapsed .user-info {
    display: none;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--admin-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 12px;
    color: var(--admin-text-muted);
}

/* ========================================
   Main Content - 主内容区
   ======================================== */
.admin-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 24px;
    position: relative;
    z-index: 1;
    transition: margin-left 0.3s ease;
}

.admin-sidebar.collapsed ~ .admin-main {
    margin-left: var(--sidebar-collapsed-width);
}


/* Admin Header */
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--admin-border-color);
}

.admin-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sidebar-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--admin-border-color);
    border-radius: 8px;
    color: var(--admin-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background: rgba(0, 212, 255, 0.2);
    color: var(--neon-blue);
    border-color: var(--admin-border-glow);
}

/* Breadcrumb */
.admin-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-item {
    color: var(--admin-text-muted);
}

.breadcrumb-item a {
    color: var(--admin-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--neon-blue);
}

.breadcrumb-separator {
    color: var(--admin-text-muted);
}

.breadcrumb-item.active {
    color: var(--admin-text-primary);
}


/* Page Title */
.page-title {
    font-family: var(--font-tech);
    font-size: 28px;
    font-weight: 600;
    color: var(--admin-text-primary);
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.page-subtitle {
    font-size: 14px;
    color: var(--admin-text-secondary);
}

/* Header Actions */
.admin-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-search {
    position: relative;
}

.header-search input {
    width: 240px;
    padding: 10px 16px 10px 40px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--admin-border-color);
    border-radius: 8px;
    color: var(--admin-text-primary);
    font-size: 14px;
    transition: all 0.2s ease;
}

.header-search input::placeholder {
    color: var(--admin-text-muted);
}

.header-search input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.header-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--admin-text-muted);
}

.header-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--admin-border-color);
    border-radius: 8px;
    color: var(--admin-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}


.header-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    color: var(--neon-blue);
    border-color: var(--admin-border-glow);
}

.header-btn .badge-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--neon-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-red);
}

/* ========================================
   Dashboard Stats Cards - 统计卡片
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-card-border);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1), inset 0 0 20px rgba(0, 212, 255, 0.03);
    backdrop-filter: blur(10px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2), inset 0 0 30px rgba(0, 212, 255, 0.05);
    transform: translateY(-2px);
}

.stat-card:hover::before {
    opacity: 1;
}


.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.stat-card-title {
    font-size: 14px;
    color: var(--admin-text-secondary);
    font-weight: 500;
}

.stat-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 20px;
}

.stat-card-icon.blue {
    background: rgba(0, 212, 255, 0.15);
    color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.stat-card-icon.green {
    background: rgba(0, 255, 136, 0.15);
    color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.stat-card-icon.purple {
    background: rgba(124, 58, 237, 0.15);
    color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
}

.stat-card-icon.orange {
    background: rgba(255, 149, 0, 0.15);
    color: var(--neon-orange);
    box-shadow: 0 0 15px rgba(255, 149, 0, 0.3);
}

.stat-number {
    font-family: var(--font-tech);
    font-size: 36px;
    font-weight: 700;
    color: var(--neon-blue);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card:nth-child(2) .stat-number { color: var(--neon-green); text-shadow: 0 0 20px rgba(0, 255, 136, 0.5); }
.stat-card:nth-child(3) .stat-number { color: var(--neon-purple); text-shadow: 0 0 20px rgba(124, 58, 237, 0.5); }
.stat-card:nth-child(4) .stat-number { color: var(--neon-orange); text-shadow: 0 0 20px rgba(255, 149, 0, 0.5); }


.stat-trend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.stat-trend.up {
    color: var(--neon-green);
}

.stat-trend.down {
    color: var(--neon-red);
}

.stat-trend-text {
    color: var(--admin-text-muted);
}

/* Number Rolling Animation */
@keyframes number-glow {
    0%, 100% { text-shadow: 0 0 20px currentColor; }
    50% { text-shadow: 0 0 30px currentColor, 0 0 40px currentColor; }
}

.stat-number.animate {
    animation: number-glow 2s ease-in-out infinite;
}

/* ========================================
   Dashboard Charts - 图表区域
   ======================================== */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.chart-card {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-card-border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
}

.chart-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--admin-border-color);
}

.chart-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--admin-text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}


.chart-card-title .live-indicator {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 136, 0.5); }
    50% { box-shadow: 0 0 15px rgba(0, 255, 136, 0.8), 0 0 25px rgba(0, 255, 136, 0.4); }
}

.chart-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-period-btn {
    padding: 6px 12px;
    font-size: 12px;
    color: var(--admin-text-secondary);
    background: transparent;
    border: 1px solid var(--admin-border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-period-btn:hover {
    color: var(--neon-blue);
    border-color: var(--admin-border-glow);
}

.chart-period-btn.active {
    color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--neon-blue);
}

.chart-container {
    height: 300px;
    position: relative;
}

/* ========================================
   Admin Data Tables - 数据表格
   ======================================== */
.admin-table-wrapper {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-card-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
}


.admin-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--admin-border-color);
}

.admin-table-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--admin-text-primary);
}

.admin-table-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--admin-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 212, 255, 0.05);
    border-bottom: 1px solid var(--admin-border-color);
}

.admin-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: var(--admin-text-primary);
    border-bottom: 1px solid var(--admin-border-color);
    transition: background 0.2s ease;
}

.admin-table tbody tr:hover td {
    background: rgba(0, 212, 255, 0.05);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Checkbox */
.table-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--neon-blue);
    cursor: pointer;
}


/* Table Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-badge.active {
    background: rgba(0, 255, 136, 0.15);
    color: var(--neon-green);
}

.status-badge.active::before {
    background: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
}

.status-badge.inactive {
    background: rgba(255, 71, 87, 0.15);
    color: var(--neon-red);
}

.status-badge.inactive::before {
    background: var(--neon-red);
    box-shadow: 0 0 8px var(--neon-red);
}

.status-badge.pending {
    background: rgba(255, 149, 0, 0.15);
    color: var(--neon-orange);
}

.status-badge.pending::before {
    background: var(--neon-orange);
    box-shadow: 0 0 8px var(--neon-orange);
}

.status-badge.expired {
    background: rgba(138, 146, 176, 0.15);
    color: var(--admin-text-muted);
}

.status-badge.expired::before {
    background: var(--admin-text-muted);
}


/* Table Actions */
.table-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-action-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--admin-border-color);
    border-radius: 6px;
    color: var(--admin-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.table-action-btn:hover {
    color: var(--neon-blue);
    border-color: var(--admin-border-glow);
    background: rgba(0, 212, 255, 0.1);
}

.table-action-btn.danger:hover {
    color: var(--neon-red);
    border-color: rgba(255, 71, 87, 0.4);
    background: rgba(255, 71, 87, 0.1);
}

/* Table Pagination */
.table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid var(--admin-border-color);
}

.table-info {
    font-size: 13px;
    color: var(--admin-text-secondary);
}

.admin-pagination {
    display: flex;
    align-items: center;
    gap: 4px;
}

.admin-pagination .page-btn {
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    font-size: 13px;
    color: var(--admin-text-secondary);
    background: transparent;
    border: 1px solid var(--admin-border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}


.admin-pagination .page-btn:hover:not(:disabled) {
    color: var(--neon-blue);
    border-color: var(--admin-border-glow);
}

.admin-pagination .page-btn.active {
    color: var(--admin-bg-primary);
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.admin-pagination .page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   Admin Forms - 表单样式
   ======================================== */
.admin-form {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-card-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
}

.admin-form-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--admin-border-color);
}

.admin-form-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--admin-text-primary);
}

.admin-form-group {
    margin-bottom: 20px;
}

.admin-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--admin-text-secondary);
}

.admin-form-label.required::after {
    content: '*';
    color: var(--neon-red);
    margin-left: 4px;
}


.admin-form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--admin-text-primary);
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--admin-border-color);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.admin-form-control::placeholder {
    color: var(--admin-text-muted);
}

.admin-form-control:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.admin-form-control:disabled {
    background: rgba(0, 0, 0, 0.2);
    cursor: not-allowed;
}

.admin-form-control.is-invalid {
    border-color: var(--neon-red);
}

.admin-form-control.is-invalid:focus {
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.2);
}

textarea.admin-form-control {
    min-height: 120px;
    resize: vertical;
}

select.admin-form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238892b0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

.admin-form-hint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--admin-text-muted);
}

.admin-form-error {
    margin-top: 6px;
    font-size: 12px;
    color: var(--neon-red);
}


/* Form Row */
.admin-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Form Actions */
.admin-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--admin-border-color);
}

/* ========================================
   Admin Buttons - 按钮样式
   ======================================== */
.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.admin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.admin-btn-primary {
    color: var(--admin-bg-primary);
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-cyan) 100%);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.admin-btn-primary:hover:not(:disabled) {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    transform: translateY(-1px);
}

.admin-btn-secondary {
    color: var(--admin-text-primary);
    background: transparent;
    border-color: var(--admin-border-color);
}

.admin-btn-secondary:hover:not(:disabled) {
    color: var(--neon-blue);
    border-color: var(--admin-border-glow);
    background: rgba(0, 212, 255, 0.1);
}


.admin-btn-success {
    color: var(--admin-bg-primary);
    background: linear-gradient(135deg, var(--neon-green) 0%, #00cc6a 100%);
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.admin-btn-success:hover:not(:disabled) {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.admin-btn-danger {
    color: white;
    background: linear-gradient(135deg, var(--neon-red) 0%, #cc3344 100%);
    border-color: var(--neon-red);
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.3);
}

.admin-btn-danger:hover:not(:disabled) {
    box-shadow: 0 0 30px rgba(255, 71, 87, 0.5);
}

.admin-btn-warning {
    color: var(--admin-bg-primary);
    background: linear-gradient(135deg, var(--neon-orange) 0%, #cc7700 100%);
    border-color: var(--neon-orange);
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.3);
}

.admin-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.admin-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.admin-btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
}

/* ========================================
   Admin Modal - 模态框
   ======================================== */
.admin-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.admin-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}


.admin-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    background: linear-gradient(135deg, var(--admin-bg-tertiary) 0%, var(--admin-bg-primary) 100%);
    border: 1px solid var(--admin-card-border);
    border-radius: 16px;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.2);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
}

.admin-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.admin-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--admin-border-color);
}

.admin-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--admin-text-primary);
}

.admin-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--admin-text-secondary);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.admin-modal-close:hover {
    color: var(--neon-red);
    background: rgba(255, 71, 87, 0.1);
}

.admin-modal-body {
    padding: 24px;
    max-height: calc(90vh - 140px);
    overflow-y: auto;
}

.admin-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--admin-border-color);
}


/* Modal Sizes */
.admin-modal.modal-sm { max-width: 400px; }
.admin-modal.modal-lg { max-width: 700px; }
.admin-modal.modal-xl { max-width: 900px; }

/* ========================================
   Recent Activity - 最近活动
   ======================================== */
.activity-list {
    display: flex;
    flex-direction: column;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--admin-border-color);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    flex-shrink: 0;
}

.activity-icon.search {
    background: rgba(0, 212, 255, 0.15);
    color: var(--neon-blue);
}

.activity-icon.user {
    background: rgba(0, 255, 136, 0.15);
    color: var(--neon-green);
}

.activity-icon.resource {
    background: rgba(124, 58, 237, 0.15);
    color: var(--neon-purple);
}

.activity-icon.report {
    background: rgba(255, 71, 87, 0.15);
    color: var(--neon-red);
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-text {
    font-size: 14px;
    color: var(--admin-text-primary);
    margin-bottom: 4px;
}

.activity-text strong {
    color: var(--neon-blue);
}

.activity-time {
    font-size: 12px;
    color: var(--admin-text-muted);
}


/* ========================================
   Drive Type Tags - 网盘类型标签
   ======================================== */
.drive-type-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--neon-blue);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.drive-type-tag.baidu { background: rgba(24, 144, 255, 0.15); color: #1890ff; border-color: rgba(24, 144, 255, 0.3); }
.drive-type-tag.aliyun { background: rgba(255, 106, 0, 0.15); color: #ff6a00; border-color: rgba(255, 106, 0, 0.3); }
.drive-type-tag.quark { background: rgba(124, 58, 237, 0.15); color: #7c3aed; border-color: rgba(124, 58, 237, 0.3); }
.drive-type-tag.tianyi { background: rgba(0, 150, 136, 0.15); color: #009688; border-color: rgba(0, 150, 136, 0.3); }
.drive-type-tag.xunlei { background: rgba(0, 168, 255, 0.15); color: #00a8ff; border-color: rgba(0, 168, 255, 0.3); }

/* ========================================
   File Upload - 文件上传
   ======================================== */
.file-upload-area {
    border: 2px dashed var(--admin-border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-area:hover {
    border-color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.05);
}

.file-upload-area.dragover {
    border-color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.file-upload-icon {
    font-size: 48px;
    color: var(--admin-text-muted);
    margin-bottom: 16px;
}

.file-upload-text {
    font-size: 16px;
    color: var(--admin-text-secondary);
    margin-bottom: 8px;
}

.file-upload-hint {
    font-size: 13px;
    color: var(--admin-text-muted);
}


/* ========================================
   Progress Bar - 进度条
   ======================================== */
.progress-bar-wrapper {
    margin-bottom: 16px;
}

.progress-bar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.progress-bar-label {
    font-size: 13px;
    color: var(--admin-text-secondary);
}

.progress-bar-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--neon-blue);
}

.progress-bar {
    height: 8px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue) 0%, var(--neon-cyan) 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* ========================================
   Tabs - 选项卡
   ======================================== */
.admin-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 20px;
}

.admin-tab {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--admin-text-secondary);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-tab:hover {
    color: var(--admin-text-primary);
}

.admin-tab.active {
    color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}


/* ========================================
   Search & Filter Bar - 搜索筛选栏
   ======================================== */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-search {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.filter-search input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--admin-border-color);
    border-radius: 8px;
    color: var(--admin-text-primary);
    font-size: 14px;
    transition: all 0.2s ease;
}

.filter-search input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.filter-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--admin-text-muted);
}

.filter-select {
    min-width: 150px;
}

.filter-select select {
    width: 100%;
    padding: 10px 36px 10px 12px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--admin-border-color);
    border-radius: 8px;
    color: var(--admin-text-primary);
    font-size: 14px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238892b0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    cursor: pointer;
}

.filter-select select:focus {
    outline: none;
    border-color: var(--neon-blue);
}


/* ========================================
   Category Tree - 分类树
   ======================================== */
.category-tree {
    padding: 16px 0;
}

.category-tree-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin: 2px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-tree-item:hover {
    background: rgba(0, 212, 255, 0.1);
}

.category-tree-item.active {
    background: rgba(0, 212, 255, 0.15);
    color: var(--neon-blue);
}

.category-tree-toggle {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--admin-text-muted);
    transition: transform 0.2s ease;
}

.category-tree-toggle.expanded {
    transform: rotate(90deg);
}

.category-tree-icon {
    color: var(--neon-blue);
}

.category-tree-name {
    flex: 1;
    font-size: 14px;
    color: var(--admin-text-primary);
}

.category-tree-count {
    font-size: 12px;
    color: var(--admin-text-muted);
    padding: 2px 8px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
}

.category-tree-children {
    padding-left: 28px;
}


/* ========================================
   Invitation Code Display - 邀请码展示
   ======================================== */
.invitation-code {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--admin-border-color);
    border-radius: 6px;
    font-family: var(--font-mono-tech);
    font-size: 14px;
    color: var(--neon-cyan);
}

.invitation-code-copy {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--admin-text-secondary);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.invitation-code-copy:hover {
    color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.1);
}

/* ========================================
   Settings Form - 设置表单
   ======================================== */
.settings-section {
    margin-bottom: 32px;
}

.settings-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--admin-text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--admin-border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-section-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: var(--neon-blue);
    border-radius: 2px;
}

.settings-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--admin-border-color);
}

.settings-item:last-child {
    border-bottom: none;
}


.settings-item-label {
    width: 200px;
    flex-shrink: 0;
}

.settings-item-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--admin-text-primary);
    margin-bottom: 4px;
}

.settings-item-desc {
    font-size: 12px;
    color: var(--admin-text-muted);
}

.settings-item-control {
    flex: 1;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 26px;
    transition: all 0.3s ease;
}

.toggle-slider::before {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--admin-text-secondary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
    background: white;
}


/* ========================================
   Alert Messages - 提示消息
   ======================================== */
.admin-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.admin-alert-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.admin-alert-content {
    flex: 1;
}

.admin-alert-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.admin-alert-message {
    font-size: 13px;
}

.admin-alert.info {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.admin-alert.info .admin-alert-icon,
.admin-alert.info .admin-alert-title {
    color: var(--neon-blue);
}

.admin-alert.success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.admin-alert.success .admin-alert-icon,
.admin-alert.success .admin-alert-title {
    color: var(--neon-green);
}

.admin-alert.warning {
    background: rgba(255, 149, 0, 0.1);
    border: 1px solid rgba(255, 149, 0, 0.3);
}

.admin-alert.warning .admin-alert-icon,
.admin-alert.warning .admin-alert-title {
    color: var(--neon-orange);
}

.admin-alert.danger {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
}

.admin-alert.danger .admin-alert-icon,
.admin-alert.danger .admin-alert-title {
    color: var(--neon-red);
}


/* ========================================
   Toast Notifications - 吐司通知
   ======================================== */
.admin-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 320px;
    max-width: 420px;
    padding: 16px;
    background: linear-gradient(135deg, var(--admin-bg-tertiary) 0%, var(--admin-bg-primary) 100%);
    border: 1px solid var(--admin-card-border);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    animation: toast-slide-in 0.3s ease;
}

@keyframes toast-slide-in {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.admin-toast.hiding {
    animation: toast-slide-out 0.3s ease forwards;
}

@keyframes toast-slide-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.admin-toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.admin-toast.success .admin-toast-icon { color: var(--neon-green); }
.admin-toast.error .admin-toast-icon { color: var(--neon-red); }
.admin-toast.warning .admin-toast-icon { color: var(--neon-orange); }
.admin-toast.info .admin-toast-icon { color: var(--neon-blue); }

.admin-toast-content {
    flex: 1;
}

.admin-toast-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--admin-text-primary);
    margin-bottom: 4px;
}

.admin-toast-message {
    font-size: 13px;
    color: var(--admin-text-secondary);
}


.admin-toast-close {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--admin-text-muted);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.admin-toast-close:hover {
    color: var(--admin-text-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   Loading States - 加载状态
   ======================================== */
.admin-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.admin-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 212, 255, 0.2);
    border-top-color: var(--neon-blue);
    border-radius: 50%;
    animation: admin-spin 0.8s linear infinite;
}

@keyframes admin-spin {
    to { transform: rotate(360deg); }
}

.admin-loading-text {
    margin-top: 16px;
    font-size: 14px;
    color: var(--admin-text-secondary);
}

/* Skeleton Loading */
.admin-skeleton {
    background: linear-gradient(90deg, 
        rgba(0, 212, 255, 0.05) 25%, 
        rgba(0, 212, 255, 0.1) 50%, 
        rgba(0, 212, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: admin-skeleton-loading 1.5s infinite;
    border-radius: 6px;
}

@keyframes admin-skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.admin-skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.admin-skeleton-title {
    height: 20px;
    width: 60%;
    margin-bottom: 12px;
}

.admin-skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}


/* ========================================
   Empty State - 空状态
   ======================================== */
.admin-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.admin-empty-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: var(--admin-text-muted);
    opacity: 0.5;
}

.admin-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--admin-text-primary);
    margin-bottom: 8px;
}

.admin-empty-desc {
    font-size: 14px;
    color: var(--admin-text-secondary);
    margin-bottom: 20px;
    max-width: 400px;
}

/* ========================================
   Confirmation Dialog - 确认对话框
   ======================================== */
.confirm-dialog-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 32px;
}

.confirm-dialog-icon.warning {
    background: rgba(255, 149, 0, 0.15);
    color: var(--neon-orange);
}

.confirm-dialog-icon.danger {
    background: rgba(255, 71, 87, 0.15);
    color: var(--neon-red);
}

.confirm-dialog-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--admin-text-primary);
    text-align: center;
    margin-bottom: 12px;
}

.confirm-dialog-message {
    font-size: 14px;
    color: var(--admin-text-secondary);
    text-align: center;
    margin-bottom: 24px;
}


/* ========================================
   Responsive Design - 响应式设计
   ======================================== */
@media (max-width: 1400px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    
    .admin-sidebar.show {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-search {
        min-width: 100%;
    }
    
    .settings-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .settings-item-label {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .admin-header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .header-search {
        flex: 1;
    }
    
    .header-search input {
        width: 100%;
    }
    
    .admin-table-wrapper {
        overflow-x: auto;
    }
    
    .admin-table {
        min-width: 800px;
    }
    
    .table-footer {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
}


/* ========================================
   Utility Classes - 工具类
   ======================================== */
.admin-text-primary { color: var(--admin-text-primary); }
.admin-text-secondary { color: var(--admin-text-secondary); }
.admin-text-muted { color: var(--admin-text-muted); }
.admin-text-blue { color: var(--neon-blue); }
.admin-text-green { color: var(--neon-green); }
.admin-text-red { color: var(--neon-red); }
.admin-text-orange { color: var(--neon-orange); }
.admin-text-purple { color: var(--neon-purple); }

.admin-bg-card {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-card-border);
    border-radius: 12px;
}

.admin-glow-blue { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
.admin-glow-green { box-shadow: 0 0 20px rgba(0, 255, 136, 0.3); }
.admin-glow-red { box-shadow: 0 0 20px rgba(255, 71, 87, 0.3); }
.admin-glow-purple { box-shadow: 0 0 20px rgba(124, 58, 237, 0.3); }

/* Scrollbar Styling */
.admin-layout ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.admin-layout ::-webkit-scrollbar-track {
    background: transparent;
}

.admin-layout ::-webkit-scrollbar-thumb {
    background: var(--admin-border-color);
    border-radius: 3px;
}

.admin-layout ::-webkit-scrollbar-thumb:hover {
    background: var(--admin-border-glow);
}

/* Selection Color */
.admin-layout ::selection {
    background: rgba(0, 212, 255, 0.3);
    color: var(--admin-text-primary);
}

/* Focus Visible */
.admin-layout *:focus-visible {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .admin-sidebar,
    .admin-header-right,
    .sidebar-toggle {
        display: none !important;
    }
    
    .admin-main {
        margin-left: 0 !important;
    }
    
    .admin-layout {
        background: white !important;
    }
}
