@charset "utf-8";
/* ==========================================================================
   云链汇 UI 2.0 · 商户中心（user/）样式层
   - 依赖 ../assets/css/epay-ui.css（设计令牌 + Bootstrap 组件玻璃化），本文件只做补充与覆盖
   - 加载顺序：bootstrap → app.css → bootstrap-table.css → epay-ui.css → 本文件
   - 仅样式，不包含任何业务逻辑；所有改动均可用删除本文件回滚
   ========================================================================== */

/* ---------- 1. 框架布局：侧栏 + 顶栏 + 内容 + 页脚 ---------- */
body.ui-user {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body.ui-user .app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: auto;
  background: transparent;
}
body.ui-user .app:before { display: none; }                 /* 去掉旧版整站灰底 */
body.ui-user .app.app-header-fixed { padding-top: 0; }      /* 旧版 50px 顶栏占位由 #content padding 承担 */

body.ui-user #content.app-content {
  flex: 1 0 auto;
  float: none;
  height: auto;
  min-width: 0;
  margin-left: var(--ui-side);
  padding: 78px 22px 22px;
}
body.ui-user .app-content-body {
  float: none;
  width: auto;
  min-width: 0;
  padding-bottom: 0;
}
body.ui-user .app-content-body > .bg-light.lter.b-b { display: none; }  /* 旧页内标题带（标题已在顶栏） */
body.ui-user .app-content-body > .wrapper-md { padding: 4px 0 0; }

body.ui-user .app-footer {
  position: static;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: auto;
  margin: 0 0 0 var(--ui-side);
  padding: 12px 22px 16px;
  background: transparent;
}
body.ui-user .app-footer .wrapper {
  float: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ui-ink3);
}
body.ui-user .app-footer .wrapper .pull-right { float: none; margin-left: auto; }
body.ui-user .app-footer a { color: var(--ui-ink2); }
body.ui-user .app-footer a:hover { color: var(--ui-brand); }

/* ---------- 2. 侧栏 / 顶栏细节 ---------- */
body.ui-user .ui-side .ui-logo { color: var(--ui-ink); text-decoration: none; }
body.ui-user .ui-side .ui-logo:hover { color: var(--ui-ink); text-decoration: none; }
body.ui-user .ui-side .ui-logo-txt { min-width: 0; }
body.ui-user .ui-side .ui-logo-txt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.ui-user .ui-side .ui-side-foot .ui-logo-txt b { max-width: 130px; }
body.ui-user .ui-side .ui-nav-it { transition: background .18s, color .18s; }
body.ui-user .ui-side .ui-nav-it:hover { background: var(--ui-glass-soft); color: var(--ui-ink); }
body.ui-user .ui-side .ui-nav-sub a:hover { background: var(--ui-glass-soft); color: var(--ui-ink); }
body.ui-user .ui-side .ui-nav-it .ui-arrow { transition: transform .2s; }
body.ui-user .ui-side details[open] > summary.ui-nav-it .ui-arrow { transform: rotate(180deg); }
body.ui-user .ui-side .ui-nav-it > .label {                     /* 投诉未处理数徽标 */
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}
body.ui-user .ui-side .ui-nav-it { position: relative; }
body.ui-user .ui-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }

