.member-valid-page {
  width: 100%;
  min-height: 100vh;
  background: var(--page-bg);
  padding-bottom: 40px;
}

.success-header {
  background: #fff;
  padding: 40px 20px 20px;
}

.success-header .ant-result {
  padding: 0;
}

.success-header .ant-result-icon {
  margin-bottom: 16px;
}

.success-header .ant-result-icon .anticon {
  font-size: 64px;
  color: var(--brand-color);
}

.success-header .ant-result-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.success-header .ant-result-subtitle {
  font-size: 14px;
  color: #666;
}

.member-valid-container {
  padding: 24px 20px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.member-info-card {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  margin-bottom: 20px;
  background: var(--brand-gradient);
}

.member-info-card .ant-card-body {
  padding: 32px 24px;
  width: 100%;
}

.member-badge {
  display: flex;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.badge-icon {
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text {
  flex: 1;
}

.member-id-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
}

.member-id-value {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.member-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-label {
  font-size: 14px;
  color: #666;
}

.detail-value {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.detail-value.amount {
  font-size: 18px;
  font-weight: 600;
  color: var(--danger-color);
}

.back-home-btn {
  height: 52px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient) !important;
  color: var(--text-on-brand) !important;
  border: none !important;
  margin-top: 8px;
}

.back-home-btn:hover,
.back-home-btn:focus {
  background: var(--brand-gradient-hover) !important;
  color: var(--text-on-brand) !important;
}

.invoice-btn,
.renew-btn {
  height: 52px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient) !important;
  color: var(--text-on-brand) !important;
  border: none !important;
  margin-bottom: 12px;
}

.invoice-btn:hover,
.invoice-btn:focus,
.renew-btn:hover,
.renew-btn:focus {
  background: var(--brand-gradient-hover) !important;
  color: var(--text-on-brand) !important;
}

/* 移动端适配 */
@media screen and (max-width: 375px) {
  .member-valid-container {
    padding: 20px 16px;
  }

  .member-info-card .ant-card-body {
    padding: 24px 20px;
  }

  .member-id-value {
    font-size: 18px;
  }

  .benefits-card .ant-card-body {
    padding: 20px 16px;
  }
}

@media screen and (min-width: 768px) {
  .member-valid-container {
    padding: 40px;
  }

  .member-info-card .ant-card-body {
    padding: 40px 32px;
  }

  .benefits-card .ant-card-body {
    padding: 32px;
  }
}
