/* ============================================
   商业化UI样式 - Arf Tool
   高端商务风格 | 深蓝+浅绿配色
   ============================================ */

/* ========== 全局变量覆盖 ========== */
:root {
  /* 主色调 - 商务蓝 */
  --main-theme-color: #10b981 !important;
  --main-color: #10b981 !important;
  --el-color-primary: #10b981 !important;
  --el-color-primary-light-3: #34d399 !important;
  --el-color-primary-light-5: #6ee7b7 !important;
  --el-color-primary-light-7: #a7f3d0 !important;
  --el-color-primary-light-8: #d1fae5 !important;
  --el-color-primary-light-9: #ecfdf5 !important;
  --el-color-primary-dark-2: #059669 !important;
  
  /* 浅色主题色 */
  --light-theme-color: #ecfdf5 !important;
  --el-color-primary-light-9: #eff6ff !important;
  
  /* 强调色 - 浅绿 */
  --accent-color: #10b981;
  --accent-color-light: #34d399;
  
  /* 背景色 */
  --el-bg-color-page: #f8fafc !important;
  --el-bg-color: #ffffff !important;
  
  /* 边框色 */
  --el-border-color: #e2e8f0 !important;
  --el-border-color-light: #f1f5f9 !important;
  --el-border-color-lighter: #f8fafc !important;
  
  /* 文字色 */
  --el-text-color-primary: #0f172a !important;
  --el-text-color-regular: #334155 !important;
  --el-text-color-secondary: #64748b !important;
  --el-text-color-placeholder: #94a3b8 !important;
  
  /* 阴影 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ========== 全局基础样式 ========== */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif !important;
  background: #f8fafc !important;
}

#app {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif !important;
}

/* ========== 登录页面美化 ========== */
.login-root {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #0ea5e9 100%) !important;
  position: relative !important;
  overflow: hidden !important;
}

.login-root::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(14, 165, 233, 0.2) 0%, transparent 40%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(5deg); }
  66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.phone-screen-viewport {
  width: 420px !important;
  max-width: 420px !important;
  min-width: 420px !important;
  border-radius: 20px !important;
  border: none !important;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95) !important;
  position: relative;
  z-index: 1;
}

.login-inner {
  padding: 48px 40px 56px !important;
}

.top-decor {
  width: 80px !important;
  height: 6px !important;
  background: linear-gradient(90deg, #2563eb, #0ea5e9, #f59e0b) !important;
  border-radius: 3px !important;
  margin: 0 auto 32px !important;
}

.sys-name {
  font-size: 32px !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  letter-spacing: 2px !important;
  margin-bottom: 12px !important;
}

.welcome {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  margin: 12px 0 8px !important;
}

.message {
  font-size: 15px !important;
  color: #64748b !important;
  margin-bottom: 8px;
}

.login-head {
  margin-bottom: 32px !important;
}

/* 输入框美化 */
.login-form {
  gap: 16px !important;
}

.el-input__wrapper {
  height: 52px !important;
  border-radius: 12px !important;
  border: 2px solid #e2e8f0 !important;
  background: #f8fafc !important;
  padding: 0 16px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.el-input__wrapper:hover {
  border-color: #93c5fd !important;
  background: #ffffff !important;
}

.el-input__wrapper.is-focus {
  border-color: #2563eb !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

.el-input__inner {
  font-size: 15px !important;
  color: #0f172a !important;
}

.el-input__inner::placeholder {
  color: #94a3b8 !important;
}

.el-icon {
  color: #64748b !important;
}

.is-focus .el-icon {
  color: #2563eb !important;
}

/* 登录按钮美化 */
.login-btn {
  height: 52px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #0ea5e9 100%) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  margin-top: 16px !important;
  position: relative;
  overflow: hidden;
}

.login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.login-btn:hover::before {
  left: 100%;
}

.login-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5) !important;
  opacity: 1 !important;
}

.login-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4) !important;
}

.settings-bar {
  margin-top: 36px !important;
  gap: 16px !important;
}

.theme-btn, .locale-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 2px solid #e2e8f0 !important;
  background: #ffffff !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: var(--shadow-sm);
}

.theme-btn:hover, .locale-btn:hover {
  border-color: #2563eb !important;
  color: #2563eb !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.locale-btn {
  width: auto !important;
  padding: 0 16px !important;
  border-radius: 22px !important;
  font-size: 14px !important;
  font-weight: 500;
}