body.ui-user .ui-appbar h1 { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.ui-user .ui-appbar .ui-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.ui-user .ui-user-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px 3px 3px;
  border: 1px solid var(--ui-line2);
  border-radius: 12px;
  background: var(--ui-glass-soft);
  color: var(--ui-ink2);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
body.ui-user .ui-user-btn:hover,
body.ui-user .ui-user-btn:focus {
  color: var(--ui-ink);
  text-decoration: none;
  background: var(--ui-glass-strong);
}
body.ui-user .ui-user-btn .ui-avatar { width: 26px; height: 26px; border-radius: 8px; font-size: 11px; flex: 0 0 auto; }
body.ui-user .ui-user-btn .ui-user-name { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.ui-user .ui-user-btn .caret { margin: 0; }
body.ui-user .ui-appbar .dropdown-menu { min-width: 176px; }
body.ui-user .ui-appbar .dropdown-menu > li > a .fa { width: 14px; margin-right: 5px; color: var(--ui-ink3); }
body.ui-user .ui-appbar .dropdown-menu > li > a:hover .fa { color: var(--ui-brand); }

/* ---------- 3. 内容页通用：卡片 / 表格 / 列表 ---------- */
body.ui-user .panel { margin-bottom: 16px; }
body.ui-user .panel > .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.ui-user .table > tbody > tr > td { word-break: break-word; }
body.ui-user .list-group-item .text-muted { font-size: 12px; }
body.ui-user .list-group-item .fa.fa-volume-up { color: var(--ui-brand); }

/* 首页统计卡（覆盖 index.php 内联 .round 样式） */
body.ui-user .panel.item {
  position: relative;
  overflow: hidden;
  padding: 15px 16px;
  transition: transform .2s, box-shadow .2s;
}
body.ui-user .panel.item:hover { transform: translateY(-2px); box-shadow: var(--ui-shadow); }
body.ui-user .panel.item .top { position: absolute; top: 8px; right: 10px; z-index: 1; opacity: .5; }
body.ui-user .panel.item .row { margin-left: 0; margin-right: 0; }
body.ui-user .panel.item .row > [class*="col-"] { padding-left: 6px; padding-right: 6px; }
body.ui-user .panel.item .round {
  width: 46px;
  height: 46px;
  margin: 0;
  border: 0;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  line-height: 1;
  text-align: center;
  color: #fff;
  background: var(--ui-grad);
  box-shadow: var(--ui-glow);
}
body.ui-user .panel.item .h1 {
  margin: 0 0 2px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.3px;
  color: var(--ui-ink);
}
body.ui-user .panel.item .h1 .text-md { font-size: 12px; font-weight: 600; color: var(--ui-ink3); }
body.ui-user .panel.item .h1.text-primary-dk { color: var(--ui-brand); }
body.ui-user .panel.item .text-muted { font-size: 11.5px; }
body.ui-user .text-muted { color: var(--ui-ink3); }

/* 首页个人资料卡 */
body.ui-user .thumb-lg.avatar {
  width: 78px;
  height: 78px;
  padding: 2px;
  border: 1px solid var(--ui-stroke);
  border-radius: 22px;
  overflow: hidden;
  background: var(--ui-glass-solid);
  box-shadow: var(--ui-shadow-sm);
}
body.ui-user .thumb-lg.avatar img { width: 100%; height: 100%; border-radius: 18px; object-fit: cover; }
body.ui-user .panel-heading .btn-rounded { border-radius: 999px; }
body.ui-user .hbox.text-center .col { padding: 12px 6px; color: var(--ui-ink2); }
body.ui-user .hbox.text-center .col .h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ui-ink);
}
body.ui-user .hbox.text-center .col > span { font-size: 11.5px; color: var(--ui-ink3); }
body.ui-user .hbox.text-center .col .fa { margin-right: 4px; color: var(--ui-brand); }

/* 旧版浅色工具类 → 玻璃令牌 */
body.ui-user .bg-light,
body.ui-user .bg-light.lter,
body.ui-user .bg-light.lt { background: var(--ui-glass-soft) !important; color: var(--ui-ink2) !important; }
body.ui-user .b-a { border-color: var(--ui-stroke); }
body.ui-user .b-t,
body.ui-user .b-b,
body.ui-user .b-r,
body.ui-user .b-l { border-color: var(--ui-line); }
body.ui-user .b-light { border-color: var(--ui-line) !important; }
body.ui-user .line-dashed { border-color: var(--ui-line); }
body.ui-user .i-checks > i { border-color: var(--ui-line2); }
body.ui-user .i-checks input:checked + i { background-color: var(--ui-brand); border-color: var(--ui-brand); }

/* 表单 */
body.ui-user .control-label { font-size: 12.5px; font-weight: 600; color: var(--ui-ink2); }
body.ui-user .help-block { font-size: 11.5px; color: var(--ui-ink3); }
body.ui-user .radio label,
body.ui-user .checkbox label { font-size: 13px; color: var(--ui-ink2); }
body.ui-user .td { overflow-wrap: anywhere; }

/* 弹窗内表格（订单详情） */
body.ui-user .modal-body .table { font-size: 12.5px; }

