/* ========== 用户控制台样式 ========== */
:root {
  --console-bg: #f0f2f5;
  --console-sidebar: #fff;
  --console-header: #fff;
  --console-primary: #ff6a00;
  --console-primary-light: #fff7ed;
  --console-success: #52c41a;
  --console-warning: #faad14;
  --console-danger: #ff4d4f;
  --console-text: #000000d9;
  --console-text-secondary: #00000073;
  --console-border: #f0f0f0;
  --console-card: #fff;
  --console-shadow: 0 2px 8px rgba(0,0,0,.06);
  --console-radius: 8px;
  --sidebar-width: 220px;
  --header-height: 52px;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: var(--console-text);
  background: var(--console-bg);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }

/* ========== 顶部栏 ========== */
.console-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--console-header);
  border-bottom: 1px solid var(--console-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.console-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--console-primary), #ff8a1f);
}

.brand-divider {
  width: 1px;
  height: 20px;
  background: var(--console-border);
}

.brand-sub {
  font-size: 14px;
  color: var(--console-text-secondary);
}

.header-center {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  margin-left: 32px;
}

.header-nav {
  display: flex;
  gap: 4px;
}

.header-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--console-text-secondary);
  transition: all .15s ease;
}

.header-nav a .nav-icon {
  font-size: 16px;
}

.header-nav a:hover {
  color: var(--console-text);
  background: rgba(0,0,0,.04);
}

.header-nav a.active {
  color: var(--console-primary);
  background: var(--console-primary-light);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--console-text-secondary);
  border-radius: 4px;
}

.header-link:hover {
  color: var(--console-text);
  background: rgba(0,0,0,.04);
}

.header-user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 4px;
}

.header-user:hover {
  background: rgba(0,0,0,.04);
}

.user-avatar-small {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 8px;
  width: 200px;
  z-index: 200;
  display: none;
}

.user-dropdown-inner {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  padding: 8px 0;
}

.header-user:hover .user-dropdown {
  display: block;
}

.user-dropdown-inner .dropdown-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.dropdown-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-username {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.dropdown-phone {
  font-size: 12px;
  color: #999;
}

.user-dropdown-inner hr {
  margin: 8px 0;
  border: none;
  border-top: 1px solid #f0f0f0;
}

.user-dropdown-inner a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: #666;
}

.user-dropdown-inner a:hover {
  background: #f5f5f5;
  color: #1a1a1a;
}

.user-dropdown-inner a.danger {
  color: #ff4d4f;
}

.user-dropdown-inner a.danger:hover {
  background: #fff1f0;
}

/* 全宽主内容区（无侧边栏） */
.console-main-full {
  margin-top: var(--header-height);
  padding: 20px 24px;
  min-height: calc(100vh - var(--header-height));
  background: var(--console-bg);
}

/* 保留旧的带侧边栏布局 */
.header-nav a.old-style {
  padding: 6px 16px;
  background: rgba(0,0,0,.04);
}

.header-nav a.active {
  color: var(--console-primary);
  background: var(--console-primary-light);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--console-text-secondary);
}

.header-link:hover {
  color: var(--console-primary);
}

.header-user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.header-user:hover {
  background: rgba(0,0,0,.04);
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--console-primary);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-name {
  font-size: 13px;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 140px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  padding: 4px;
  display: none;
  z-index: 100;
}

.header-user:hover .user-dropdown {
  display: block;
}

.user-dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
}

.user-dropdown a:hover {
  background: rgba(0,0,0,.04);
}

.user-dropdown a.danger {
  color: var(--console-danger);
}

.user-dropdown hr {
  margin: 4px 0;
  border: none;
  border-top: 1px solid var(--console-border);
}

/* ========== 布局 ========== */
.console-layout {
  display: flex;
  padding-top: var(--header-height);
  min-height: 100vh;
}

/* ========== 侧边栏 ========== */
.console-sidebar {
  width: var(--sidebar-width);
  background: var(--console-sidebar);
  border-right: 1px solid var(--console-border);
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  overflow-y: auto;
}

.sidebar-nav {
  padding: 12px 8px;
}

.nav-group {
  margin-bottom: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--console-text);
  transition: all .15s ease;
  cursor: pointer;
}

