/* ====================================================
   全局美化样式 - 现代化用户中心 UI
   设计风格：深色侧边栏 + 清爽白色主区域 + 渐变蓝色主题
   ==================================================== */

/* ---------- CSS 变量 ---------- */
:root {
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --primary-light: #eef0fd;
  --secondary: #7367f0;
  --success: #28c76f;
  --warning: #ff9f43;
  --danger: #ea5455;
  --info: #00cfe8;
  --dark: #1e1e2d;
  --sidebar-bg: #1e1e2d;
  --sidebar-text: #a8aab7;
  --sidebar-active: #fff;
  --sidebar-hover-bg: rgba(255,255,255,0.07);
  --topbar-bg: #fff;
  --body-bg: #f4f5fb;
  --card-bg: #fff;
  --card-shadow: 0 2px 15px rgba(0,0,0,0.06);
  --card-radius: 12px;
  --border-color: #e9ecef;
  --text-muted: #6e7891;
  --font-main: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- 基础重置 ---------- */
body {
  font-family: var(--font-main) !important;
  background-color: var(--body-bg) !important;
  color: #3d4465;
}

/* ---------- 工具类 ---------- */
.hide, .hidden { display: none !important; }
.h100p { height: 100%; }
.w100p { width: 100%; }
.mw-250 { max-width: 250px; }
.flex1 { flex: 1; }
.fs-12 { font-size: 12px; }
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-22 { font-size: 22px; }
.fs-24 { font-size: 24px; }
.fs-26 { font-size: 26px; }
.fs-28 { font-size: 28px; }
.fs-30 { font-size: 30px; }
.fs-50 { font-size: 50px !important; }
.fw-200 { font-weight: 200; }
.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.color-999 { color: #999 !important; }
.pointer { cursor: pointer; }

/* ---------- 顶部导航栏 ---------- */
#page-topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1002;
  background-color: var(--topbar-bg);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  height: 64px;
}

.navbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  height: 64px;
  padding: 0 20px 0 0;
}

.navbar-brand-box {
  padding: 0 20px;
  text-align: center;
  width: 240px;
  background-color: var(--sidebar-bg);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo { line-height: 64px; }
.logo .logo-sm { display: none; }
.logo-light { display: none; }

/* 顶栏按钮 */
.header-item {
  height: 64px;
  box-shadow: none !important;
  color: #6e7891;
  border: 0;
  border-radius: 0;
  transition: color 0.2s;
}
.header-item:hover { color: var(--primary); }

/* 顶栏用户头像 */
.user-center_header {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.noti-icon i {
  font-size: 20px;
  color: #6e7891;
}
.noti-icon .badge {
  position: absolute;
  top: 12px;
  right: 4px;
}

/* 顶栏下拉菜单 */
.dropdown-menu {
  border: none;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  border-radius: 10px;
  padding: 8px;
}
.dropdown-item {
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  color: #3d4465;
  transition: background 0.15s;
}
.dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}
.dropdown-item i {
  color: var(--primary);
}

/* ---------- 侧边栏 ---------- */
.vertical-menu {
  width: 240px;
  min-height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1001;
  background-color: var(--sidebar-bg);
  padding-top: 64px;
  transition: width 0.25s ease;
}

#sidebar-menu {
  padding: 16px 0 30px;
}

#sidebar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#sidebar-menu ul li a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: var(--sidebar-text);
  font-size: 13.5px;
  border-radius: 0 30px 30px 0;
  margin-right: 12px;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
}

#sidebar-menu ul li a i {
  font-size: 17px;
  margin-right: 10px;
  flex-shrink: 0;
  color: var(--sidebar-text);
  transition: color 0.2s;
}

#sidebar-menu ul li a:hover {
  background-color: var(--sidebar-hover-bg);
  color: #fff;
}
#sidebar-menu ul li a:hover i { color: #fff; }

#sidebar-menu ul li a.mm-active,
#sidebar-menu ul li.mm-active > a {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 500;
}
#sidebar-menu ul li a.mm-active i,
#sidebar-menu ul li.mm-active > a i { color: #fff; }