/* ---------- 4. 登录 / 注册 / 找回密码（ui-auth 玻璃卡） ---------- */
body.ui-user.ui-auth { overflow-x: hidden; }
body.ui-user .ui-auth-wrap { min-height: 100vh; }
body.ui-user .ui-auth-card { max-width: 420px; }
body.ui-user .ui-auth-card .ui-logo-txt { min-width: 0; }
body.ui-user .ui-auth-card .ui-logo-txt b { display: block; }
body.ui-user .ui-auth-head { margin-bottom: 16px; }
body.ui-user .ui-input .fa { width: 16px; text-align: center; flex: 0 0 auto; color: var(--ui-ink3); }
body.ui-user .ui-input > input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ui-ink);
  font-size: 14px;
}
body.ui-user .ui-input > input::placeholder { color: var(--ui-ink3); }
body.ui-user .ui-auth-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 14px;
  padding: 4px;
  border: 0;
  border-radius: 12px;
  background: var(--ui-glass-soft);
}
body.ui-user .ui-auth-tabs > li { float: none; flex: 1; margin: 0; }
body.ui-user .ui-auth-tabs > li > a {
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ui-ink2);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}
body.ui-user .ui-auth-tabs > li > a:hover { background: var(--ui-glass); color: var(--ui-ink); }
body.ui-user .ui-auth-tabs > li.active > a,
body.ui-user .ui-auth-tabs > li.active > a:hover,
body.ui-user .ui-auth-tabs > li.active > a:focus {
  background: var(--ui-glass-strong);
  color: var(--ui-brand);
  font-weight: 700;
  box-shadow: var(--ui-shadow-sm);
}
body.ui-user .ui-auth-card .tab-content > .tab-pane { padding-top: 0; }
body.ui-user .ui-auth-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 4px;
}
body.ui-user .ui-auth-social .btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--ui-glass-soft);
  border: 1px solid var(--ui-line2);
  color: var(--ui-ink2);
}
body.ui-user .ui-auth-social .btn-icon:hover { background: var(--ui-glass-strong); color: var(--ui-ink); }
body.ui-user .ui-auth-social .btn-icon img { width: 22px; height: 22px; border-radius: 50%; }
body.ui-user .ui-auth-foot .btn { width: 48%; }
body.ui-user .ui-auth-copy {
  margin: 14px auto 0;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--ui-ink3);
}
body.ui-user .ui-auth-copy a { color: var(--ui-ink2); }
body.ui-user .ui-auth-tip code { color: var(--ui-brand); background: var(--ui-glass-soft); border-radius: 6px; padding: 0 4px; }
body.ui-user .ui-captcha-box { min-height: 0; }
body.ui-user .ui-captcha-box #captcha_wait { font-size: 12px; color: var(--ui-ink3); }
body.ui-user .ui-captcha-box #captcha_text { font-size: 12px; color: var(--ui-ink3); }
body.ui-user .ui-captcha-box .loading { display: flex; align-items: center; gap: 4px; }
body.ui-user .ui-captcha-box .loading-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ui-brand);
  animation: uiDot 1s infinite ease-in-out;
}
body.ui-user .ui-captcha-box .loading-dot:nth-child(2) { animation-delay: .15s; }
body.ui-user .ui-captcha-box .loading-dot:nth-child(3) { animation-delay: .3s; }
body.ui-user .ui-captcha-box .loading-dot:nth-child(4) { animation-delay: .45s; }
@keyframes uiDot {
  0%, 80%, 100% { opacity: .25; transform: scale(.85); }
  40% { opacity: 1; transform: scale(1); }
}
body.ui-user .ui-auth-card .alert { margin-bottom: 14px; font-size: 12.5px; }

