/* v-cloak: 防止Vue模板在编译前闪烁 */
[v-cloak] { display: none !important; }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  background: #f5f5f8;
  min-height: 100vh;
  color: #1a1a2e;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  line-height: 1.5;
}

/* ========== 登录页面（全新设计） ========== */
.auth-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 50%, #7c3aed 100%);
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.auth-bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.bg-circle-1 {
  width: 380px; height: 380px;
  background: rgba(255, 255, 255, 0.18);
  top: -120px; right: -80px;
}
.bg-circle-2 {
  width: 320px; height: 320px;
  background: rgba(96, 165, 250, 0.4);
  bottom: -100px; left: -80px;
}
.bg-circle-3 {
  width: 220px; height: 220px;
  background: rgba(167, 139, 250, 0.3);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.auth-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  position: relative;
  z-index: 1;
}

.auth-header { text-align: center; margin-bottom: 20px; }

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 1px;
}

.auth-logo i { font-size: 28px; color: #2563eb; }

.auth-header p {
  color: #94a3b8;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 1px;
}

/* Tabs */
.auth-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 22px;
}
.auth-tab {
  flex: 1;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
}
.auth-tab.active {
  background: white;
  color: #2563eb;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* 表单 */
.auth-form { animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.form-group { margin-bottom: 14px; position: relative; }

.form-group.has-error .phone-input-wrap { border-color: #ef4444; background: #fef2f2; }

.field-error {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #ef4444;
  padding-left: 2px;
}

.form-error-banner {
  background: #fef2f2;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin: 8px 0 14px;
  text-align: center;
  border: 1px solid #fecaca;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #e2e8f0;
  border-radius: 999px;
  padding: 0 6px 0 16px;
  background: white;
  transition: all 0.2s;
  height: 48px;
}
.phone-input-wrap:focus-within { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.phone-prefix {
  font-size: 15px;
  color: #1e293b;
  font-weight: 500;
  padding-right: 10px;
  border-right: 1px solid #e2e8f0;
  margin-right: 10px;
  white-space: nowrap;
}
.phone-input-wrap input {
  flex: 1;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 15px;
  height: 100%;
  color: #1e293b;
}
.phone-input-wrap input::placeholder { color: #cbd5e0; }

.send-code-btn {
  background: transparent;
  border: none;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 10px;
  white-space: nowrap;
  border-left: 1px solid #e2e8f0;
  margin-left: 8px;
  height: 100%;
  display: flex;
  align-items: center;
}
.send-code-btn:disabled { color: #94a3b8; cursor: not-allowed; }

.login-mode-switch { text-align: right; margin: 4px 0 14px; }
.login-mode-switch a {
  color: #2563eb;
  font-size: 13px;
  text-decoration: none;
}
.login-mode-switch a:hover { text-decoration: underline; }

.btn-pill { border-radius: 999px !important; }

.auth-tip {
  font-size: 11.5px;
  color: #94a3b8;
  text-align: center;
  margin: 14px 0;
  line-height: 1.6;
}
.auth-tip a { color: #2563eb; text-decoration: none; }

.auth-divider {
  text-align: center;
  margin: 16px 0 12px;
  position: relative;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: #e2e8f0;
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.auth-divider span {
  font-size: 12px;
  color: #94a3b8;
  background: white;
  padding: 0 10px;
}

.auth-other-methods {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.auth-other-methods a { color: #64748b; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.auth-other-methods a:hover { color: #2563eb; }
.auth-other-methods i { font-size: 16px; }
.auth-other-methods .dot { color: #cbd5e0; }

.auth-switch {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: #64748b;
}
.auth-switch a { color: #2563eb; text-decoration: none; font-weight: 500; }
.auth-switch a:hover { text-decoration: underline; }

.auth-footer {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  text-align: center;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e8e8ec;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
  background: #fff;
}

.form-group input::placeholder { color: #bbb; }

.form-group.checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-group.checkbox input[type="checkbox"] { width: auto; }

.btn-primary {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  border: none;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  width: 100%;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(231,76,60,0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.btn-primary:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(231,76,60,0.35);
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(231,76,60,0.25);
}

.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
  background: #ffffff;
  color: #555;
  border: 1.5px solid #e0e0e5;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.btn-secondary:hover {
  background: #f8f8fa;
  border-color: #d0d0d5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.btn-success {
  background: linear-gradient(135deg, #27ae60 0%, #219a52 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(39,174,96,0.2);
  position: relative;
  overflow: hidden;
}

.btn-success::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.btn-success:hover {
  box-shadow: 0 4px 16px rgba(39,174,96,0.3);
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-text {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s;
  font-weight: 500;
}

.btn-text:hover { background: rgba(231,76,60,0.08); }

.btn-text.danger { color: #ef4444; }
.btn-text.danger:hover { background: rgba(239,68,68,0.08); }
.btn-text.warning { color: #f39c12; }
.btn-text.warning:hover { background: rgba(243,156,18,0.08); }
.btn-text.primary { color: #e74c3c; }

.btn-icon {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 20px;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-icon:hover { color: #333; background: #f0f0f3; }

.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
  border-radius: 8px;
  font-weight: 600;
}

.auth-switch {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: #999;
}

.auth-switch a { color: #e74c3c; text-decoration: none; font-weight: 500; }
.auth-switch a:hover { text-decoration: underline; }

.auth-footer-tip {
  margin-top: 24px;
  padding: 12px 16px;
  background: #fff7e6;
  border: 1px solid #ffe1ad;
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  color: #ad6800;
  line-height: 1.5;
}

.auth-footer-tip p { margin: 0; display: flex; align-items: center; justify-content: center; gap: 4px; }
.auth-footer-tip i { font-size: 14px; }

/* ========== 主应用布局 ========== */
.app-layout { display: flex; min-height: 100vh; }

/* ========== 左侧边栏 ========== */
.sidebar {
  width: 240px;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  box-shadow: 2px 0 20px rgba(0,0,0,0.15);
}

.sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: #e74c3c;
  letter-spacing: 2px;
}

.logo i { font-size: 24px; color: #e74c3c; }

.sidebar-header p {
  font-size: 11px;
  opacity: 0.4;
  margin-top: 4px;
  letter-spacing: 1px;
}

/* ========== 轮播图 ========== */
.carousel-section {
  margin-bottom: 20px;
}
.carousel-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a2e;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  min-width: 100%;
  position: relative;
}
.carousel-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}
.carousel-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.carousel-slide-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.carousel-slide-sub {
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  margin-top: 2px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.7);
  color: #1a1a2e;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
}
.carousel-container:hover .carousel-btn {
  opacity: 1;
}
.carousel-btn:hover { background: #fff; }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.2s;
}
.carousel-dot.active {
  background: #fff;
  width: 18px;
  border-radius: 3px;
}

/* 用户卡片 */
.user-card {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* 头像容器 - 支持图片和上传 */
.user-avatar-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.user-avatar-wrap:hover .avatar-upload-hint {
  opacity: 1;
}
.user-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.avatar-upload-hint {
  position: absolute;
  bottom: 0;
  right: -2px;
  width: 20px;
  height: 20px;
  background: #4f46e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.user-avatar-wrap:hover .user-avatar {
  opacity: 0.85;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  user-select: none;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}

.user-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.verified-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(231,76,60,0.2);
  color: #e74c3c;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 500;
}

.verified-badge.unverified {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
}

.user-meta p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.user-meta p i { font-size: 13px; width: 16px; text-align: center; }

/* 管理员可编辑字段 */
.editable-field {
  position: relative;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.editable-field:hover { background: rgba(231,76,60,0.15); }

.edit-icon {
  display: none;
  margin-left: 4px;
  color: #e74c3c;
  cursor: pointer;
  font-size: 13px;
}

.editable-field:hover .edit-icon { display: inline; }

.admin-quick-edit {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.admin-quick-edit .btn-text {
  font-size: 11px !important;
  padding: 3px 6px !important;
  color: rgba(255,255,255,0.6) !important;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
}

.admin-quick-edit .btn-text:hover {
  background: rgba(231,76,60,0.2) !important;
  color: #e74c3c !important;
  border-color: rgba(231,76,60,0.3);
}

.user-payment-info {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.payment-info-item {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.btn-edit-nickname {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 14px;
  padding: 0 4px;
}

.btn-edit-nickname:hover { color: #e74c3c; }

/* 侧边栏菜单 */
.sidebar-menu { flex: 1; overflow-y: auto; padding: 12px 0; }

.menu-label {
  padding: 8px 20px 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.25);
  font-weight: 600;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.15s;
  border-left: 3px solid transparent;
}

.sidebar-menu a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-left-color: rgba(231,76,60,0.5);
}

.sidebar-menu a.active {
  color: #fff;
  background: rgba(231,76,60,0.15);
  border-left-color: #e74c3c;
  font-weight: 500;
}

.sidebar-menu a i { font-size: 17px; width: 20px; text-align: center; }

.menu-badge {
  background: #e74c3c;
  color: white;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: auto;
  font-weight: 600;
}

.sidebar-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.sidebar-footer button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.15s;
}

.sidebar-footer button:hover { color: #e74c3c; background: rgba(231,76,60,0.1); }

/* ========== 中间内容区 ========== */
.main-content {
  flex: 1;
  margin-left: 240px;
  min-height: 100vh;
  background: #f5f5f8;
}

.page { padding: 0; }

.page-header-bar {
  background: #fff;
  padding: 22px 28px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.page-header-bar h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-header-bar h2 i { font-size: 20px; }

.page-header-bar p {
  font-size: 12px;
  color: #aaa;
  width: 100%;
  margin: 0;
}

/* ========== 筛选工具栏 ========== */
.filter-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
}

.filter-toolbar .filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-toolbar input,
.filter-toolbar select {
  padding: 8px 12px;
  border: 1px solid #e8e8ec;
  border-radius: 6px;
  font-size: 13px;
  background: #fafafa;
}

.filter-toolbar input:focus,
.filter-toolbar select:focus {
  outline: none;
  border-color: #e74c3c;
}

.filter-toolbar .date-range {
  font-size: 13px;
  color: #666;
}

.filter-toolbar .date-range label { font-weight: 500; }

.filter-toolbar .date-range input {
  padding: 6px 10px;
  font-size: 12px;
}

.filter-toolbar .date-range span { color: #999; }

/* ========== 数据表格 ========== */
.data-table-wrapper {
  padding: 0 28px 28px;
  background: #fff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table thead { background: #fafafa; }

.data-table th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  color: #888;
  font-size: 12px;
  border-bottom: 2px solid #f0f0f0;
  white-space: nowrap;
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f5f5f5;
  color: #333;
  vertical-align: middle;
}

.data-table tbody tr { transition: background 0.1s; cursor: pointer; }
.data-table tbody tr:hover { background: #fef8f8; }

.data-table .amount {
  font-weight: 700;
  color: #e74c3c;
  font-size: 14px;
}

.data-table .mono {
  font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
  font-size: 12px;
  color: #666;
}

.table-poster {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.table-concert {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.table-concert strong { font-size: 13px; color: #1a1a2e; }
.table-concert span { font-size: 12px; color: #999; }

/* 状态标签 */
.status-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.status-paid, .status-done, .status-active { background: #e8f8ef; color: #27ae60; }
.status-pending, .status-processing, .status-refunding { background: #fff8e1; color: #f39c12; }
.status-cancelled, .status-inactive { background: #fde8e8; color: #e74c3c; }
.status-dispatched { background: #e3f2fd; color: #2196f3; }

/* ========== 右侧抽屉 ========== */
.drawer-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
  backdrop-filter: blur(2px);
}

.drawer {
  position: fixed;
  top: 0; right: -480px;
  width: 480px;
  height: 100vh;
  background: #fff;
  z-index: 201;
  transition: right 0.3s ease;
  box-shadow: -5px 0 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.drawer.open { right: 0; }

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header h3 { font-size: 16px; font-weight: 700; }

.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }

.detail-section {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f5f5f5;
}

.detail-section:last-child { border-bottom: none; }

.detail-concert-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.detail-concert-title h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
}

.detail-row label {
  color: #999;
  min-width: 80px;
  flex-shrink: 0;
}

.detail-row span { color: #333; text-align: right; word-break: break-all; }

.detail-amount {
  color: #e74c3c;
  font-weight: 700;
  font-size: 18px;
}

.detail-label {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
  font-weight: 500;
}

/* 汇款凭证 */
.payment-proof { border-radius: 8px; overflow: hidden; }
.payment-proof img { width: 100%; display: block; }

.payment-proof-upload {
  border: 2px dashed #e8e8ec;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: border-color 0.2s;
}

.payment-proof-upload:hover { border-color: #e74c3c; }

.upload-placeholder { color: #ccc; }

.upload-placeholder i { font-size: 36px; display: block; margin-bottom: 8px; }

.upload-placeholder p { font-size: 13px; margin-bottom: 2px; }

.upload-hint { font-size: 11px; color: #e74c3c; }

/* ========== 弹窗 ========== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 300;
  backdrop-filter: blur(3px);
}

.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  z-index: 301;
  width: 480px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
}

.modal-body { padding: 20px 24px; overflow-y: auto; flex: 1; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* 表单行 */
.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group { flex: 1; }

/* 区域分隔线 */
.section-divider {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  padding: 12px 0 8px;
  margin-top: 12px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-divider i { color: #e74c3c; }

/* 订单摘要 */
.order-summary {
  background: #fafafa;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.order-summary h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.order-summary p { font-size: 13px; color: #666; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }

.order-total {
  text-align: right;
  font-size: 16px;
  font-weight: 600;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.total-amount { color: #e74c3c; font-size: 22px; font-weight: 800; }

/* ========== 统计卡片 ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 28px;
}

.stat-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: all 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.stat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.stat-icon.blue { background: #e3f2fd; color: #2196f3; }
.stat-icon.orange { background: #fff3e0; color: #f39c12; }
.stat-icon.green { background: #e8f5e9; color: #27ae60; }
.stat-icon.purple { background: #f3e5f5; color: #9c27b0; }

.stat-info .stat-value { font-size: 20px; font-weight: 800; color: #1a1a2e; }
.stat-info .stat-label { font-size: 12px; color: #999; margin-top: 2px; }

/* ========== 管理标签 ========== */
.admin-tabs {
  display: flex;
  gap: 0;
  padding: 0 28px;
  background: #fff;
  border-bottom: 2px solid #f0f0f0;
}

.admin-tabs .tab {
  padding: 12px 20px;
  border: none;
  background: none;
  font-size: 13px;
  color: #888;
  cursor: pointer;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
}

.admin-tabs .tab:hover { color: #333; }

.admin-tabs .tab.active {
  color: #e74c3c;
  font-weight: 600;
  border-bottom-color: #e74c3c;
}

.admin-content { padding: 20px 28px; background: #fff; }

/* ========== 收款方式卡片 ========== */
.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.payment-card {
  background: #fafafa;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.payment-header {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.payment-header.alipay { background: #e3f2fd; color: #1677ff; }
.payment-header.wechat { background: #e8f5e9; color: #07c160; }
.payment-header.bank { background: #fff3e0; color: #f39c12; }

.payment-header h3 { font-size: 14px; margin: 0; }

.payment-body { padding: 14px 16px; }

.payment-section {
  margin-top: 12px;
  padding: 12px;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}

.payment-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.payment-section-title .btn-icon-sm { margin-left: auto; }

/* ========== 收款方式展示卡片 ========== */
.payment-display-section { padding: 20px 28px; background: #fff; }

.section-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-title i { color: #e74c3c; }

.payment-cards-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.payment-display-card {
  min-width: 220px;
  padding: 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.payment-display-card.alipay { background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%); color: white; }
.payment-display-card.wechat { background: linear-gradient(135deg, #07c160 0%, #2dc84d 100%); color: white; }
.payment-display-card.bank { background: linear-gradient(135deg, #f39c12 0%, #f7b731 100%); color: white; }

.payment-card-icon { font-size: 28px; opacity: 0.9; }

.payment-card-title { font-size: 13px; font-weight: 600; opacity: 0.9; }
.payment-card-name { font-size: 14px; font-weight: 700; margin-top: 2px; }
.payment-card-account { font-size: 11px; opacity: 0.8; margin-top: 2px; }

/* ========== 演唱会网格 ========== */
.concert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding: 20px 28px;
}

.concert-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.2s;
}

.concert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.concert-image {
  height: 160px;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 60%, #a93226 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
  position: relative;
}

.concert-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(transparent, rgba(0,0,0,0.15));
}

.concert-info { padding: 16px; }

.concert-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
  line-height: 1.4;
  display: inline;
}

.real-name-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: #e67e22;
  background: #fef3e2;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 500;
}

.real-name-notice {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 8px 12px;
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 6px;
  font-size: 12px;
  color: #ad6800;
  margin-bottom: 12px;
  line-height: 1.6;
}

.real-name-notice i {
  font-size: 16px;
  color: #faad14;
  flex-shrink: 0;
  margin-top: 1px;
}

.concert-info p {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.concert-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f5f5f5;
}

.concert-footer .price { font-size: 20px; font-weight: 800; color: #e74c3c; }
.concert-footer .tickets { font-size: 12px; color: #999; }

/* ========== 聊天布局 ========== */
.chat-layout { display: flex; height: calc(100vh - 60px); background: #fff; }

.chat-contacts {
  width: 260px;
  border-right: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  background: #fafafa;
}

.contacts-header {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.contacts-header h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.contacts-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e8e8ec;
  border-radius: 20px;
  font-size: 12px;
  background: #fff;
}

.contacts-list { flex: 1; overflow-y: auto; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #f5f5f5;
}

.contact-item:hover { background: #f0f0f0; }
.contact-item.active { background: #fef8f8; border-left: 3px solid #e74c3c; }

.contact-avatar {
  width: 40px; height: 40px;
  background: #e8e8ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  user-select: none;
}

.contact-avatar.online::after {
  content: '';
  width: 10px; height: 10px;
  background: #27ae60;
  border-radius: 50%;
  position: absolute;
  bottom: 0; right: 0;
  border: 2px solid #fafafa;
}

.contact-info { flex: 1; min-width: 0; }

.contact-name { font-size: 13px; font-weight: 600; color: #333; }

.contact-preview {
  font-size: 11px;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.contact-meta { text-align: right; flex-shrink: 0; }

.contact-time { font-size: 10px; color: #bbb; display: block; }

.contact-unread {
  background: #e74c3c;
  color: white;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 10px;
  margin-top: 4px;
  display: inline-block;
}

/* 聊天窗口 */
.chat-room {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #f5f5f8;
}

.chat-room.empty {
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 14px;
  gap: 8px;
}

.chat-room.empty i { font-size: 48px; }

.chat-room-header {
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-room-title { display: flex; align-items: center; gap: 10px; }

.chat-user-info { display: flex; align-items: center; gap: 8px; }

.chat-user-avatar {
  width: 32px; height: 32px;
  background: #e74c3c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.chat-user-id { font-size: 12px; color: #999; }

.chat-order-tag {
  background: #fff3e0;
  color: #f39c12;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.chat-room-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.message-bubble {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.message-bubble.self { flex-direction: row-reverse; }

.message-avatar {
  width: 34px; height: 34px;
  background: #e8e8ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #999;
  flex-shrink: 0;
}

.message-bubble.self .message-avatar { background: #e74c3c; color: white; }

.message-content { max-width: 60%; }

.message-sender { font-size: 11px; color: #999; margin-bottom: 3px; }

.message-text {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}

.message-bubble.other .message-text { background: #fff; color: #333; border-top-left-radius: 4px; }
.message-bubble.self .message-text { background: #e74c3c; color: white; border-top-right-radius: 4px; }

.message-time { font-size: 10px; color: #bbb; margin-top: 3px; }
.message-bubble.self .message-time { text-align: right; }

.chat-empty {
  text-align: center;
  color: #ccc;
  padding: 60px 0;
}

.chat-empty i { font-size: 48px; display: block; margin-bottom: 8px; }

.chat-room-footer { background: #fff; border-top: 1px solid #f0f0f0; }

.chat-toolbar {
  padding: 6px 16px;
  display: flex;
  gap: 4px;
}

.tool-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.tool-btn:hover { color: #e74c3c; background: #f5f5f8; }

.chat-input-box {
  display: flex;
  gap: 10px;
  padding: 8px 16px 14px;
}

.chat-input-box textarea {
  flex: 1;
  border: 1px solid #e8e8ec;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  resize: none;
  height: 60px;
  font-family: inherit;
}

.chat-input-box textarea:focus { outline: none; border-color: #e74c3c; }

.chat-input-box .btn-primary { width: auto; padding: 10px 18px; }

/* ========== 转账进度 ========== */
.transfer-progress {
  padding: 16px 28px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
  color: #666;
}

.progress-bar {
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e74c3c, #c0392b);
  border-radius: 3px;
  transition: width 0.3s;
}

.transfer-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pm-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0,0,0,0.04);
}

.muted {
  color: #999;
  font-size: 12px;
}

.transfer-avatar {
  width: 32px; height: 32px;
  background: #e8e8ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #999;
}

/* ========== 空状态 ========== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #ccc;
}

.empty-state i { font-size: 48px; display: block; margin-bottom: 10px; }
.empty-state p { font-size: 14px; }

/* ========== Toast ========== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  animation: toastIn 0.3s ease;
}

.toast.success { background: #e8f5e9; color: #27ae60; border-left: 4px solid #27ae60; }
.toast.error { background: #fde8e8; color: #e74c3c; border-left: 4px solid #e74c3c; }
.toast.info { background: #e3f2fd; color: #2196f3; border-left: 4px solid #2196f3; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ========== 右键上下文菜单 ========== */
.context-menu {
  position: fixed;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 500;
  min-width: 120px;
  padding: 4px;
  border: 1px solid #f0f0f0;
}

.context-menu-item {
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.1s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.context-menu-item:hover { background: #f5f5f8; }
.context-menu-item.danger { color: #ef4444; }
.context-menu-item.danger:hover { background: #fef2f2; }

/* ========== 客户管理样式 ========== */
.customer-detail-modal .modal-body { max-height: 70vh; overflow-y: auto; }

.btn-icon-sm {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  font-size: 15px;
  color: #999;
  transition: all 0.15s;
}

.btn-icon-sm:hover { color: #e74c3c; background: #fef8f8; }
.btn-icon-sm.danger:hover { color: #ef4444; background: #fef2f2; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .sidebar { width: 200px; }
  .main-content { margin-left: 200px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .payment-methods { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .sidebar { display: none; }
  .main-content { margin-left: 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .concert-grid { grid-template-columns: 1fr; }
  .chat-layout { flex-direction: column; }
  .chat-contacts { width: 100%; height: 200px; }
  .modal { width: 95% !important; }
  .drawer { width: 100%; }
}

/* ========== 聊天增强样式 ========== */
.chat-date-divider {
  text-align: center;
  margin: 16px 0;
  position: relative;
}

.chat-date-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e8e8ec;
}

.chat-date-divider span {
  background: #f5f5f8;
  padding: 0 12px;
  font-size: 11px;
  color: #bbb;
  position: relative;
}

/* ========== 管理员操作日志 ========== */
.admin-log-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.1s;
}

.admin-log-item:hover { background: #fafafa; }

.log-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.log-icon.edit { background: #fff3e0; color: #f39c12; }
.log-icon.delete { background: #fde8e8; color: #e74c3c; }
.log-icon.create { background: #e8f5e9; color: #27ae60; }
.log-icon.login { background: #e3f2fd; color: #2196f3; }

.log-text { flex: 1; font-size: 13px; color: #555; }
.log-time { font-size: 11px; color: #bbb; }

/* ========== 卡片悬浮效果 ========== */
.card-hover {
  transition: all 0.2s;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(0,0,0,0.1);
}

/* ========== 表格增强 ========== */
.data-table tbody tr .row-actions {
  opacity: 0;
  transition: opacity 0.15s;
}

.data-table tbody tr:hover .row-actions { opacity: 1; }

/* ========== 通知列表 ========== */
.notification-list { padding: 0; }

.notification-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.1s;
  cursor: pointer;
}

.notification-item:hover { background: #fafafa; }
.notification-item.unread { background: #fef8f8; }

.notification-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.notification-icon.order_created { background: #e3f2fd; color: #2196f3; }
.notification-icon.payment_success { background: #e8f5e9; color: #27ae60; }
.notification-icon.status_update { background: #fff3e0; color: #f39c12; }
.notification-icon.order_cancelled { background: #fde8e8; color: #e74c3c; }
.notification-icon.price_update { background: #f3e5f5; color: #9c27b0; }
.notification-icon.custom { background: #f5f5f8; color: #666; }

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

.notification-title { font-size: 13px; font-weight: 600; color: #333; }
.notification-message { font-size: 12px; color: #888; margin-top: 2px; }
.notification-time { font-size: 11px; color: #bbb; margin-top: 2px; }

.notification-badge {
  width: 8px; height: 8px;
  background: #e74c3c;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========== 安全脱敏 ========== */
.sensitive-field { font-family: 'SF Mono', monospace; font-size: 12px; }

/* ========== 权限配置列表 ========== */
.permission-item {
  transition: all 0.15s;
}

.permission-item:hover {
  border-color: #e74c3c !important;
}

/* ========== 统计卡片可点击 ========== */
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(0,0,0,0.1);
}

.stat-card:active { transform: translateY(0); }

/* ========== 账号详情标签 ========== */
.account-detail-tab {
  transition: all 0.2s;
}

.account-detail-tab.active {
  background: #e74c3c !important;
  color: white !important;
  font-weight: bold;
  border: none !important;
}

.account-detail-tab:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ========== 自定义滚动条 ========== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #bbb; }

.sidebar ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); }

/* ========== 表格容器 ========== */
.table-container { padding: 0 28px 28px; }

.table-container table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table-container thead { background: #fafafa; }

.table-container th {
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  color: #888;
  font-size: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.table-container td {
  padding: 10px 12px;
  border-bottom: 1px solid #f5f5f5;
  color: #333;
}

/* ========== 支付方式选择 ========== */
.payment-method-select {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.payment-method-option {
  flex: 1;
  padding: 12px;
  border: 2px solid #e8e8ec;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-method-option:hover { border-color: #e74c3c; }
.payment-method-option.selected { border-color: #e74c3c; background: #fef8f8; }

.payment-method-option i { font-size: 24px; display: block; margin-bottom: 4px; }
.payment-method-option span { font-size: 12px; color: #666; }

/* ========== 账号详情弹窗 ========== */
.account-detail-modal {
  width: 820px;
  max-height: 92vh;
  border-radius: 16px;
  overflow: hidden;
}

.account-detail-modal .modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.account-detail-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  flex-shrink: 0;
}

.account-detail-title h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.3;
}

.account-detail-title p {
  font-size: 13px;
  color: #999;
  margin: 2px 0 0 0;
}

/* 详情标签栏 */
.account-detail-tabs {
  display: flex;
  gap: 0;
  padding: 0 24px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}

.detail-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  border: none;
  background: none;
  font-size: 13px;
  color: #888;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
  font-weight: 500;
  white-space: nowrap;
}

.detail-tab i { font-size: 16px; }

.detail-tab:hover {
  color: #333;
  background: rgba(231,76,60,0.03);
}

.detail-tab.active {
  color: #e74c3c;
  font-weight: 600;
  border-bottom-color: #e74c3c;
}

/* 详情主体 */
.account-detail-body {
  overflow-y: auto;
  max-height: calc(92vh - 160px);
  padding: 24px;
}

.detail-panel {
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 详情分区 */
.detail-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f5f5f5;
}

.detail-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.detail-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e8e8ec;
}

.detail-section-title i {
  font-size: 18px;
  color: #e74c3c;
}

/* 表单网格布局 */
.detail-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.detail-form-grid .form-group:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.detail-form-grid .form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #888;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.detail-form-grid .form-group input,
.detail-form-grid .form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e8e8ec;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s;
  background: #fafafa;
}

.detail-form-grid .form-group input:focus,
.detail-form-grid .form-group select:focus {
  outline: none;
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.08);
  background: #fff;
}

.detail-form-grid .amount-input {
  font-weight: 700;
  color: #e74c3c;
  font-size: 16px;
}

/* 详情区块头部 */
.detail-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.detail-section-actions {
  display: flex;
  gap: 8px;
}

.empty-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}

.detail-hint {
  font-size: 13px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.detail-hint i { color: #2196f3; }

/* 银行卡卡片 */
.bank-card-item {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.bank-card-visual {
  padding: 24px;
  color: white;
  position: relative;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bank-card-chip {
  font-size: 28px;
  opacity: 0.8;
  margin-bottom: 16px;
}

.bank-card-number {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 3px;
  font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
  margin-bottom: 16px;
}

.bank-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.bank-card-holder {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

.bank-card-bank {
  font-size: 12px;
  opacity: 0.85;
}

.bank-card-form {
  padding: 18px 22px 20px;
  background: #fff;
}

.bank-card-form .detail-form-grid {
  gap: 14px 18px;
}

.bank-card-form .form-group {
  margin-bottom: 0;
}

.bank-card-form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: #666;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-align: left;
  min-height: 18px;
  line-height: 1.4;
}

.bank-card-form .form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  box-sizing: border-box;
}

.bank-card-form .form-group input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.bank-card-form .form-group.bank-select-group {
  overflow: visible;
}

.bank-card-actions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #eee;
  text-align: right;
}

/* 空状态 */
.empty-bank-card {
  text-align: center;
  padding: 48px 20px;
  color: #ccc;
  background: #fafafa;
  border-radius: 12px;
  border: 2px dashed #e8e8ec;
}

.empty-bank-card i {
  font-size: 52px;
  display: block;
  margin-bottom: 12px;
  opacity: 0.5;
}

.empty-bank-card p {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 16px;
}

/* 订单卡片 */
.order-card-item {
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid #eee;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}

.order-card-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.order-card-no {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.order-card-no i { color: #e74c3c; }

.order-card-actions-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-card-body {
  padding: 16px;
}

/* 聊天消息卡片 */
.chat-message-item {
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid #eee;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.chat-message-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.chat-sender-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-sender-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.chat-sender-badge.customer {
  background: #fff8e1;
  color: #f39c12;
}

.chat-sender-badge.staff {
  background: #e8f5e9;
  color: #27ae60;
}

.chat-time {
  font-size: 12px;
  color: #bbb;
}

.chat-message-content {
  padding: 12px 16px;
}

.chat-textarea {
  width: 100%;
  border: 1px solid #e8e8ec;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s;
  background: #fafafa;
}

.chat-textarea:focus {
  outline: none;
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.08);
  background: #fff;
}

.chat-message-meta {
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.chat-message-meta .form-group label {
  font-size: 11px;
  color: #999;
  font-weight: 600;
}

.chat-message-meta .form-group select,
.chat-message-meta .form-group input {
  padding: 6px 10px;
  font-size: 12px;
  border: 1px solid #e8e8ec;
  border-radius: 6px;
  background: #fff;
}

/* 详情提示 */
.detail-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.5;
}

.detail-notice i {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.detail-notice.warning {
  background: #fff8e1;
  color: #8d6e00;
  border: 1px solid #ffe082;
}

.detail-notice.warning i { color: #f39c12; }

/* 权限组 */
.permission-group {
  margin-bottom: 24px;
}

.permission-group-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.permission-group-title i {
  font-size: 18px;
  color: #e74c3c;
}

.permission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.permission-card {
  display: block;
  position: relative;
  padding: 14px 16px;
  background: #fafafa;
  border: 2px solid #eee;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.permission-card:hover {
  border-color: #ddd;
  background: #f5f5f8;
}

.permission-card input[type="checkbox"] {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  accent-color: #e74c3c;
  cursor: pointer;
}

.permission-card:has(input:checked) {
  border-color: #e74c3c;
  background: #fef8f8;
}

.permission-card-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 28px;
}

.permission-card-content > i {
  font-size: 22px;
  color: #e74c3c;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.permission-card-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 2px;
}

.permission-card-text span {
  display: block;
  font-size: 12px;
  color: #999;
}

.permission-quick-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.permission-quick-actions .btn-success,
.permission-quick-actions .btn-secondary {
  flex: 1;
  padding: 12px;
  font-size: 14px;
}

/* ========== 真实票务APP风格优化 ========== */

/* 登录页面更逼真 */
.auth-container {
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 30%, #0f3460 60%, #1a1a2e 100%);
}

.auth-card {
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.5);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
}

.auth-logo {
  font-size: 32px;
  color: #e74c3c;
}

.auth-logo i { color: #e74c3c; font-size: 36px; }

.auth-header p {
  color: #999;
  font-size: 12px;
  letter-spacing: 2px;
}

/* 登录表单在白卡片上更精致 */
.auth-form h2 {
  color: #1a1a2e;
  font-size: 20px;
  font-weight: 700;
}

.auth-form .form-group input {
  background: #f5f5f8;
  border: 1.5px solid #eee;
  border-radius: 10px;
  padding: 12px 14px 12px 42px;
  font-size: 15px;
  color: #333;
}

.auth-form .form-group input:focus {
  border-color: #e74c3c;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}

.auth-form .btn-primary {
  border-radius: 10px;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

.auth-form .input-icon {
  color: #ccc;
  font-size: 18px;
}

/* 演唱会卡片更逼真 - 代拍票务APP风格 */
.concert-card {
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: #fff;
}

.concert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.concert-image {
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.concert-image-bg {
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 0.3;
  filter: blur(20px);
  transform: scale(1.2);
}

.concert-image-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.concert-image-content i {
  font-size: 48px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.concert-artist-name {
  color: rgba(255,255,255,0.95);
  font-size: 16px;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  letter-spacing: 1px;
}

.concert-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,152,0,0.9);
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.concert-badge.soldout {
  background: rgba(0,0,0,0.6);
  letter-spacing: 1px;
}

.concert-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0,0,0,0.15));
  z-index: 0;
}

/* 海报图 */
.concert-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.concert-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

/* 标签 */
.concert-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.concert-tag {
  background: rgba(255,255,255,0.92);
  color: #e74c3c;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

/* 日期徽章 */
.concert-date-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 4px;
}

.concert-date-badge i {
  font-size: 12px;
}

/* 描述 */
.concert-desc {
  font-size: 12px;
  color: #777;
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 座位区 */
.concert-seat-info {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}

.seat-tag {
  font-size: 11px;
  background: #f0f4ff;
  color: #4a5fc1;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.seat-more {
  font-size: 11px;
  color: #999;
  padding: 3px 4px;
}

.concert-info {
  padding: 16px 18px 18px;
}

.concert-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== 验证码输入框（手机号注册） ========== */
.form-group-code {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.form-group-code input {
  flex: 1;
}

.btn-code {
  flex-shrink: 0;
  padding: 0 14px;
  background: #fff;
  color: #e74c3c;
  border: 1px solid #e74c3c;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-code:hover:not(:disabled) {
  background: #e74c3c;
  color: #fff;
}

/* ============ 实名认证 ============ */
.real-name-tips {
  background: #fff7e6;
  border: 1px solid #ffe0a0;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #b07219;
  font-size: 12px;
  line-height: 1.6;
}
.real-name-tips i { color: #f59e0b; font-size: 16px; flex-shrink: 0; }
.real-name-tips p { margin: 0; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.id-card-preview {
  margin-top: -8px;
  margin-bottom: 12px;
  font-size: 12px;
}
.real-name-agreement {
  margin: 16px 0 20px;
  font-size: 12px;
  color: #666;
}
.real-name-agreement label { display: flex; align-items: flex-start; gap: 6px; cursor: pointer; }
.real-name-agreement input[type="checkbox"] { margin-top: 2px; }
.real-name-skip {
  text-align: center;
  color: #999;
  font-size: 12px;
  margin-top: 12px;
  cursor: pointer;
  text-decoration: underline;
}
.real-name-verified { text-align: center; padding: 10px 0; }
.verified-icon { font-size: 60px; color: #27ae60; margin-bottom: 8px; }
.real-name-verified h4 { color: #27ae60; margin-bottom: 16px; }
.real-name-info {
  text-align: left;
  background: #fafafa;
  border-radius: 6px;
  padding: 14px 18px;
  margin: 16px 0;
}
.real-name-info p { margin: 6px 0; font-size: 13px; color: #333; }
.real-name-info span { color: #999; display: inline-block; min-width: 80px; }
.real-name-info strong { color: #333; }
.bank-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  text-align: left;
}
.bank-section h4 { font-size: 14px; color: #333; margin-bottom: 10px; }
.bank-info {
  background: #f5f7fa;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.bank-info p { margin: 4px 0; font-size: 13px; }
.bank-empty {
  text-align: center;
  padding: 20px 0;
  color: #999;
}
.bank-empty i { font-size: 32px; display: block; margin-bottom: 6px; color: #ddd; }
.bank-empty p { font-size: 12px; }
.auth-form-tip {
  font-size: 12px;
  color: #888;
  margin: -4px 0 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.auth-form-tip i { color: #f59e0b; }

/* ============ 销售管理 - 魔法按钮 ============ */
.btn-magic {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #f59e0b 0%, #e74c3c 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}
.btn-magic:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,158,11,0.4);
}
.btn-magic:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============ 销售管理 - 页面头 ============ */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.page-header h2 { margin: 0; font-size: 18px; color: #333; display: flex; align-items: center; gap: 8px; }
.page-header h2 i { color: #e74c3c; }
.page-header-actions { display: flex; align-items: center; gap: 14px; }
.stat-mini {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #666;
  padding: 4px 10px;
  background: #fff7e6;
  border-radius: 4px;
}
.stat-mini strong { color: #e74c3c; font-size: 15px; }

/* ============ 销售排行 ============ */
.ranking-bar {
  background: #fff;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.ranking-bar h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ranking-bar h4 i { color: #f59e0b; }
.ranking-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ranking-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f8f9fb;
  border-radius: 16px;
  font-size: 13px;
}
.rank-num {
  background: #ddd;
  color: #fff;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
}
.rank-num.top-rank { background: linear-gradient(135deg, #ffd700, #ff8c00); }
.rank-name { color: #333; font-weight: 600; }
.rank-count { color: #888; font-size: 12px; }
.rank-total { color: #e74c3c; font-weight: 700; }

/* ============ 角色标签 ============ */
.role-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}
.role-pill.role-super {
  background: #fff3e0;
  color: #f59e0b;
  border: 1px solid #f59e0b;
}
.role-pill.role-sales {
  background: #e3f2fd;
  color: #1976d2;
  border: 1px solid #1976d2;
}

/* 工具按钮 */
.btn-text-danger { color: #e74c3c !important; }
.btn-text-danger:hover { background: #fee !important; }
.text-muted { color: #999; }
.text-center { text-align: center; }
.small { font-size: 12px; }
.form-group select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  background: #fff;
}
.form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
}
.form-group input[disabled] {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.btn-code:disabled {
  color: #999;
  border-color: #ddd;
  background: #f7f7f7;
  cursor: not-allowed;
}

/* ============ 实名认证 - 输入框图标垂直居中 ============ */
.form-group-icon .input-wrap {
  position: relative;
  display: block;
}
.form-group-icon .input-wrap .input-icon-l {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}
.form-group-icon .input-wrap input,
.form-group-icon .input-wrap select {
  width: 100%;
  padding: 10px 12px 10px 38px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.form-group-icon .input-wrap input:focus,
.form-group-icon .input-wrap select:focus {
  outline: none;
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.08);
}
.form-group-icon .input-wrap select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 32px;
}
.real-name-tips {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff7e6;
  border: 1px solid #ffd591;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #874d00;
}
.real-name-tips i { color: #fa8c16; font-size: 16px; margin-top: 2px; }
.real-name-tips p { margin: 0; line-height: 1.5; }
.id-card-preview {
  font-size: 12px;
  padding: 6px 0;
  margin-top: 4px;
}
.id-card-preview p { margin: 0; display: flex; align-items: center; gap: 4px; }
.real-name-agreement {
  font-size: 13px;
  color: #666;
  margin: 16px 0 12px;
}
.real-name-agreement label {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  cursor: pointer;
}
.real-name-agreement input[type=checkbox] { margin-top: 2px; }
.real-name-skip {
  text-align: center;
  color: #999;
  font-size: 12px;
  margin-top: 12px;
  cursor: pointer;
}
.real-name-skip:hover { color: #e74c3c; }
.real-name-verified { text-align: center; padding: 20px 0; }
.verified-icon i { font-size: 56px; color: #27ae60; }
.real-name-verified h4 { color: #27ae60; margin: 12px 0 20px; }
.real-name-info {
  text-align: left;
  background: #f8f9fb;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.real-name-info p {
  margin: 6px 0;
  font-size: 13px;
  color: #666;
  display: flex;
  justify-content: space-between;
}
.real-name-info strong { color: #333; }
.bank-section {
  text-align: left;
  background: #f0f8ff;
  border: 1px solid #d6e4ff;
  border-radius: 6px;
  padding: 14px 16px;
}
.bank-section h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #1976d2;
  display: flex;
  align-items: center;
  gap: 4px;
}
.bank-info p { margin: 4px 0; font-size: 13px; color: #333; }
.bank-empty {
  text-align: center;
  padding: 14px 0;
  color: #999;
}
.bank-empty i { font-size: 32px; color: #ccc; display: block; }
.bank-empty p { margin: 6px 0; font-size: 13px; }
.bank-section .btn-secondary { margin-top: 8px; width: 100%; }

/* 兼容老式 .input-icon 占位（其它表单仍用） */
.form-group .input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}
.form-group { position: relative; }
.form-group input.with-icon { padding-left: 38px; }

/* ============ 下单 - 座位区域选择 ============ */
.seat-area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 6px;
}
.seat-area-option {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s;
  position: relative;
}
.seat-area-option:hover:not(.disabled) {
  border-color: #e74c3c;
  background: #fff5f4;
}
.seat-area-option.active {
  border-color: #e74c3c;
  background: linear-gradient(135deg, #fff5f4, #fff);
  box-shadow: 0 2px 8px rgba(231,76,60,0.15);
}
.seat-area-option.active::after {
  content: "\F633"; /* ri-check-fill */
  font-family: "remixicon" !important;
  position: absolute;
  top: 6px;
  right: 8px;
  color: #e74c3c;
  font-size: 16px;
}
.seat-area-option.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f7f7f7;
}
.seat-area-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}
.seat-area-name i { color: #e74c3c; font-size: 16px; }
.seat-area-price {
  font-size: 16px;
  font-weight: 700;
  color: #e74c3c;
  margin-bottom: 2px;
}
.seat-area-stock {
  font-size: 12px;
  color: #999;
}
.seat-area-stock.low {
  color: #ff7a45;
  font-weight: 600;
}
.seat-area-stock.low::before {
  content: "🔥";
  margin-right: 2px;
}

/* ========== emoji 表情面板 ========== */
.tool-btn.active {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.emoji-panel {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  margin-bottom: 8px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

.emoji-panel-header {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.emoji-cat-btn {
  flex-shrink: 0;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.emoji-cat-btn:hover {
  background: #fff;
  color: #e74c3c;
}

.emoji-cat-btn.active {
  background: #fff;
  border-color: #e74c3c;
  color: #e74c3c;
  font-weight: 600;
}

.emoji-panel-body {
  height: 180px;
  overflow-y: auto;
  padding: 8px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-content: flex-start;
}

.emoji-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.1s;
  user-select: none;
}

.emoji-item:hover {
  background: #f5f5f5;
  transform: scale(1.2);
}

/* 让表情消息渲染得自然 */
.message-text {
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
  white-space: pre-wrap;
}

.concert-detail-modal {
  width: 720px;
  max-width: 95vw;
  max-height: 92vh;
  overflow-y: auto;
  padding: 0;
  position: relative;
}

.concert-detail-poster {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: #e74c3c;
  background-image: linear-gradient(135deg, #e74c3c, #c0392b);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border-radius: 12px 12px 0 0;
}

.concert-detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
  border-radius: 12px 12px 0 0;
}

.concert-detail-header {
  position: relative;
  z-index: 1;
  color: #fff;
  width: 100%;
}

.concert-detail-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.concert-detail-tags .concert-tag {
  background: rgba(255,255,255,0.95);
  color: #e74c3c;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
}

.concert-detail-header h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.concert-detail-artist {
  font-size: 14px;
  opacity: 0.95;
  margin: 0;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.modal-close-btn:hover {
  background: rgba(0,0,0,0.7);
}

.concert-detail-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  padding: 16px 20px;
  background: #fafbff;
  border-radius: 8px;
  margin-bottom: 18px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #f7f9fc;
  border-radius: 8px;
  border-left: 3px solid #e74c3c;
}

.info-item i {
  font-size: 20px;
  color: #e74c3c;
}

.info-label {
  font-size: 11px;
  color: #999;
  margin-bottom: 2px;
}

.info-value {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
}

.section-divider {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 18px 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-divider i {
  color: #e74c3c;
}

.seat-areas-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.seat-area-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: linear-gradient(135deg, #fff5f3 0%, #ffe8e3 100%);
  border: 1px solid #ffd5cc;
  border-radius: 8px;
}

.seat-area-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
}

.seat-area-price {
  font-size: 16px;
  font-weight: 700;
  color: #e74c3c;
}

.seat-area-stock {
  font-size: 11px;
  color: #999;
  margin-left: 6px;
}

.service-guarantee {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f7f9fc;
  border-radius: 8px;
  padding: 14px 16px;
}

.service-guarantee li {
  font-size: 13px;
  color: #555;
  line-height: 1.9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-guarantee li i {
  color: #4caf50;
  font-size: 16px;
}

.concert-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafbff;
}

.footer-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.footer-price .price {
  font-size: 24px;
  font-weight: 800;
  color: #e74c3c;
}

.concert-meta p {
  font-size: 12px;
  color: #888;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.concert-meta p i {
  font-size: 13px;
  width: 16px;
  color: #bbb;
}

.concert-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f5f5f5;
}

.concert-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-label {
  font-size: 11px;
  color: #999;
  margin-right: 4px;
}

.concert-footer .price {
  font-size: 22px;
  font-weight: 800;
  color: #e74c3c;
}

.concert-footer .price::before {
  content: '¥';
  font-size: 14px;
  font-weight: 700;
}

.price-unit {
  font-size: 11px;
  color: #bbb;
  margin-left: 2px;
}

.concert-footer .tickets {
  font-size: 12px;
  color: #27ae60;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 3px;
}

.concert-footer .tickets i { font-size: 14px; }

.concert-buy-btn {
  width: 100%;
  margin-top: 14px;
  border-radius: 10px;
  padding: 11px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.concert-buy-btn:disabled {
  background: #e0e0e0 !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}

/* 订单表格更逼真 */
.data-table tbody tr {
  transition: all 0.15s;
}

.data-table tbody tr:hover {
  background: #fef8f8;
}

/* 侧边栏更精致 */
.sidebar {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f1b2d 100%);
}

.user-card {
  padding: 18px 20px;
}

/* 聊天界面更逼真 */
.chat-room-header {
  border-bottom: 1px solid #f0f0f0;
  padding: 14px 20px;
  background: #fff;
}

/* 通知更逼真 */
.notification-item {
  padding: 14px 20px;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: background 0.15s;
  cursor: pointer;
}

.notification-item:hover { background: #fafafa; }

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.notification-body {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.notification-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}

.notification-time {
  font-size: 12px;
  color: #bbb;
  margin-top: 4px;
}

/* 按钮微动效 */
.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

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

/* 状态标签更精致 */
.status-tag {
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* 付款方式展示卡片更逼真 */
.payment-display-card {
  border-radius: 12px;
  min-width: 240px;
  padding: 18px 20px;
}

.payment-card-icon { font-size: 32px; opacity: 0.85; }

.payment-card-title {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

.payment-card-name {
  font-size: 15px;
  font-weight: 700;
  margin-top: 4px;
}

.payment-card-account {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

/* 筛选栏更精致 */
.filter-toolbar {
  padding: 16px 28px;
  gap: 10px;
}

.filter-toolbar input,
.filter-toolbar select {
  border-radius: 8px;
  padding: 9px 14px;
}

/* ========== 登录页输入框图标 ========== */
.form-group {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 16px;
  z-index: 1;
  pointer-events: none;
}

.form-group .input-icon + input {
  padding-left: 42px;
}

/* 管理员邀请码折叠区域 */
.admin-code-section {
  margin: 16px 0;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
}

.admin-code-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #888;
  cursor: pointer;
  transition: all 0.2s;
  background: #fafafa;
}

.admin-code-toggle:hover {
  color: #e74c3c;
  background: #fef8f8;
}

.admin-code-toggle i:first-child { color: #e74c3c; }

.admin-code-field {
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}

/* 演唱会卡片多彩渐变 */
.concert-card:nth-child(6n+1) .concert-image {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 60%, #a93226 100%);
}

.concert-card:nth-child(6n+2) .concert-image {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 60%, #2471a3 100%);
}

.concert-card:nth-child(6n+3) .concert-image {
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 60%, #7d3c98 100%);
}

.concert-card:nth-child(6n+4) .concert-image {
  background: linear-gradient(135deg, #e67e22 0%, #d35400 60%, #ca6f1e 100%);
}

.concert-card:nth-child(6n+5) .concert-image {
  background: linear-gradient(135deg, #1abc9c 0%, #16a085 60%, #138d75 100%);
}

.concert-card:nth-child(6n+6) .concert-image {
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 60%, #ad1457 100%);
}

/* 注册表单也添加图标 */
.auth-form .form-group .input-icon + input {
  padding-left: 42px;
}

/* 统计数字动效 */
.stat-card .stat-value {
  font-variant-numeric: tabular-nums;
}

/* 更真实的按钮hover效果 */
.btn-primary:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(231,76,60,0.35);
}

/* 侧边栏logo更精致 */
.logo {
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* ========== 创建账号弹窗优化 ========== */
.create-account-tip {
  padding: 12px 16px;
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  border-radius: 10px;
  margin-bottom: 20px;
  border-left: 4px solid #4caf50;
  font-size: 13px;
  color: #2e7d32;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

.create-account-tip i { font-size: 16px; }

.required {
  color: #e74c3c;
  font-weight: 600;
}

/* 昵称输入框 + 随机生成按钮 */
.nickname-input-wrapper {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.nickname-input-wrapper input {
  flex: 1;
  min-width: 0;
}

.btn-generate-nickname {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #667eea;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.btn-generate-nickname:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-color: transparent;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.btn-generate-nickname:active {
  transform: scale(0.95);
}

/* ========== 敏感字段脱敏 ========== */
.sensitive-field-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.sensitive-field-wrapper input {
  flex: 1;
  min-width: 0;
  padding-right: 40px !important;
}

.sensitive-toggle-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 16px;
  transition: all 0.2s ease;
  z-index: 2;
}

.sensitive-toggle-btn:hover {
  color: #667eea;
  background: rgba(102,126,234,0.08);
}

.sensitive-toggle-btn:active {
  transform: translateY(-50%) scale(0.9);
}

/* 银行卡眼睛按钮 */
.bank-card-eye {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.bank-card-eye:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.1);
  color: white;
}

.bank-card-eye:active {
  transform: scale(0.9);
}

/* ========== 银行选择下拉 ========== */
.bank-select-group {
  position: relative;
}

.bank-select-wrapper {
  position: relative;
}

.bank-select-wrapper > input {
  width: 100%;
  padding-right: 36px !important;
}

.bank-select-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 18px;
  transition: all 0.2s ease;
  z-index: 2;
}

.bank-select-btn:hover {
  color: #667eea;
  background: rgba(102,126,234,0.06);
}

.bank-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 1000;
  max-height: 260px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bank-select-search {
  padding: 8px 10px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.bank-select-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.bank-select-search input:focus {
  border-color: #667eea;
}

.bank-select-list {
  overflow-y: auto;
  max-height: 210px;
  padding: 4px;
}

.bank-select-item {
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.bank-select-item i {
  color: #667eea;
  font-size: 15px;
}

.bank-select-item:hover {
  background: linear-gradient(135deg, #f0f2ff, #e8ecff);
  color: #4a5fc1;
}

.bank-select-item:active {
  background: #e0e4ff;
}

/* 输入错误样式 */
.input-error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.1) !important;
}

.input-error:focus {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 4px rgba(231,76,60,0.15) !important;
}

/* 弹窗footer按钮统一 */
.modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid #f0f0f0;
}

.modal-footer .btn-secondary,
.modal-footer .btn-primary {
  min-width: 100px;
  height: 42px;
  font-size: 14px;
  border-radius: 10px;
}

.modal-footer .btn-primary {
  padding: 0 28px;
}

/* 账号详情标签页布局 */
.account-detail-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}

.account-detail-tabs .tabs-left {
  display: flex;
  gap: 0;
}

.account-detail-tabs .tabs-right {
  flex-shrink: 0;
}

/* ========== 交易保障 / 退款策略 ========== */
.guarantee-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.guarantee-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.guarantee-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.guarantee-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: #fff;
  font-size: 22px;
}
.guarantee-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a1a2e;
}
.guarantee-card p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}
.guarantee-section {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.guarantee-section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1a1a2e;
}
.refund-rules {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.refund-rule {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}
.refund-status {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.refund-success { background: #d1fae5; color: #059669; }
.refund-warning { background: #fef3c7; color: #d97706; }
.refund-danger { background: #fee2e2; color: #dc2626; }
.refund-detail h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  color: #1a1a2e;
}
.refund-detail p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}
.refund-steps {
  display: flex;
  gap: 16px;
}
.refund-step {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  background: #f8fafc;
  border-radius: 10px;
}
.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #4f46e5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin: 0 auto 10px;
}
.step-info h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #1a1a2e;
}
.step-info p {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}
.guarantee-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  padding: 20px;
  border-radius: 12px;
}
.guarantee-contact i {
  font-size: 32px;
  opacity: 0.9;
}
.guarantee-contact h4 {
  font-size: 15px;
  margin-bottom: 2px;
}
.guarantee-contact p {
  font-size: 12px;
  opacity: 0.85;
}