/* 二级菜单 */
#sidebar-menu .sub-menu {
  padding-left: 20px;
}
#sidebar-menu .sub-menu li a {
  font-size: 13px;
  padding: 8px 16px;
  color: #8b8fa8;
  margin-right: 8px;
}
#sidebar-menu .sub-menu li a:hover {
  color: #fff;
  background-color: var(--sidebar-hover-bg);
}
#sidebar-menu .sub-menu li a.mm-active {
  color: #fff;
  background: none;
  font-weight: 500;
}

/* 菜单分组标题 */
.menu-title {
  padding: 8px 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5a5f7d;
  font-weight: 600;
}

/* ---------- 主内容区 ---------- */
.main-content {
  margin-left: 240px;
  transition: margin-left 0.25s ease;
}

.page-content {
  padding: calc(64px + 20px) 20px 60px 20px;
  min-height: 100vh;
}

/* ---------- 页面标题区 ---------- */
.page-title-box {
  padding: 0 0 16px;
}
.page-title-box h4 {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
}
.breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
}
.breadcrumb-item + .breadcrumb-item::before { color: #adb5bd; }

/* ---------- 卡片 ---------- */
.card {
  background-color: var(--card-bg);
  border: none;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
}
.card-body { padding: 20px 24px; }
.card-title {
  font-size: 15px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 16px;
}

/* ---------- 按钮 ---------- */
.btn {
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 18px;
  transition: all 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  box-shadow: 0 4px 12px rgba(67,97,238,0.3);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, var(--primary-dark), #6358e8);
  box-shadow: 0 6px 16px rgba(67,97,238,0.4);
  color: #fff;
}
.btn-outline-primary {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary {
  background-color: #f4f5fb;
  border-color: #e2e5f1;
  color: #6e7891;
}
.btn-secondary:hover {
  background-color: #e9ecf5;
  color: #3d4465;
}
.btn-sm { padding: 5px 12px; font-size: 12px; border-radius: 6px; }
.btn-block { display: block; width: 100%; }
.btn-default {
  background-color: #fff;
  border: 1.5px solid #e2e5f1;
  color: #6e7891;
}
.btn-default:hover {
  background-color: #f4f5fb;
  border-color: #d0d4e8;
}
.btn-default.active, .btn-default:hover {
  transition: all .2s;
  background-color: #f4f5fb;
}

/* ---------- 表单控件 ---------- */
.form-control {
  border: 1.5px solid #e2e5f1;
  border-radius: 8px;
  height: 40px;
  font-size: 13.5px;
  color: #3d4465;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67,97,238,0.12);
  outline: none;
}
.form-control:disabled, .form-control[readonly] {
  background-color: #f8f9fc;
  color: #9aa0b4;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: #5a5f7d;
  margin-bottom: 6px;
}
.input-group-append {
  height: 40px;
}
.input-group-append .btn {
  border-radius: 0 8px 8px 0;
  height: 40px;
}
.input-group .form-control:not(:last-child) {
  border-radius: 8px 0 0 8px;
}
select.form-control {
  padding-top: 0;
  padding-bottom: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236e7891' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-position: calc(100% - 12px) center;
  background-repeat: no-repeat;
  padding-right: 30px;
}

/* ---------- 表格 ---------- */
.table {
  color: #3d4465;
  font-size: 13.5px;
}
.table thead th {
  border-top: none;
  border-bottom: 2px solid #f0f2f8;
  font-weight: 600;
  font-size: 12.5px;
  color: #9aa0b4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  background-color: #f8f9fc;
}
.table tbody td {
  padding: 12px 16px;
  vertical-align: middle;
  border-top: 1px solid #f0f2f8;
}
.table tbody tr:hover td {
  background-color: #fafbff;
  transition: all 0.2s;
}
.table-responsive { border-radius: 8px; overflow: hidden; }
.tablelist { margin: 0; }

/* 表格容器 */
.table-container { position: relative; }
.table-responsive { min-height: calc(100vh - 650px); background: #fff; }
.table-responsive .table { margin-bottom: 0; }
.table-responsive .custom-control { min-height: inherit; }

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
}
.table-header > * { flex: 1; }
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
}
.table-tools { display: flex; gap: 8px; align-items: center; }
.table-pagination { display: flex; align-items: center; }
.table-pagination .pagination { margin-bottom: 0; }

/* 搜索框 */
.search-box .form-control {
  padding-left: 36px;
  background-color: #f8f9fc;
  border-color: #f0f2f8;
}
.search-box .form-control:focus {
  background-color: #fff;
  border-color: var(--primary);
}
.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #9aa0b4;
}