/* ---------- 5. 移动端 ---------- */
@media (max-width: 991px) {
  body.ui-user #content.app-content { margin-left: 0; padding: 66px 14px 18px; }
  body.ui-user .app-footer { margin-left: 0; padding: 10px 14px 16px; }
  body.ui-user .app-footer .wrapper { justify-content: center; text-align: center; }
  body.ui-user .app-footer .wrapper .pull-right { margin-left: 0; }
}
@media (max-width: 767px) {
  body.ui-user .ui-user-btn .ui-user-name { display: none; }
  body.ui-user .form-horizontal .form-group { margin-left: 0; margin-right: 0; }
  body.ui-user .form-horizontal [class*="col-sm-"] { padding-left: 0; padding-right: 0; }
  body.ui-user .form-horizontal .control-label { margin-bottom: 5px; text-align: left; }
  body.ui-user .form-inline { display: block; }
  body.ui-user .form-inline > .form-group { display: block; width: 100%; margin: 0 0 10px; }
  body.ui-user .form-inline .form-control {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
  }
  body.ui-user .form-inline .input-group { display: flex; width: 100%; margin-bottom: 10px; }
  body.ui-user .form-inline .input-group .form-control { flex: 1 1 auto; width: auto !important; min-width: 0 !important; }
  body.ui-user .form-inline .btn { margin: 0 6px 8px 0; }
  body.ui-user .input-daterange { display: flex; align-items: stretch; width: 100%; }
  body.ui-user .input-daterange > .form-control { flex: 1 1 0; width: auto !important; min-width: 0 !important; }
  body.ui-user .input-daterange > .input-group-addon { flex: 0 0 auto; }
  body.ui-user .dates { max-width: none !important; }
  body.ui-user .fixed-table-toolbar .columns,
  body.ui-user .fixed-table-toolbar .search {
    float: none !important;
    width: auto !important;
    margin: 6px 12px !important;
    padding: 0 !important;
  }
  body.ui-user .fixed-table-toolbar .search input { width: 100% !important; }
  body.ui-user .fixed-table-toolbar .btn-group { margin-bottom: 8px; }
  body.ui-user .panel > .panel-heading { padding-right: 14px; }
  body.ui-user .row-sm > [class*="col-"] { padding-left: 6px; padding-right: 6px; }
  body.ui-user .tab-container .nav-tabs > li { flex: 1 1 auto; }
  body.ui-user .tab-container .nav-tabs > li > a { padding: 8px 8px; font-size: 12px; text-align: center; }
}
@media (max-width: 575px) {
  body.ui-user #content.app-content { padding: 62px 10px 16px; }
  body.ui-user .app-content-body > .wrapper-md { padding: 2px 0 0; }
  body.ui-user .panel > .panel-body { padding: 14px; }
  body.ui-user .panel > .panel-heading { padding: 12px 14px 12px 26px; }
  body.ui-user .panel > .panel-heading::after { left: 14px; top: 18px; }
  body.ui-user .panel.item { padding: 13px 12px; }
  body.ui-user .panel.item .round { width: 40px; height: 40px; border-radius: 13px; font-size: 17px; }
  body.ui-user .panel.item .h1 { font-size: 18px; }
  body.ui-user .ui-auth-card { padding: 24px 20px 20px; border-radius: 22px; }
  body.ui-user .ui-auth-foot .btn { width: 48.5%; padding-left: 6px; padding-right: 6px; font-size: 12.5px; }
}

/* ---------- 6. 深色模式补丁（旧版硬编码颜色） ---------- */
html[data-ui-theme="dark"] body.ui-user .app:before { display: none; }
html[data-ui-theme="dark"] body.ui-user .text-primary-dk { color: #a5b4fc; }
html[data-ui-theme="dark"] body.ui-user .text-dark-dk { color: var(--ui-ink); }
html[data-ui-theme="dark"] body.ui-user .text-success-dk { color: #34d399; }
html[data-ui-theme="dark"] body.ui-user .text-info-dk { color: #67e8f9; }
html[data-ui-theme="dark"] body.ui-user .text-warning-dk { color: #fbbf24; }
html[data-ui-theme="dark"] body.ui-user .text-danger-dk { color: #f87171; }
html[data-ui-theme="dark"] body.ui-user .fixed-table-loading { background: transparent; color: var(--ui-ink2); }
html[data-ui-theme="dark"] body.ui-user .b-white { border-color: rgba(255, 255, 255, .16) !important; }
html[data-ui-theme="dark"] body.ui-user input:-webkit-autofill,
html[data-ui-theme="dark"] body.ui-user input:-webkit-autofill:hover,
html[data-ui-theme="dark"] body.ui-user input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #1b2440 inset !important;
  -webkit-text-fill-color: #e8eefc !important;
  caret-color: #e8eefc;
}
body.ui-user .fixed-table-loading { background: transparent; color: var(--ui-ink3); }

/* ---------- 页脚居中修复：版权信息整体居中，不再左右分列 ---------- */
body.ui-user .app-footer .wrapper{
  justify-content:center;gap:16px;flex-wrap:wrap;text-align:center;
}
body.ui-user .app-footer .wrapper .pull-right{margin-left:0;float:none;}
body.ui-user .app-footer .wrapper>span{display:inline-block;}
