/* 鼎链AI猎头系统 - 样式表 */
/* Tech-AI 品牌色系：深空蓝 + 电光青 + 霓虹紫 */

:root {
  --gold: #00D4FF;
  --gold-light: #7FEBFF;
  --gold-dark: #0091C7;
  --accent-purple: #7C5CFF;
  --bg-dark: #070B18;
  --bg-panel: #0D1428;
  --bg-card: #101A36;
  --bg-hover: #1A2650;
  --text-primary: #EAF2FF;
  --text-secondary: #A9B9DC;
  --text-muted: #66789F;
  --border: #22305A;
  --border-gold: #00D4FF55;
  --success: #00E676;
  --warning: #FFB74D;
  --danger: #FF5470;
  --info: #40C4FF;
  --glow-cyan: 0 0 12px rgba(0, 212, 255, 0.45);
  --glow-cyan-soft: 0 0 24px rgba(0, 212, 255, 0.18);
  --sidebar-width: 320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(124, 92, 255, 0.14), transparent 60%),
    radial-gradient(900px 450px at -10% 110%, rgba(0, 212, 255, 0.10), transparent 60%),
    var(--bg-dark);
  color: var(--text-primary);
  height: 100vh;
  overflow: hidden;
}

/* ========== LAYOUT ========== */
.app-container {
  display: flex;
  height: 100vh;
}

/* ========== SIDEBAR ========== */
.sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  background: linear-gradient(180deg, #0C1226 0%, #0A1020 100%);
  border-right: 1px solid var(--border);
  box-shadow: 1px 0 24px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #101A3C 0%, #0C1329 60%, #101A3C 100%);
  position: relative;
}

.sidebar-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00D4FF, #7C5CFF, transparent);
  opacity: 0.7;
}

.sidebar-logo {
  font-size: 21px;
  font-weight: bold;
  background: linear-gradient(135deg, #7FEBFF 0%, #00D4FF 45%, #7C5CFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.45));
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.sidebar-logo span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: normal;
  -webkit-text-fill-color: var(--text-muted);
  letter-spacing: 0;
}

.sidebar-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.sidebar-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.sidebar-tab:hover {
  color: var(--gold-light);
}

.sidebar-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  text-shadow: var(--glow-cyan);
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.sidebar-content::-webkit-scrollbar {
  width: 4px;
}
.sidebar-content::-webkit-scrollbar-thumb {
  background: #1E2C55;
  border-radius: 2px;
}

/* File Tree */
.file-tree {
  font-size: 13px;
}

.folder-item, .file-item {
  display: flex;
  align-items: center;
  padding: 6px 12px 6px 24px;
  cursor: pointer;
  transition: background 0.15s;
  gap: 6px;
}

.folder-item:hover, .file-item:hover {
  background: var(--bg-hover);
}

.folder-item.active, .file-item.active {
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.12), transparent);
  border-left: 2px solid var(--gold);
  box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.folder-icon, .file-icon {
  font-size: 14px;
  width: 18px;
  text-align: center;
}

.folder-name, .file-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.folder-arrow {
  font-size: 10px;
  transition: transform 0.2s;
  color: var(--text-muted);
}

.folder-arrow.open {
  transform: rotate(90deg);
}

.file-ext {
  font-size: 10px;
  color: var(--gold-light);
  padding: 1px 4px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 3px;
  font-family: Consolas, monospace;
}

/* Doc Preview Panel */
.doc-preview {
  border-top: 1px solid var(--border);
  max-height: 35%;
  overflow-y: auto;
  padding: 12px;
  background: var(--bg-card);
}

.doc-preview h4 {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 8px;
}

.doc-preview-content {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.doc-preview-content p {
  margin-bottom: 6px;
}

/* ========== MAIN CONTENT ========== */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.main-header {
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #0E1730 0%, #0B1122 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.main-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, #00D4FF55, #7C5CFF55, transparent);
}

.main-header h1 {
  font-size: 18px;
  color: var(--gold);
  text-shadow: var(--glow-cyan);
  letter-spacing: 1px;
}

.main-header .user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.user-role {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  background: rgba(0, 212, 255, 0.10);
  color: var(--gold);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.main-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
}

.main-body::-webkit-scrollbar {
  width: 6px;
}
.main-body::-webkit-scrollbar-thumb {
  background: #1E2C55;
  border-radius: 3px;
}

/* ========== PANELS ========== */
.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.panel-grid.single {
  grid-template-columns: 1fr;
}

.panel {
  background: linear-gradient(160deg, rgba(16, 26, 54, 0.92), rgba(13, 20, 40, 0.92));
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.panel:hover {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: var(--glow-cyan-soft);
}

.panel-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.06), transparent);
}

.panel-title {
  font-size: 15px;
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.panel-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(0, 212, 255, 0.25);
  font-family: Consolas, monospace;
}

.panel-body {
  padding: 18px;
}

/* ========== FORM ELEMENTS ========== */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(7, 11, 24, 0.7);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 13px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.15);
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group {
  flex: 1;
}

/* ========== BUTTONS ========== */
.btn {
  padding: 9px 18px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, #0091C7, #00D4FF);
  color: #04121F;
  font-weight: bold;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00D4FF, #7FEBFF);
  transform: translateY(-1px);
  box-shadow: var(--glow-cyan);
}

.btn-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  transition: all 0.2s;
}
.btn-gold:hover {
  background: var(--gold);
  color: #04121F;
  transform: translateY(-1px);
  box-shadow: var(--glow-cyan);
}

.btn-secondary {
  background: var(--bg-hover);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #22305E;
  border-color: rgba(0, 212, 255, 0.3);
}

.btn-sm {
  padding: 5px 12px;
  font-size: 12px;
}

.btn-success {
  background: var(--success);
  color: #04140B;
}

.btn-warning {
  background: var(--warning);
  color: #1A1206;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========== STATUS BADGES ========== */
.status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.status-draft { background: var(--bg-hover); color: var(--text-muted); }
.status-reviewed { background: rgba(0, 230, 118, 0.10); color: var(--success); border: 1px solid rgba(0, 230, 118, 0.4); }
.status-submitted { background: rgba(255, 183, 77, 0.10); color: var(--warning); border: 1px solid rgba(255, 183, 77, 0.4); }
.status-approved { background: rgba(0, 230, 118, 0.10); color: var(--success); border: 1px solid rgba(0, 230, 118, 0.4); }
.status-rejected { background: rgba(255, 84, 112, 0.10); color: var(--danger); border: 1px solid rgba(255, 84, 112, 0.4); }

/* ========== REPORT CONTENT ========== */
.report-section {
  margin-bottom: 20px;
}

.report-section h3 {
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-gold);
  text-shadow: var(--glow-cyan-soft);
}

.report-section h4 {
  font-size: 14px;
  color: var(--gold-light);
  margin: 12px 0 6px;
}

.report-section p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.report-tag {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  background: rgba(124, 92, 255, 0.10);
  color: #A79BFF;
  border: 1px solid rgba(124, 92, 255, 0.35);
  margin-right: 4px;
  margin-bottom: 4px;
}

