h2.page-header {
  margin: 10px 0 25px 0;
  padding-bottom: 15px;
}
.user-baseinfo {
  margin-bottom: 25px;
}
.user-baseinfo table tr td {
  color: #999;
}
@media (min-width: 992px) {
  .user-center .avatar-text,
  .user-center .avatar-img {
    height: 150px;
    width: 150px;
    border-radius: 150px;
    line-height: 150px;
    font-size: 70px;
  }
  .user-center .avatar-img {
    font-size: 0;
  }
  .user-center .avatar-img img {
    height: 150px;
    width: 150px;
    border-radius: 150px;
  }
}
.sidebar-toggle {
  display: none;
}
@media (max-width: 991px) {
  .sidenav {
    position: fixed;
    top: 50px;
    z-index: 1029;
    height: calc(100vh - 50px);
    padding: 20px 0 20px 0;
    min-width: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 250px;
    left: -250px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .sidebar-toggle {
    display: block;
    position: fixed;
    right: 20px;
    bottom: 70px;
    border-radius: 50%;
    background: #eee;
    font-size: 22px;
    padding: 10px;
    line-height: 30px;
    height: 50px;
    width: 50px;
    text-align: center;
    z-index: 999999;
  }
}
body.sidebar-open .sidenav {
  left: 0;
  width: 250px;
  box-shadow: 0 6px 27px rgba(0, 0, 0, 0.075);
}
body.sidebar-open .sidebar-toggle i:before {
  content: "\f00d";
}

/* 第三方登录 */
.third-login {
  margin-top: 30px;
  text-align: center;
}
.third-login-title {
  position: relative;
  margin-bottom: 18px;
  color: #aaa;
  font-size: 13px;
}
.third-login-title span {
  background: #fff;
  padding: 0 14px;
  position: relative;
}
.third-login-title:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #e8e8e8;
}
.third-login-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.third-login-icons .third-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  position: relative;
  letter-spacing: 0;
}
.third-login-icons .third-icon .fa {
  font-size: 20px;
}
.third-login-icons .third-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  color: #fff;
}
.third-login-icons .third-icon.qq       { background: #12b7f5; }
.third-login-icons .third-icon.wx       { background: #07c160; }
.third-login-icons .third-icon.alipay   { background: #1677ff; }
.third-login-icons .third-icon.sina     { background: #e6162d; }
.third-login-icons .third-icon.baidu    { background: #3c6ef7; }
.third-login-icons .third-icon.huawei   { background: #cf0a2c; }
.third-login-icons .third-icon.xiaomi   { background: #ff6900; }
.third-login-icons .third-icon.douyin   { background: #111; }
.third-login-icons .third-icon.bilibili { background: #fb7299; }
.third-login-icons .third-icon.dingtalk { background: #0089ff; }

/* 账号绑定页 */
.bind-platform-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 13px;
    color: #fff;
    font-weight: 600;
}
.bind-platform-tag.qq       { background: #12b7f5; }
.bind-platform-tag.wx       { background: #07c160; }
.bind-platform-tag.alipay   { background: #1677ff; }
.bind-platform-tag.sina     { background: #e6162d; }
.bind-platform-tag.baidu    { background: #3c6ef7; }
.bind-platform-tag.huawei   { background: #cf0a2c; }
.bind-platform-tag.xiaomi   { background: #ff6900; }
.bind-platform-tag.douyin   { background: #111; }
.bind-platform-tag.bilibili { background: #fb7299; }
.bind-platform-tag.dingtalk { background: #0089ff; }

/* ========== 用户中心主页优化 ========== */
/* 用户信息卡片 */
.user-info-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 20px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    text-align: center;
}
.user-card-avatar {
    margin-bottom: 12px;
}
.user-card-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #f0f0f0;
    object-fit: cover;
}
.user-card-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}
.user-card-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.stat-item {
    flex: 1;
    padding: 0 10px;
}
.stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}
.stat-item:nth-child(1) .stat-value { color: #4a90d9; }
.stat-item:nth-child(3) .stat-value { color: #52c41a; }
.stat-item:nth-child(5) .stat-value { color: #fa8c16; }
.stat-label {
    display: block;
    font-size: 13px;
    color: #999;
    margin-top: 2px;
}
.stat-divider {
    width: 1px;
    height: 36px;
    background: #eee;
    flex-shrink: 0;
}

/* 交易概览 */
.trade-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.trade-item {
    background: #fff;
    border-radius: 8px;
    padding: 18px 12px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
    transition: transform .2s, box-shadow .2s;
}
.trade-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.trade-icon {
    font-size: 26px;
    margin-bottom: 8px;
}
.trade-orders .trade-icon { color: #4a90d9; }
.trade-services .trade-icon { color: #f5a623; }
.trade-websites .trade-icon { color: #52c41a; }
.trade-domains .trade-icon { color: #f5222d; }
.trade-num {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
}
.trade-label {
    display: block;
    font-size: 13px;
    color: #999;
}

/* 店铺入口卡片 */
.shop-entry-card {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
    overflow: hidden;
}
.shop-entry-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    flex-wrap: wrap;
}
.shop-entry-icon {
    font-size: 28px;
    color: #4a90d9;
}
.shop-entry-empty .shop-entry-icon {
    color: #bbb;
    font-size: 36px;
}
.shop-entry-empty .shop-entry-body {
    flex-direction: column;
    gap: 8px;
}
.shop-entry-empty .shop-entry-body p {
    margin: 0;
    color: #999;
}

/* 最近订单面板 */
.recent-orders-panel {
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.recent-orders-panel .panel-heading {
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

/* ========== 订单卡片列表 - 淘宝风格 ========== */
.oc-list {}
.oc-item {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 14px;
}

/* 卡片顶栏 */
.oc-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #f5f5f5;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #666;
}
.oc-hd-left { display: flex; align-items: center; gap: 8px; }
.oc-hd-right { display: flex; align-items: center; gap: 12px; }

/* 卡片主体 */
.oc-bd {
    padding: 16px;
}
.oc-bd-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.oc-img {
    width: 80px;
    height: 80px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.oc-img img { width: 100%; height: 100%; object-fit: cover; }
.oc-img .fa   { font-size: 28px; color: #bbb; }
.oc-info { flex: 1; min-width: 0; }
.oc-info-title {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    display: block;
    margin-bottom: 6px;
}
a.oc-info-title:hover { color: #f40; }
.oc-info-meta {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}
.oc-price-col {
    text-align: right;
    flex-shrink: 0;
    min-width: 100px;
}
.oc-unit-price {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
}
.oc-qty {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    white-space: nowrap;
}

/* 标签 */
.oc-tag {
    display: inline-block;
    padding: 1px 8px;
    font-size: 12px;
    line-height: 20px;
    border-radius: 2px;
    vertical-align: middle;
}
.oc-tag--red    { color: #f40; background: #fff2f0; }
.oc-tag--orange { color: #fa8c16; background: #fff7e6; }
.oc-tag--blue   { color: #1890ff; background: #e6f7ff; }
.oc-tag--green  { color: #52c41a; background: #f6ffed; }
.oc-tag--gray   { color: #999; background: #f5f5f5; }

/* 卡片底栏 */
.oc-ft {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid #eee;
    background: #fafafa;
}
.oc-ft-total {
    font-size: 13px;
    color: #999;
}
.oc-ft-total strong {
    font-size: 16px;
    color: #f40;
    font-weight: 700;
    margin: 0 2px;
}
.oc-ft-actions {
    display: flex;
    gap: 8px;
}

/* 按钮 */
.oc-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 5px 14px;
    font-size: 13px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    line-height: 1.4;
}
.oc-btn:hover { color: #f40; border-color: #f40; }
.oc-btn .fa { font-size: 12px; }
.oc-btn--red {
    color: #f40;
    border-color: #ffccc7;
    background: #fff2f0;
}
.oc-btn--red:hover { background: #ffccc7; color: #f40; }
.oc-btn--orange {
    color: #fa8c16;
    border-color: #ffd591;
    background: #fff7e6;
}
.oc-btn--orange:hover { background: #ffd591; color: #fa8c16; }
.oc-btn--blue {
    color: #1890ff;
    border-color: #91d5ff;
    background: #e6f7ff;
}
.oc-btn--blue:hover { background: #91d5ff; color: #1890ff; }
.oc-btn--green {
    color: #52c41a;
    border-color: #b7eb8f;
    background: #f6ffed;
}
.oc-btn--green:hover { background: #b7eb8f; color: #52c41a; }

/* 内嵌信息条 */
.oc-info-bar {
    margin: 8px 0 0;
    padding: 8px 12px;
    background: #fafafa;
    border-radius: 2px;
    font-size: 12px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
}
.oc-info-bar--warn { background: #fff7e6; color: #d46b08; }
.oc-info-bar--ok   { background: #f6ffed; color: #389e0d; }
.oc-info-bar .fa { margin-right: 3px; }
.oc-info-bar strong { color: #333; }

/* 进度条 */
.oc-progress {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #999;
}
.oc-progress-bar {
    flex: 1;
    height: 5px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}
.oc-progress-bar .bar {
    height: 100%;
    background: #f40;
    border-radius: 3px;
    transition: width .3s;
}

/* 无数据 */
.oc-empty {
    text-align: center;
    padding: 80px 20px 60px;
    color: #ccc;
}
.oc-empty .fa { font-size: 56px; display: block; margin-bottom: 16px; }
.oc-empty p { font-size: 14px; margin: 0; color: #999; }

/* 弹窗 */
#review-modal .star-item {
    font-size: 28px;
    color: #e8e8e8;
    cursor: pointer;
    transition: color .15s;
    margin-right: 6px;
}
#review-modal .star-item.active,
#review-modal .star-item:hover,
#review-modal .star-item.hover { color: #fadb14; }
#review-modal .review-upload-area img {
    max-height: 80px;
    border-radius: 2px;
    border: 1px solid #f0f0f0;
    margin: 3px;
}
#order-detail-modal .table { margin: 0; }
#order-detail-modal .table td:first-child {
    font-weight: 500;
    color: #999;
    background: #fafafa;
}

/* 售后申请页 */
.as-apply-info { background: #fafafa; border-radius: 2px; padding: 14px 16px; margin-bottom: 18px; }
.as-apply-info .info-row { display: flex; gap: 24px; font-size: 13px; color: #666; line-height: 1.8; }
.as-apply-info .info-row strong { color: #333; }
.as-upload-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.as-upload-preview .preview-item { position: relative; width: 80px; height: 80px; border: 1px solid #f0f0f0; border-radius: 2px; overflow: hidden; }
.as-upload-preview .preview-item img { width: 100%; height: 100%; object-fit: cover; }
.as-upload-preview .preview-item .del { position: absolute; top: 0; right: 0; background: rgba(0,0,0,.5); color: #fff; padding: 2px 6px; font-size: 12px; cursor: pointer; }

/* 售后详情 */
.as-detail {  }
.as-detail-header { text-align: center; padding: 24px 0 20px; border-bottom: 1px solid #f0f0f0; margin-bottom: 20px; }
.as-detail-header .as-status-icon { font-size: 48px; display: block; margin-bottom: 8px; }
.as-detail-header .as-status-icon--wait   { color: #fa8c16; }
.as-detail-header .as-status-icon--ok     { color: #52c41a; }
.as-detail-header .as-status-icon--no     { color: #f40; }
.as-detail-header .as-status-icon--done   { color: #52c41a; }
.as-detail-header .as-status-icon--closed { color: #999; }
.as-detail-header .as-status-text { font-size: 18px; font-weight: 600; }
.as-detail-header .as-status-text--wait   { color: #fa8c16; }
.as-detail-header .as-status-text--ok     { color: #52c41a; }
.as-detail-header .as-status-text--no     { color: #f40; }
.as-detail-header .as-status-text--done   { color: #52c41a; }
.as-detail-header .as-status-text--closed { color: #999; }
.as-steps { display: flex; justify-content: center; gap: 0; font-size: 12px; color: #999; margin-top: 12px; }
.as-steps span { padding: 0 12px; }
.as-steps span.done { color: #52c41a; font-weight: 500; }
.as-steps span.cur  { color: #f40; font-weight: 600; }
.as-section { margin-bottom: 18px; }
.as-section-title { font-size: 14px; font-weight: 600; color: #333; border-left: 3px solid #f40; padding-left: 10px; margin-bottom: 10px; line-height: 1.2; }
.as-info-table { width: 100%; font-size: 13px; }
.as-info-table td { padding: 6px 10px; border-bottom: 1px solid #f5f5f5; }
.as-info-table td:first-child { width: 90px; color: #999; }
.as-seller-reply { background: #fff7e6; border: 1px solid #ffd591; border-radius: 2px; padding: 14px 16px; color: #d46b08; }
.as-admin-reply { background: #f6ffed; border: 1px solid #b7eb8f; border-radius: 2px; padding: 14px 16px; color: #389e0d; }
.as-images { display: flex; flex-wrap: wrap; gap: 8px; }
.as-images a { display: block; width: 100px; height: 100px; border: 1px solid #f0f0f0; border-radius: 2px; overflow: hidden; }
.as-images a img { width: 100%; height: 100%; object-fit: cover; }

/* 响应式 */
@media (max-width: 768px) {
    .trade-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    .user-card-stats .stat-value {
        font-size: 18px;
    }
    .oc-bd-row {
        flex-direction: column;
        align-items: stretch;
    }
    .oc-img {
        width: auto;
        height: 160px;
    }
    .oc-price-col {
        text-align: left;
        min-width: auto;
    }
    .oc-ft {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}