/* ===== 会员中心首页（西部数码风格重构） ===== */

.el-main {
  background: #e9edf2;
}

.home-new {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
  color: #333;
  font-size: 0.12rem;
}

.home-new .card {
  background: #fff;
  border-radius: 0.02rem;
  border: 1px solid #e8ecf1;
}

.home-new .card-title {
  font-size: 0.16rem;
  font-weight: 400;
  color: #333;
  margin: 0 0 0.14rem;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid #eef1f5;
  position: relative;
}

.home-new .card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0.5rem;
  height: 2px;
  background: #1e88e5;
}

/* ===== 欢迎信息卡 ===== */
.welcome-card {
  padding: 0.2rem 0.24rem;
  margin-bottom: 0.14rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.welcome-left {
  display: flex;
  align-items: center;
}

.avatar-box {
  width: 0.64rem;
  height: 0.64rem;
  border-radius: 50%;
  background: #3699ff;
  color: #fff;
  font-size: 0.28rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.welcome-info {
  margin-left: 0.18rem;
}

.welcome-top {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  line-height: 1;
}

.welcome-name {
  font-size: 0.16rem;
  color: #ff6600;
  font-weight: 600;
}

.welcome-level {
  margin-left: 0.12rem;
  font-size: 0.12rem;
  color: #ff6600;
  background: #fff4ec;
  border: 1px solid #ffd9bd;
  border-radius: 0.02rem;
  padding: 0.02rem 0.08rem;
}

.welcome-id {
  margin-left: 0.16rem;
  font-size: 0.12rem;
  color: #999;
}

.welcome-id b {
  color: #ff6600;
  font-size: 0.18rem;
  margin: 0 0.03rem;
}

.welcome-sec {
  display: flex;
  align-items: center;
  margin-top: 0.16rem;
  flex-wrap: wrap;
}

.sec-label {
  color: #999;
  margin-right: 0.08rem;
  white-space: nowrap;
}

.sec-progress {
  width: 1.3rem;
  margin-right: 0.14rem;
  flex-shrink: 0;
}

.sec-progress .el-progress__text {
  font-size: 0.1rem !important;
}

.sec-item {
  font-size: 0.12rem;
  color: #aaa;
  margin-right: 0.1rem;
  display: inline-flex;
  align-items: center;
}

.sec-item::before {
  content: "";
  width: 0.08rem;
  height: 0.08rem;
  border-radius: 50%;
  background: #d5d9de;
  margin-right: 0.04rem;
}

.sec-item.on {
  color: #1e88e5;
}

.sec-item.on::before {
  background: #7ed321;
}

.welcome-login {
  margin-top: 0.12rem;
  font-size: 0.12rem;
  color: #1e88e5;
}

.welcome-login .login-ip {
  color: #999;
  margin-left: 0.14rem;
}

.welcome-right {
  display: flex;
  align-items: center;
}

.contact-btn {
  margin-left: 0.12rem;
  padding: 0.08rem 0.16rem;
  background: #f5f6f8;
  border-color: #e2e6ec;
  color: #666;
  font-size: 0.12rem;
}

.contact-btn:hover {
  color: #1e88e5;
  border-color: #1e88e5;
  background: #f0f7ff;
}

/* ===== 余额条 ===== */
.balance-bar {
  display: flex;
  align-items: center;
  background: #f7f8fa;
  padding: 0.14rem 0.24rem;
  margin-bottom: 0.14rem;
  flex-wrap: wrap;
}

.balance-item {
  margin-right: 0.32rem;
  font-size: 0.13rem;
  color: #666;
}

.balance-item .b-value {
  color: #ff6600;
  font-size: 0.18rem;
  font-weight: 600;
  margin: 0 0.03rem;
}

.balance-item .coupon-num {
  font-size: 0.14rem;
}

.recharge-btn {
  background: #1e88e5;
  border-color: #1e88e5;
  font-size: 0.13rem;
  padding: 0.08rem 0.2rem;
  margin-right: 0.32rem;
}

.recharge-btn:hover {
  background: #1976d2;
  border-color: #1976d2;
}

/* ===== 快捷功能 ===== */
.quick-card {
  display: flex;
  padding: 0.18rem 0.1rem;
  margin-bottom: 0.14rem;
}

.quick-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 0.08rem 0;
  border-radius: 0.02rem;
  transition: background 0.15s;
}

.quick-item:hover {
  background: #f5f8fc;
}

.quick-icon {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  color: #fff;
  font-size: 0.18rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-name {
  margin-top: 0.1rem;
  font-size: 0.12rem;
  color: #333;
}

/* ===== 主体两栏 ===== */
.home-main {
  display: flex;
  align-items: flex-start;
}

.home-left {
  flex: 1;
  min-width: 0;
}

.content-center {
  flex: 1;
  min-width: 0;
}

.home-right {
  width: 2.7rem;
  margin-left: 0.1rem;
  flex-shrink: 0;
}

/* 产品统计 + 预警通知并排 */
.center-top-row {
  display: flex;
  align-items: flex-start;
}

.center-top-row .product-stat-card {
  flex: 1;
  min-width: 0;
}

.center-top-row .warn-card {
  width: 2.05rem;
  margin-left: 0.14rem;
  flex-shrink: 0;
  margin-bottom: 0;
}

/* 我的产品与服务 */
.product-stat-card {
  padding: 0.18rem 0.2rem;
}

.stat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.13rem;
}

.stat-table thead th {
  background: #f2f6fa;
  color: #666;
  font-weight: 400;
  padding: 0.1rem 0;
  text-align: center;
  border: 1px solid #eef1f5;
}

.stat-table tbody td {
  padding: 0.12rem 0;
  text-align: center;
  border: 1px solid #eef1f5;
  color: #333;
}

.stat-table tbody tr:nth-child(even) {
  background: #fafbfd;
}

.stat-table tbody tr:hover {
  background: #f2f8ff;
}

.num-link {
  color: #1e88e5;
  cursor: pointer;
  text-decoration: none;
}

.num-link:hover {
  text-decoration: underline;
}

.empty-cell {
  color: #999;
  padding: 0.3rem 0 !important;
}

/* 域名交易信息统计 */
.trade-stat-card {
  display: flex;
  align-items: center;
  padding: 0.16rem 0.24rem;
  margin-top: 0.14rem;
}

.trade-stat-item {
  flex: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  border-right: 1px dashed #eef1f5;
}

.trade-stat-item:last-child {
  border-right: none;
}

.trade-stat-item .ts-label {
  color: #666;
  font-size: 0.13rem;
}

.trade-stat-item .ts-num {
  color: #ff6600;
  font-size: 0.18rem;
  font-weight: 600;
  margin-left: 0.08rem;
}

/* 预警通知 / 新闻 */
.warn-card {
  padding: 0.18rem 0.2rem;
  margin-bottom: 0.14rem;
}

.warn-list,
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.warn-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.09rem 0;
  font-size: 0.12rem;
  color: #666;
  border-bottom: 1px dashed #f0f2f5;
}

