/**
 * 君棠后台 - 管理后台样式 v9.0 全新设计
 * 设计理念：玻璃拟态 + 现代渐变 + 紧凑卡片 + 科技感
 * 主色调：翡翠绿 (#10b981)
 */
:root {
  /* 主色调 - 现代翡翠绿 */
  --primary: #10b981;
  --primary-light: #d1fae5;
  --primary-dark: #059669;
  --primary-glow: rgba(16, 185, 129, 0.4);

  /* 功能色 */
  --success: #10b981;
  --success-light: rgba(16, 185, 129, 0.15);
  --warning: #f59e0b;
  --warning-light: rgba(245, 158, 11, 0.15);
  --danger: #ef4444;
  --danger-light: rgba(239, 68, 68, 0.15);
  --info: #3b82f6;
  --info-light: rgba(59, 130, 246, 0.15);

  /* 文字色 */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-disabled: #cbd5e1;

  /* 背景色 */
  --bg-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  --bg-secondary: rgba(30, 41, 59, 0.6);
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.1);
  --bg-page: #f0fdf4;

  /* 边框 */
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.06);
  --border-white: rgba(255, 255, 255, 0.15);

  /* 阴影 */
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
  --shadow-primary: 0 0 30px rgba(16, 185, 129, 0.3);

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* 过渡 */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 基础重置 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== 登录页 - 玻璃拟态设计 ===== */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #064e3b 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.login-container::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.login-container::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.1); }
}

.login-split {
  display: flex;
  width: 100%;
  max-width: 900px;
  min-height: 560px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.6s ease;
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 1;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-brand {
  flex: 1;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  position: relative;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.login-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 30px;
}

.login-logo svg {
  width: 100%;
  height: 100%;
}

.login-text {
  text-align: center;
}

.login-brand h2 {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #B8860B, #DAA520);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 8px;
  margin-bottom: 12px;
}

.login-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 3px;
}

.login-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 60px 40px;
}

.login-form-inner {
  width: 100%;
  max-width: 380px;
}

.login-welcome {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.login-hint {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 36px;
}

.login-field {
  margin-bottom: 20px;
}

.login-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.login-field input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.8);
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.login-field input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
  background: #fff;
}

.login-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  margin-top: 12px;
}

.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
}

.login-btn:active {
  transform: translateY(-1px);
}

.login-error {
  color: #dc2626;
  font-size: 13px;
  text-align: center;
  margin-top: 16px;
  display: none;
  padding: 12px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ===== 全新后台布局 v9.0 ===== */
.admin-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ===== 侧边栏 - 玻璃拟态深色主题 ===== */
.sidebar {
  width: 200px;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-glass);
}

.sidebar-logo {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.sidebar-logo::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #B8860B, #DAA520);
  border-radius: 0 4px 4px 0;
}

.logo-image {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
}

.logo-image svg {
  width: 100%;
  height: 100%;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.logo-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 2px;
}

.sidebar-menu {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}

.menu-group {
  margin-bottom: 8px;
}

.menu-group-title {
  padding: 10px 20px;
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #94a3b8;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  border-left: 3px solid transparent;
  position: relative;
}

.menu-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, #10b981, #34d399);
  border-radius: 0 4px 4px 0;
  transition: var(--transition);
}

.menu-item:hover {
  color: #fff;
  background: var(--bg-glass-hover);
}

.menu-item.active {
  color: #fff;
  background: rgba(16, 185, 129, 0.12);
  border-left-color: var(--primary);
  font-weight: 500;
}

.menu-item.active::before {
  height: 60%;
}

.menu-item .menu-icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.menu-item .menu-text {
  flex: 1;
}

/* ===== 主区域 ===== */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-left: 200px;
  height: 100vh;
  overflow: hidden;
}