.nav-item:hover {
  background: rgba(0,0,0,.04);
}

.nav-item.active,
.nav-group.active > .nav-item {
  color: var(--console-primary);
  background: var(--console-primary-light);
}

.nav-icon {
  width: 18px;
  height: 18px;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.nav-icon[data-icon="home"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
}

.nav-icon[data-icon="globe"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
}

.nav-icon[data-icon="chart"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E");
}

.nav-icon[data-icon="wallet"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 4H3a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z'/%3E%3Cpath d='M1 10h22'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 4H3a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z'/%3E%3Cpath d='M1 10h22'/%3E%3C/svg%3E");
}

.nav-icon[data-icon="ticket"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E");
}

.nav-icon[data-icon="user"] {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

.nav-arrow {
  margin-left: auto;
  width: 14px;
  height: 14px;
  background: currentColor;
  opacity: .5;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  transition: transform .15s ease;
}

.nav-group.active .nav-arrow {
  transform: rotate(180deg);
}

.nav-children {
  display: none;
  padding: 4px 0 4px 28px;
}

.nav-children.open {
  display: block;
}

.nav-child {
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--console-text-secondary);
  transition: all .15s ease;
}

.nav-child:hover {
  color: var(--console-text);
}

.nav-child.active {
  color: var(--console-primary);
  background: var(--console-primary-light);
}

/* ========== 主内容 ========== */
.console-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 20px;
  min-height: calc(100vh - var(--header-height));
}

/* ========== 页面标题 ========== */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.page-header h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.page-header-actions {
  display: flex;
  gap: 10px;
}

/* ========== 卡片 ========== */
.card {
  background: var(--console-card);
  border-radius: var(--console-radius);
  box-shadow: var(--console-shadow);
}

.card-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--console-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.card-body {
  padding: 20px;
}

/* ========== 统计卡片 ========== */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--console-card);
  border-radius: var(--console-radius);
  padding: 20px;
  box-shadow: var(--console-shadow);
}

.stat-card-title {
  font-size: 13px;
  color: var(--console-text-secondary);
  margin-bottom: 8px;
}

.stat-card-value {
  font-size: 28px;
  font-weight: 700;
}

.stat-card-value small {
  font-size: 14px;
  font-weight: normal;
  color: var(--console-text-secondary);
}

.stat-card-desc {
  font-size: 12px;
  color: var(--console-text-secondary);
  margin-top: 4px;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
}

.btn-primary {
  background: var(--console-primary);
  color: #fff;
}

.btn-primary:hover {
  opacity: .9;
}

.btn-default {
  background: #fff;
  border-color: #d9d9d9;
  color: var(--console-text);
}

.btn-default:hover {
  border-color: var(--console-primary);
  color: var(--console-primary);
}

.btn-text {
  background: transparent;
  color: var(--console-primary);
  padding: 0 8px;
}

.btn-text:hover {
  background: var(--console-primary-light);
}

.btn-danger {
  background: var(--console-danger);
  color: #fff;
}

.btn-sm {
  height: 28px;
  padding: 0 10px;
  font-size: 13px;
}

.btn-lg {
  height: 40px;
  padding: 0 20px;
  font-size: 15px;
}

/* ========== 表格 ========== */
.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--console-border);
}

.table th {
  background: #fafafa;
  font-weight: 600;
  font-size: 13px;
  color: var(--console-text-secondary);
}

.table tr:hover td {
  background: #fafafa;
}

.table .actions {
  display: flex;
  gap: 8px;
}

.table .actions a,
.table .actions button {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--console-primary);
  background: transparent;
  border: none;
  cursor: pointer;
}

.table .actions a:hover,
.table .actions button:hover {
  background: var(--console-primary-light);
}

.table .actions .danger {
  color: var(--console-danger);
}

.table .actions .danger:hover {
  background: rgba(255,77,79,.1);
}