/* ========== 仪表盘布局美化 ========== */
.dashboard-container {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

/* 侧边栏美化 */
.sidebar {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%) !important;
  border-right: none !important;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
  position: relative;
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.logo {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  height: 64px !important;
  position: relative;
  overflow: hidden;
}

.logo::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.logo-tag {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 2px;
  padding: 10px 18px !important;
  border-radius: 10px !important;
  position: relative;
  z-index: 1;
}

/* 侧边栏菜单美化 */
.sidebar-menu {
  padding: 12px 8px !important;
}

.sidebar-menu .el-menu-item,
.sidebar-menu .el-sub-menu__title {
  height: 52px !important;
  line-height: 52px !important;
  margin: 4px 0 !important;
  border-radius: 10px !important;
  padding: 0 16px !important;
  color: #94a3b8 !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

.sidebar-menu .el-menu-item::before,
.sidebar-menu .el-sub-menu__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #f59e0b, #fbbf24);
  border-radius: 0 3px 3px 0;
  transition: height 0.3s ease;
}

.sidebar-menu .el-menu-item:hover,
.sidebar-menu .el-sub-menu__title:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  transform: translateX(4px);
}

.sidebar-menu .el-menu-item.is-active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(59, 130, 246, 0.2) 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sidebar-menu .el-menu-item.is-active::before,
.sidebar-menu .el-sub-menu.is-active > .el-sub-menu__title::before {
  height: 24px;
}

.menu-icon {
  font-size: 20px !important;
  margin-right: 14px !important;
}

.sidebar-menu .el-menu-item.is-active .menu-icon {
  color: #fbbf24 !important;
}

/* 顶部导航栏美化 */
.header {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  height: 64px !important;
  padding: 0 24px !important;
  position: sticky;
  top: 0;
  z-index: 100;
}

.collapse-btn {
  width: 44px !important;
  height: 40px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.collapse-btn:hover {
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4) !important;
}

.header-btn {
  height: 38px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  font-weight: 500;
  border-radius: 10px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #ffffff !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: var(--shadow-sm);
}

.header-btn:hover {
  border-color: #2563eb !important;
  color: #2563eb !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  background: #eff6ff !important;
}

.welcome-text {
  font-size: 15px !important;
  font-weight: 500;
}

.username-text {
  font-weight: 600 !important;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 标签页美化 */
.tabs-container {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(10px);
  padding: 10px 24px !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6) !important;
}

.custom-tab-item {
  height: 40px !important;
  min-width: 120px !important;
  padding: 0 10px 0 18px !important;
  border-radius: 10px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #ffffff !important;
  font-size: 14px !important;
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: var(--shadow-sm);
}

.custom-tab-item:hover {
  border-color: #93c5fd !important;
  color: #2563eb !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.custom-tab-item.active {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
}

.custom-tab-item.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45) !important;
}

.tab-close-icon {
  width: 20px !important;
  height: 20px !important;
  font-size: 14px !important;
  border-radius: 50% !important;
  transition: all 0.2s ease !important;
}

.tab-close-icon:hover {
  background: rgba(0, 0, 0, 0.1) !important;
  transform: scale(1.15) rotate(90deg);
}

.custom-tab-item.active .tab-close-icon:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

.tab-nav-btn, .more-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #ffffff !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: var(--shadow-sm);
}

.tab-nav-btn:hover:not(:disabled), .more-btn:hover {
  border-color: #2563eb !important;
  color: #2563eb !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* 主内容区美化 */
.main-content {
  padding: 24px !important;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

/* 卡片通用美化 */
.el-card {
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden;
}

.el-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.05) !important;
  transform: translateY(-2px);
}

.el-card__header {
  padding: 20px 24px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  font-weight: 600 !important;
  font-size: 16px !important;
  color: #0f172a !important;
}

.el-card__body {
  padding: 24px !important;
}

/* 按钮通用美化 */
.el-button {
  border-radius: 10px !important;
  font-weight: 500 !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1.5px solid transparent !important;
}

.el-button:hover {
  transform: translateY(-1px);
}

.el-button:active {
  transform: translateY(0);
}

.el-button--primary {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
}

.el-button--primary:hover {
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45) !important;
}

.el-button--success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

