
/* ==================== Profile Page Styles ==================== */

/* ==================== SVG Icon System ==================== */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.icon-large {
  width: 32px;
  height: 32px;
}

.icon-small {
  width: 18px;
  height: 18px;
}

.icon-primary {
  color: #3B82F6;
}

.icon-secondary {
  color: #64748B;
}

.icon-success {
  color: #10B981;
}

.icon-warning {
  color: #F59E0B;
}

.icon-white {
  color: #FFFFFF;
}

.icon-gradient {
  background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== Profile Header ==================== */

.profile-header {
  margin-bottom: 32px;
}

.profile-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  display: flex;
  align-items: center;
  gap: 24px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-avatar .icon {
  width: 44px;
  height: 44px;
  color: #FFFFFF;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 24px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 8px 0;
}

.profile-id {
  font-size: 14px;
  color: #64748B;
  margin: 0 0 8px 0;
}

.profile-level .level-badge {
  background: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
  color: #fff;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.profile-stats {
  display: flex;
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #1E293B;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: #64748B;
  margin-top: 4px;
}

/* ==================== Profile Tabs ==================== */

.profile-tabs {
  margin-bottom: 10px;
}

.tabs-container {
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  display: inline-flex;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.profile-tab {
  padding: 12px 24px;
  border: none;
  background: transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-tab:hover {
  background: #F8FAFC;
  color: #1E293B;
}

.profile-tab.active {
  background: #3B82F6;
  color: #fff;
}

.profile-tab .icon {
  width: 18px;
  height: 18px;
}

/* ==================== Records Section ==================== */

.records-section {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  overflow: hidden;
  margin-bottom: 24px;
}

.records-table {
  width: 100%;
  border-collapse: collapse;
}

.records-table thead {
  background: #F8FAFC;
}

.records-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  border-bottom: 1px solid #E2E8F0;
}

.records-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: #1E293B;
  border-bottom: 1px solid #F1F5F9;
}

.records-table tbody tr:hover {
  background: #F8FAFC;
}

.records-table tbody tr:last-child td {
  border-bottom: none;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.status.success {
  background: #ECFDF5;
  color: #059669;
}

.status.warning {
  background: #FFFBEB;
  color: #D97706;
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: #64748B;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-state .icon {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

/* ==================== Quick Actions ==================== */

.quick-actions {
  margin-top: 32px;
  margin-bottom: 32px;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.action-btn {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.action-btn:hover {
  border-color: rgba(59,130,246,0.2);
  box-shadow: 0 4px 12px rgba(59,130,246,0.15);
  transform: translateY(-2px);
}

.action-btn:active {
  transform: translateY(0);
}

.action-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.action-btn:nth-child(1) .action-icon {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.action-btn:nth-child(2) .action-icon {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.action-btn:nth-child(3) .action-icon {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
}

.action-btn:nth-child(4) .action-icon {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.action-icon .icon {
  width: 28px;
  height: 28px;
  color: #FFFFFF;
}

.action-btn span {
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
}

/* ==================== Responsive Design ==================== */

@media (max-width: 1024px) {
  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .profile-card {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-stats {
    justify-content: center;
    width: 100%;
  }
  
  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tabs-container {
    flex-wrap: wrap;
    width: 100%;
  }
  
  .profile-tab {
    flex: 1;
    min-width: auto;
    justify-content: center;
  }
  
  .records-table {
    font-size: 12px;
  }
  
  .records-table th,
  .records-table td {
    padding: 12px 10px;
  }
  
  .action-btn {
    padding: 20px 16px;
  }
  
  .action-icon {
    width: 44px;
    height: 44px;
  }
  
  .action-icon .icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .profile-avatar {
    width: 70px;
    height: 70px;
  }
  
  .profile-avatar .icon {
    width: 38px;
    height: 38px;
  }
  
  .profile-name {
    font-size: 20px;
  }
  
  .profile-stats {
    gap: 20px;
  }
  
  .stat-value {
    font-size: 20px;
  }
  
  .actions-grid {
    gap: 12px;
  }
  
  .action-btn span {
    font-size: 13px;
  }
}

/* ==================== Accessibility ==================== */

.action-btn:focus-visible,
.profile-tab:focus-visible {
  outline: 2px solid #3B82F6;
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .profile-tab,
  .action-btn {
    transition: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .profile-tab,
  .action-btn {
    border: 2px solid #64748B;
  }
}

/* ==================== Account Edit Modal ==================== */

.account-edit-container {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  max-height: 90vh;
  overflow-y: auto;
}

.account-edit-header {
  text-align: center;
  margin-bottom: 32px;
}

.account-edit-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 8px 0;
}

.account-edit-header .subtitle {
  font-size: 14px;
  color: #64748B;
  margin: 0;
}

.account-edit-content {
  margin-bottom: 24px;
}

/* 头像上传区域 */
.avatar-upload-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}

.avatar-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 4px solid #E2E8F0;
  transition: all 0.3s;
}

.avatar-preview:hover {
  border-color: #3B82F6;
  transform: scale(1.05);
}

.avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  gap: 4px;
}

.avatar-preview:hover .avatar-overlay {
  opacity: 1;
}

.avatar-tip {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 12px;
  text-align: center;
}

/* 表单样式 */
.account-edit-content .form-group {
  margin-bottom: 20px;
  position: relative;
}

.account-edit-content .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 8px;
}

.account-edit-content .form-group input[type="text"],
.account-edit-content .form-group input[type="tel"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  font-size: 14px;
  color: #1E293B;
  transition: all 0.2s;
  background: #fff;
  box-sizing: border-box;
}

.account-edit-content .form-group input:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.account-edit-content .form-group input::placeholder {
  color: #94A3B8;
}

/* 手机号输入组 */
.phone-input-group {
  display: flex;
  gap: 12px;
}

.phone-input-group input {
  flex: 1;
}

.phone-input-group .btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 12px 16px;
}

/* 字符计数 */
.char-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 12px;
  color: #94A3B8;
  pointer-events: none;
}

/* 底部按钮 */
.account-edit-footer {
  display: flex;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
}

.account-edit-footer .btn {
  flex: 1;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}

.account-edit-footer .btn-outline {
  background: transparent;
  border: 2px solid #E2E8F0;
  color: #64748B;
}

.account-edit-footer .btn-outline:hover {
  border-color: #3B82F6;
  color: #3B82F6;
}

.account-edit-footer .btn-primary {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: #fff;
}

.account-edit-footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59,130,246,0.3);
}

.account-edit-footer .btn-primary:active {
  transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .account-edit-container {
    padding: 24px;
    border-radius: 20px;
    margin: 16px;
  }

  .account-edit-header h2 {
    font-size: 20px;
  }

  .avatar-preview {
    width: 100px;
    height: 100px;
  }

  .account-edit-footer {
    flex-direction: column;
  }

  .account-edit-footer .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .account-edit-container {
    padding: 20px;
    border-radius: 16px;
  }

  .avatar-preview {
    width: 80px;
    height: 80px;
  }

  .phone-input-group {
    flex-direction: column;
    gap: 8px;
  }

  .phone-input-group .btn {
    width: 100%;
  }
}

/* 验证码按钮状态 */
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

/* 输入框验证状态 */
.form-group input.error {
  border-color: #EF4444;
}

.form-group input.success {
  border-color: #10B981;
}

/* 成功提示 */
.success-message {
  background: #ECFDF5;
  color: #059669;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.success-message::before {
  content: '✓';
  font-weight: bold;
}

/* 错误提示 */
.error-message {
  background: #FEF2F2;
  color: #DC2626;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.error-message::before {
  content: '!';
  font-weight: bold;
}

/* ==================== Profile Phone Row ==================== */

.profile-phone-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.btn-reset-pwd {
  background: transparent;
  border: 1px solid #E2E8F0;
  color: #3B82F6;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-reset-pwd:hover {
  background: #EFF6FF;
  border-color: #3B82F6;
}

/* ==================== Password Reset Modal ==================== */

.password-reset-container {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.password-reset-header {
  text-align: center;
  margin-bottom: 32px;
}

.password-reset-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 8px 0;
}

.password-reset-header .subtitle {
  font-size: 14px;
  color: #64748B;
  margin: 0;
}

.password-reset-content {
  margin-bottom: 24px;
}

.password-reset-content .form-group {
  margin-bottom: 20px;
}

.password-reset-content .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 8px;
}