/* ---------- 状态徽章 ---------- */
.badge {
  border-radius: 6px;
  font-weight: 500;
  font-size: 11.5px;
  padding: 4px 8px;
}
.badge-pill { border-radius: 50px; }
.badge-success { background-color: rgba(40,199,111,0.12); color: #28c76f; }
.badge-danger { background-color: rgba(234,84,85,0.12); color: #ea5455; }
.badge-warning { background-color: rgba(255,159,67,0.12); color: #ff9f43; }
.badge-info { background-color: rgba(0,207,232,0.12); color: #00cfe8; }
.badge-primary { background-color: rgba(67,97,238,0.12); color: var(--primary); }
.badge-light { background-color: #f4f5fb; color: #6e7891; }
.badge-secondary { background-color: #f4f5fb; color: #6e7891; }

/* 状态 badge 样式 */
.status-active, .status-paid, .status-success {
  background-color: rgba(40,199,111,0.12) !important;
  color: #28c76f !important;
  border: none !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-weight: 500;
}
.status-suspended {
  background-color: rgba(234,84,85,0.12) !important;
  color: #ea5455 !important;
  border: none !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-weight: 500;
}
.status-unpaid, .status-pending {
  background-color: rgba(255,159,67,0.12) !important;
  color: #ff9f43 !important;
  border: none !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-weight: 500;
}
.status-deleted {
  background-color: rgba(110,120,145,0.12) !important;
  color: #6e7891 !important;
  border: none !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-weight: 500;
}
.status-refunded {
  background-color: rgba(110,120,145,0.12) !important;
  color: #6e7891 !important;
  border: none !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
}
.status-cancelled {
  background-color: rgba(110,120,145,0.12) !important;
  color: #6e7891 !important;
  border: none !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
}

/* ---------- 分页 ---------- */
.pagination .page-link {
  border: 1.5px solid #e2e5f1;
  color: #6e7891;
  border-radius: 8px !important;
  margin: 0 2px;
  padding: 6px 12px;
  font-size: 13px;
  transition: all 0.2s;
}
.pagination .page-link:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}
.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 3px 8px rgba(67,97,238,0.3);
}

/* ---------- 模态框 ---------- */
.modal-content {
  border: none;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}
.modal-header {
  border-bottom: 1px solid #f0f2f8;
  padding: 18px 24px;
}
.modal-header .modal-title {
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
}
.modal-body { padding: 20px 24px; }
.modal-footer {
  border-top: 1px solid #f0f2f8;
  padding: 14px 24px;
}
.close {
  font-size: 20px;
  color: #9aa0b4;
  opacity: 1;
}
.close:hover { color: #3d4465; }

/* ---------- 警告框 ---------- */
.alert {
  border: none;
  border-radius: 10px;
  font-size: 13.5px;
  padding: 12px 16px;
}
.alert-danger { background-color: rgba(234,84,85,0.1); color: #ea5455; }
.alert-success { background-color: rgba(40,199,111,0.1); color: #28c76f; }
.alert-warning { background-color: rgba(255,159,67,0.1); color: #ff9f43; }
.alert-info { background-color: rgba(0,207,232,0.1); color: #00cfe8; }

/* ---------- 进度条 ---------- */
.progress {
  height: 6px;
  border-radius: 10px;
  background-color: #f0f2f8;
}
.progress-bar { border-radius: 10px; }
.progress-bar.bg-danger { background: linear-gradient(90deg, #ea5455, #ff7675) !important; }
.progress-bar.bg-warning { background: linear-gradient(90deg, #ff9f43, #ffbe76) !important; }
.progress-bar.bg-success { background: linear-gradient(90deg, #28c76f, #48da89) !important; }
.progress-bar.bg-info { background: linear-gradient(90deg, #00cfe8, #1de9b6) !important; }
.progress-bar.bg-primary { background: linear-gradient(90deg, var(--primary), var(--secondary)) !important; }

/* ---------- 自定义复选框 ---------- */
.custom-control {
  display: flex;
  align-items: center;
  min-height: calc(1.5em + .94rem + 2px);
}
.custom-control > *:first-child { margin-right: 15px; }
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--primary);
  border-color: var(--primary);
}
.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 3px rgba(67,97,238,0.15);
}

/* ---------- 底部 Footer ---------- */
.footer {
  bottom: 0;
  padding: 14px 20px;
  position: absolute;
  right: 0;
  left: 240px;
  color: #9aa0b4;
  font-size: 12.5px;
  background-color: transparent;
  border-top: 1px solid #f0f2f8;
}

/* ---------- 用户中心首页 ---------- */
.user-center_h300 { min-height: 280px; }
.user-center_calc { min-height: 300px; }

/* 用户头像 */
.user-center_header {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-center_name {
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
  margin-right: 8px;
}

/* 安全图标 */
.user-center_safety_wrapper { gap: 12px; }
.user-center_safety {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.user-center_safety:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67,97,238,0.3);
}

/* 产品网格 */
.user-center_product_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.user-center_product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  background-color: #f8f9fc;
  color: #3d4465;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1.5px solid transparent;
}
.user-center_product:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}
.user-center_product span:first-child i {
  margin-right: 6px;
  color: var(--primary);
}
.user-center_product span:last-child {
  font-size: 12px;
  color: #9aa0b4;
}

/* 公告列表 */
.user-center_notice_ul { list-style: none; padding: 0; margin: 0; }
.user-center_notice_item {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f8;
}
.user-center_notice_item:last-child { border-bottom: none; }
.notice_item_time { font-size: 11.5px; color: #9aa0b4; margin-bottom: 4px; }
.notice_item_title {
  font-size: 13.5px;
  color: #3d4465;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice_item_title:hover { color: var(--primary); }

/* 无数据提示 */
.no-data {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  color: #9aa0b4;
  font-size: 13.5px;
}

/* ---------- 安全中心 ---------- */
.security-header {
  border-radius: var(--card-radius) !important;
  background: linear-gradient(135deg, #1e1e2d 0%, #2d2d44 50%, #3a3a5c 100%) !important;
  background-image: none !important;
  border: none;
  overflow: hidden;
  position: relative;
}
.security-header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(67,97,238,0.2);
  pointer-events: none;
}
.security-header::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 30%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(115,103,240,0.15);
  pointer-events: none;
}
.security-header .card-body { position: relative; z-index: 1; }

.security-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.security-logo {
  width: 56px;
  height: 56px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(67,97,238,0.4);
}

.security-info {
  padding: 16px 20px;
  border-radius: 10px;
  background-color: rgba(255,255,255,0.08);
}
.security-username {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
.security-username .badge { font-size: 11px; padding: 3px 8px; }
.security-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 12.5px;
}
.security-text .progress {
  height: 4px;
  background-color: rgba(255,255,255,0.15);
}
.security-meta .list-inline-item {
  margin-right: 20px;
  line-height: 32px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.security-meta label {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  margin-bottom: 0;
}

/* 安全项目 */
.security-items { display: flex; flex-direction: column; }
.security-item {
  padding: 16px 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f0f2f8;
  transition: all 0.2s;
  margin-bottom: 0;
}
.security-item:last-child { border-bottom: none; margin-bottom: 0; }
.security-items .security-item:hover {
  background-color: #fafbff;
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
  margin: 0 -10px;
  box-shadow: none;
}
.security-items .security-item { padding: 16px 0; }
.security-item-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 12px;
  margin-right: 16px;
  font-size: 18px;
  flex-shrink: 0;
}
.security-item-icon.bg-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  box-shadow: 0 4px 10px rgba(67,97,238,0.3);
}
.security-item-icon.bg-info {
  background: linear-gradient(135deg, #00cfe8, #1de9b6) !important;
  box-shadow: 0 4px 10px rgba(0,207,232,0.3);
}
.security-item-icon.bg-warning {
  background: linear-gradient(135deg, #ff9f43, #ffbe76) !important;
  box-shadow: 0 4px 10px rgba(255,159,67,0.3);
}
.security-item-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.security-item-title {
  color: #2d3748;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px;
}
.security-item-title small { margin-left: 10px; color: #28c76f; font-size: 12px; }
.security-item-title small i { color: #28c76f; }
.security-item-desc { color: #9aa0b4; font-size: 12.5px; }
.security-item-image { display: none; }

/* 安全强度徽章 */
.novalid {
  min-width: 80px;
  height: 24px;
  line-height: 18px;
  background-color: rgba(255,255,255,0.15);
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
}

/* ---------- 认证页面 ---------- */
.not_certified_title {
  font-size: 26px;
  color: #2d3748;
  text-align: center;
  font-weight: 600;
}
.not_certified_text {
  color: #9aa0b4;
  margin-top: 12px;
  line-height: 28px;
  margin-bottom: 24px;
  font-size: 13.5px;
}
.type-item {
  padding: 40px 60px;
  border-radius: 12px;
  border: 2px solid #f0f2f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s;
  cursor: pointer;
}
.type-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(67,97,238,0.12);
  transform: translateY(-2px);
}
.type-item a { width: 180px; white-space: nowrap; }
.min-95 { min-height: 95px; }
.type-icon { width: 49px; height: 36px; background-size: cover; }
.type-title { font-size: 20px; color: #2d3748; margin-bottom: 12px; text-align: center; white-space: nowrap; font-weight: 600; }
.type-desc { color: #9aa0b4; text-align: center; margin-bottom: 20px; white-space: nowrap; font-size: 13px; }
.type-info { margin-bottom: 30px; white-space: nowrap; }
.type-info li { font-size: 13.5px; line-height: 36px; }
.type-info li i { color: var(--primary); }

/* 认证图标 */
.personal {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAAqCAYAAADibUizAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6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00eMfFReE85DWuKsLXa5Y9YeNpw8Uq9wy/eGioOVAnKR2iq8NGkYoqIdUxlmVXUkOhLsWD3OybukeEEHQv3YFcAxhwTPi+SjU8wlc22H2MzINUnsyzFmfrm2Y1U8jjtue4Glhg8hAga88bs48e+fs7Eb4QwCwXUzJmfI/LRiYMl2Kjb+0GNR2DR8GEp3bb7V1SP1pk8+vE/CaSzqm3aFPUssVJB+rFgjyL1C2tdzOvbp1PotgfAh5WLTXIETrUXdaVAZi7LGF+Um25KMQnK5xqz3/iHXfmhAO7gTZd0sk+35SpA9fMekmipt+cUj+Us7M26Opt9KzVdbU/QsufKBsrdI+2pu2/F+7eDLPqYiQKB3swSTYoWg0q1onvxqJbfLh5JHLlKS5lSzphSr2ptnyG7o0+r85K7k/XkSMfNpEUXtl4JxQCW1EJTaWCDYnd57BnnlZCFsVdriWJKGxPGC3tQBf215Ob/1ewT2DWLzqBwJRyS7G1tO817+EebbyQ/c7f8ORcXwwp0u3lUPoXiqI7PrKLufEhzx9syJjLu7Mnr8wrfIlHZOnzy6WmyeJLvKnGFKS+HNcZZ3sHnXIfNOoNl9TTRXj0i+3C23tmd11sENn4MbVrMrqdPoL0A1jyGIV4Fckege9sp8abc0m1BCeWV8fWE/Nu+vSGtWYPLMWHBRPMfqkpGC81iBXbfizbUof9KZykGGayttCrsmGLlsY+bOpYOlzZPJ9u8lF0iRurK6dW0JFCybrmR0SfokpHgm/lmBFWvCam0OlXgn21QmiFBt2VDJd5Pz3P9jHbcQDNVFAYL9AbPSWmVVWlNIKkfcWelSuKGWPcDhZbrFHwrv+1uAAQCgZQwfwnBhuwAAAABJRU5ErkJggg==");
}

/* ---------- 充值页面 ---------- */
.addfunds-payment {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 2px solid #f0f2f8;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #fff;
}
.addfunds-payment:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(67,97,238,0.12);
}
.addfunds-payment.active {
  border-color: var(--primary);
  background-color: var(--primary-light);
  box-shadow: 0 4px 12px rgba(67,97,238,0.15);
}
.addfunds-payment img { height: 28px; max-height: 28px; }

/* ---------- 登录/注册页 ---------- */
.auth-full-bg {
  min-height: 100vh;
  position: relative;
}
.bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e1e2d 0%, #2d2d44 50%, #1a1a3e 100%);
  opacity: 1;
}
.auth-full-page-content {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #fff;
}
.login_right {
  width: 100%;
  max-width: 420px;
}
.logo.text-center img { height: 48px; }

/* Tab 导航 */
.nav-tabs-custom {
  border: none;
  background-color: #f8f9fc;
  border-radius: 10px;
  padding: 4px;
  margin-top: 24px;
}
.nav-tabs-custom .nav-link {
  border: none;
  border-radius: 8px;
  color: #6e7891;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 16px;
  transition: all 0.2s;
}
.nav-tabs-custom .nav-link.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 3px 8px rgba(67,97,238,0.3);
}
.nav-tabs-custom .nav-link:hover:not(.active) {
  background-color: #fff;
  color: var(--primary);
}

/* 登录表单 */
.auth-full-page-content .form-control { height: 46px; border-radius: 10px; font-size: 14px; }
.auth-full-page-content .input-group-append { height: 46px; }
.auth-full-page-content .btn-primary { height: 46px; font-size: 15px; border-radius: 10px; }
.auth-full-page-content .form-group label { font-size: 13.5px; font-weight: 500; color: #5a5f7d; }

/* 左侧装饰内容 */
.auth-full-bg .d-flex.h-100 { position: relative; z-index: 1; }
.auth-full-bg h1.text-white { font-size: 32px; font-weight: 700; line-height: 1.3; }
.auth-full-bg .text-white-50 { font-size: 15px; line-height: 1.7; opacity: 0.7; }

/* ---------- 工单页面 ---------- */
.ticket-item {
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 16px 20px;
  border: 1.5px solid #f0f2f8;
  background-color: #fff;
  transition: all 0.2s;
}
.ticket-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(67,97,238,0.08);
}

/* ---------- 折叠菜单 ---------- */
body[data-sidebar=dark].vertical-collpsed { min-height: inherit; }
body[data-sidebar=dark].vertical-collpsed .vertical-menu { width: 64px; }
body[data-sidebar=dark].vertical-collpsed .main-content { margin-left: 64px; }
body[data-sidebar=dark].vertical-collpsed .footer { left: 64px; }
body[data-sidebar=dark].vertical-collpsed #sidebar-menu ul li a span,
body[data-sidebar=dark].vertical-collpsed #sidebar-menu ul li a .has-arrow::after { display: none; }
body[data-sidebar=dark].vertical-collpsed #sidebar-menu ul li a {
  justify-content: center;
  padding: 12px;
  margin-right: 0;
  border-radius: 0;
}
body[data-sidebar=dark].vertical-collpsed #sidebar-menu ul li a i { margin-right: 0; font-size: 20px; }

/* ---------- 滚动条美化 ---------- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #f0f2f8; }
::-webkit-scrollbar-thumb { background: #c8cde0; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #9aa0b4; }

/* ---------- 动画 ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.card { animation: fadeInUp 0.3s ease; }

/* ---------- 点状加载动画 ---------- */
.dots {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--warning);
  animation: pulse 1.2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ---------- 文字颜色工具类 ---------- */
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-info { color: var(--info) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-black-50 { color: rgba(61,68,101,0.5) !important; }
.text-black-80 { color: rgba(61,68,101,0.8) !important; }
.text-dark { color: #2d3748 !important; }
.text-white { color: #fff !important; }

/* ---------- 背景颜色工具类 ---------- */
.bg-primary { background-color: var(--primary) !important; }
.bg-success { background-color: var(--success) !important; }
.bg-danger { background-color: var(--danger) !important; }
.bg-warning { background-color: var(--warning) !important; }
.bg-info { background-color: var(--info) !important; }
.bg-light { background-color: #f8f9fc !important; }

/* ---------- 分割线 ---------- */
hr { border-color: #f0f2f8; margin: 16px 0; }

/* ---------- 链接 ---------- */
a { color: var(--primary); }
a:hover { color: var(--primary-dark); text-decoration: none; }

/* ---------- select2 / selectpicker 美化 ---------- */
.bootstrap-select .btn {
  border: 1.5px solid #e2e5f1;
  border-radius: 8px;
  background-color: #fff;
  color: #3d4465;
  font-size: 13.5px;
  height: 40px;
  display: flex;
  align-items: center;
}
.bootstrap-select .btn:hover, .bootstrap-select .btn:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67,97,238,0.12);
}
.bootstrap-select .dropdown-menu {
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  padding: 8px;
}
.bootstrap-select .dropdown-item.active,
.bootstrap-select .dropdown-item:active {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* ---------- 表单控件标签 ---------- */
.form-control-label {
  font-size: 13px;
  color: #9aa0b4;
  font-weight: 400;
}

/* ---------- 富文本编辑器 ---------- */
.note-editor .note-toolbar { border-radius: 8px 8px 0 0; overflow: hidden; }
.note-btn-group .note-btn { border-color: #e2e5f1 !important; }

/* ---------- 移动端适配 ---------- */
@media (max-width: 992px) {
  .navbar-brand-box { width: auto; background-color: var(--sidebar-bg); }
  .logo span.logo-lg { display: none; }
  .logo span.logo-sm { display: inline-block; }
  .footer { left: 0; }
  .main-content { margin-left: 0; }
}
@media (max-width: 576px) {
  .card-body { padding: 16px; }
  .user-center_product_grid { grid-template-columns: 1fr; }
  .type-item { padding: 24px 20px; }
  .security-header .card-body { padding: 16px; }
  .phonehide { display: none !important; }
}

/* ===== 安全图标 inactive 状态 ===== */
.user-center_safety.inactive {
  background: #c8ccd8;
}
.user-center_safety.inactive:hover {
  background: #adb5bd;
  box-shadow: none;
}

/* ===== Badge Soft 变体 ===== */
.badge-soft-primary {
  background-color: rgba(67,97,238,0.12);
  color: #4361ee;
  font-weight: 500;
  border-radius: 20px;
  padding: 3px 8px;
}
.badge-soft-success {
  background-color: rgba(40,199,111,0.12);
  color: #28c76f;
}
.badge-soft-warning {
  background-color: rgba(255,159,67,0.12);
  color: #ff9f43;
}
.badge-soft-danger {
  background-color: rgba(234,84,85,0.12);
  color: #ea5455;
}

/* ===== Toastr 通知美化 ===== */
.toast-top-right { top: 72px; right: 16px; }
#toast-container > div {
  border-radius: 10px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
  padding: 14px 18px 14px 54px !important;
  font-size: 13.5px !important;
  opacity: 1 !important;
}
#toast-container > .toast-success {
  background-color: #28c76f !important;
}
#toast-container > .toast-error {
  background-color: #ea5455 !important;
}
#toast-container > .toast-warning {
  background-color: #ff9f43 !important;
}
#toast-container > .toast-info {
  background-color: #4361ee !important;
}
.toast-progress {
  background-color: rgba(255,255,255,0.3) !important;
}