.warn-list li:last-child {
  border-bottom: none;
}

.warn-num {
  color: #e64545;
}

/* ===== 右侧：新闻/公告选项卡 ===== */
.news-tab-card,
.domain-tab-card {
  padding: 0.16rem 0.22rem 0.2rem;
  margin-bottom: 0.14rem;
}

.tab-head {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eef1f5;
}

.tab-item {
  position: relative;
  padding: 0 0.04rem 0.12rem;
  margin-right: 0.14rem;
  font-size: 0.15rem;
  color: #999;
  cursor: pointer;
  white-space: nowrap;
}

.tab-item.on {
  color: #1e88e5;
}

.tab-item.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #1e88e5;
}

.tab-badge {
  display: inline;
  margin-left: 0.04rem;
  color: #ff6600;
  font-size: 0.11rem;
  font-style: normal;
  text-align: center;
  vertical-align: top;
}

.news-list li {
  display: flex;
  align-items: center;
  padding: 0.07rem 0;
  cursor: pointer;
  border-bottom: 1px dashed #f0f2f5;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list .dot {
  width: 0.05rem;
  height: 0.05rem;
  border-radius: 50%;
  background: #c5cbd3;
  flex-shrink: 0;
  margin-right: 0.08rem;
}

.news-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
  font-size: 0.12rem;
}

.news-list li:hover .news-title {
  color: #1e88e5;
}

.news-time {
  color: #aaa;
  font-size: 0.11rem;
  margin-left: 0.1rem;
  flex-shrink: 0;
}

.news-empty {
  color: #999;
  text-align: center;
  padding: 0.3rem 0;
  font-size: 0.12rem;
}

/* ===== 右侧：促销广告 ===== */
.promo-card {
  margin-bottom: 0.14rem;
  border-radius: 0.02rem;
  overflow: hidden;
}

.promo-img {
  display: block;
  width: 100%;
}

/* ===== 右侧：域名交易 ===== */
.domain-grid {
  list-style: none;
  margin: 0.12rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.domain-grid li {
  width: 50%;
  padding: 0.11rem 0;
  overflow: hidden;
}

.domain-grid a {
  display: block;
  color: #1e88e5;
  font-size: 0.13rem;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 0.1rem;
}

.domain-grid a:hover {
  text-decoration: underline;
}

/* 充值弹窗 */
.cz-input {
  display: flex;
  align-items: center;
}

.cz-input .el-input {
  margin-right: 0.12rem;
}

.btn-ok {
  flex-shrink: 0;
}