/* 密码输入组 */
.password-input-group {
  position: relative;
}

.password-input-group input {
  width: 100%;
  padding: 12px 44px 12px 16px;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  font-size: 14px;
  color: #1E293B;
  transition: all 0.2s;
  box-sizing: border-box;
}

.password-input-group input:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.password-input-group input::placeholder {
  color: #94A3B8;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
}

.password-toggle:hover {
  color: #3B82F6;
  background: #F1F5F9;
}

.password-hint {
  display: block;
  font-size: 12px;
  color: #94A3B8;
  margin-top: 6px;
}

/* 底部按钮 */
.password-reset-footer {
  display: flex;
  gap: 12px;
}

.password-reset-footer .btn {
  flex: 1;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}

.password-reset-footer .btn-outline {
  background: transparent;
  border: 2px solid #E2E8F0;
  color: #64748B;
}

.password-reset-footer .btn-outline:hover {
  border-color: #3B82F6;
  color: #3B82F6;
}

.password-reset-footer .btn-primary {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: #fff;
}

.password-reset-footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59,130,246,0.3);
}

.password-reset-footer .btn-primary:active {
  transform: translateY(0);
}

/* 禁用状态的输入框 */
input:disabled {
  background: #F8FAFC;
  color: #94A3B8;
  cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .profile-phone-row {
    flex-wrap: wrap;
  }
  
  .password-reset-container {
    padding: 24px;
    margin: 16px;
  }
  
  .password-reset-header h2 {
    font-size: 20px;
  }
  
  .password-reset-footer {
    flex-direction: column;
  }
  
  .password-reset-footer .btn {
    width: 100%;
  }
}