.confidence-high { color: var(--success); }
.confidence-medium { color: var(--warning); }
.confidence-low { color: var(--danger); }

/* ========== TABLES ========== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.data-table th {
  padding: 10px 12px;
  text-align: left;
  background: linear-gradient(135deg, #0E2A4A, #0A1E38);
  color: var(--gold-light);
  font-weight: 600;
  border-bottom: 2px solid rgba(0, 212, 255, 0.35);
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.data-table tr:hover td {
  background: rgba(0, 212, 255, 0.05);
}

/* ========== DASHBOARD CARDS ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: linear-gradient(160deg, rgba(16, 26, 54, 0.95), rgba(12, 18, 38, 0.95));
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00D4FF, #7C5CFF, transparent);
  opacity: 0.6;
}

.stat-card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: var(--glow-cyan-soft);
}

.stat-value {
  font-size: 32px;
  font-weight: bold;
  background: linear-gradient(135deg, #7FEBFF, #00D4FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Segoe UI', Consolas, monospace;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ========== TOAST ========== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  padding: 12px 20px;
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 13px;
  animation: slideIn 0.3s ease;
  max-width: 360px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.toast-success { background: #06301B; color: #B9F6CA; border: 1px solid rgba(0, 230, 118, 0.4); }
.toast-error { background: #3A0E17; color: #FFCDD2; border: 1px solid rgba(255, 84, 112, 0.4); }
.toast-warning { background: #33230A; color: #FFE0B2; border: 1px solid rgba(255, 183, 77, 0.4); }
.toast-info { background: #0A2140; color: #B3E5FC; border: 1px solid rgba(64, 196, 255, 0.4); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 16, 0.78);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal {
  background: linear-gradient(160deg, #101A3C, #0C1329);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  padding: 24px;
  min-width: 500px;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), var(--glow-cyan-soft);
}

.modal h3 {
  color: var(--gold);
  margin-bottom: 16px;
  text-shadow: var(--glow-cyan-soft);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}

/* ========== LOADING ========== */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state .icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}

/* ========== CALENDAR ========== */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.calendar-header-cell {
  text-align: center;
  padding: 6px 0;
  font-size: 11px;
  color: var(--gold);
  font-weight: bold;
}

.calendar-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
  padding: 2px;
  min-height: 40px;
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(16, 26, 54, 0.5);
  border: 1px solid transparent;
}

.calendar-cell:hover {
  background: var(--bg-hover);
  border-color: var(--border-gold);
}

.calendar-cell-empty {
  background: transparent;
  cursor: default;
}

.calendar-cell-today {
  border: 1px solid var(--gold) !important;
  background: rgba(0, 212, 255, 0.10);
  box-shadow: inset 0 0 12px rgba(0, 212, 255, 0.12);
}

.calendar-cell-today .calendar-day-num {
  color: var(--gold);
  font-weight: bold;
  text-shadow: var(--glow-cyan);
}

.calendar-cell-selected {
  background: rgba(0, 212, 255, 0.18) !important;
  border-color: var(--gold) !important;
  box-shadow: var(--glow-cyan-soft);
}

.calendar-cell-selected .calendar-day-num {
  color: var(--gold-light);
  font-weight: bold;
}

.calendar-day-num {
  font-size: 13px;
  line-height: 1;
}

.calendar-dots {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

.calendar-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14px;
  height: 14px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: bold;
  padding: 0 4px;
}

.calendar-dot-pending {
  background: rgba(0, 212, 255, 0.25);
  color: var(--gold-light);
  border: 1px solid rgba(0, 212, 255, 0.45);
}

.calendar-dot-done {
  background: rgba(0, 230, 118, 0.22);
  color: var(--success);
  border: 1px solid rgba(0, 230, 118, 0.45);
  font-size: 8px;
}

/* ========== TODO ITEMS ========== */
.todo-item:hover {
  border-color: var(--border-gold) !important;
  box-shadow: var(--glow-cyan-soft);
}

.todo-done {
  opacity: 0.45;
}