.el-button--success:hover {
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45) !important;
}

.el-button--warning {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
}

.el-button--warning:hover {
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45) !important;
}

.el-button--danger {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3) !important;
}

.el-button--danger:hover {
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.45) !important;
}

.el-button--default {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.el-button--default:hover {
  border-color: #2563eb !important;
  color: #2563eb !important;
  background: #eff6ff !important;
}

/* 表单美化 */
.el-form-item__label {
  font-weight: 500 !important;
  color: #334155 !important;
  font-size: 14px !important;
}

.el-input__wrapper {
  border-radius: 10px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #f8fafc !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: none !important;
}

.el-input__wrapper:hover {
  border-color: #93c5fd !important;
  background: #ffffff !important;
}

.el-input__wrapper.is-focus {
  border-color: #2563eb !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

/* 表格美化 */
.el-table {
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.el-table__header-wrapper {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

.el-table th.el-table__cell {
  background: transparent !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.el-table tr:hover > td {
  background: #eff6ff !important;
}

.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
  background: #f8fafc !important;
}

/* 对话框美化 */
.el-dialog {
  border-radius: 16px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  font-size: 16px !important;
}

.el-dialog__header {
  padding: 24px 24px 16px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #f1f5f9;
}

.el-dialog__title {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
}

.el-dialog__body {
  padding: 24px !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.el-dialog__footer {
  padding: 16px 24px 24px !important;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc;
}

/* 分页美化 */
.el-pagination {
  font-weight: 500 !important;
}

.el-pagination button,
.el-pagination .el-pager li {
  border-radius: 8px !important;
  height: 36px !important;
  min-width: 36px !important;
  line-height: 34px !important;
  transition: all 0.2s ease !important;
  border: 1px solid transparent;
}

.el-pagination .el-pager li:hover {
  color: #2563eb !important;
  background: #eff6ff !important;
}

.el-pagination .el-pager li.is-active {
  background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
}

/* ========== 移动端优化 ========== */
@media (max-width: 0px) /* 移动端适配已禁用 */ {
  /* 登录页移动端 */
  .phone-screen-viewport {
    width: 92% !important;
    max-width: 380px !important;
    min-width: auto !important;
    border-radius: 24px !important;
  }
  
  .login-inner {
    padding: 36px 28px 44px !important;
  }
  
  .sys-name {
    font-size: 28px !important;
  }
  
  .welcome {
    font-size: 18px !important;
  }
  
  .el-input__wrapper {
    height: 50px !important;
  }
  
  .login-btn {
    height: 50px !important;
    font-size: 15px !important;
  }
  
  /* 仪表盘移动端 */
  .header {
    padding: 0 12px !important;
    height: 60px !important;
  }
  
  .header-left, .header-right {
    gap: 8px !important;
  }
  
  .header-btn {
    padding: 0 14px !important;
    font-size: 14px !important;
    height: 44px !important;
    min-width: 44px !important;
  }
  
  .collapse-btn {
    width: 44px !important;
    height: 44px !important;
  }
  
  .welcome-text {
    display: none !important;
  }
  
  .tabs-container {
    padding: 8px 16px !important;
  }
  
  .custom-tab-item {
    min-width: 80px !important;
    padding: 0 6px 0 14px !important;
    height: 36px !important;
    font-size: 13px !important;
  }
  
  .main-content {
    padding: 16px !important;
  }
  
  .el-card {
    border-radius: 12px !important;
  }
  
  .el-card__header {
    padding: 16px 20px !important;
    font-size: 15px !important;
  }
  
  .el-card__body {
    padding: 20px !important;
  }
  
  /* 按钮移动端 */
  .el-button {
    padding: 8px 16px !important;
    font-size: 13px !important;
  }
  
  /* 对话框移动端 */
  .el-dialog {
    margin: 5vh auto !important;
    width: 92% !important;
    max-width: 400px;
  }
  
  .el-dialog__header {
    padding: 20px 20px 12px !important;
  }
  
  .el-dialog__body {
    padding: 20px !important;
  }
  
  .el-dialog__footer {
    padding: 12px 20px 20px !important;
  }
}
*/

/* 小屏手机优化 */
@media (max-width: 0px) /* 移动端适配已禁用 */ {
  .phone-screen-viewport {
    width: 94% !important;
  }
  
  .login-inner {
    padding: 28px 24px 36px !important;
  }
  
  .sys-name {
    font-size: 24px !important;
  }
  
  .top-decor {
    margin: 0 auto 24px !important;
  }
}

/* ========== 深色模式支持 ========== */
@media (prefers-color-scheme: dark) {
  :root {
    --el-bg-color-page: #0f172a !important;
    --el-bg-color: #1e293b !important;
    --el-border-color: #334155 !important;
    --el-text-color-primary: #f1f5f9 !important;
    --el-text-color-regular: #cbd5e1 !important;
    --el-text-color-secondary: #94a3b8 !important;
  }
  
  body {
    background: #0f172a !important;
  }
  
  .dashboard-container {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%) !important;
  }
  
  .main-content {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%) !important;
  }
  
  .header {
    background: rgba(30, 41, 59, 0.85) !important;
    border-bottom-color: rgba(51, 65, 85, 0.8) !important;
  }
  
  .tabs-container {
    background: rgba(30, 41, 59, 0.7) !important;
    border-bottom-color: rgba(51, 65, 85, 0.6) !important;
  }
  
  .el-card {
    background: #1e293b !important;
    border-color: #334155 !important;
  }
  
  .el-card__header {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
    border-bottom-color: #334155 !important;
  }
  
  .el-input__wrapper {
    background: #0f172a !important;
    border-color: #334155 !important;
  }
  
  .el-input__wrapper:hover {
    border-color: #3b82f6 !important;
  }
  
  .el-input__wrapper.is-focus {
    background: #0f172a !important;
  }
  
  .custom-tab-item {
    background: #1e293b !important;
    border-color: #334155 !important;
  }
  
  .header-btn, .tab-nav-btn, .more-btn {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
  }
}

/* ========== 动画效果 ========== */
/* 页面进入动画 */
@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 渐入动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 脉冲动画 */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

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

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #94a3b8, #64748b);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #64748b, #475569);
}

/* 移动端滚动条 */
@media (max-width: 0px) /* 移动端适配已禁用 */ {
  ::-webkit-scrollbar {
    width: 4px;
    height: 4px;
  }
}

/* ========== 充值页面美化 ========== */
.recharge-page {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #0ea5e9 100%) !important;
}

.bg-wrapper {
  opacity: 0.15 !important;
}

.recharge-card {
  width: 85% !important;
  max-width: 340px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  padding: 28px 24px 32px !important;
  min-height: auto !important;
}

.card-title {
  font-size: 26px !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 28px !important;
}

.form-item {
  margin-bottom: 20px !important;
  font-size: 15px !important;
}

.form-item .label {
  color: #64748b !important;
  font-weight: 500;
}

.form-item .value {
  color: #0f172a !important;
  font-weight: 600;
}

.package-desc {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
  border-radius: 12px !important;
  padding: 20px !important;
  border: 1px solid #e2e8f0;
  color: #334155 !important;
  line-height: 1.7 !important;
}

.times-remaining {
  background: linear-gradient(135deg, #eff6ff, #dbeafe) !important;
  border-radius: 12px !important;
  padding: 20px !important;
  border: 1px solid #bfdbfe;
  color: #1e40af !important;
  font-weight: 600;
}

.help-btn {
  background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5) !important;
  width: 56px !important;
  height: 56px !important;
}

.help-btn:hover {
  transform: scale(1.1) rotate(15deg) !important;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.6) !important;
}

/* ========== 验证页面美化 ========== */
.auth-verify-container {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #0ea5e9 100%) !important;
}

.white-card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  border-radius: 20px !important;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.register-title {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700 !important;
}

.register-btn {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #0ea5e9 100%) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
}

.register-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #0284c7 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5) !important;
}