/* ========== 状态标签 ========== */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-success { background: rgba(82,196,26,.1); color: #52c41a; }
.status-warning { background: rgba(250,173,20,.1); color: #faad14; }
.status-danger { background: rgba(255,77,79,.1); color: #ff4d4f; }
.status-info { background: rgba(24,144,255,.1); color: #1890ff; }
.status-default { background: rgba(0,0,0,.04); color: var(--console-text-secondary); }

/* ========== 表单 ========== */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
}

.form-label .required {
  color: var(--console-danger);
  margin-left: 4px;
}

.form-control {
  width: 100%;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: all .15s ease;
}

.form-control:focus {
  border-color: var(--console-primary);
  box-shadow: 0 0 0 2px rgba(255,106,0,.1);
}

textarea.form-control {
  height: auto;
  padding: 8px 12px;
  min-height: 80px;
  resize: vertical;
}

.form-select {
  width: 100%;
  height: 32px;
  padding: 0 32px 0 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 14px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300000073' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 8px center;
  background-size: 14px;
  appearance: none;
  cursor: pointer;
}

.form-hint {
  margin-top: 4px;
  font-size: 12px;
  color: var(--console-text-secondary);
}

/* ========== 网格 ========== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ========== 分页 ========== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 16px;
}

.pagination-item {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pagination-item:hover {
  border-color: var(--console-primary);
  color: var(--console-primary);
}

.pagination-item.active {
  background: var(--console-primary);
  border-color: var(--console-primary);
  color: #fff;
}

/* ========== 空状态 ========== */
.empty {
  padding: 48px 24px;
  text-align: center;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: .4;
}

.empty-text {
  color: var(--console-text-secondary);
  margin-bottom: 16px;
}

/* ========== Tab ========== */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--console-border);
  margin-bottom: 16px;
}

.tab-item {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--console-text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: all .15s ease;
}

.tab-item:hover {
  color: var(--console-text);
}

.tab-item.active {
  color: var(--console-primary);
  border-bottom-color: var(--console-primary);
}

/* ========== Alert ========== */
.alert {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 14px;
}

.alert-info {
  background: #e6f7ff;
  border: 1px solid #91d5ff;
  color: #1890ff;
}

.alert-warning {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  color: #faad14;
}

.alert-success {
  background: #f6ffed;
  border: 1px solid #b7eb8f;
  color: #52c41a;
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
  .stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .console-sidebar {
    display: none;
  }
  
  .console-main {
    margin-left: 0;
  }
  
  .stat-cards {
    grid-template-columns: 1fr;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .header-center {
    display: none;
  }
}












/* ========== 总览页面样式 ========== */

/* 总览布局 */
.overview-layout {
  display: flex;
  gap: 20px;
  max-width: 1400px;
}

.overview-main {
  flex: 1;
  min-width: 0;
}

.overview-sidebar {
  width: 320px;
  flex-shrink: 0;
}

/* 顶部通知 */
.overview-notice {
  background: #e6f4ff;
  border: 1px solid #91caff;
  border-radius: 6px;
  padding: 10px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1677ff;
}

.overview-notice a {
  margin-left: auto;
  color: #1677ff;
}

/* 欢迎语 */
.overview-welcome {
  margin-bottom: 20px;
}

.overview-welcome h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
  color: var(--console-text);
}

.overview-welcome p {
  margin: 0;
  font-size: 13px;
  color: var(--console-text-secondary);
}

/* 产品卡片 */
.overview-products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.overview-product-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  transition: all .2s ease;
}

.overview-product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.product-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-card-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--console-text);
}

