/* ========== 玻璃镜面主题 v2 — 美发管理系统 ========== */

/* — 全局 — */
html, body {
  background: linear-gradient(135deg, #0d0218 0%, #1a0a2e 40%, #0f031c 70%, #0d0218 100%) !important;
  background-attachment: fixed !important;
  min-height: 100vh !important;
}

/* — 统计卡片 — */
.cards .c {
  background: rgba(22, 33, 62, 0.55) !important;
  backdrop-filter: blur(14px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(130%) !important;
  border: 1px solid rgba(255, 107, 157, 0.14) !important;
  border-radius: 16px !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  transition: all 0.3s ease !important;
}
.cards .c:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 107, 157, 0.3) !important;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 107, 157, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
.cards .c .n {
  font-size: 34px !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #ff6b9d, #ff8db5) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.cards .c .l {
  font-size: 13px !important;
  color: rgba(184, 169, 201, 0.8) !important;
  margin-top: 8px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}

/* — 内容盒子（表格容器等）— */
.box, .el-card, [class*="card"] {
  background: rgba(22, 33, 62, 0.5) !important;
  backdrop-filter: blur(12px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
  border: 1px solid rgba(255, 107, 157, 0.1) !important;
  border-radius: 16px !important;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}
.box:hover {
  border-color: rgba(255, 107, 157, 0.2) !important;
}

/* — 标题 — */
h2, h3, .title {
  color: #ff6b9d !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}

/* — 表格 — */
table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
th {
  background: rgba(255, 107, 157, 0.06) !important;
  padding: 12px 12px !important;
  font-size: 12px !important;
  color: rgba(184, 169, 201, 0.9) !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid rgba(255, 107, 157, 0.08) !important;
}
td {
  padding: 12px !important;
  font-size: 13px !important;
  color: #e2e8f0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  transition: background 0.2s ease !important;
}
tr:hover td {
  background: rgba(255, 107, 157, 0.03) !important;
}

/* — 按钮 — */
.btn, button.primary, .el-button--primary {
  background: linear-gradient(135deg, #9333ea, #7c3aed) !important;
  border: none !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
  box-shadow: 0 6px 24px rgba(147, 51, 234, 0.3) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.btn:hover, button.primary:hover, .el-button--primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 32px rgba(147, 51, 234, 0.45) !important;
}
.btn:active {
  transform: translateY(0) !important;
}

/* — 输入框 — */
input, textarea, select, .el-input__inner {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 107, 157, 0.12) !important;
  border-radius: 10px !important;
  color: #e2e8f0 !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
  outline: none !important;
}
input:focus, textarea:focus, select:focus, .el-input__inner:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 107, 157, 0.35) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.08) !important;
}

/* — 状态标签 — */
.status-tag, [class*="status"] {
  padding: 3px 10px !important;
  border-radius: 12px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
}

/* — 模态弹窗 — */
.modal, .dialog, .el-dialog {
  background: rgba(22, 33, 62, 0.85) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  border: 1px solid rgba(255, 107, 157, 0.15) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
}

/* — 滚动条 — */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 157, 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 107, 157, 0.35);
}

/* — 面包屑 / 页头 — */
.header, .page-header, .breadcrumb {
  color: rgba(184, 169, 201, 0.7) !important;
  font-size: 13px !important;
}

/* — 链接 — */
a { color: #ff6b9d; transition: color 0.2s; }
a:hover { color: #ff8db5; }

/* ===== select 下拉选项 & 弹窗全局暗色修复 ===== */

/* 浏览器原生 select 强制暗色渲染 */
select {
  color-scheme: dark !important;
}

/* 浏览器原生 select option（OS 渲染层，不支持半透明/backdrop） */
select option {
  background: #0f1729 !important;
  color: #e2e8f0 !important;
}

/* Element Plus / 第三方弹窗下拉 */
.el-select-dropdown,
.el-popper,
.el-autocomplete-suggestion,
.el-dropdown-menu,
.el-cascader__dropdown,
.el-select__popper {
  background: #0f1729 !important;
  border: 1px solid rgba(255, 107, 157, 0.15) !important;
  color: #e2e8f0 !important;
}
.el-select-dropdown__item,
.el-autocomplete-suggestion__item,
.el-cascader-node {
  color: #e2e8f0 !important;
}
.el-select-dropdown__item:hover,
.el-autocomplete-suggestion__item:hover,
.el-select-dropdown__item.hover,
.el-select-dropdown__item.is-hovering,
.el-cascader-node:hover,
.el-cascader-node.is-active {
  background: rgba(255, 107, 157, 0.12) !important;
}

/* 输入框内嵌前缀/后缀 */
.el-input-group__prepend,
.el-input-group__append {
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(255,107,157,.12) !important;
  color: #b8a9c9 !important;
}