/* ========== REMINDER POPUP ========== */
.reminder-popup {
  background: linear-gradient(160deg, #101A3C 0%, #0C1329 100%);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  animation: reminderBounce 0.4s ease;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 212, 255, 0.2);
}

.reminder-icon {
  font-size: 48px;
  margin-bottom: 12px;
  animation: reminderPulse 1s ease infinite;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.reminder-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 6px;
  text-shadow: var(--glow-cyan);
}

.reminder-time {
  font-size: 14px;
  color: var(--warning);
  margin-bottom: 16px;
  font-weight: bold;
}

.reminder-content {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.5;
  padding: 12px;
  background: rgba(7, 11, 24, 0.6);
  border-radius: 8px;
  border: 1px solid var(--border);
}

@keyframes reminderBounce {
  0% { transform: scale(0.7); opacity: 0; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes reminderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .sidebar { width: 260px; min-width: 260px; }
  .panel-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   V2.5 黑白金科技层（2026-10-22）：纯黑底 + 珍珠白 + 鎏金
   ================================================================ */
:root {
  --gold: #E4B95B;
  --gold-light: #F5D78C;
  --gold-dark: #B8933F;
  --accent-purple: #E4B95B;
  --bg-dark: #050505;
  --bg-panel: #0B0B0D;
  --bg-card: #101013;
  --bg-hover: #1A1A1F;
  --text-primary: #F2F2F4;
  --text-secondary: #C9C9CF;
  --text-muted: #7A7A85;
  --border: #26262C;
  --border-gold: #E4B95B66;
  --info: #E4B95B;
  --glow-cyan: 0 0 12px rgba(228, 185, 91, 0.4);
  --glow-cyan-soft: 0 0 24px rgba(228, 185, 91, 0.15);
}

/* ---- 整体底色：纯黑 + 金色微光晕 ---- */
body {
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(228, 185, 91, 0.07), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(255, 255, 255, 0.04), transparent 60%),
    radial-gradient(700px 380px at 50% 50%, rgba(228, 185, 91, 0.025), transparent 70%),
    #050505;
}

/* ---- 右上雷达同心环（金线，缓慢旋转） ---- */
body::before {
  content: '';
  position: fixed;
  width: 560px; height: 560px;
  right: -140px; top: -80px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 55%, rgba(228,185,91,0.0) 56%),
    repeating-radial-gradient(circle at center, transparent 0 69px, rgba(228,185,91,0.10) 69px 70px);
  -webkit-mask-image: radial-gradient(circle at center, transparent 30%, #000 75%);
  mask-image: radial-gradient(circle at center, transparent 30%, #000 75%);
  animation: hudspin 60s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes hudspin { to { transform: rotate(360deg); } }

/* ---- 左下白色粒子点阵 ---- */
body::after {
  content: '';
  position: fixed;
  width: 640px; height: 640px;
  left: -160px; bottom: -160px;
  background-image:
    radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1.5px),
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 34px 34px, 68px 68px, 68px 68px;
  -webkit-mask-image: radial-gradient(circle at 30% 70%, #000 20%, transparent 72%);
  mask-image: radial-gradient(circle at 30% 70%, #000 20%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

/* ---- 侧边栏：墨黑 + 金色分隔光带 ---- */
.sidebar { background: linear-gradient(180deg, #0A0A0C 0%, #060607 100%); }
.sidebar-header { background: linear-gradient(135deg, #101013 0%, #0B0B0D 60%, #101013 100%); }
.sidebar-header::after { background: linear-gradient(90deg, transparent, #E4B95B, #F5D78C, transparent); opacity: 0.85; }

.sidebar-logo {
  background: linear-gradient(135deg, #F8ECC8 0%, #E4B95B 45%, #B8933F 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 10px rgba(228, 185, 91, 0.45));
}
.sidebar-tab.active { border-bottom-color: #E4B95B; color: #F5D78C; }
.sidebar-tab:hover { color: #F5D78C; }

/* ---- 导航项：白字，悬停金描边 ---- */
.nav-item, .menu-item, .sidebar-menu a, .sidebar .nav-link {
  color: var(--text-secondary);
  border-left: 2px solid transparent;
}
.nav-item:hover, .menu-item:hover, .sidebar-menu a:hover, .sidebar .nav-link:hover {
  color: #F5D78C;
  background: rgba(228, 185, 91, 0.07);
  border-left-color: #E4B95B;
}
.nav-item.active, .menu-item.active, .sidebar-menu a.active, .sidebar .nav-link.active {
  color: #F5D78C;
  background: linear-gradient(90deg, rgba(228,185,91,0.14), rgba(228,185,91,0.02));
  border-left-color: #E4B95B;
}

/* ---- 卡片/面板：玻璃黑 + 金色细边 ---- */
.card, .panel, .stat-card, .detail-panel, .modal-content, .form-card {
  background: linear-gradient(160deg, rgba(22,22,26,0.92), rgba(11,11,13,0.96));
  border: 1px solid #2A2A31;
  border-radius: 14px;
  backdrop-filter: blur(8px);
}
.card:hover, .panel:hover, .stat-card:hover {
  border-color: rgba(228, 185, 91, 0.45);
  box-shadow: 0 0 22px rgba(228, 185, 91, 0.12), inset 0 0 0 1px rgba(228,185,91,0.08);
}

/* ---- 统计数字：鎏金渐变发光 ---- */
.stat-number, .metric-value, .big-number {
  background: linear-gradient(135deg, #F8ECC8 0%, #E4B95B 55%, #C9A24B 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(228, 185, 91, 0.35));
}
.stat-label, .metric-label { color: var(--text-muted); letter-spacing: 1px; }

/* ---- 按钮：鎏金主按钮 / 幽灵副按钮 ---- */
.btn-primary, button.primary, .btn-gold {
  background: linear-gradient(135deg, #F5D78C 0%, #E4B95B 50%, #B8933F 100%) !important;
  color: #1A1405 !important;
  border: none !important;
  font-weight: bold;
  box-shadow: 0 2px 14px rgba(228, 185, 91, 0.3);
}
.btn-primary:hover, button.primary:hover {
  box-shadow: 0 4px 22px rgba(228, 185, 91, 0.5);
  filter: brightness(1.06);
}
.btn-secondary, button, .btn {
  background: rgba(255,255,255,0.045);
  color: #E6E6EA;
  border: 1px solid #2E2E36;
}
.btn:hover, button:hover { border-color: rgba(228,185,91,0.55); color: #F5D78C; }

/* ---- 表格：白字 + 金色行悬停 ---- */
th, thead th {
  background: linear-gradient(180deg, #17171B, #101013);
  color: #E4B95B !important;
  border-bottom: 1px solid rgba(228,185,91,0.35);
  letter-spacing: 0.5px;
}
td { border-bottom: 1px solid #1E1E24; }
tr:hover, .list-item:hover {
  background: rgba(228, 185, 91, 0.05);
  box-shadow: inset 3px 0 0 #E4B95B;
}

/* ---- 表单控件 ---- */
input, select, textarea {
  background: #0E0E11;
  border: 1px solid #2A2A31;
  color: #F2F2F4;
}
input:focus, select:focus, textarea:focus {
  border-color: #E4B95B;
  box-shadow: 0 0 0 2px rgba(228, 185, 91, 0.18);
  outline: none;
}

/* ---- 滚动条：金白渐变 ---- */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(228,185,91,0.6), rgba(245,215,140,0.35));
  border-radius: 8px;
}
::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }

/* ---- 徽章/标签 ---- */
.badge, .tag, .chip {
  border: 1px solid rgba(228,185,91,0.4);
  color: #F5D78C;
  background: rgba(228,185,91,0.08);
}

/* ---- 顶部栏/标题金色下划线 ---- */
.header, .topbar, h1, h2 {
  border-bottom: 1px solid rgba(228,185,91,0.25);
}
h1, h2, h3, .section-title { color: #F2F2F4; }

/* ================================================================
   V2.6 科技蓝炫酷层（2026-10-22）：深海蓝→亮科技蓝渐变 + 发光同心环 + 星光粒子
   ================================================================ */
:root {
  --gold: #4DA8FF;
  --gold-light: #8FCBFF;
  --gold-dark: #1E6FD0;
  --accent-purple: #2E7BE8;
  --bg-dark: #04122E;
  --bg-panel: #072142;
  --bg-card: #0A2A52;
  --bg-hover: #103968;
  --text-primary: #F4F9FF;
  --text-secondary: #C4D9F2;
  --text-muted: #7FA3CC;
  --border: #1A4478;
  --border-gold: #4DA8FF66;
  --info: #4DA8FF;
  --glow-cyan: 0 0 12px rgba(77, 168, 255, 0.5);
  --glow-cyan-soft: 0 0 26px rgba(77, 168, 255, 0.2);
}

/* ---- 整体底色：深海蓝→亮科技蓝 斜向渐变 + 中部光带 ---- */
body {
  background:
    radial-gradient(1200px 560px at 85% -12%, rgba(120, 200, 255, 0.16), transparent 60%),
    radial-gradient(1000px 520px at -10% 112%, rgba(46, 123, 232, 0.20), transparent 62%),
    radial-gradient(760px 420px at 55% 45%, rgba(90, 170, 255, 0.08), transparent 70%),
    linear-gradient(135deg, #030D24 0%, #062451 42%, #0A3B78 78%, #0D4E97 100%);
}

/* ---- 右上发光同心环（亮蓝光圈，缓慢旋转） ---- */
body::before {
  content: '';
  position: fixed;
  width: 620px; height: 620px;
  right: -150px; top: -110px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center,
    transparent 0 77px,
    rgba(140, 205, 255, 0.14) 77px 78.5px,
    transparent 78.5px 155px);
  -webkit-mask-image: radial-gradient(circle at center, transparent 26%, #000 72%);
  mask-image: radial-gradient(circle at center, transparent 26%, #000 72%);
  filter: drop-shadow(0 0 14px rgba(100, 180, 255, 0.35));
  animation: hudspin 60s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes hudspin { to { transform: rotate(360deg); } }

/* ---- 左下星光粒子 + 蓝色网格 + 斜向光束 ---- */
body::after {
  content: '';
  position: fixed;
  width: 720px; height: 720px;
  left: -180px; bottom: -180px;
  background-image:
    radial-gradient(rgba(190, 225, 255, 0.35) 1px, transparent 1.6px),
    radial-gradient(rgba(140, 200, 255, 0.18) 1.4px, transparent 2.2px),
    linear-gradient(rgba(120, 190, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 190, 255, 0.05) 1px, transparent 1px),
    linear-gradient(115deg, transparent 42%, rgba(150, 210, 255, 0.06) 50%, transparent 58%);
  background-size: 46px 46px, 92px 92px, 72px 72px, 72px 72px, 100% 100%;
  -webkit-mask-image: radial-gradient(circle at 28% 72%, #000 22%, transparent 74%);
  mask-image: radial-gradient(circle at 28% 72%, #000 22%, transparent 74%);
  pointer-events: none;
  z-index: 0;
}

/* ---- 侧边栏：深海军蓝 + 亮蓝分隔光带 ---- */
.sidebar { background: linear-gradient(180deg, #05183A 0%, #030E26 100%); }
.sidebar-header { background: linear-gradient(135deg, #0A2A55 0%, #062047 60%, #0A2A55 100%); }
.sidebar-header::after {
  background: linear-gradient(90deg, transparent, #5FB4FF, #A8D8FF, transparent);
  opacity: 0.9;
}
.sidebar-logo {
  background: linear-gradient(135deg, #FFFFFF 0%, #BFE0FF 40%, #5FB4FF 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 12px rgba(120, 195, 255, 0.55));
}
.sidebar-tab.active { border-bottom-color: #5FB4FF; color: #EAF5FF; }
.sidebar-tab:hover { color: #BFE0FF; }

/* ---- 导航项：银白字，悬停亮蓝 ---- */
.nav-item:hover, .menu-item:hover, .sidebar-menu a:hover, .sidebar .nav-link:hover {
  color: #EAF5FF;
  background: rgba(95, 180, 255, 0.10);
  border-left-color: #5FB4FF;
}
.nav-item.active, .menu-item.active, .sidebar-menu a.active, .sidebar .nav-link.active {
  color: #FFFFFF;
  background: linear-gradient(90deg, rgba(95,180,255,0.22), rgba(95,180,255,0.03));
  border-left-color: #5FB4FF;
  text-shadow: 0 0 8px rgba(120, 195, 255, 0.5);
}

/* ---- 卡片：深蓝玻璃 + 蓝光细边 ---- */
.card, .panel, .stat-card, .detail-panel, .modal-content, .form-card {
  background: linear-gradient(160deg, rgba(12, 44, 86, 0.88), rgba(6, 26, 58, 0.94));
  border: 1px solid rgba(110, 175, 245, 0.28);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}
.card:hover, .panel:hover, .stat-card:hover {
  border-color: rgba(140, 205, 255, 0.55);
  box-shadow: 0 0 24px rgba(95, 180, 255, 0.18), inset 0 0 0 1px rgba(140,205,255,0.10);
}

/* ---- 统计数字：亮蓝→冰白渐变发光 ---- */
.stat-number, .metric-value, .big-number {
  background: linear-gradient(135deg, #FFFFFF 0%, #A8D8FF 55%, #4DA8FF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(120, 195, 255, 0.45));
}

/* ---- 按钮：亮蓝渐变主按钮 ---- */
.btn-primary, button.primary, .btn-gold {
  background: linear-gradient(135deg, #7FC4FF 0%, #3D96F5 50%, #1E6FD0 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(10, 40, 90, 0.4);
  box-shadow: 0 2px 16px rgba(77, 168, 255, 0.4);
}
.btn-primary:hover, button.primary:hover {
  box-shadow: 0 4px 26px rgba(95, 180, 255, 0.6);
  filter: brightness(1.08);
}
.btn-secondary, button, .btn {
  background: rgba(160, 210, 255, 0.08);
  color: #DCEBFC;
  border: 1px solid rgba(110, 175, 245, 0.35);
}
.btn:hover, button:hover { border-color: rgba(140,205,255,0.7); color: #FFFFFF; }

/* ---- 表格：银蓝表头 ---- */
th, thead th {
  background: linear-gradient(180deg, #0E3566, #0A2A55);
  color: #CBE4FF !important;
  border-bottom: 1px solid rgba(120, 195, 255, 0.4);
}
td { border-bottom: 1px solid rgba(60, 110, 180, 0.25); }
tr:hover, .list-item:hover {
  background: rgba(95, 180, 255, 0.08);
  box-shadow: inset 3px 0 0 #5FB4FF;
}

/* ---- 表单控件 ---- */
input, select, textarea {
  background: rgba(4, 16, 38, 0.85);
  border: 1px solid rgba(90, 150, 220, 0.35);
  color: #F4F9FF;
}
input:focus, select:focus, textarea:focus {
  border-color: #5FB4FF;
  box-shadow: 0 0 0 2px rgba(95, 180, 255, 0.22), 0 0 14px rgba(95,180,255,0.15);
  outline: none;
}

/* ---- 滚动条：冰蓝渐变 ---- */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(140, 205, 255, 0.6), rgba(77, 168, 255, 0.4));
  border-radius: 8px;
}
::-webkit-scrollbar-track { background: rgba(200, 230, 255, 0.05); }

/* ---- 徽章 ---- */
.badge, .tag, .chip {
  border: 1px solid rgba(140, 205, 255, 0.45);
  color: #CBE4FF;
  background: rgba(95, 180, 255, 0.12);
}

/* ---- 标题/顶部栏 ---- */
.header, .topbar, h1, h2 { border-bottom: 1px solid rgba(120, 195, 255, 0.3); }
h1, h2, h3, .section-title { color: #F4F9FF; }

/* ================================================================
   V2.7 白底科技层（2026-10-22）：白色底 + 深色文字 + 蓝色科技点缀
   ================================================================ */
:root {
  --gold: #1E6FD0;
  --gold-light: #5FB4FF;
  --gold-dark: #0D4E97;
  --accent-purple: #1E6FD0;
  --bg-dark: #F4F7FB;
  --bg-panel: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-hover: #EAF2FC;
  --text-primary: #16233A;
  --text-secondary: #3D5470;
  --text-muted: #7C8FA6;
  --border: #DCE5EF;
  --border-gold: #1E6FD044;
  --info: #1E6FD0;
  --glow-cyan: 0 2px 10px rgba(30, 111, 208, 0.12);
  --glow-cyan-soft: 0 4px 18px rgba(30, 111, 208, 0.08);
}

/* ---- 关掉深色装饰层 ---- */
body::before, body::after { content: none !important; }

/* ---- 整体底色：白 + 淡蓝光晕 ---- */
body {
  background:
    radial-gradient(1000px 480px at 88% -10%, rgba(95, 180, 255, 0.10), transparent 60%),
    radial-gradient(900px 460px at -8% 110%, rgba(30, 111, 208, 0.07), transparent 60%),
    linear-gradient(135deg, #FAFCFF 0%, #F1F6FC 55%, #E9F1FA 100%);
  color: var(--text-primary);
}

/* ---- 侧边栏：白玻璃 ---- */
.sidebar {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FD 100%);
  border-right: 1px solid #E2EAF3;
  box-shadow: 1px 0 18px rgba(30, 111, 208, 0.06);
}
.sidebar-header { background: #FFFFFF; border-bottom: 1px solid #E2EAF3; }
.sidebar-header::after {
  background: linear-gradient(90deg, transparent, #5FB4FF, #1E6FD0, transparent);
  opacity: 0.6;
}
.sidebar-logo {
  background: linear-gradient(135deg, #1E6FD0 0%, #2E8BE8 55%, #0D4E97 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: none;
}
.sidebar-logo span { -webkit-text-fill-color: var(--text-muted); }
.sidebar-tab.active { border-bottom-color: #1E6FD0; color: #1E6FD0; }
.sidebar-tab:hover { color: #1E6FD0; }

/* ---- 导航 ---- */
.nav-item, .menu-item, .sidebar-menu a, .sidebar .nav-link { color: #3D5470; }
.nav-item:hover, .menu-item:hover, .sidebar-menu a:hover, .sidebar .nav-link:hover {
  color: #1E6FD0;
  background: rgba(95, 180, 255, 0.10);
  border-left-color: #5FB4FF;
}
.nav-item.active, .menu-item.active, .sidebar-menu a.active, .sidebar .nav-link.active {
  color: #0D4E97;
  background: linear-gradient(90deg, rgba(30,111,208,0.10), rgba(30,111,208,0.02));
  border-left-color: #1E6FD0;
  text-shadow: none;
}

/* ---- 卡片：纯白 + 细边 + 柔和阴影 ---- */
.card, .panel, .stat-card, .detail-panel, .modal-content, .form-card {
  background: #FFFFFF;
  border: 1px solid #E2EAF3;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(20, 50, 100, 0.06);
  backdrop-filter: none;
}
.card:hover, .panel:hover, .stat-card:hover {
  border-color: rgba(30, 111, 208, 0.35);
  box-shadow: 0 6px 22px rgba(30, 111, 208, 0.12);
}

/* ---- 统计数字：深蓝实色（浅底上渐变镂空字不可靠） ---- */
.stat-number, .metric-value, .big-number {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #1E6FD0;
  filter: none;
  font-weight: bold;
}
.stat-label, .metric-label { color: var(--text-muted); }

/* ---- 按钮 ---- */
.btn-primary, button.primary, .btn-gold {
  background: linear-gradient(135deg, #3D96F5 0%, #1E6FD0 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  text-shadow: none;
  box-shadow: 0 2px 10px rgba(30, 111, 208, 0.25);
}
.btn-secondary, button, .btn {
  background: #FFFFFF;
  color: #2E5A88;
  border: 1px solid #C9DAEC;
}
.btn:hover, button:hover {
  border-color: #1E6FD0;
  color: #1E6FD0;
  background: #F2F8FE;
}

/* ---- 表格 ---- */
th, thead th {
  background: #F0F6FC;
  color: #2E5A88 !important;
  border-bottom: 1px solid #C9DAEC;
}
td { border-bottom: 1px solid #EAF0F7; }
tr:hover, .list-item:hover {
  background: #F2F8FE;
  box-shadow: inset 3px 0 0 #1E6FD0;
}

/* ---- 表单 ---- */
input, select, textarea {
  background: #FFFFFF;
  border: 1px solid #D5E0EC;
  color: #16233A;
}
input:focus, select:focus, textarea:focus {
  border-color: #1E6FD0;
  box-shadow: 0 0 0 3px rgba(30, 111, 208, 0.10);
}

/* ---- 滚动条 ---- */
::-webkit-scrollbar-thumb {
  background: #C9DAEC;
  border-radius: 8px;
}
::-webkit-scrollbar-track { background: #F2F6FA; }

/* ---- 徽章 ---- */
.badge, .tag, .chip {
  border: 1px solid #BBD6F2;
  color: #1E6FD0;
  background: #EAF3FC;
}

/* ---- 标题 ---- */
.header, .topbar, h1, h2 { border-bottom: 1px solid #E2EAF3; }
h1, h2, h3, .section-title { color: #16233A; }

/* ================================================================
   V2.8 墨蓝青科技层（2026-10-22）：深墨蓝底 + 墨青玻璃卡 + 薄荷青点缀
   ================================================================ */
:root {
  --gold: #3BE8C8;
  --gold-light: #7FF2DC;
  --gold-dark: #159F86;
  --accent-purple: #2E9BD8;
  --bg-dark: #06121F;
  --bg-panel: #0A1E33;
  --bg-card: #0C2338;
  --bg-hover: #123049;
  --text-primary: #E8F4F6;
  --text-secondary: #A8C4D4;
  --text-muted: #62809A;
  --border: #16354E;
  --border-gold: #3BE8C855;
  --info: #3BE8C8;
  --glow-cyan: 0 0 12px rgba(59, 232, 200, 0.35);
  --glow-cyan-soft: 0 0 26px rgba(59, 232, 200, 0.12);
}

/* ---- 整体底色：深墨蓝 + 淡青光晕 ---- */
body {
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(59, 232, 200, 0.05), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(46, 155, 216, 0.10), transparent 60%),
    linear-gradient(140deg, #06121F 0%, #082135 45%, #0A2942 100%);
}

/* ---- 右上：淡青细线同心环（低调） ---- */
body::before {
  content: '';
  position: fixed;
  width: 560px; height: 560px;
  right: -140px; top: -90px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center,
    transparent 0 70px,
    rgba(120, 220, 220, 0.07) 70px 71.5px,
    transparent 71.5px 140px);
  -webkit-mask-image: radial-gradient(circle at center, transparent 28%, #000 72%);
  mask-image: radial-gradient(circle at center, transparent 28%, #000 72%);
  animation: hudspin 60s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* ---- 左下：细网格 + 微光粒子 ---- */
body::after {
  content: '';
  position: fixed;
  width: 680px; height: 680px;
  left: -170px; bottom: -170px;
  background-image:
    radial-gradient(rgba(140, 230, 225, 0.14) 1px, transparent 1.5px),
    linear-gradient(rgba(120, 200, 230, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 200, 230, 0.04) 1px, transparent 1px);
  background-size: 40px 40px, 80px 80px, 80px 80px;
  -webkit-mask-image: radial-gradient(circle at 30% 70%, #000 20%, transparent 72%);
  mask-image: radial-gradient(circle at 30% 70%, #000 20%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

/* ---- 侧边栏：墨蓝黑 ---- */
.sidebar { background: linear-gradient(180deg, #081A2C 0%, #050F1B 100%); }
.sidebar-header { background: linear-gradient(135deg, #0C2338 0%, #081C2F 60%, #0C2338 100%); }
.sidebar-header::after {
  background: linear-gradient(90deg, transparent, #3BE8C8, #2E9BD8, transparent);
  opacity: 0.7;
}
.sidebar-logo {
  background: linear-gradient(135deg, #E8F4F6 0%, #7FF2DC 50%, #3BE8C8 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 10px rgba(59, 232, 200, 0.35));
}
.sidebar-tab.active { border-bottom-color: #3BE8C8; color: #7FF2DC; }
.sidebar-tab:hover { color: #7FF2DC; }

/* ---- 导航 ---- */
.nav-item:hover, .menu-item:hover, .sidebar-menu a:hover, .sidebar .nav-link:hover {
  color: #7FF2DC;
  background: rgba(59, 232, 200, 0.08);
  border-left-color: #3BE8C8;
}
.nav-item.active, .menu-item.active, .sidebar-menu a.active, .sidebar .nav-link.active {
  color: #7FF2DC;
  background: linear-gradient(90deg, rgba(59,232,200,0.14), rgba(59,232,200,0.02));
  border-left-color: #3BE8C8;
}

/* ---- 卡片：墨青玻璃 ---- */
.card, .panel, .stat-card, .detail-panel, .modal-content, .form-card {
  background: linear-gradient(165deg, rgba(14, 40, 62, 0.92), rgba(8, 26, 44, 0.95));
  border: 1px solid #1A4060;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.card:hover, .panel:hover, .stat-card:hover {
  border-color: rgba(59, 232, 200, 0.40);
  box-shadow: 0 0 20px rgba(59, 232, 200, 0.10);
}

/* ---- 统计数字：薄荷青发光 ---- */
.stat-number, .metric-value, .big-number {
  background: linear-gradient(135deg, #B8FFF2 0%, #3BE8C8 60%, #17C9A8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(59, 232, 200, 0.40));
}

/* ---- 按钮：青色主按钮 ---- */
.btn-primary, button.primary, .btn-gold {
  background: linear-gradient(135deg, #3BE8C8 0%, #17B899 60%, #0E8E76 100%) !important;
  color: #05221B !important;
  border: none !important;
  font-weight: bold;
  box-shadow: 0 2px 14px rgba(59, 232, 200, 0.30);
}
.btn-secondary, button, .btn {
  background: rgba(120, 200, 220, 0.07);
  color: #C7DDE6;
  border: 1px solid #1E4A66;
}
.btn:hover, button:hover { border-color: rgba(59,232,200,0.6); color: #7FF2DC; }

/* ---- 表格 ---- */
th, thead th {
  background: linear-gradient(180deg, #0E2C46, #0B2439);
  color: #7FD8E8 !important;
  border-bottom: 1px solid rgba(59, 232, 200, 0.30);
}
td { border-bottom: 1px solid #123049; }
tr:hover, .list-item:hover {
  background: rgba(59, 232, 200, 0.05);
  box-shadow: inset 3px 0 0 #3BE8C8;
}

/* ---- 表单 ---- */
input, select, textarea {
  background: rgba(5, 15, 27, 0.85);
  border: 1px solid #1A4060;
  color: #E8F4F6;
}
input:focus, select:focus, textarea:focus {
  border-color: #3BE8C8;
  box-shadow: 0 0 0 2px rgba(59, 232, 200, 0.16);
}

/* ---- 滚动条 ---- */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(59,232,200,0.5), rgba(46,155,216,0.4));
  border-radius: 8px;
}
::-webkit-scrollbar-track { background: rgba(5, 15, 27, 0.6); }

/* ---- 徽章 ---- */
.badge, .tag, .chip {
  border: 1px solid rgba(59, 232, 200, 0.40);
  color: #7FF2DC;
  background: rgba(59, 232, 200, 0.08);
}

/* ---- 标题 ---- */
.header, .topbar, h1, h2 { border-bottom: 1px solid rgba(59, 232, 200, 0.22); }
h1, h2, h3, .section-title { color: #E8F4F6; }

/* ================================================================
   V2.9 青转金补丁（2026-10-22）：墨蓝底不变，薄荷青点缀全部改深金
   ================================================================ */
:root {
  --gold: #D9A93F;
  --gold-light: #F0CE7E;
  --gold-dark: #9C7826;
  --info: #D9A93F;
  --border-gold: #D9A93F55;
  --glow-cyan: 0 0 12px rgba(217, 169, 63, 0.35);
  --glow-cyan-soft: 0 0 26px rgba(217, 169, 63, 0.12);
}

/* ---- 卡片标题栏：白字 + 金色底光带（截图里的青色标题条） ---- */
.panel-header, .card-header, .section-header,
.card > .header, .panel > .header {
  color: #F2E7C8 !important;
}
.sidebar-header::after {
  background: linear-gradient(90deg, transparent, #D9A93F, #F0CE7E, transparent);
  opacity: 0.8;
}

/* ---- 导航/页签高亮 ---- */
.sidebar-tab.active { border-bottom-color: #D9A93F; color: #F0CE7E; }
.sidebar-tab:hover { color: #F0CE7E; }
.nav-item:hover, .menu-item:hover, .sidebar-menu a:hover, .sidebar .nav-link:hover {
  color: #F0CE7E;
  background: rgba(217, 169, 63, 0.08);
  border-left-color: #D9A93F;
}
.nav-item.active, .menu-item.active, .sidebar-menu a.active, .sidebar .nav-link.active {
  color: #F0CE7E;
  background: linear-gradient(90deg, rgba(217,169,63,0.16), rgba(217,169,63,0.02));
  border-left-color: #D9A93F;
}

/* ---- Logo：金色渐变 ---- */
.sidebar-logo {
  background: linear-gradient(135deg, #F8ECC8 0%, #E4B95B 50%, #B8933F 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 10px rgba(217, 169, 63, 0.4));
}

/* ---- 卡片悬停 / 行悬停 ---- */
.card:hover, .panel:hover, .stat-card:hover {
  border-color: rgba(217, 169, 63, 0.45);
  box-shadow: 0 0 20px rgba(217, 169, 63, 0.10);
}
tr:hover, .list-item:hover {
  background: rgba(217, 169, 63, 0.05);
  box-shadow: inset 3px 0 0 #D9A93F;
}

/* ---- 统计数字：深金渐变发光 ---- */
.stat-number, .metric-value, .big-number {
  background: linear-gradient(135deg, #F8ECC8 0%, #E4B95B 60%, #B8933F 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(217, 169, 63, 0.40));
}

/* ---- 主按钮：深金渐变 ---- */
.btn-primary, button.primary, .btn-gold {
  background: linear-gradient(135deg, #F0CE7E 0%, #D9A93F 60%, #9C7826 100%) !important;
  color: #241A04 !important;
  box-shadow: 0 2px 14px rgba(217, 169, 63, 0.30);
}
.btn:hover, button:hover { border-color: rgba(217,169,63,0.6); color: #F0CE7E; }

/* ---- 表头 ---- */
th, thead th {
  color: #E8CE8C !important;
  border-bottom: 1px solid rgba(217, 169, 63, 0.35);
}

/* ---- 表单聚焦 / 滚动条 / 徽章 ---- */
input:focus, select:focus, textarea:focus {
  border-color: #D9A93F;
  box-shadow: 0 0 0 2px rgba(217, 169, 63, 0.16);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(217,169,63,0.5), rgba(156,120,38,0.4));
}
.badge, .tag, .chip {
  border: 1px solid rgba(217, 169, 63, 0.40);
  color: #F0CE7E;
  background: rgba(217, 169, 63, 0.08);
}
.header, .topbar, h1, h2 { border-bottom: 1px solid rgba(217, 169, 63, 0.25); }

/* ---- 全局兜底：把常见青色文字/图标统一转金 ---- */
.panel-title, .card-title, .section-title { color: #F0CE7E; }
a { color: #E4B95B; }

/* ================================================================
   V3.0 极简白层（2026-10-22）：墨黑侧栏 + 纯白内容区 + 橙色点缀
   ================================================================ */
:root {
  --gold: #FF6A00;
  --gold-light: #FF8C33;
  --gold-dark: #D65600;
  --accent-purple: #FF6A00;
  --bg-dark: #F7F8FA;
  --bg-panel: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-hover: #F3F4F6;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #9A9A9A;
  --border: #E8E8E8;
  --border-gold: #FF6A0033;
  --info: #FF6A00;
  --glow-cyan: 0 1px 6px rgba(0, 0, 0, 0.06);
  --glow-cyan-soft: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* ---- 关掉深色装饰 ---- */
body::before, body::after { content: none !important; }

/* ---- 底色：纯白微灰 ---- */
body {
  background: #F7F8FA;
  color: var(--text-primary);
}

/* ---- 侧边栏：墨黑 ---- */
.sidebar {
  background: #0D0D0F;
  border-right: none;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.08);
}
.sidebar-header { background: #0D0D0F; border-bottom: 1px solid #1F1F23; }
.sidebar-header::after { content: none; }
.sidebar-logo {
  background: none;
  -webkit-background-clip: initial; background-clip: initial;
  -webkit-text-fill-color: #FFFFFF;
  color: #FFFFFF;
  filter: none;
}
.sidebar-logo span { -webkit-text-fill-color: #8A8A8F; }
.sidebar-tabs { border-bottom: 1px solid #1F1F23; }
.sidebar-tab.active { border-bottom-color: #FF6A00; color: #FFFFFF; }
.sidebar-tab { color: #A0A0A5; }
.sidebar-tab:hover { color: #FFFFFF; }

/* ---- 导航 ---- */
.nav-item, .menu-item, .sidebar-menu a, .sidebar .nav-link { color: #C0C0C5; }
.nav-item:hover, .menu-item:hover, .sidebar-menu a:hover, .sidebar .nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
  border-left-color: transparent;
}
.nav-item.active, .menu-item.active, .sidebar-menu a.active, .sidebar .nav-link.active {
  color: #FFFFFF;
  background: rgba(255, 106, 0, 0.16);
  border-left-color: #FF6A00;
  text-shadow: none;
}

/* ---- 卡片：纯白极简 ---- */
.card, .panel, .stat-card, .detail-panel, .modal-content, .form-card {
  background: #FFFFFF;
  border: 1px solid #EBEBEB;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  backdrop-filter: none;
}
.card:hover, .panel:hover, .stat-card:hover {
  border-color: #E0E0E0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

/* ---- 统计数字：黑字加粗（主数字可用橙） ---- */
.stat-number, .metric-value, .big-number {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #1A1A1A;
  filter: none;
  font-weight: bold;
}
.stat-label, .metric-label { color: var(--text-muted); }

/* ---- 按钮：橙色主按钮 / 白底描边副按钮 ---- */
.btn-primary, button.primary, .btn-gold {
  background: #FF6A00 !important;
  color: #FFFFFF !important;
  border: none !important;
  text-shadow: none;
  box-shadow: none;
}
.btn-primary:hover, button.primary:hover {
  background: #E85F00 !important;
  filter: none;
  box-shadow: 0 2px 8px rgba(255, 106, 0, 0.3);
}
.btn-secondary, button, .btn {
  background: #FFFFFF;
  color: #333333;
  border: 1px solid #DEDEDE;
  box-shadow: none;
}
.btn:hover, button:hover {
  border-color: #FF6A00;
  color: #FF6A00;
  background: #FFF7F2;
}

/* ---- 表格 ---- */
th, thead th {
  background: #FAFAFA;
  color: #666666 !important;
  border-bottom: 1px solid #EBEBEB;
  font-weight: 600;
}
td { border-bottom: 1px solid #F2F2F2; }
tr:hover, .list-item:hover {
  background: #FFF9F5;
  box-shadow: inset 3px 0 0 #FF6A00;
}

/* ---- 表单 ---- */
input, select, textarea {
  background: #FFFFFF;
  border: 1px solid #DEDEDE;
  color: #1A1A1A;
  border-radius: 8px;
}
input:focus, select:focus, textarea:focus {
  border-color: #FF6A00;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.10);
}

/* ---- 滚动条 ---- */
::-webkit-scrollbar-thumb { background: #D8D8D8; border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

/* ---- 徽章 ---- */
.badge, .tag, .chip {
  border: 1px solid #FFE0CC;
  color: #E85F00;
  background: #FFF3EB;
}

/* ---- 标题 ---- */
.header, .topbar, h1, h2 { border-bottom: 1px solid #EBEBEB; }
h1, h2, h3, .section-title { color: #1A1A1A; }
a { color: #FF6A00; }

/* ================================================================
   V3.1 高对比精修（2026-10-22）：白底黑字 + 墨黑侧栏亮白字 + 橙点缀
   原则：文字一律深色实色，禁用淡色/渐变镂空，对比拉满
   ================================================================ */

/* ---- 全局文字：深色实色，禁止镂空渐变字 ---- */
* {
  -webkit-text-fill-color: initial;
}
h1, h2, h3, h4, .stat-number, .metric-value, .big-number {
  -webkit-text-fill-color: initial;
}

body, p, span, td, li, label, div {
  color: #1F2937;
}

/* ---- 侧边栏：黑底必须配亮白字 ---- */
.sidebar, .sidebar * { -webkit-text-fill-color: initial; }
.sidebar { background: #101014 !important; }
.sidebar-header { background: #101014 !important; }
.sidebar-logo, .sidebar-logo * {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: none !important;
  filter: none !important;
}
.sidebar-logo span {
  color: #B8B8C0 !important;
  -webkit-text-fill-color: #B8B8C0 !important;
}
.sidebar-tab {
  color: #C8C8D0 !important;
  -webkit-text-fill-color: #C8C8D0 !important;
}
.sidebar-tab:hover { color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important; }
.sidebar-tab.active { color: #FF8C33 !important; -webkit-text-fill-color: #FF8C33 !important; }

.nav-item, .menu-item, .sidebar-menu a, .sidebar .nav-link, .sidebar li, .sidebar a {
  color: #DADAE2 !important;
  -webkit-text-fill-color: #DADAE2 !important;
  font-weight: 500;
}
.nav-item:hover, .menu-item:hover, .sidebar-menu a:hover, .sidebar .nav-link:hover, .sidebar a:hover {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: rgba(255,255,255,0.08) !important;
}
.nav-item.active, .menu-item.active, .sidebar-menu a.active, .sidebar .nav-link.active, .sidebar a.active {
  color: #FFB066 !important;
  -webkit-text-fill-color: #FFB066 !important;
  background: rgba(255,106,0,0.18) !important;
  border-left-color: #FF6A00 !important;
  font-weight: 600;
}

/* ---- 统计数字：深黑加粗大字，一目了然 ---- */
.stat-number, .metric-value, .big-number {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  background: none !important;
  filter: none !important;
  font-weight: 800 !important;
}
.stat-label, .metric-label, .card-subtitle {
  color: #4B5563 !important;
  -webkit-text-fill-color: #4B5563 !important;
  font-weight: 500;
}

/* ---- 卡片/面板标题：深黑，不用橙色淡字 ---- */
.panel-header, .card-header, .section-header,
.panel-title, .card-title, .section-title,
h1, h2, h3, h4 {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  font-weight: 700;
}

/* ---- 日历：白格深字，今天橙色实底 ---- */
.calendar, .calendar-day, .day-cell, .date-cell, .calendar td, .calendar th {
  background: #FFFFFF;
  color: #1F2937 !important;
  -webkit-text-fill-color: #1F2937 !important;
  border-color: #E5E7EB;
}
.calendar-day:hover, .day-cell:hover { background: #FFF3EB; }
.today, .calendar-day.active, .day-cell.active, .date-cell.today {
  background: #FF6A00 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-weight: 700;
}
.calendar-header, .calendar-title { color: #111827 !important; -webkit-text-fill-color: #111827 !important; font-weight: 700; }

/* ---- 表格/列表：深字 ---- */
th, thead th {
  color: #374151 !important;
  -webkit-text-fill-color: #374151 !important;
  background: #F5F6F8;
  font-weight: 700;
}
td, .list-item {
  color: #1F2937 !important;
  -webkit-text-fill-color: #1F2937 !important;
}

/* ---- 次要信息：中灰不再发虚 ---- */
.text-muted, .muted, small, .time, .date, .meta, .sub-text {
  color: #6B7280 !important;
  -webkit-text-fill-color: #6B7280 !important;
}

/* ---- 空状态提示：深色可读 ---- */
.empty-state, .empty-tip, .placeholder-text {
  color: #4B5563 !important;
  -webkit-text-fill-color: #4B5563 !important;
}

/* ---- 链接与按钮 ---- */
a { color: #E85F00 !important; -webkit-text-fill-color: #E85F00 !important; font-weight: 600; }
a:hover { color: #FF6A00 !important; -webkit-text-fill-color: #FF6A00 !important; }
.btn-primary, button.primary, .btn-gold {
  background: #FF6A00 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-weight: 700;
}
button, .btn, .btn-secondary {
  color: #1F2937 !important;
  -webkit-text-fill-color: #1F2937 !important;
  background: #FFFFFF;
  border: 1px solid #D6D6D6;
}
.btn:hover, button:hover {
  border-color: #FF6A00 !important;
  color: #FF6A00 !important;
  -webkit-text-fill-color: #FF6A00 !important;
  background: #FFF7F2;
}

/* ---- 徽章：深橙字白底 ---- */
.badge, .tag, .chip {
  color: #C24E00 !important;
  -webkit-text-fill-color: #C24E00 !important;
  background: #FFF1E6;
  border: 1px solid #FFD4B8;
  font-weight: 600;
}

/* ---- 表单 ---- */
input, select, textarea {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  background: #FFFFFF !important;
  border: 1px solid #CFD4DC;
}
input::placeholder, textarea::placeholder { color: #9CA3AF !important; }

/* ---- 顶栏 ---- */
.header, .topbar {
  background: #FFFFFF;
  border-bottom: 1px solid #EBEBEB;
}
.header, .topbar, .header *, .topbar * {
  color: #111827;
  -webkit-text-fill-color: #111827;
}

/* ================================================================
   V3.2 侧栏菜单亮白补丁（2026-10-22）：命中真实类名 .file-item/.file-name
   ================================================================ */

/* ---- 侧栏菜单项：明媚白字 ---- */
.file-item, .folder-item {
  color: #F2F3F7 !important;
  -webkit-text-fill-color: #F2F3F7 !important;
  background: transparent;
  border-left: 2px solid transparent;
}
.file-name, .folder-name {
  color: #F2F3F7 !important;
  -webkit-text-fill-color: #F2F3F7 !important;
  font-weight: 500;
}
.file-icon, .folder-icon { opacity: 1 !important; }
.file-item:hover, .folder-item:hover {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.09) !important;
}
.file-item:hover .file-name, .folder-item:hover .folder-name {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
.file-item.active, .folder-item.active {
  background: rgba(255, 106, 0, 0.16) !important;
  border-left-color: #FF6A00 !important;
  box-shadow: none !important;
}
.file-item.active .file-name, .folder-item.active .folder-name {
  color: #FFB066 !important;
  -webkit-text-fill-color: #FFB066 !important;
  font-weight: 700;
}

/* ---- 统计数字兜底：真实类名 .stat-value 同样深黑加粗 ---- */
.stat-value {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  background: none !important;
  filter: none !important;
  font-weight: 800 !important;
}

/* ---- 侧栏内 small/说明文字 ---- */
.sidebar small, .file-item small, .folder-item small {
  color: #9A9AA5 !important;
  -webkit-text-fill-color: #9A9AA5 !important;
}

/* ================================================================
   V3.3 日历天蓝补丁（2026-10-22）：所有日期格 = 22/23 的天蓝底
   ================================================================ */
.calendar-cell {
  background: #DCF0FC !important;           /* 天蓝，同选中格底色 */
  border: 1px solid #C2E4F8 !important;
  color: #1F2937 !important;
}
.calendar-cell .calendar-day-num {
  color: #1F2937 !important;
  -webkit-text-fill-color: #1F2937 !important;
  font-weight: 600;
  text-shadow: none !important;
}
.calendar-cell:hover {
  background: #BFE3F8 !important;           /* 悬停加深一档 */
  border-color: #9AD4F5 !important;
}
.calendar-cell-empty { background: transparent !important; border: none !important; }
/* 今天/选中：保留橙框，底色仍天蓝 */
.calendar-cell-today, .calendar-cell-selected {
  background: #DCF0FC !important;
  border: 1px solid #FF6A00 !important;
  box-shadow: none !important;
}
.calendar-cell-today .calendar-day-num,
.calendar-cell-selected .calendar-day-num {
  color: #E85F00 !important;
  -webkit-text-fill-color: #E85F00 !important;
  font-weight: 800;
  text-shadow: none !important;
}

/* ================================================================
   V3.4 顶栏用户信息补丁（2026-10-22）：名字亮白加粗，角色徽章醒目
   ================================================================ */
.topbar .user-info span, .topbar span {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}
.user-role {
  background: #FF6A00 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 3px 12px !important;
  border-radius: 6px !important;
}