/* ===== 顶部导航栏 ===== */
.top-header {
  height: 70px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  flex-shrink: 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-left {
  display: flex;
  align-items: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumb-item {
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  padding: 6px 12px;
  border-radius: 8px;
}

.breadcrumb-item:hover {
  color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
}

.breadcrumb-item.active {
  color: var(--text-primary);
  font-weight: 600;
  background: rgba(16, 185, 129, 0.1);
}

.breadcrumb-sep {
  color: var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 12px;
  transition: var(--transition);
  background: rgba(148, 163, 184, 0.1);
}

.user-info:hover {
  background: rgba(16, 185, 129, 0.1);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.user-detail {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.user-role {
  font-size: 11px;
  color: var(--text-muted);
}

.logout-btn {
  padding: 10px 24px;
  border: 1.5px solid rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.05);
  color: #dc2626;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.5);
}

/* ===== 主内容区 ===== */
.main-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
  min-height: 0;
}

.page {
  display: none;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== 统计卡片 - 玻璃拟态设计 ===== */
.stats-grid-3 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.stats-grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.stats-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.stat-card-v2 {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid rgba(226, 232, 240, 0.6);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}

.stat-card-v2::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(90, 122, 94, 0.2);
}

.stat-card-v2:hover::after {
  opacity: 0.05;
}

.stat-card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  margin-bottom: 4px;
  background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-card-primary::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.stat-card-primary .stat-card-icon-wrap { background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%); }

.stat-card-success::before { background: linear-gradient(90deg, #059669, #10b981); }
.stat-card-success .stat-card-icon-wrap { background: linear-gradient(135deg, rgba(5, 150, 105, 0.15) 0%, rgba(5, 150, 105, 0.05) 100%); }

.stat-card-purple::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.stat-card-purple .stat-card-icon-wrap { background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 100%); }

.stat-card-warning::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.stat-card-warning .stat-card-icon-wrap { background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%); }

.stat-card-info::before { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.stat-card-info .stat-card-icon-wrap { background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0.05) 100%); }

.stat-card-teal::before { background: linear-gradient(90deg, #14b8a6, #2dd4bf); }
.stat-card-teal .stat-card-icon-wrap { background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(20, 184, 166, 0.05) 100%); }

.stat-card-pink::before { background: linear-gradient(90deg, #ec4899, #f472b6); }
.stat-card-pink .stat-card-icon-wrap { background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(236, 72, 153, 0.05) 100%); }

.stat-card-system::before { background: linear-gradient(90deg, #64748b, #94a3b8); }
.stat-card-system .stat-card-icon-wrap { background: linear-gradient(135deg, rgba(100, 116, 139, 0.15) 0%, rgba(100, 116, 139, 0.05) 100%); }

.stat-card-danger::before { background: linear-gradient(90deg, #ef4444, #f87171); }
.stat-card-danger .stat-card-icon-wrap { background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%); }

.stat-card-orange::before { background: linear-gradient(90deg, #f97316, #fb923c); }
.stat-card-orange .stat-card-icon-wrap { background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0.05) 100%); }

.stat-card-info-inner {
  flex: 1;
  min-width: 0;
}

.stat-card-label {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.stat-card-value {
  font-size: 28px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.1;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== Dashboard 网格布局 ===== */
.dashboard-grid-new {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.card-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  letter-spacing: -0.3px;
}

/* ===== 卡片容器 ===== */
.card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 12px;
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ===== 资金迷你卡片 ===== */
.finance-mini-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
}

.finance-mini-card.income {
  background: #e6f0e8;
}

.finance-mini-card.expense {
  background: #fee2e2;
}

.finance-mini-card.system {
  background: #f1f5f9;
}

.finance-mini-label {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.finance-mini-value {
  font-size: 18px;
  font-weight: 700;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.finance-mini-card.income .finance-mini-value {
  color: #059669;
}

.finance-mini-card.expense .finance-mini-value {
  color: #ef4444;
}

.finance-mini-card.system .finance-mini-value {
  color: #475569;
}

/* ===== 最近订单 ===== */
.recent-orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recent-order-item {
  padding: 14px 16px;
  background: rgba(148, 163, 184, 0.05);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.recent-order-item:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateX(6px);
}

.recent-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.recent-order-no {
  font-size: 13px;
  font-weight: 600;
  font-family: monospace;
  color: var(--text-secondary);
}

.recent-order-type {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.recent-order-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.recent-order-member {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.recent-order-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.recent-order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recent-order-time {
  font-size: 11px;
  color: var(--text-muted);
}

.recent-order-status {
  font-size: 11px;
  font-weight: 500;
}

/* ===== 快捷操作 ===== */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  background: rgba(148, 163, 184, 0.05);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.quick-action-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

.quick-action-btn .icon {
  font-size: 30px;
  margin-bottom: 8px;
  transition: transform 0.3s;
}

.quick-action-btn:hover .icon {
  transform: scale(1.1);
}

.quick-action-btn .label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== 按钮组件 ===== */
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.btn-success:hover {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}

.btn-danger:hover {
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}

.btn-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.btn-warning:hover {
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.btn-info {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
}

.btn-info:hover {
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-secondary);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.btn-default {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-secondary);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.btn-default:hover {
  background: #fff;
  border-color: rgba(16, 185, 129, 0.3);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-xs {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-right: 4px;
  margin-bottom: 4px;
}

.btn-xs.btn-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #92400e;
}

.btn-xs.btn-warning:hover {
  background: rgba(245, 158, 11, 0.25);
}

.btn-xs.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #991b1b;
}

.btn-xs.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
}

.btn-xs.btn-default {
  background: rgba(148, 163, 184, 0.1);
  color: #475569;
}

.btn-xs.btn-default:hover {
  background: rgba(148, 163, 184, 0.2);
}

/* ===== 表格 - 玻璃拟态设计 ===== */
.table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.table th {
  background: rgba(148, 163, 184, 0.05);
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 2px solid rgba(148, 163, 184, 0.15);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 12px;
  color: var(--text-primary);
}

.table tr:hover td {
  background: rgba(16, 185, 129, 0.05);
}

.table th.checkbox,
.table td.checkbox {
  width: 50px;
  text-align: center;
}

/* ===== 搜索栏 ===== */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: var(--shadow-card);
}

.search-bar select {
  padding: 10px 14px;
  border: 2px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius-md);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
  min-width: 120px;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.search-bar select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.search-input {
  padding: 10px 16px;
  border: 2px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius-md);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
  width: 240px;
  backdrop-filter: blur(10px);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.search-input::placeholder {
  color: var(--text-muted);
}

/* ===== 筛选栏 ===== */
.order-manage-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.order-manage-filter select,
.order-manage-filter input {
  padding: 10px 14px;
  border: 2px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius-md);
  font-size: 13px;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.9);
  min-height: 40px;
  color: var(--text-primary);
}

.order-manage-filter select:focus,
.order-manage-filter input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
  background: #fff;
}

.order-manage-filter select:disabled {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  cursor: not-allowed;
}

/* ===== 批量操作栏 ===== */
.order-batch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.1));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.batch-count {
  font-size: 14px;
  color: #92400e;
}

.batch-count strong {
  color: #78350f;
  font-weight: 600;
  font-size: 16px;
}

.batch-actions {
  display: flex;
  gap: 8px;
}

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.pagination button {
  padding: 6px 12px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 12px;
  color: var(--text-secondary);
  transition: var(--transition);
  min-width: 32px;
  font-weight: 500;
}

.pagination button:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
}

.pagination button.active {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* ===== 模态框 ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
  backdrop-filter: blur(8px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal.show {
  display: flex;
}

.modal-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 95%;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--text-primary);
  font-weight: 700;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.05), transparent);
  margin: -24px -24px 24px -24px;
  padding: 20px 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-header .modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  border-radius: 50%;
}

