/* ============================================
   龙虾直聘 - 全局设计系统
   ============================================ */

/* --- CSS 变量 --- */
:root {
  --color-bg: #050505;
  --color-bg-secondary: #0a0a0f;
  --color-bg-card: rgba(255,255,255,0.03);
  --color-bg-card-hover: rgba(255,255,255,0.05);
  --color-border: rgba(255,255,255,0.08);
  --color-border-hover: rgba(255,255,255,0.15);
  --color-text: #cbd5e1;
  --color-text-secondary: #64748b;
  --color-text-white: #ffffff;
  --color-primary: #2563eb;
  --color-primary-hover: #3b82f6;
  --color-primary-glow: rgba(37,99,235,0.3);
  --color-purple: #7c3aed;
  --color-purple-hover: #8b5cf6;
  --color-emerald: #10b981;
  --color-pink: #ec4899;
  --color-yellow: #f59e0b;
  --color-cyan: #06b6d4;
  --color-red: #ef4444;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-glow-blue: 0 0 20px rgba(37,99,235,0.3);
  --shadow-glow-purple: 0 0 20px rgba(124,58,237,0.3);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --transition: all 0.3s ease;
  --logo-size: 32px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

::selection { background: rgba(37,99,235,0.3); }

/* --- 背景光效 --- */
body::before, body::after {
  content: ''; position: fixed; border-radius: 50%;
  filter: blur(120px); mix-blend-mode: screen;
  pointer-events: none; z-index: -1;
}
body::before {
  top: -10%; left: -10%; width: 40vw; height: 40vh; min-width: 400px; min-height: 400px;
  background: rgba(37,99,235,0.08);
}
body::after {
  bottom: -10%; right: -10%; width: 40vw; height: 40vh; min-width: 400px; min-height: 400px;
  background: rgba(124,58,237,0.08);
}

/* --- 布局 --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.page-content { position: relative; z-index: 10; padding-top: 80px; min-height: calc(100vh - 80px); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex-grow: 1; }
.text-center { text-align: center; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- 导航栏 --- */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 50;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}
.navbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.navbar-logo {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
}
.navbar-logo .site-logo-img {
  width: var(--logo-size);
  height: var(--logo-size);
  min-width: var(--logo-size);
  min-height: var(--logo-size);
  border-radius: var(--radius-sm);
  object-fit: contain;
  flex-shrink: 0;
}
.navbar-logo svg { width: 32px; height: 32px; color: var(--color-primary); }
.navbar-logo span {
  font-size: 20px; font-weight: 800;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em;
}
.navbar-menu {
  display: flex; align-items: center; gap: 4px;
  padding: 4px; background: rgba(255,255,255,0.03);
  border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,0.05);
}
.nav-link {
  padding: 6px 16px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 500; color: #94a3b8;
  transition: var(--transition); cursor: pointer; border: none; background: none;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-link.active { color: #fff; background: rgba(255,255,255,0.1); box-shadow: 0 1px 3px rgba(0,0,0,0.3); }

.navbar-actions { display: flex; align-items: center; gap: 12px; }
.navbar-user {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 4px 12px 4px 4px; border-radius: var(--radius-full);
  transition: var(--transition);
}
.navbar-user:hover { background: rgba(255,255,255,0.05); }
.navbar-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.navbar-username { font-size: 14px; font-weight: 500; color: #fff; }
.mobile-menu-btn {
  display: none; background: none; border: none; color: #fff;
  padding: 8px; cursor: pointer;
}

/* 移动端菜单 */
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(5,5,5,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 24px; z-index: 49;
}
.mobile-menu.open { display: block; }
.mobile-menu .nav-link {
  display: block; width: 100%; text-align: left;
  padding: 12px 16px; border-radius: var(--radius-md);
}

/* --- 按钮 --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 24px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 700; border: none; cursor: pointer;
  transition: var(--transition); white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 18px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-primary {
  background: var(--color-primary); color: #fff;
  box-shadow: var(--shadow-glow-blue);
}
.btn-primary:hover { background: var(--color-primary-hover); box-shadow: 0 0 30px rgba(37,99,235,0.5); }
.btn-secondary {
  background: rgba(255,255,255,0.05); color: #fff;
  border: 1px solid var(--color-border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-purple {
  background: var(--color-purple); color: #fff;
  box-shadow: var(--shadow-glow-purple);
}
.btn-purple:hover { background: var(--color-purple-hover); }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #e2e8f0; }
.btn-danger { background: var(--color-red); color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-ghost {
  background: transparent; color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.05); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-block { width: 100%; }

/* --- 卡片 --- */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  padding: 24px;
  transition: var(--transition);
}
.card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-hover);
}
.card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,0.4);
}
.card-glow {
  position: relative; overflow: hidden;
}
.card-glow::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.1));
  opacity: 0; transition: opacity 0.5s;
  pointer-events: none; border-radius: inherit;
}
.card-glow:hover::before { opacity: 1; }

