/* console.css — 用户中心（iView 等价样式，圆角 ≤ 8px） */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px; color: #515a6e; background: #f5f7f9;
  -webkit-font-smoothing: antialiased;
}
a { color: #2d8cf0; text-decoration: none; }
button { font-family: inherit; }
[hidden] { display: none !important; }

/* ---------- 布局 ---------- */
.layout { min-height: 100vh; display: flex; flex-direction: column; }
.layout-header {
  height: 60px; background: #fff; box-shadow: 0 1px 4px rgba(0, 21, 41, .08);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; position: sticky; top: 0; z-index: 100;
}
.header-left { display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 30px; display: block; }
.header-right { display: flex; align-items: center; gap: 22px; }
.header-link { color: #515a6e; font-size: 14px; }
.header-link:hover { color: #2d8cf0; }
.lang-switch, .user-trigger {
  position: relative; cursor: pointer; display: flex; align-items: center; gap: 4px;
  color: #515a6e; user-select: none; padding: 6px 2px;
}
.lang-caret { display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #808695; vertical-align: middle; margin-left: 3px; }
.ivu-select-dropdown {
  display: none; position: absolute; top: 100%; right: 0; min-width: 120px;
  background: #fff; border-radius: 4px; box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
  padding: 6px 0; z-index: 300;
}
.lang-switch:hover .ivu-select-dropdown,
.user-trigger:hover .ivu-select-dropdown,
.ivu-select-dropdown.open { display: block; }
.ivu-select-item {
  padding: 8px 16px; font-size: 14px; color: #515a6e; cursor: pointer;
  white-space: nowrap; line-height: 1.4;
}
.ivu-select-item:hover, .ivu-select-item-selected { background: #f3f3f3; color: #2d8cf0; }
.user-name { font-weight: 500; color: #17233d; }

.layout-body { display: flex; flex: 1; min-height: 0; }
.layout-sider {
  width: 248px; flex: 0 0 248px; background: #fff;
  border-right: 1px solid #e2e8f0; min-height: calc(100vh - 60px);
  display: flex; flex-direction: column;
}
.side-nav {
  flex: 1; overflow-y: auto; overflow-x: hidden; padding: 20px 12px 100px;
}
.side-nav::-webkit-scrollbar { width: 6px; }
.side-nav::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 3px; }
.side-nav::-webkit-scrollbar-track { background: transparent; }

/* ---------- 可折叠分组导航（对齐目标站 2026-11 版侧栏） ---------- */
.nav-group { margin-bottom: 4px; }
.nav-group-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; cursor: pointer; border-radius: 6px; user-select: none;
  transition: background .15s cubic-bezier(.16,1,.3,1);
}
.nav-group-head:hover { background: #f8fafc; }
.grp-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.grp-icon {
  width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #f1f5f9; color: #475569; font-size: 16px;
  transition: .22s cubic-bezier(.16,1,.3,1);
}
.grp-icon svg { width: 16px; height: 16px; display: block; }
.grp-label {
  font-size: 14px; font-weight: 600; color: #475569; letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.grp-chevron {
  color: #94a3b8; font-size: 12px; width: 12px; height: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .22s cubic-bezier(.16,1,.3,1);
}
.grp-chevron svg { width: 12px; height: 12px; display: block; }
.nav-group.expanded .grp-icon { background: #eff6ff; color: #2563eb; }
.nav-group.expanded .grp-chevron { transform: rotate(90deg); }
.nav-group-body {
  max-height: 600px; overflow: hidden; padding-left: 20px; margin-top: 2px;
  transition: max-height .32s cubic-bezier(.16,1,.3,1);
}
.nav-group:not(.expanded) .nav-group-body { max-height: 0; }
.nav-item {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 8px 12px 8px 18px; margin: 2px 0;
  font-size: 14px; font-weight: 500; line-height: 1.6; color: #475569;
  border-radius: 6px; cursor: pointer; user-select: none;
  transition: .15s cubic-bezier(.16,1,.3,1);
}
.nav-dot {
  width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
  background: #cbd5e1; transition: .22s cubic-bezier(.16,1,.3,1);
}
.nav-item:hover { color: #1e293b; background: #f8fafc; }
.nav-item:hover .nav-dot { background: #94a3b8; }
.nav-item.active { color: #2563eb; font-weight: 600; background: #eff6ff; }
.nav-item.active .nav-dot {
  background: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.layout-content { flex: 1; min-width: 0; padding: 20px 24px 60px; }
.view { max-width: 1400px; margin: 0 auto; }

/* ---------- 通用卡片 ---------- */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.page-title { font-size: 20px; font-weight: 600; color: #17233d; margin: 0; }
.page-sub { color: #808695; font-size: 13px; margin-top: 4px; }
.ivu-card {
  background: #fff; border-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  padding: 16px 20px; margin-bottom: 16px;
}
.ivu-card-head {
  border-bottom: 1px solid #e8eaec; padding-bottom: 12px; margin: -4px 0 16px;
  font-size: 15px; font-weight: 600; color: #17233d;
  display: flex; align-items: center; justify-content: space-between;
}
.mt16 { margin-top: 16px; }
.mb16 { margin-bottom: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.muted { color: #808695; }
.small { font-size: 12px; }
.center { text-align: center; }

/* ---------- 表单 ---------- */
.ivu-form-item { display: flex; align-items: flex-start; margin-bottom: 18px; }
.ivu-form-item-label {
  width: 120px; flex: 0 0 120px; text-align: right; padding-right: 12px;
  line-height: 32px; color: #17233d; font-size: 14px;
}
.ivu-form-item-content { flex: 1; min-width: 0; }
.ivu-input, .ivu-select-input, textarea.ivu-input {
  width: 100%; height: 32px; line-height: 1.5; padding: 4px 7px;
  border: 1px solid #dcdee2; border-radius: 4px; background: #fff;
  color: #515a6e; font-size: 14px; outline: none; transition: border-color .2s;
}
textarea.ivu-input { height: auto; min-height: 88px; resize: vertical; padding: 6px 8px; }
.ivu-input:focus, .ivu-select-input:focus, textarea.ivu-input:focus {
  border-color: #57a3f3; box-shadow: 0 0 0 2px rgba(45, 140, 240, .2);
}
.ivu-input[disabled], .ivu-input-disabled { background: #f3f3f3; color: #c5c8ce; cursor: not-allowed; }

/* 自定义下拉（对齐 iView Select 折叠文本） */
.i-select { position: relative; width: 100%; }
.i-select-view {
  width: 100%; height: 32px; text-align: left; padding: 0 10px;
  border: 1px solid #dcdee2; border-radius: 4px; background: #fff;
  color: #515a6e; font-size: 14px; cursor: pointer; outline: none;
}
.i-select-view:hover { border-color: #57a3f3; }
.i-select-view.is-ph { color: #c5c8ce; }
.i-select-drop {
  display: none; position: absolute; z-index: 60; left: 0; right: 0; top: 34px;
  background: #fff; border: 1px solid #e8eaec; border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12); max-height: 220px; overflow: auto;
}
.i-select.open .i-select-drop { display: block; }
.i-select-opt { padding: 6px 12px; font-size: 13px; color: #515a6e; cursor: pointer; }
.i-select-opt:hover { background: #f3f3f3; }
.i-select-opt.selected { color: #2d8cf0; font-weight: 500; }
.ivu-input-wrapper { display: inline-block; width: 100%; }
.ivu-input-group { display: flex; }
.ivu-input-group .ivu-input { border-radius: 4px 0 0 4px; }
.ivu-input-group-append {
  border: 1px solid #dcdee2; border-left: none; border-radius: 0 4px 4px 0;
  background: #f8f8f8; padding: 0 12px; line-height: 30px; color: #515a6e;
  cursor: pointer; white-space: nowrap;
}
.ivu-form-item-error-tip { color: #ed4014; font-size: 12px; padding-top: 4px; }
.ivu-input-error { border-color: #ed4014; }

.ivu-select {
  position: relative; display: inline-block; width: 100%;
}
.ivu-select-selection {
  border: 1px solid #dcdee2; border-radius: 4px; height: 32px; line-height: 30px;
  padding: 0 26px 0 8px; background: #fff; cursor: pointer; color: #515a6e;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative;
}
.ivu-select-selection::after {
  content: "▾"; position: absolute; right: 8px; top: 0; color: #808695; font-size: 12px;
}
.ivu-select-placeholder { color: #c5c8ce; }
.ivu-select-dropdown-list {
  display: none; position: absolute; left: 0; right: 0; top: 36px; max-height: 220px;
  overflow-y: auto; background: #fff; border-radius: 4px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .2); z-index: 400; padding: 6px 0;
}
.ivu-select.open .ivu-select-dropdown-list { display: block; }
.ivu-select-item-empty { color: #c5c8ce; }

.ivu-checkbox-wrapper { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.ivu-checkbox-input { width: 15px; height: 15px; accent-color: #2d8cf0; }
.ivu-switch {
  display: inline-block; width: 40px; height: 20px; border-radius: 10px;
  background: #ccc; position: relative; cursor: pointer; vertical-align: middle;
  transition: background .2s;
}
.ivu-switch::after {
  content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; top: 2px; left: 2px; transition: left .2s;
}
.ivu-switch-checked { background: #2d8cf0; }
.ivu-switch-checked::after { left: 22px; }

/* ---------- 按钮 ---------- */
.ivu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  height: 32px; padding: 0 15px; border: 1px solid #dcdee2; border-radius: 4px;
  background: #fff; color: #515a6e; font-size: 14px; cursor: pointer;
  white-space: nowrap; transition: all .2s; outline: none;
}
.ivu-btn:hover { color: #57a3f3; border-color: #57a3f3; }
.ivu-btn-primary { background: #2d8cf0; border-color: #2d8cf0; color: #fff; }
.ivu-btn-primary:hover { background: #57a3f3; border-color: #57a3f3; color: #fff; }
.ivu-btn-text { border-color: transparent; background: transparent; color: #2d8cf0; }
.ivu-btn-text:hover { background: #f0f7ff; border-color: transparent; }
.ivu-btn-small { height: 26px; padding: 0 10px; font-size: 12px; }
.ivu-btn-large { height: 38px; padding: 0 20px; }
.ivu-btn-long { width: 100%; }
.ivu-btn-danger, .ivu-btn-error { color: #ed4014; border-color: #ffd4d0; }
.ivu-btn-danger:hover { color: #f16643; border-color: #f16643; }
.ivu-btn[disabled] { background: #f7f7f7; color: #c5c8ce; border-color: #dcdee2; cursor: not-allowed; }
.saveBtn { }
.btn-link { color: #2d8cf0; cursor: pointer; background: none; border: none; padding: 0 4px; font-size: 13px; }
.btn-link.danger { color: #ed4014; }

/* ---------- 表格 ---------- */
.ivu-table-wrapper { overflow-x: auto; }
.ivu-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 13px; }
.ivu-table th {
  background: #f8f8f9; color: #515a6e; font-weight: 600; text-align: left;
  padding: 10px 12px; border-bottom: 1px solid #e8eaec; white-space: nowrap;
}
.ivu-table td {
  padding: 10px 12px; border-bottom: 1px solid #e8eaec; color: #515a6e;
  vertical-align: middle;
}
.ivu-table tbody tr:hover td { background: #f8f9fb; }
.ivu-table .ivu-table-cell-empty { text-align: center; color: #808695; padding: 32px 0; }
.ivu-table-stripe tbody tr:nth-child(even) td { background: #fafafa; }
.td-actions { white-space: nowrap; }
.td-actions .btn-link + .btn-link { margin-left: 6px; }

/* 分页 */
.ivu-page {
  text-align: right; padding: 14px 0 4px; color: #808695; font-size: 13px;
}
.ivu-page-total { margin-right: 8px; }
.ivu-page-item, .ivu-page-prev, .ivu-page-next { display: inline-block; vertical-align: middle; }
.ivu-page-item {
  min-width: 30px; height: 30px; line-height: 28px; text-align: center;
  border: 1px solid #dcdee2; border-radius: 4px; background: #fff; color: #515a6e;
  padding: 0 6px; cursor: pointer;
}
.ivu-page-item:hover { border-color: #2d8cf0; color: #2d8cf0; }
.ivu-page-item-active { border-color: #2d8cf0; color: #2d8cf0; background: #f0f7ff; }
.ivu-page-prev, .ivu-page-next { cursor: pointer; padding: 0 6px; }
.ivu-page-prev::after { content: "\2039"; }
.ivu-page-next::after { content: "\203A"; }
.ivu-page-disabled { color: #c5c8ce; cursor: not-allowed; }

/* ---------- 统计卡 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 16px; }
.stat-card {
  background: #fff; border-radius: 4px; padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.stat-label { color: #808695; font-size: 13px; margin-bottom: 8px; }
.stat-value { font-size: 26px; font-weight: 600; color: #17233d; line-height: 1.2; }
.stat-note { margin-top: 6px; font-size: 12px; color: #808695; }
.stat-note.up { color: #19be6b; }
.stat-note.down { color: #ed4014; }

/* ---------- 标签 ---------- */
.ivu-tag {
  display: inline-block; height: 22px; line-height: 20px; padding: 0 8px;
  border: 1px solid #e8eaec; border-radius: 4px; background: #f7f7f7;
  color: #515a6e; font-size: 12px; margin: 0 6px 6px 0;
}
.ivu-tag-blue { background: #eaf4fe; border-color: #b3d8ff; color: #2d8cf0; }
.ivu-tag-green { background: #e8f9f0; border-color: #b7ebd0; color: #19be6b; }
.ivu-tag-red { background: #fef0ef; border-color: #ffccc7; color: #ed4014; }
.ivu-tag-orange { background: #fff7e6; border-color: #ffd591; color: #ff9900; }
.ivu-tag-closable::after { content: " ×"; cursor: pointer; opacity: .7; }

/* ---------- 弹窗 ---------- */
.ivu-modal-mask {
  position: fixed; inset: 0; background: rgba(55, 55, 55, .6); z-index: 1000;
}
.ivu-modal-wrap {
  position: fixed; inset: 0; z-index: 1001; display: flex; align-items: flex-start;
  justify-content: center; overflow-y: auto; padding: 60px 16px 40px;
}
.ivu-modal {
  background: #fff; border-radius: 4px; width: 520px; max-width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .2); position: relative;
}
.ivu-modal-lg { width: 720px; }
.ivu-modal-header {
  padding: 14px 20px; border-bottom: 1px solid #e8eaec; font-size: 15px;
  font-weight: 600; color: #17233d;
}
.ivu-modal-close {
  position: absolute; right: 12px; top: 8px; font-size: 22px; line-height: 1;
  color: #999; cursor: pointer; background: none; border: none;
}
.ivu-modal-body { padding: 20px; max-height: 65vh; overflow-y: auto; }
.ivu-modal-footer { padding: 12px 20px; border-top: 1px solid #e8eaec; text-align: right; }
.ivu-modal-footer .ivu-btn + .ivu-btn { margin-left: 8px; }

/* ---------- 消息 ---------- */
.ivu-message {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 2000; display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none;
}
.ivu-message-notice {
  background: #fff; border-radius: 4px; box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
  padding: 8px 18px; font-size: 14px; color: #515a6e; transition: opacity .3s;
}
.ivu-message-notice.error { color: #ed4014; }
.ivu-message-notice.leaving { opacity: 0; }

/* ---------- 在线客服 ---------- */
.fc-float-btn {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  border: none; background: #2d8cf0; color: #fff; cursor: pointer;
  box-shadow: 0 2px 10px rgba(45, 140, 240, .45); font-size: 14px;
}
.fc-float-btn--pill { height: 40px; padding: 0 20px; border-radius: 20px; }
.fc-verify-dialog {
  position: fixed; right: 26px; bottom: 80px; width: 300px; background: #fff;
  border-radius: 6px; box-shadow: 0 4px 20px rgba(0, 0, 0, .2); z-index: 950;
}
.fc-verify-header {
  padding: 10px 14px; border-bottom: 1px solid #e8eaec; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.fc-verify-dialog-close { border: none; background: none; font-size: 20px; color: #999; cursor: pointer; }
.fc-verify-body { padding: 14px; }
.fc-verify-tip { color: #808695; font-size: 12px; margin: 0 0 10px; }
.fc-verify-input { width: 100%; height: 32px; border: 1px solid #dcdee2; border-radius: 4px; padding: 0 8px; }
.fc-verify-submit-btn, .fc-verify-cancel-btn {
  margin-top: 10px; height: 30px; padding: 0 14px; border-radius: 4px;
  border: 1px solid #dcdee2; background: #fff; cursor: pointer;
}
.fc-verify-submit-btn { background: #2d8cf0; border-color: #2d8cf0; color: #fff; margin-right: 8px; }

/* ---------- 业务小块 ---------- */
.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 28px; }
.kv-item { display: flex; gap: 8px; font-size: 14px; padding: 3px 0; }
.kv-label { color: #808695; min-width: 96px; }
.kv-value { color: #17233d; word-break: break-all; }
.section-title { font-size: 15px; font-weight: 600; color: #17233d; margin: 0 0 14px; }
.empty-block { color: #808695; text-align: center; padding: 28px 0; font-size: 13px; }
.divider { height: 1px; background: #e8eaec; margin: 16px 0; }
.greeting { font-size: 22px; font-weight: 600; color: #17233d; }
.greeting-sub { color: #808695; margin-top: 6px; }
.badge { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; }
.badge-blue { background: #eaf4fe; color: #2d8cf0; }
.badge-green { background: #e8f9f0; color: #19be6b; }
.badge-gray { background: #f2f2f2; color: #808695; }
.chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 160px; padding: 8px 4px 0; }
.chart-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.chart-bar { width: 60%; background: #2d8cf0; border-radius: 2px 2px 0 0; min-height: 1px; }
.chart-x { font-size: 11px; color: #808695; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan-card {
  border: 1px solid #e8eaec; border-radius: 4px; padding: 18px; background: #fff;
  cursor: pointer; transition: all .2s;
}
.plan-card:hover { border-color: #57a3f3; box-shadow: 0 2px 10px rgba(45, 140, 240, .15); }
.plan-card.selected { border-color: #2d8cf0; background: #f6fbff; }
.plan-name { font-size: 16px; font-weight: 600; color: #17233d; }
.plan-desc { font-size: 12px; color: #808695; margin: 6px 0 12px; min-height: 32px; }
.plan-line { font-size: 13px; color: #515a6e; margin: 4px 0; }
.plan-price { font-size: 22px; color: #ed4014; font-weight: 600; }
.ivu-tabs-nav { display: block; border-bottom: 1px solid #e8eaec; margin-bottom: 18px; }
.ivu-tabs-tab { display: inline-block; margin-right: 24px; padding: 8px 0; color: #515a6e; cursor: pointer; border-bottom: 2px solid transparent; }
.ivu-tabs-tab-active { color: #2d8cf0; border-bottom-color: #2d8cf0; }
.alert-info { background: #f0f7ff; border: 1px solid #d6e9ff; color: #2d8cf0; border-radius: 4px; padding: 10px 14px; font-size: 13px; }
.alert-warn { background: #fff8e9; border: 1px solid #ffe8b8; color: #ff9900; border-radius: 4px; padding: 10px 14px; font-size: 13px; }
.copy-link { color: #2d8cf0; cursor: pointer; margin-left: 8px; font-size: 12px; }
.prose { line-height: 1.85; color: #333; font-size: 14px; }
.prose h1 { font-size: 24px; text-align: center; margin: 8px 0 20px; }
.prose h2 { font-size: 17px; margin: 22px 0 10px; }
.prose p { margin: 8px 0; }
.prose .doc-meta { color: #808695; text-align: center; font-size: 13px; }
.brand-guide h1 { font-size: 22px; }
.brand-guide h2 { border-left: 3px solid #2d8cf0; padding-left: 10px; }

@media (max-width: 900px) {
  .layout-sider { display: none; }
  .layout-content { padding: 16px 12px 60px; }
  .ivu-form-item-label { width: 96px; flex-basis: 96px; }
}

/* ---------- 个人资料 ---------- */
.profile-section { border-top: 1px solid #e8eaec; padding: 14px 0; }
.profile-section:first-of-type { border-top: 0; }
.section-sub { font-size: 14px; font-weight: 600; color: #17233d; margin-bottom: 10px; }
.field-label { color: #808695; font-size: 14px; }
.bound-badge { color: #19be6b; font-size: 12px; margin-left: 6px; }

/* 充值结账区 / 图表坐标轴 / 空状态 */
.section-label { font-size: 13px; color: #515a6e; margin-bottom: 6px; }
.pay-channel-box { min-height: 32px; }
.chart-legend { font-size: 12px; color: #808695; margin-bottom: 6px; }
.chart-body { display: flex; align-items: stretch; gap: 8px; }
.chart-y { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end;
  height: 160px; padding: 8px 0 20px; font-size: 11px; color: #808695; }
.chart-body .chart-bars { flex: 1; }
.empty-state { padding: 24px 0; text-align: center; color: #808695; font-size: 13px; }

/* ---------- 文档布局：品牌指南 / 隐私政策 / 服务协议 ---------- */
body.doc-mode .layout-header,
body.doc-mode .layout-sider { display: none; }
body.doc-mode .layout-content { padding: 0; background: #fff; }
body.doc-mode #fc-float-btn { display: none; }

.assets-manage { padding: 20px 10%; }
.assets-manage .page-header { margin-bottom: 16px; }
.assets-manage .page-header h1 { font-size: 22px; color: #17233d; margin: 0; font-weight: 600; }
.assets-manage .el-container { display: flex; gap: 24px; align-items: flex-start; }
.assets-manage .el-aside { flex: 0 0 280px; width: 280px; position: sticky; top: 20px; }
.el-menu { list-style: none; margin: 0; padding: 0; background: #fff; }
.el-menu-item { padding: 0 20px; height: 46px; line-height: 46px; font-size: 14px; color: #303133;
  cursor: pointer; border-bottom: 1px solid #f0f0f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.el-menu-item.is-active { color: #2d8cf0; background: #ecf5ff; }
.assets-manage .el-main { flex: 1; min-width: 0; padding: 0; }
.section-card { border: 1px solid #ebeef5; border-radius: 4px; margin-bottom: 16px; background: #fff; }
.section-card .el-card__header { padding: 14px 18px; border-bottom: 1px solid #ebeef5; }
.section-header { display: flex; align-items: center; gap: 10px; }
.section-number { width: 24px; height: 24px; border-radius: 50%; background: #2d8cf0; color: #fff;
  font-size: 12px; display: flex; align-items: center; justify-content: center; flex: 0 0 24px; }
.section-card h2 { font-size: 16px; margin: 0; color: #17233d; }
.section-card .el-card__body { padding: 14px 18px; line-height: 1.85; font-size: 14px; color: #333; }
.section-card .el-card__body p { margin: 6px 0; }

.doc-page { padding: 20px 10%; }
.doc-page .doc-title { font-size: 14px; color: #333; }
.doc-page .doc-subtitle { text-align: center; margin: 0 0 12px; font-size: 17px; font-weight: 600; color: #17233d; }
.doc-page .doc-body { line-height: 1.85; font-size: 14px; color: #333; }
.doc-page .doc-body p.textNode { margin: 6px 0; }

@media (max-width: 1200px) {
  .assets-manage .el-aside { display: none; }
}

/* ---------- 支付成功（独立布局） ---------- */
.pay-success { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.pay-success .son { text-align: center; }
.pay-success .title { font-size: 18px; color: #17233d; line-height: 1.6; }
.pay-success .title strong { color: #19be6b; font-size: 22px; }
.pay-success .title a { color: #2d8cf0; font-size: 16px; cursor: pointer; text-decoration: none; }
.pay-success .img-warp { margin-top: 28px; }
.pay-success .img-warp img { width: 120px; height: 120px; }


/* ---------- 登录 / 注册页（#/login，独立全屏布局） ---------- */
body.login-mode .layout-header,
body.login-mode .layout-sider { display: none; }
body.login-mode .layout-body { display: block; }
body.login-mode .layout-content { padding: 0; background: transparent; }

.login-page {
  position: fixed; inset: 0; z-index: 60; overflow: hidden;
  background: url("img/loginBg-have.svg") no-repeat 50% 50% / cover;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px; font-weight: 500; color: #000;
}
.login-copyright {
  position: fixed; left: 0; right: 0; bottom: 20px; z-index: 2; text-align: center;
  color: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 400; line-height: 1.4;
}
.login-copyright span { margin-right: 16px; }
.login-copyright span:last-child { margin-right: 0; }

.login-form-card {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  box-sizing: border-box; width: 512px; max-width: calc(100% - 32px);
  max-height: calc(100vh - 24px); overflow-y: auto; padding: 40px;
  background: rgba(255, 255, 255, .85); border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .12); z-index: 2;
}
.login-form-card.res { width: 544px; }
.login-form-card .formLogo { margin-bottom: 24px; cursor: pointer; }
.login-form-card .formLogo img { display: block; height: 40px; }

.login-title-row {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px;
}
.login-title { font-size: 24px; font-weight: 700; color: #242424; line-height: 1.45; }
.login-tores { font-size: 14px; font-weight: 400; color: #333; text-align: center; }
.login-tores .notify { color: #3581ff; cursor: pointer; }
.login-tores.center { text-align: center; cursor: pointer; }
.login-agreement { margin-top: 30px; text-align: center; font-size: 14px; color: #333; }
.login-agreement .notify { color: #3581ff; cursor: pointer; }

.usageNotice {
  margin: 0 0 10px; padding: 10px 12px; background: #fff7e6; color: #9a4d00;
  border: 1px solid #ffe0a3; border-radius: 8px; font-size: 13px; font-weight: 500;
  line-height: 1.6;
}

.login-form-card form.login-form { padding: 0; }
.login-form-card .ivu-form-item { display: block; margin: 22px 0 0; }
.login-form-card .ivu-form-item-label {
  display: block; width: auto; flex: none; margin: 0 0 8px; padding: 0;
  font-size: 14px; font-weight: 500; color: #333; line-height: 1.45; text-align: left;
}
.login-form-card .ivu-form-item-content { position: relative; flex: none; }
.login-form-card .login-input {
  width: 100%; height: 36px; box-sizing: border-box; padding: 0 16px;
  border: 1px solid #dcdee2; border-radius: 38px; background: #fff;
  color: #515a6e; font-size: 16px; font-weight: 500; line-height: 36px; outline: none;
  box-shadow: 0 4px 6px rgba(229, 229, 229, .25); transition: border-color .2s;
}
.login-form-card .login-input:focus { border-color: #57a3f3; }
.login-form-card .login-input.is-error { border-color: #ed4014; }
.login-form-card .login-input::placeholder { color: #c5c8ce; font-weight: 400; }
.login-form-card .login-input[disabled] { background: #f3f3f3; color: #c5c8ce; cursor: not-allowed; }
.login-form-card .login-input-wrap { position: relative; }
.login-form-card .login-input-wrap .login-input { padding-right: 42px; }
.login-eye {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: #808695; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
}
.login-eye svg { width: 18px; height: 18px; }
.login-eye .eye-open { display: none; }
.login-eye.is-on .eye-open { display: block; }
.login-eye.is-on .eye-off { display: none; }

.login-form-card .ivu-form-item-error-tip { display: none; color: #ed4014; font-size: 12px; padding-top: 4px; }
.login-form-card .ivu-form-item.has-error .ivu-form-item-error-tip { display: block; }

.login-form-card .loginBtn {
  display: block; width: 100%; height: 40px; margin-top: 16px; padding: 0 15px;
  border: 1px solid #2d8cf0; border-radius: 38px; background: #3581ff; color: #fff;
  font-size: 16px; font-weight: 400; line-height: 24px; text-align: center; cursor: pointer;
  box-shadow: 0 4px 12px rgba(23, 110, 255, .25); transition: background .2s;
}
.login-form-card .loginBtn:hover { background: #4a90ff; }
.login-form-card .loginBtn[disabled] { opacity: .6; cursor: not-allowed; }
.login-form-card .login-forget { margin-top: 22px; }
.login-form-card .login-forget .login-tores { text-align: center; cursor: pointer; }

.login-form-card .field-tips {
  position: absolute; right: 4px; top: 40px; font-size: 12px; color: #666;
  font-weight: 400; line-height: 1.4;
}
.login-form-card .vcode-row { display: flex; justify-content: space-between; align-items: flex-start; }
.login-form-card .vcode-row .vcode-input { width: 60%; }
.login-form-card .vcode-row .vcode-btn {
  width: 35%; height: 40px; margin: 0; padding: 0 6px; border: 1px solid #dcdee2;
  border-radius: 4px; background: #f7f7f7; color: #515a6e; font-size: 14px;
  font-weight: 400; cursor: pointer; white-space: nowrap; overflow: hidden;
}
.login-form-card .vcode-row .vcode-btn[disabled] { color: #c5c8ce; cursor: not-allowed; }

.login-form-card .login-checkbox-row { margin-top: 10px; }
.login-form-card .login-checkbox {
  display: inline-block; font-size: 14px; font-weight: 500; line-height: 32px;
  color: #000; cursor: pointer; user-select: none;
}
.login-form-card .login-checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.login-form-card .login-checkbox .box {
  display: inline-block; position: relative; top: 3px; width: 16px; height: 16px;
  margin-right: 6px; border: 1px solid #dcdee2; border-radius: 2px; background: #fff;
  vertical-align: top;
}
.login-form-card .login-checkbox input:checked + .box { background: #2d8cf0; border-color: #2d8cf0; }
.login-form-card .login-checkbox input:checked + .box::after {
  content: ""; position: absolute; left: 5px; top: 1px; width: 4px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.login-form-card .login-checkbox a { color: #2d8cf0; cursor: pointer; text-decoration: none; }
.login-form-card .login-checkbox-row .ivu-form-item-error-tip { padding-left: 22px; }

/* ---------- 找回密码弹窗 ---------- */
.reset-modal-mask {
  position: fixed; inset: 0; z-index: 1000; background: rgba(55, 55, 55, .6);
}
.reset-modal-wrap {
  position: fixed; inset: 0; z-index: 1001; overflow: auto; padding: 100px 16px 40px;
}
.reset-modal {
  position: relative; box-sizing: border-box; width: 800px; max-width: 100%;
  margin: 0 auto; background: #f1f1f1; border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.reset-modal-close {
  position: absolute; top: 14px; right: 18px; width: 24px; height: 24px;
  border: none; background: none; color: #999; font-size: 22px; line-height: 22px;
  cursor: pointer; padding: 0;
}
.reset-modal-close:hover { color: #666; }
.reset-modal-header {
  padding: 18px 20px; font-size: 16px; font-weight: 500; color: #17233d; line-height: 1.4;
}
.reset-modal-body { padding: 20px; }
.reset-modal-footer { padding: 12px 18px; text-align: right; }
.reset-modal-footer .ivu-btn + .ivu-btn { margin-left: 8px; }

.reset-steps { display: flex; margin-bottom: 4px; }
.reset-step {
  position: relative; display: flex; align-items: center; flex: 1; min-width: 0; height: 28px;
}
.reset-step-tail {
  position: absolute; top: 13px; left: 58px; right: 12px; height: 1px; background: #e8eaec;
}
.reset-step:last-child .reset-step-tail { display: none; }
.reset-step-head { flex: 0 0 26px; width: 26px; height: 26px; }
.reset-step-icon {
  display: flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border: 1px solid #999; border-radius: 50%; color: #999; background: #fff;
}
.reset-step-icon svg { width: 15px; height: 15px; }
.reset-step-title {
  margin-left: 8px; font-size: 14px; font-weight: 700; color: #666;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.reset-step.is-process .reset-step-icon { border-color: #2d8cf0; color: #2d8cf0; }
.reset-step.is-process .reset-step-title { color: #2d8cf0; }
.reset-step.is-finish .reset-step-icon { border-color: #2d8cf0; background: #2d8cf0; color: #fff; }
.reset-step.is-finish .reset-step-title { color: #2d8cf0; }

.reset-form { padding: 0; }
.reset-form .ivu-form-item { display: block; margin: 22px 0 0; }
.reset-form .ivu-form-item-label {
  display: block; width: auto; flex: none; margin: 0 0 8px; padding: 0;
  font-size: 14px; font-weight: 500; color: #333; text-align: left; line-height: 1.45;
}
.reset-form .ivu-form-item-content { position: relative; flex: none; }
.reset-form .login-input {
  width: 100%; height: 36px; box-sizing: border-box; padding: 0 16px;
  border: 1px solid #dcdee2; border-radius: 38px; background: #fff;
  color: #515a6e; font-size: 16px; font-weight: 500; outline: none;
}
.reset-form .login-input[disabled] { background: #f3f3f3; color: #c5c8ce; cursor: not-allowed; }
.reset-form .login-input.is-error { border-color: #ed4014; }
.reset-form .ivu-form-item-error-tip { display: none; color: #ed4014; font-size: 12px; padding-top: 4px; }
.reset-form .ivu-form-item.has-error .ivu-form-item-error-tip { display: block; }
.reset-form .reset-input-wrap { position: relative; }
.reset-form .reset-input-wrap .login-input { padding-right: 42px; }
.reset-form .vcode-row { display: flex; justify-content: space-between; align-items: flex-start; }
.reset-form .vcode-row .vcode-input { width: 70%; }
.reset-form .vcode-row .vcode-btn {
  width: 28%; height: 36px; padding: 0 6px; border: 1px solid #dcdee2; border-radius: 4px;
  background: #f7f7f7; color: #515a6e; font-size: 13px; cursor: pointer;
  white-space: nowrap; overflow: hidden;
}
.reset-form .vcode-row .vcode-btn[disabled] { color: #c5c8ce; cursor: not-allowed; }
.reset-alert {
  margin-top: 18px; padding: 8px 12px; border: 1px solid #bae7ff; border-radius: 4px;
  background: #e6f7ff; color: #515a6e; font-size: 13px; line-height: 1.6;
}
.reset-alert .email { color: #2d8cf0; }
.reset-success { padding: 20px 0 10px; text-align: center; }
.reset-success-icon { width: 200px; height: 200px; margin: 0 auto 12px; color: #19be6b; }
.reset-success-icon svg { width: 200px; height: 200px; }
.reset-success-text { font-size: 16px; color: #515a6e; }

@media (max-width: 768px) {
  .login-form-card { padding: 28px 22px; border-radius: 18px; }
  .login-form-card.res { width: calc(100% - 32px); }
  .reset-modal-wrap { padding-top: 40px; }
  .reset-step-title { font-size: 12px; }
  .reset-success-icon, .reset-success-icon svg { width: 120px; height: 120px; }
}

/* ---------- HAVE 品牌皮肤：登录 / 注册 / 找回密码 ---------- */
body.login-mode .login-page {
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(1200px 620px at 12% 6%, rgba(22, 115, 72, .10), transparent 62%),
    radial-gradient(900px 520px at 88% 102%, rgba(22, 115, 72, .07), transparent 64%),
    #f5f8f6;
  color: #172823;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
}
body.login-mode .login-copyright { color: #50635a; font-weight: 400; }
body.login-mode .login-form-card {
  width: 460px; padding: 36px 36px 32px;
  background: #fff; border: 1px solid #d9e2dc; border-radius: 8px;
  box-shadow: 0 12px 32px rgba(31, 73, 51, .08);
  color: #172823;
}
body.login-mode .login-form-card.res { width: 500px; padding: 28px 32px 22px; }
body.login-mode .login-form-card.res .ivu-form-item { margin: 12px 0 0; }
body.login-mode .login-form-card.res .login-title-row { margin-bottom: 10px; }
body.login-mode .login-form-card.res .formLogo { margin-bottom: 14px; }
body.login-mode .login-form-card.res .loginBtn { margin-top: 14px; }
body.login-mode .login-form-card.res .login-checkbox-row { margin-top: 8px; }
body.login-mode .login-form-card .formLogo { margin-bottom: 18px; }
body.login-mode .login-form-card .formLogo img { height: 34px; }
body.login-mode .login-title-row { margin-bottom: 14px; }
body.login-mode .login-title { color: #172823; font-size: 26px; font-weight: 700; letter-spacing: 0; }
body.login-mode .login-tores,
body.login-mode .login-forget .login-tores,
body.login-mode .login-agreement { color: #50635a; font-size: 14px; font-weight: 400; }
body.login-mode .login-tores .notify,
body.login-mode .login-agreement .notify,
body.login-mode .login-checkbox a { color: #167348; font-weight: 500; }
body.login-mode .usageNotice {
  background: #f5f8f6; border: 1px solid #d9e2dc; border-radius: 8px;
  color: #50635a; font-size: 13px; font-weight: 400;
}
body.login-mode .login-form-card .ivu-form-item-label { color: #50635a; font-size: 14px; font-weight: 500; }
body.login-mode .login-form-card .login-input,
body.login-mode .reset-form .login-input {
  height: 44px; line-height: 42px; padding: 0 14px;
  border: 1px solid #d9e2dc; border-radius: 8px;
  color: #172823; font-size: 15px; font-weight: 400; box-shadow: none;
  transition: border-color .18s, box-shadow .18s;
}
body.login-mode .login-form-card .login-input-wrap .login-input,
body.login-mode .reset-form .reset-input-wrap .login-input { padding-right: 44px; }
body.login-mode .login-form-card .login-input::placeholder,
body.login-mode .reset-form .login-input::placeholder { color: #8a9a92; font-weight: 400; }
body.login-mode .login-form-card .login-input:focus,
body.login-mode .reset-form .login-input:focus {
  border-color: #167348; box-shadow: 0 0 0 3px rgba(22, 115, 72, .12);
}
body.login-mode .login-form-card .login-input.is-error,
body.login-mode .reset-form .login-input.is-error { border-color: #c4342a; box-shadow: none; }
body.login-mode .login-eye { right: 14px; color: #50635a; }
body.login-mode .login-form-card .field-tips { color: #50635a; }
body.login-mode .login-form-card .loginBtn {
  height: 44px; margin-top: 18px; padding: 0 20px;
  border: 1px solid #167348; border-radius: 8px; background: #167348; color: #fff;
  font-size: 15px; font-weight: 650; box-shadow: none;
  transition: background .18s, transform .18s;
}
body.login-mode .login-form-card .loginBtn:hover { background: #156c44; border-color: #156c44; }
body.login-mode .login-form-card .loginBtn:active { transform: translateY(1px); }
body.login-mode .login-form-card .loginBtn[disabled] { opacity: .55; }
body.login-mode .login-form-card .vcode-row .vcode-btn,
body.login-mode .reset-form .vcode-row .vcode-btn {
  height: 44px; border: 1px solid #d9e2dc; border-radius: 8px;
  background: #f5f8f6; color: #172823; font-size: 13px; font-weight: 400;
}
body.login-mode .login-form-card .vcode-row .vcode-btn[disabled],
body.login-mode .reset-form .vcode-row .vcode-btn[disabled] { color: #8a9a92; }
body.login-mode .login-form-card .login-checkbox { color: #50635a; font-weight: 400; }
body.login-mode .login-form-card .login-checkbox .box { border-radius: 4px; border-color: #d9e2dc; }
body.login-mode .login-form-card .login-checkbox input:checked + .box { background: #167348; border-color: #167348; }
body.login-mode .login-form-card .ivu-form-item-error-tip,
body.login-mode .reset-form .ivu-form-item-error-tip { color: #c4342a; }
body.login-mode .login-form-card .ivu-btn-primary,
body.login-mode .reset-modal .ivu-btn-primary { background: #167348; border-color: #167348; color: #fff; }
body.login-mode .login-form-card .ivu-btn-primary:hover,
body.login-mode .reset-modal .ivu-btn-primary:hover { background: #156c44; border-color: #156c44; }

/* 找回密码弹窗 */
body.login-mode .reset-modal-mask { background: rgba(18, 60, 44, .42); }
body.login-mode .reset-modal {
  background: #fff; border: 1px solid #d9e2dc; border-radius: 12px;
  box-shadow: 0 16px 48px rgba(18, 60, 44, .18);
}
body.login-mode .reset-modal-header { color: #172823; font-size: 17px; font-weight: 650; }
body.login-mode .reset-modal-close { color: #8a9a92; }
body.login-mode .reset-modal-close:hover { color: #172823; }
body.login-mode .reset-step-icon { border-color: #c9d5cf; color: #8a9a92; }
body.login-mode .reset-step-title { color: #8a9a92; font-weight: 600; }
body.login-mode .reset-step.is-process .reset-step-icon { border-color: #167348; color: #167348; }
body.login-mode .reset-step.is-process .reset-step-title { color: #172823; }
body.login-mode .reset-step.is-finish .reset-step-icon { border-color: #167348; background: #167348; color: #fff; }
body.login-mode .reset-step.is-finish .reset-step-title { color: #167348; }
body.login-mode .reset-step-tail { background: #e3ebe6; }
body.login-mode .reset-alert { border: 1px solid #d9e2dc; border-radius: 8px; background: #f5f8f6; color: #50635a; }
body.login-mode .reset-alert .email { color: #167348; }
body.login-mode .reset-success-icon { color: #167348; }
body.login-mode .reset-success-text { color: #172823; }
body.login-mode .reset-form .ivu-form-item-label { color: #50635a; }

/* 登录页不挂客服浮标 */
body.login-mode .fc-float-btn { display: none; }

/* 找回密码弹窗：尺寸与控件对齐品牌 */
body.login-mode .reset-modal { width: 520px; }
body.login-mode .reset-modal .ivu-btn {
  height: 44px; line-height: 42px; padding: 0 20px;
  border-radius: 8px; font-size: 15px; font-weight: 600;
}
body.login-mode .reset-modal .ivu-btn-large { height: 44px; line-height: 42px; }
body.login-mode .reset-modal .reset-modal-close { height: 24px; line-height: 22px; }
body.login-mode .reset-form .vcode-row .vcode-btn { height: 44px; border-radius: 8px; }
body.login-mode .reset-modal .reset-alert { margin-top: 16px; }