.modal-header .modal-close:hover {
  background: rgba(148, 163, 184, 0.1);
  color: #333;
}

.modal-body {
  margin-bottom: 28px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

/* ===== 表单 ===== */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-md);
  font-size: 13px;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

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

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

/* ===== 状态标签 ===== */
.status-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.status-tag.status-pending {
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-tag.status-settled {
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-tag.status-cancelled {
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-tag.status-active {
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-tag.status-disabled {
  background: rgba(148, 163, 184, 0.08);
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

/* ===== Toast 提示 ===== */
.toast {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
}

.toast.error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.4);
}

/* ===== 图片预览 ===== */
.product-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.2);
  cursor: pointer;
  transition: var(--transition);
  background: rgba(148, 163, 184, 0.05);
  display: block !important;
}

.product-logo-img:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-card);
}

.no-logo {
  color: var(--text-muted);
  font-size: 12px;
}

.image-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.image-preview-modal.show {
  opacity: 1;
  visibility: visible;
}

.image-preview-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.image-preview-modal .close-btn {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.image-preview-modal .close-btn:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
}

/* ===== 图片上传区域 ===== */
.logo-preview {
  width: 100px;
  height: 100px;
  border: 2px dashed rgba(148, 163, 184, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(148, 163, 184, 0.05);
  transition: var(--transition);
  overflow: hidden;
}

.logo-preview:hover {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.05);
}

.logo-preview .logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-preview .upload-tip {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding: 4px;
}

/* ===== 加载和空状态 ===== */
.loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.loading::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(148, 163, 184, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 12px;
  vertical-align: middle;
}

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

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
  background: rgba(148, 163, 184, 0.03);
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(148, 163, 184, 0.15);
  margin: 20px 0;
}

.empty-state::before {
  content: '📦';
  display: block;
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}

/* ===== 复选框 ===== */
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}