/* ==================== Recharge Modal Styles ==================== */

.recharge-container {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.recharge-header {
  text-align: center;
  margin-bottom: 32px;
}

.recharge-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 8px 0;
}

.recharge-header .subtitle {
  font-size: 14px;
  color: #64748B;
  margin: 0;
}

.recharge-content {
  margin-bottom: 24px;
}

/* 金额输入组 */
.amount-input-group {
  position: relative;
  display: flex;
  align-items: center;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  transition: all 0.2s;
}

.amount-input-group:focus-within {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.currency-symbol {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  padding: 12px 8px 12px 16px;
}

.amount-input-group input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #1E293B;
  background: transparent;
  outline: none;
}

/* 隐藏数字输入框的默认箭头 */
.amount-input-group input[type="number"]::-webkit-inner-spin-button,
.amount-input-group input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.amount-input-group input[type="number"] {
  -moz-appearance: textfield;
}

.amount-input-group input::placeholder {
  color: #94A3B8;
  font-weight: normal;
}

/* tokens显示 */
.tokens-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
  border-radius: 12px;
  margin-top: 16px;
}

.tokens-label {
  font-size: 14px;
  color: #059669;
  font-weight: 600;
}

.tokens-value {
  font-size: 20px;
  font-weight: 700;
  color: #059669;
}

