/* ============================================================
   中国龙设备管理后台 · 白色主题 (覆盖层 v2)
   ============================================================ */

/* ---------- 登录页 ---------- */
.login-page {
  min-height: 100vh;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 50% -12%, rgba(212,175,55,.14), transparent 60%),
    radial-gradient(820px 460px at 90% 110%, rgba(193,39,45,.06), transparent 55%),
    linear-gradient(160deg, #ffffff 0%, #f7f9fc 45%, #eef1f7 100%) !important;
}
.login-page::before {
  content: "🐉";
  position: absolute;
  font-size: 460px;
  opacity: .06;
  top: -60px;
  right: -40px;
  transform: rotate(-16deg);
  pointer-events: none;
}
.login-page::after {
  content: "🐉";
  position: absolute;
  font-size: 320px;
  opacity: .05;
  bottom: -80px;
  left: -60px;
  transform: rotate(22deg);
  pointer-events: none;
}
.login-wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 24px; }
.login-header { text-align: center; display: flex; flex-direction: column; align-items: center; }
.login-logo-img {
  width: 96px !important;
  height: 96px !important;
  border-radius: 24px !important;
  border: 2px solid rgba(212,175,55,.55);
  box-shadow: 0 8px 30px rgba(120,90,20,.16) !important;
}
.login-header h1 {
  margin-top: 8px;
  font-size: 30px !important;
  letter-spacing: 4px;
  background: linear-gradient(120deg, #8a6d1a, #c9a53c 50%, #a8862a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.login-header p { color: #8a93a6 !important; letter-spacing: 5px; font-size: 12px !important; margin-top: 6px; }
.login-card {
  background: #ffffff !important;
  border: 1px solid #e6e9f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 54px rgba(30,36,58,.10) !important;
  padding: 34px 34px 24px !important;
  width: 400px;
  max-width: 92vw;
  display: flex !important;
  flex-direction: column;
  gap: 14px !important;
}
.login-card .corner { width: 20px; height: 20px; border-color: #d4af37 !important; }
.login-card .welcome { color: #a8862a !important; letter-spacing: 2px; }
.login-error { background: #fdf1f1 !important; border: 1px solid #f5c6c9 !important; color: #c1272d !important; }
.login-card label { color: #5b6270 !important; }
.login-card input {
  background: #f7f8fb !important;
  border: 1px solid #dfe3ec !important;
  border-radius: 10px !important;
  color: #22262f !important;
  padding: 12px 14px !important;
  width: 100% !important;
}
.login-card input:focus { border-color: #d4af37 !important; box-shadow: 0 0 0 3px rgba(212,175,55,.18) !important; }
.login-card button {
  background: linear-gradient(135deg, #b01c22, #d6454d) !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 3px;
  padding: 12px !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(193,39,45,.28) !important;
}
.login-card button:hover { filter: brightness(1.1); }
.login-card footer { color: #9aa2b3 !important; letter-spacing: 2px; }
.telegram-verify-icon { color: #c9a53c !important; }
.telegram-verify h2 { color: #22262f !important; }
.telegram-verify-tip { color: #8a93a6 !important; }
.telegram-code-inputs input { border: 1px solid #e2d3a2 !important; color: #22262f !important; background: #fbfaf5 !important; }
.telegram-countdown { color: #a8862a !important; }
.telegram-back-btn { background: transparent !important; color: #8a93a6 !important; box-shadow: none !important; border: 1px solid #e6e9f0 !important; }

/* ---------- 后台整体布局 ---------- */
body, html { background: #f4f6fa !important; }
.dashboard-root { background: #f4f6fa !important; min-height: 100vh; }
.dashboard-topbar {
  background: #ffffff !important;
  border-bottom: 1px solid #e6e9f0 !important;
  box-shadow: 0 2px 14px rgba(24,30,50,.05) !important;
}
.topbar-clock, .topbar-muted { color: #a8862a !important; }
.topbar-user { color: #2a2f3a !important; }
.topbar-online b { color: #b8860b !important; }
.topbar-flag { color: #c9a53c !important; }
.topbar-sep { color: #d7dbe4 !important; }
.rc-shell { background: transparent !important; }
.rc-sidebar {
  background: #ffffff !important;
  border-right: 1px solid #e6e9f0 !important;
}
.rc-brand { border-bottom: 1px solid #eef1f5 !important; padding: 14px 12px !important; }
.rc-brand img {
  border: 1px solid rgba(212,175,55,.5) !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 10px rgba(120,90,20,.12) !important;
}
.rc-logo {
  font-size: 14px !important;
  line-height: 1.35 !important;
  background: linear-gradient(120deg, #8a6d1a, #c9a53c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  font-weight: 800;
}
.rc-sub { color: #9aa2b3 !important; letter-spacing: 2px; font-size: 10px !important; }
.rc-sidebar nav button {
  color: #4a5164 !important;
  border-radius: 10px !important;
  margin: 2px 8px !important;
  padding: 10px 12px !important;
  transition: all .18s;
}
.rc-sidebar nav button:hover { background: #fdf3f3 !important; color: #c1272d !important; }
.rc-sidebar nav button.on {
  background: linear-gradient(90deg, #fdf0f0, #fbf6e8) !important;
  color: #a8862a !important;
  box-shadow: inset 3px 0 0 #d4af37;
}
.rc-main { background: #f4f6fa !important; }
.panel, .fc-card, .modal-box, .injection-section, .sidebar-card {
  background: #ffffff !important;
  border: 1px solid #e6e9f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 10px rgba(24,30,50,.04) !important;
}
.page-section-title, .fc-card-title, .modal-title, .modal-head { color: #2a2f3a !important; }
.rc-btn {
  background: linear-gradient(135deg, #b01c22, #d6454d) !important;
  border: 0 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 600;
}
.rc-btn:hover { filter: brightness(1.08) !important; }
.rc-btn.danger { background: linear-gradient(135deg, #7c1216, #a01d22) !important; }
.fc-stat, .rc-stats section {
  background: #ffffff !important;
  border: 1px solid #e6e9f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(24,30,50,.04) !important;
}
.fc-stat-value { color: #22262f !important; }
.fc-stat-label { color: #8a93a6 !important; }
.rc-table th { color: #a8862a !important; border-color: #eef1f5 !important; }
.rc-table td { color: #3a4050 !important; border-color: #f0f2f7 !important; }
.rc-search input, input, select, textarea {
  background: #ffffff !important;
  border-color: #dfe3ec !important;
  color: #22262f !important;
}
input:focus, select:focus, textarea:focus { border-color: #d4af37 !important; }
.modal-overlay { background: rgba(20,24,36,.35) !important; backdrop-filter: blur(3px); }
.boot { background: linear-gradient(160deg, #ffffff, #f4f6fa) !important; }
.boot-text { color: #a8862a !important; letter-spacing: 3px; }
.loader-dot { background: #d4af37 !important; }
.rc-pagination, .data-pagination { background: #ffffff !important; border-color: #e6e9f0 !important; }
.record-meta { color: #8a93a6 !important; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #d8dde8; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #c3cad9; }
::-webkit-scrollbar-track { background: #f0f2f7; }