/* ===== 警告框 ===== */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  font-size: 14px;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ===== 响应式 ===== */
@media (max-width: 1400px) {
  .stats-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .stats-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid-new {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-card-finance {
    grid-column: span 2;
  }
}

@media (max-width: 1200px) {
  .stats-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sidebar { width: 200px; }
  .main-wrapper { margin-left: 200px; }
}

@media (max-width: 1024px) {
  .stats-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid-2 { grid-template-columns: 1fr; }
  .dashboard-grid-new {
    grid-template-columns: 1fr;
  }
  .dashboard-card-orders,
  .dashboard-card-actions,
  .dashboard-card-finance {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .sidebar { width: 60px; }
  .sidebar-logo .logo-text { display: none; }
  .menu-group-title { display: none; }
  .menu-item .menu-text { display: none; }
  .main-wrapper { margin-left: 60px; }
  .search-input { width: 200px; }
  .login-split {
    flex-direction: column;
    max-width: 420px;
    min-height: auto;
  }
  .login-brand {
    min-height: 180px;
    padding: 40px 30px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .login-brand h2 { font-size: 36px; }
  .login-form { padding: 40px 30px; }
}

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.5);
}

/* ===== 侧边栏滚动条 ===== */
.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.5);
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.8);
}

/* ===== 类型筛选按钮 ===== */
.type-filter-btn {
  padding: 8px 20px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}
.type-filter-btn:hover {
  background: rgba(255,255,255,0.6);
  color: #334155;
}
.type-filter-btn.active {
  background: #fff;
  color: #1e293b;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* ===== 标签页 ===== */
.tab-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  padding: 6px;
  background: rgba(148, 163, 184, 0.08);
  border-radius: var(--radius-md);
  width: fit-content;
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.tab-item {
  padding: 8px 20px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-item:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-primary);
}

.tab-item.active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

/* ===== 徽章 ===== */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
}

.badge-agent {
  background: rgba(245, 158, 11, 0.15);
  color: #92400e;
}

.badge-main {
  background: rgba(16, 185, 129, 0.15);
  color: #065f46;
}

.badge-type-product {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.badge-type-transfer {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

/* ===== 串码管理 ===== */
#page-serialCode {
  flex: 1;
  min-height: 0;
}

#page-serialCode .card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
}

#page-serialCode .table-container {
  flex: 1;
  overflow: auto;
}

#page-serialCode .table {
  min-width: 100%;
  table-layout: auto;
}

#page-serialCode .serial-code-text {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  background: rgba(148, 163, 184, 0.05);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  word-break: break-all;
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.status-badge.status-free {
  background: rgba(59, 130, 246, 0.15);
  color: #1e40af;
}

.status-badge.status-bound {
  background: rgba(245, 158, 11, 0.15);
  color: #92400e;
}

.status-badge.status-sold {
  background: rgba(16, 185, 129, 0.15);
  color: #065f46;
}

.status-badge.status-void {
  background: rgba(239, 68, 68, 0.15);
  color: #991b1b;
}

.status-badge.status-used {
  background: rgba(139, 92, 246, 0.15);
  color: #3730a3;
}

/* ===== 订单表格优化 ===== */
.order-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
}

.order-table-wrap .table {
  width: 100%;
  min-width: auto;
}

.order-table-wrap .table th {
  background: rgba(148, 163, 184, 0.05);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  border-bottom: 2px solid rgba(148, 163, 184, 0.15);
  white-space: nowrap;
}

.order-table-wrap .table td {
  padding: 12px 16px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 13px;
}

.order-table-wrap .table tbody tr:hover {
  background: rgba(16, 185, 129, 0.05);
}

.order-row-num {
  color: var(--text-muted);
  font-size: 12px;
}

.order-member-name {
  font-weight: 500;
  color: var(--text-primary);
}

.order-product-cell {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-product-cell:hover {
  white-space: normal;
  word-break: break-all;
}

.order-amount {
  font-weight: 600;
  font-family: 'Consolas', 'Courier New', monospace;
  color: var(--text-primary);
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.order-actions .action-btn {
  padding: 5px 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 12px;
  transition: var(--transition);
  color: var(--text-secondary);
  white-space: nowrap;
}

.order-actions .action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
}

.order-actions .action-btn.btn-danger {
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--danger);
}

.order-actions .action-btn.btn-danger:hover {
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

.order-actions .action-btn.btn-warning {
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--warning);
}

.order-time-cell {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Consolas', 'Courier New', monospace;
}

/* ===== 金额样式 ===== */
.cell-price {
  color: #d97706;
  font-weight: 600;
  font-size: 14px;
  font-family: 'Consolas', monospace;
}

/* ===== 操作按钮组 ===== */
.action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* ===== 资金概览卡片 ===== */
.finance-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.2);
}