/* 快捷金额按钮 */
.quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.quick-amount-btn {
  flex: 1;
  min-width: calc(20% - 10px);
  padding: 12px 16px;
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.quick-amount-btn:hover {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #3B82F6;
}

.quick-amount-btn:active {
  transform: scale(0.98);
}

/* 底部按钮 */
.recharge-footer {
  display: flex;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
}

.recharge-footer .btn {
  flex: 1;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}

.recharge-footer .btn-outline {
  background: transparent;
  border: 2px solid #E2E8F0;
  color: #64748B;
}

.recharge-footer .btn-outline:hover {
  border-color: #3B82F6;
  color: #3B82F6;
}

.recharge-footer .btn-primary {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: #fff;
}

.recharge-footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59,130,246,0.3);
}

.recharge-footer .btn-primary:active {
  transform: translateY(0);
}

/* ==================== Payment QR Modal Styles ==================== */

.payment-qr-container {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.payment-qr-header {
  text-align: center;
  margin-bottom: 24px;
}

.payment-qr-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 8px 0;
}

.payment-qr-header .subtitle {
  font-size: 14px;
  color: #64748B;
  margin: 0;
}

.payment-qr-content {
  margin-bottom: 24px;
}

/* 二维码容器 */
.qr-code-container {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  background: #fff;
  border: 2px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px;
  position: relative;
}

.qr-code-container img {
  width: 100%;
  height: 100%;
  display: none;
  border-radius: 8px;
}

.qr-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #94A3B8;
  font-size: 14px;
}

.qr-placeholder svg {
  opacity: 0.5;
}

/* 支付信息 */
.payment-info {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 16px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.info-row:first-child {
  border-bottom: 1px solid #E2E8F0;
}

.info-row .label {
  font-size: 14px;
  color: #64748B;
}

.info-row .value {
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
}

.info-row .value.amount {
  color: #3B82F6;
  font-size: 18px;
}

/* 底部按钮 */
.payment-qr-footer {
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
  text-align: center;
}

.payment-qr-footer .btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: #fff;
}

.payment-qr-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59,130,246,0.3);
}

.payment-qr-footer .btn:active {
  transform: translateY(0);
}

.payment-qr-footer .tips {
  margin-top: 12px;
  font-size: 12px;
  color: #94A3B8;
}

/* ==================== Recharge Success Modal Styles ==================== */

.recharge-success-container {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 32px;
  width: 100%;
  max-width: 380px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  text-align: center;
}

.success-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recharge-success-container h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 8px 0;
}

.success-message {
  font-size: 14px;
  color: #64748B;
  margin: 0 0 24px 0;
}

/* 余额信息 */
.balance-info {
  background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.balance-info .label {
  display: block;
  font-size: 14px;
  color: #059669;
  margin-bottom: 8px;
}

.balance-value {
  font-size: 32px;
  font-weight: 700;
  color: #059669;
}

.recharge-success-container .btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: #fff;
}

.recharge-success-container .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59,130,246,0.3);
}

.recharge-success-container .btn:active {
  transform: translateY(0);
}

/* ==================== Recharge Responsive Design ==================== */

@media (max-width: 768px) {
  .recharge-container,
  .payment-qr-container,
  .recharge-success-container {
    padding: 24px;
    margin: 16px;
    border-radius: 20px;
  }
  
  .recharge-header h2,
  .payment-qr-header h2,
  .recharge-success-container h2 {
    font-size: 20px;
  }
  
  .qr-code-container {
    width: 160px;
    height: 160px;
  }
  
  .quick-amount-btn {
    min-width: calc(25% - 9px);
  }
  
  .recharge-footer,
  .payment-qr-footer {
    flex-direction: column;
  }
  
  .recharge-footer .btn,
  .payment-qr-footer .btn {
    width: 100%;
  }
  
  .balance-value {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .recharge-container,
  .payment-qr-container,
  .recharge-success-container {
    padding: 20px;
    border-radius: 16px;
  }
  
  .amount-input-group input {
    font-size: 16px;
  }
  
  .quick-amounts {
    gap: 8px;
  }
  
  .quick-amount-btn {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .qr-code-container {
    width: 140px;
    height: 140px;
  }
  
  .success-icon {
    width: 80px;
    height: 80px;
  }
  
  .balance-value {
    font-size: 24px;
  }
}