/* ========== 主题设置弹窗美化 ========== */
.theme-dialog {
  width: 480px !important;
}

.section-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  margin: 16px 0 12px !important;
}

.preset-item {
  width: 110px !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 12px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: #ffffff;
}

.preset-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.preset-item.active {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), 0 4px 12px rgba(37, 99, 235, 0.2) !important;
}

.color-bar {
  height: 24px !important;
  border-radius: 6px !important;
  margin-bottom: 8px !important;
}

.preset-item span {
  font-size: 13px !important;
  color: #334155 !important;
  font-weight: 500;
}

.sidebar-preview {
  width: 220px !important;
  border-radius: 12px !important;
  overflow: hidden;
  border: 1px solid #e2e8f0 !important;
  box-shadow: var(--shadow-md);
}

.preview-header {
  padding: 12px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.preview-menu {
  background: #ffffff;
}

.menu-item {
  padding: 10px 14px !important;
  font-size: 13px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.menu-item.active {
  background: #eff6ff !important;
  font-weight: 600 !important;
}

/* ========== 数据统计卡片美化 ========== */
.stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.stat-card .stat-value {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-card .stat-label {
  font-size: 14px;
  color: #64748b;
  margin-top: 8px;
  font-weight: 500;
}

.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
}

/* ========== 游戏包卡片美化 ========== */
.package-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border-color: #93c5fd;
}

.package-card .package-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.package-card .package-info {
  padding: 16px;
}

.package-card .package-name {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.package-card .package-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.package-card .package-price {
  font-size: 20px;
  font-weight: 700;
  color: #f59e0b;
}

.package-card .package-price span {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
}

/* ========== 订单列表美化 ========== */
.order-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.order-item:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

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

.order-item .order-id {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.order-item .order-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.order-item .order-status.success {
  background: #dcfce7;
  color: #16a34a;
}

.order-item .order-status.pending {
  background: #fef3c7;
  color: #d97706;
}

.order-item .order-status.failed {
  background: #fee2e2;
  color: #dc2626;
}

.order-item .order-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
}

.order-item .order-amount {
  font-size: 18px;
  font-weight: 700;
  color: #f59e0b;
}

/* ========== 移动端优化 ========== */
@media (max-width: 0px) /* 移动端适配已禁用 */ {
  /* 顶部导航栏优化 - 确保菜单按钮足够大 */
  .header {
    height: 60px !important;
    padding: 0 12px !important;
  }
  
  .header-left, .header-right {
    gap: 8px !important;
  }
  
  /* 菜单按钮增大 - 确保好点击 */
  .header-btn,
  .el-button--text,
  .el-button {
    min-height: 44px !important;
    min-width: 44px !important;
    font-size: 15px !important;
  }
  
  /* 侧边栏菜单优化 - 只改视觉，不改布局逻辑 */
  .sidebar-menu .el-menu-item,
  .sidebar-menu .el-sub-menu__title {
    height: 50px !important;
    line-height: 50px !important;
    font-size: 15px !important;
  }
  
  /* 输入框增大 - 方便触控 */
  .el-input__wrapper {
    height: 48px !important;
    font-size: 15px !important;
  }
  
  .el-input__inner {
    font-size: 15px !important;
  }
  
  /* 按钮增大 */
  .el-button {
    height: 48px !important;
    font-size: 15px !important;
    padding: 0 20px !important;
  }
  
  /* 字体优化 - 确保清晰可读 */
  body {
    font-size: 15px !important;
  }
  
  .el-card__body {
    padding: 16px !important;
  }
  
  /* 对话框优化 */
  .el-dialog {
    width: 92% !important;
    margin: 20px auto !important;
    border-radius: 16px !important;
  }
  
  /* 表格优化 */
  .el-table {
    font-size: 14px !important;
  }
  
  .el-table th,
  .el-table td {
    padding: 12px 8px !important;
  }
  
  /* 标签页优化 */
  .el-tabs__item {
    height: 44px !important;
    line-height: 44px !important;
    font-size: 14px !important;
    padding: 0 16px !important;
  }
  
  /* 下拉菜单优化 */
  .el-dropdown-menu__item {
    padding: 12px 16px !important;
    font-size: 15px !important;
  }

/* ========== 加载动画美化 ========== */
.el-loading-mask {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(4px);
}

.el-loading-spinner .circular {
  height: 42px;
  width: 42px;
  animation: loading-rotate 2s linear infinite;
}

.el-loading-spinner .path {
  stroke: #2563eb !important;
  stroke-width: 3;
  stroke-linecap: round;
  animation: loading-dash 1.5s ease-in-out infinite;
}

/* ========== 消息提示美化 ========== */
.el-message {
  border-radius: 16px !important;
  padding: 20px 28px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid #dbeafe !important;
  background: #ffffff !important;
  backdrop-filter: blur(10px);
  font-size: 18px !important;
  line-height: 1.6 !important;
  min-width: 320px !important;
  color: #2563eb !important;
}

.el-message .el-message__content {
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: #2563eb !important;
}

.el-message .el-icon {
  font-size: 22px !important;
  color: #2563eb !important;
}

.el-message--success {
  background: #ffffff !important;
  border-color: #dbeafe !important;
}

.el-message--warning {
  background: #ffffff !important;
  border-color: #dbeafe !important;
}

.el-message--error {
  background: #ffffff !important;
  border-color: #dbeafe !important;
}

.el-message--info {
  background: #ffffff !important;
  border-color: #dbeafe !important;
}

.el-message--error {
  background: linear-gradient(135deg, #fef2f2, #fee2e2) !important;
  border-color: #fecaca !important;
}

.el-message--info {
  background: linear-gradient(135deg, #eff6ff, #dbeafe) !important;
  border-color: #bfdbfe !important;
}

/* ========== 空状态美化 ========== */
.el-empty__description {
  color: #94a3b8 !important;
  font-size: 14px !important;
}

/* ========== 标签美化 ========== */
.el-tag {
  border-radius: 8px !important;
  padding: 0 12px !important;
  height: 28px !important;
  line-height: 26px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border: none !important;
}

.el-tag--success {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0) !important;
  color: #16a34a !important;
}

.el-tag--warning {
  background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
  color: #d97706 !important;
}

.el-tag--danger {
  background: linear-gradient(135deg, #fee2e2, #fecaca) !important;
  color: #dc2626 !important;
}

.el-tag--info {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe) !important;
  color: #2563eb !important;
}

/* ========== 徽章美化 ========== */
.el-badge__content {
  border-radius: 10px !important;
  padding: 0 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ========== 进度条美化 ========== */
.el-progress-bar__outer {
  border-radius: 10px !important;
  background: #e2e8f0 !important;
  height: 10px !important;
}

.el-progress-bar__inner {
  border-radius: 10px !important;
  background: linear-gradient(90deg, #2563eb, #3b82f6, #0ea5e9) !important;
}

/* ========== 开关美化 ========== */
.el-switch.is-checked .el-switch__core {
  background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
  border-color: #2563eb !important;
}

.el-switch__core {
  border-radius: 20px !important;
  height: 24px !important;
  width: 48px !important;
}

.el-switch__core .el-switch__action {
  width: 20px !important;
  height: 20px !important;
  top: 2px !important;
}

.el-switch.is-checked .el-switch__core .el-switch__action {
  left: calc(100% - 22px) !important;
}

/* ========== 选择器美化 ========== */
.el-select-dropdown {
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid #e2e8f0 !important;
  padding: 8px 0 !important;
}

.el-select-dropdown__item {
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
}

.el-select-dropdown__item:hover {
  background: #eff6ff !important;
  color: #2563eb !important;
}

.el-select-dropdown__item.selected {
  background: #dbeafe !important;
  color: #2563eb !important;
  font-weight: 600 !important;
}

/* ========== 日期选择器美化 ========== */
.el-picker-panel {
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid #e2e8f0 !important;
}

.el-date-table th {
  color: #64748b !important;
  font-weight: 600 !important;
}

.el-date-table td.today .el-date-table-cell__text {
  color: #2563eb !important;
  font-weight: 700 !important;
}

.el-date-table td.current:not(.disabled) .el-date-table-cell__text {
  background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4) !important;
}

/* ========== 下拉菜单美化 ========== */
.el-dropdown-menu {
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid #e2e8f0 !important;
  padding: 8px 0 !important;
}

.el-dropdown-menu__item {
  padding: 10px 20px !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
}

.el-dropdown-menu__item:hover {
  background: #eff6ff !important;
  color: #2563eb !important;
}

/* ========== 分页器美化 ========== */
.el-pagination .btn-prev,
.el-pagination .btn-next {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  margin: 0 4px !important;
}

.el-pagination .btn-prev:hover,
.el-pagination .btn-next:hover {
  border-color: #2563eb !important;
  color: #2563eb !important;
}

.el-pagination .el-pager li {
  margin: 0 4px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  font-weight: 500 !important;
}

.el-pagination .el-pager li:hover {
  border-color: #2563eb !important;
  color: #2563eb !important;
  background: #eff6ff !important;
}

.el-pagination .el-pager li.is-active {
  background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35) !important;
}

/* ========== 结束 ========== */

*/