/* --- 表单 --- */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--color-text); margin-bottom: 6px;
}
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: #fff; font-size: 14px; font-family: inherit;
  transition: var(--transition);
}
.form-input::placeholder, .form-textarea::placeholder { color: #475569; }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.form-select option { background: #111; color: #fff; }
.form-hint { font-size: 12px; color: var(--color-text-secondary); margin-top: 4px; }

/* 表单行 */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* --- 标签与徽章 --- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600;
}
.badge-blue { background: rgba(37,99,235,0.15); color: #60a5fa; border: 1px solid rgba(37,99,235,0.25); }
.badge-green { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.25); }
.badge-purple { background: rgba(124,58,237,0.15); color: #a78bfa; border: 1px solid rgba(124,58,237,0.25); }
.badge-yellow { background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.25); }
.badge-red { background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.25); }
.badge-gray { background: rgba(255,255,255,0.05); color: #94a3b8; border: 1px solid rgba(255,255,255,0.1); }

.tag {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  font-size: 12px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border); color: #cbd5e1;
}

/* --- 表格（后台用） --- */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
table { width: 100%; border-collapse: collapse; }
th, td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px; white-space: nowrap;
}
th { background: rgba(255,255,255,0.03); color: #94a3b8; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
td { color: var(--color-text); }
tr:hover td { background: rgba(255,255,255,0.02); }
tr:last-child td { border-bottom: none; }

/* --- 英雄区 --- */
.hero { text-align: center; padding: 80px 0; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--radius-full);
  background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.2);
  color: #60a5fa; font-size: 14px; font-weight: 500; margin-bottom: 32px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px); font-weight: 800;
  color: #fff; margin-bottom: 24px;
  letter-spacing: -0.03em; line-height: 1.1;
}
.hero .gradient-text {
  background: linear-gradient(to right, #60a5fa, #818cf8, #a78bfa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p {
  font-size: clamp(16px, 2vw, 20px); color: #64748b;
  max-width: 640px; margin: 0 auto 40px; line-height: 1.7;
}

/* --- Section 通用 --- */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  color: #fff; margin-bottom: 12px;
}
.section-header p { color: #64748b; max-width: 640px; margin: 0 auto; font-size: 16px; }
.section-divider { border-top: 1px solid var(--color-border); }

/* --- Icon 容器 --- */
.icon-box {
  width: 56px; height: 56px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
}
.icon-box svg { width: 28px; height: 28px; }
.icon-box-blue { background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.2); color: #60a5fa; }
.icon-box-purple { background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.2); color: #a78bfa; }
.icon-box-emerald { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); color: #34d399; }
.icon-box-pink { background: rgba(236,72,153,0.1); border: 1px solid rgba(236,72,153,0.2); color: #f472b6; }
.icon-box-yellow { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); color: #fbbf24; }
.icon-box-cyan { background: rgba(6,182,212,0.1); border: 1px solid rgba(6,182,212,0.2); color: #22d3ee; }

/* --- 页脚 --- */
.footer {
  position: relative; z-index: 10;
  border-top: 1px solid var(--color-border);
  background: rgba(0,0,0,0.3); padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
.footer-top {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 32px;
}
.footer-logo { display: flex; align-items: center; gap: 8px; opacity: 0.8; }
.footer-logo svg { width: 24px; height: 24px; color: #64748b; }
.footer-logo span { font-weight: 700; color: #64748b; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: #475569; transition: var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom { text-align: center; color: #334155; font-size: 12px; }

/* --- Toast 通知 --- */
.toast-container {
  position: fixed; top: 80px; right: 24px; z-index: 100;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  padding: 12px 20px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  min-width: 280px; max-width: 400px;
  display: flex; align-items: center; gap: 8px;
}
.toast-success { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: #34d399; }
.toast-error { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }
.toast-info { background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.3); color: #60a5fa; }

@keyframes toastIn { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-20px); } }

/* --- Modal --- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--color-bg-secondary); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: 32px;
  max-width: 480px; width: 90%;
  transform: scale(0.95); transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.modal-header h3 { font-size: 20px; font-weight: 700; color: #fff; }
.modal-close {
  background: none; border: none; color: #64748b; cursor: pointer;
  padding: 4px; transition: var(--transition);
}
.modal-close:hover { color: #fff; }

/* --- 动画 --- */
.animate-in {
  animation: fadeSlideUp 0.6s ease-out forwards;
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

/* --- 统计卡片（后台） --- */
.stat-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: 24px;
}
.stat-card .stat-label { font-size: 13px; color: #64748b; margin-bottom: 8px; }
.stat-card .stat-value { font-size: 32px; font-weight: 800; color: #fff; }
.stat-card .stat-change { font-size: 13px; margin-top: 8px; }
.stat-card .stat-change.up { color: #34d399; }
.stat-card .stat-change.down { color: #f87171; }

/* --- 侧边栏（后台） --- */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; background: var(--color-bg-secondary);
  border-right: 1px solid var(--color-border);
  padding: 24px 16px; position: fixed; top: 0; bottom: 0; left: 0;
  overflow-y: auto; z-index: 40;
}
.admin-sidebar-logo {
  display: flex; align-items: center; gap: 8px;
  padding: 0 8px; margin-bottom: 32px;
}
.admin-sidebar-logo svg { width: 28px; height: 28px; color: var(--color-primary); }
.admin-sidebar-logo span {
  font-size: 16px; font-weight: 800; color: #fff;
}
.admin-sidebar-logo small {
  font-size: 11px; color: #64748b; font-weight: 400; display: block;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; color: #94a3b8;
  transition: var(--transition); cursor: pointer;
  border: none; background: none; width: 100%; text-align: left;
}
.sidebar-link svg { width: 18px; height: 18px; }
.sidebar-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.sidebar-link.active { color: #fff; background: rgba(37,99,235,0.15); }
.sidebar-divider { height: 1px; background: var(--color-border); margin: 16px 8px; }

.admin-main { margin-left: 260px; flex: 1; padding: 32px; }
.admin-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
}
.admin-header h1 { font-size: 28px; font-weight: 800; color: #fff; }

/* --- Tabs --- */
.tabs { display: flex; gap: 4px; padding: 4px; background: rgba(255,255,255,0.03); border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,0.05); margin-bottom: 24px; display: inline-flex; }
.tab-btn {
  padding: 8px 20px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 500; color: #94a3b8;
  border: none; background: none; cursor: pointer; transition: var(--transition);
}
.tab-btn:hover { color: #fff; }
.tab-btn.active { background: rgba(255,255,255,0.1); color: #fff; }

/* --- Price Tag --- */
.price { font-size: 28px; font-weight: 800; color: #fff; }
.price-period { font-size: 14px; color: #64748b; font-weight: 400; }
.price-old { text-decoration: line-through; color: #64748b; font-size: 14px; }

/* --- Timeline --- */
.timeline { position: relative; border-left: 2px solid var(--color-border); padding-left: 24px; }
.timeline-item { margin-bottom: 32px; position: relative; }
.timeline-dot {
  position: absolute; left: -31px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--color-primary); border: 3px solid var(--color-bg);
}
.timeline-dot.inactive { background: #334155; }
.timeline-item h4 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.timeline-item p { font-size: 14px; color: #64748b; }

/* --- 评分星星 --- */
.stars { display: flex; gap: 2px; color: #fbbf24; }
.stars svg { width: 14px; height: 14px; }
.stars-empty svg { color: #334155; }

/* --- 空状态 --- */
.empty-state { text-align: center; padding: 64px 24px; }
.empty-state svg { width: 64px; height: 64px; color: #334155; margin: 0 auto 16px; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: #94a3b8; margin-bottom: 8px; }
.empty-state p { color: #475569; font-size: 14px; margin-bottom: 24px; }

/* --- 终端样式 --- */
.terminal {
  background: #0d0d12; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.terminal-header {
  background: rgba(0,0,0,0.5); padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; gap: 8px;
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dot.red { background: rgba(239,68,68,0.8); }
.terminal-dot.yellow { background: rgba(245,158,11,0.8); }
.terminal-dot.green { background: rgba(16,185,129,0.8); }
.terminal-title { font-size: 12px; color: #475569; font-family: var(--font-mono); margin-left: 8px; }
.terminal-body { padding: 24px; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; overflow-x: auto; }
.terminal-comment { color: #475569; }
.terminal-cmd { color: #34d399; }
.terminal-output { color: #60a5fa; opacity: 0.8; }

/* --- Dropdown --- */
.dropdown {
  position: relative; display: inline-block;
}
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--color-bg-secondary); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); min-width: 180px;
  box-shadow: var(--shadow-card); z-index: 60;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: var(--transition);
}
.dropdown.open .dropdown-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.dropdown-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; font-size: 14px; color: #94a3b8;
  transition: var(--transition); cursor: pointer;
  border: none; background: none; width: 100%; text-align: left;
}
.dropdown-item:hover { color: #fff; background: rgba(255,255,255,0.05); }
.dropdown-item svg { width: 16px; height: 16px; }
.dropdown-divider { height: 1px; background: var(--color-border); margin: 4px 0; }

/* --- Search --- */
.search-box {
  position: relative;
}
.search-box svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: #475569;
}
.search-box input {
  width: 100%; padding: 10px 16px 10px 42px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--color-border);
  border-radius: var(--radius-full); color: #fff; font-size: 14px;
  transition: var(--transition);
}
.search-box input::placeholder { color: #475569; }
.search-box input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }

/* --- 分页 --- */
.pagination { display: flex; align-items: center; gap: 4px; justify-content: center; margin-top: 32px; }
.page-btn {
  padding: 8px 14px; border-radius: var(--radius-md);
  font-size: 14px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border); color: #94a3b8;
  cursor: pointer; transition: var(--transition);
}
.page-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.page-btn.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* --- 响应式 --- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .navbar-menu { display: none; }
  .mobile-menu-btn { display: block; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  .section { padding: 48px 0; }
  .footer-top { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .container { padding: 0 16px; }
  .admin-main { padding: 16px; }
}

/* --- 工具类 --- */
.hidden { display: none !important; }
@media (min-width: 640px) {
  .sm\:flex { display: flex !important; }
  .sm\:block { display: block !important; }
}
@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:block { display: block !important; }
}
@media (min-width: 1024px) {
  .lg\:flex { display: flex !important; }
  .lg\:block { display: block !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.pt-4 { padding-top: 16px; }
.pb-4 { padding-bottom: 16px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-white { color: #fff; }
.text-muted { color: #64748b; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.border-t { border-top: 1px solid var(--color-border); }
.cursor-pointer { cursor: pointer; }
