/* ============ 会员中心页面样式 ============ */

/* 标题区 */
.member-hero {
  background: linear-gradient(135deg, #0f2b4a 0%, #1e6fbf 100%);
  padding: 52px 0; text-align: center; color: #fff;
}
.member-hero-icon { font-size: 56px; display: block; margin-bottom: 8px; }
.member-hero-title { font-size: 36px; font-weight: 800; letter-spacing: 2px; }
.member-hero-sub { font-size: 15px; color: #cfe0f0; margin-top: 10px; }

/* 套餐卡片 */
.member-plans { background: #fff; }
.plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 820px; margin: 0 auto; }

.plan-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 36px 32px; text-align: center; position: relative;
  box-shadow: var(--shadow); transition: all .25s;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.plan-hot {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 28px rgba(245,124,0,.18);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #f5a623, #f57c00); color: #fff;
  font-size: 13px; font-weight: 700; padding: 5px 18px; border-radius: 20px;
}
.plan-name { font-size: 22px; font-weight: 700; color: #0f2b4a; }
.plan-desc { font-size: 13px; color: var(--text-light); margin-top: 6px; }

.plan-price { margin: 22px 0 8px; color: #e53e3e; }
.plan-price .price-symbol { font-size: 20px; font-weight: 700; }
.plan-price .price-num { font-size: 48px; font-weight: 800; }
.plan-price .price-unit { font-size: 14px; color: var(--text-sub); }
.plan-save { font-size: 13px; color: var(--accent); margin-bottom: 16px; }

.plan-features { list-style: none; text-align: left; margin: 18px 0 26px; }
.plan-features li { font-size: 14px; color: var(--text); padding: 8px 0; }
.plan-btn { width: 100%; }

/* 会员特权 */
.member-benefits { background: var(--bg); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-item {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  text-align: center; border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: all .25s;
}
.benefit-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-icon { font-size: 40px; display: block; margin-bottom: 12px; }
.benefit-item h3 { font-size: 18px; color: #0f2b4a; }
.benefit-item p { font-size: 13px; color: var(--text-sub); margin-top: 8px; line-height: 1.7; }

/* 响应式 */
@media (max-width: 992px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .plans-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ============ 我的订单 ============ */
.my-orders { background: #fff; }
.orders-list { max-width: 820px; margin: 0 auto; }
.orders-empty { text-align: center; color: var(--text-light); padding: 40px 0; font-size: 14px; }

.order-row {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 20px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.order-row-main { flex: 1; }
.order-row-name { font-size: 16px; font-weight: 700; color: #0f2b4a; }
.order-row-meta { font-size: 12px; color: var(--text-light); margin-top: 6px; }
.order-row-right { text-align: right; flex-shrink: 0; margin-left: 20px; }
.order-row-amount { font-size: 18px; font-weight: 800; color: #e53e3e; }
.order-row-code { font-size: 12px; color: var(--text-sub); margin-top: 4px; }
.order-row-status {
  display: inline-block; font-size: 12px; color: #2e9e5b; background: #eaf7ee;
  padding: 2px 10px; border-radius: 4px; margin-top: 6px;
}