.product-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.product-icon-cdn {
  background: linear-gradient(135deg, #1890ff 0%, #69c0ff 100%);
}

.product-icon-ssl {
  background: linear-gradient(135deg, #ffc53d 0%, #ffe58f 100%);
}

.product-icon-server {
  background: linear-gradient(135deg, #f5222d 0%, #ff7875 100%);
}

.product-icon-storage {
  background: linear-gradient(135deg, #722ed1 0%, #b37feb 100%);
}

.product-icon-dns {
  background: linear-gradient(135deg, #13c2c2 0%, #5cdbd3 100%);
}

.product-card-count {
  margin-bottom: 12px;
}

.product-card-count .count-num {
  font-size: 32px;
  font-weight: 600;
  color: var(--console-text);
}

.product-card-count .count-unit {
  font-size: 14px;
  color: var(--console-text-secondary);
  margin-left: 4px;
}

.product-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--console-text-secondary);
  margin-bottom: 16px;
}

.product-card-footer {
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
  color: #1890ff;
  text-align: center;
}

/* 数据统计区域 */
.overview-stats-section {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.stats-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.stats-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--console-text);
}

.stats-filters {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stats-select {
  height: 28px;
  padding: 0 24px 0 10px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 13px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300000073' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 6px center;
  background-size: 12px;
  appearance: none;
  cursor: pointer;
}

.stats-tabs {
  display: flex;
  gap: 4px;
  background: #f5f5f5;
  padding: 2px;
  border-radius: 4px;
}

.stats-tab {
  padding: 4px 12px;
  font-size: 13px;
  color: var(--console-text-secondary);
  border-radius: 3px;
  cursor: pointer;
  transition: all .15s ease;
}

.stats-tab:hover {
  color: var(--console-text);
}

.stats-tab.active {
  background: #fff;
  color: #1890ff;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.stats-item {
  padding: 16px;
  background: #fafafa;
  border-radius: 6px;
}

.stats-item-label {
  font-size: 13px;
  color: var(--console-text-secondary);
  margin-bottom: 8px;
}

.stats-item-value {
  font-size: 24px;
  font-weight: 600;
  color: var(--console-text);
}

.stats-item-value small {
  font-size: 14px;
  font-weight: normal;
  color: var(--console-text-secondary);
}

.stats-chart {
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

.chart-placeholder {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d9d9d9;
}

/* 右侧用户卡片 */
.user-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  text-align: center;
  margin-bottom: 16px;
}

.user-avatar-large {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffa940 0%, #ff7a45 100%);
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.user-info-detail {
  margin-bottom: 16px;
}

.user-phone {
  font-size: 18px;
  font-weight: 600;
  color: var(--console-text);
  margin-bottom: 8px;
}

.user-meta {
  font-size: 12px;
  color: var(--console-text-secondary);
  line-height: 1.8;
}

.user-status-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.user-status-item {
  font-size: 12px;
  color: var(--console-text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-dot-success { background: #52c41a; }
.status-dot-warning { background: #faad14; }
.status-dot-danger { background: #ff4d4f; }
.status-dot-default { background: #d9d9d9; }

/* 财务卡片 */
.finance-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  margin-bottom: 16px;
}

.finance-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.finance-icon {
  font-size: 16px;
}

.finance-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--console-text);
}

.finance-balance {
  margin-bottom: 16px;
}

.balance-label {
  font-size: 13px;
  color: var(--console-text-secondary);
  margin-bottom: 8px;
}

.balance-value {
  display: flex;
  align-items: center;
  gap: 8px;
}

.balance-num {
  font-size: 32px;
  font-weight: 600;
  color: var(--console-text);
}

.balance-unit {
  font-size: 14px;
  color: var(--console-text-secondary);
}

.balance-value .btn {
  margin-left: auto;
}

.finance-row {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.finance-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.finance-item-label {
  font-size: 12px;
  color: var(--console-text-secondary);
}

.finance-item-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--console-text);
}

.finance-item-value small {
  font-size: 12px;
  font-weight: normal;
}

.finance-actions {
  display: flex;
  gap: 8px;
}

.finance-actions .btn {
  flex: 1;
}

/* 套餐卡片 */
.package-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.package-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.package-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--console-text);
}

.package-tabs {
  display: flex;
  gap: 4px;
}

.package-tab {
  padding: 4px 12px;
  font-size: 12px;
  color: var(--console-text-secondary);
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  cursor: pointer;
}

.package-tab.active {
  color: #1890ff;
  border-color: #1890ff;
  background: #e6f4ff;
}

.package-empty {
  font-size: 13px;
  color: var(--console-text-secondary);
}

/* 响应式 */
@media (max-width: 1200px) {
  .overview-layout {
    flex-direction: column;
  }
  
  .overview-sidebar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .overview-sidebar > * {
    margin-bottom: 0;
  }
}

@media (max-width: 1400px) {
  .overview-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .overview-products {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .overview-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .overview-products {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-tabs {
    display: none;
  }
}
