/* ===========================
   客服页面
=========================== */

#pageService {
  background: #0B1426;
  padding-bottom: 0 !important;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- 页面头部 --- */
.service-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px 12px;
  background: rgba(11,20,38,0.92);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-sticky);
}

/* 头部占位，防止内容被 fixed 头部遮挡 */
.service-header-spacer {
  height: 52px;
}
.service-back-btn {
  position: absolute;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(30px, 10vw, 38px); height: clamp(30px, 10vw, 38px);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-main);
  font-size: var(--icon-md);
  cursor: pointer;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.service-back-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.14);
}
.service-back-btn:active {
  transform: scale(0.9);
  background: rgba(0,230,138,0.15);
  border-color: rgba(0,230,138,0.30);
  color: var(--primary);
}
.service-header-title {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

/* --- 客服团队横幅 --- */
.service-team-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px;
  padding: 20px 18px;
  background: linear-gradient(135deg, rgba(0,230,138,0.08) 0%, rgba(59,130,246,0.06) 100%);
  border: 1px solid rgba(0,230,138,0.12);
  border-radius: 16px;
}

.service-team-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.service-team-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00E68A, #3B82F6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,230,138,0.25);
}

.service-team-badge {
  font-size: 11px;
  font-weight: 800;
  color: #00E68A;
  background: rgba(0,230,138,0.12);
  border: 1px solid rgba(0,230,138,0.2);
  border-radius: 8px;
  padding: 2px 8px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.service-team-right {
  flex: 1;
  min-width: 0;
}

.service-team-title {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.service-team-desc {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}

/* --- 联系方式区域 --- */
.service-contact-section {
  padding: 0 16px 16px;
}

.service-contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 0;
  margin-bottom: 8px;
  overflow: hidden;
  transition: all 0.15s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.service-contact-card:active {
  transform: scale(0.98);
  background: rgba(0,230,138,0.06);
  border-color: rgba(0,230,138,0.18);
}

.service-contact-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
}

.service-contact-icon {
  width: clamp(36px, 12vw, 48px); height: clamp(36px, 12vw, 48px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--icon-xl);
  flex-shrink: 0;
}
.service-contact-icon.whatsapp {
  background: rgba(37,211,102,0.15);
  color: #25D366;
}
.service-contact-icon.telegram {
  background: rgba(0,136,204,0.15);
  color: #0088CC;
}
.service-contact-icon.chat {
  background: rgba(0,230,138,0.15);
  color: #00E68A;
}
.service-contact-icon.email {
  background: rgba(96,165,250,0.15);
  color: #60A5FA;
}
.service-contact-icon.phone {
  background: rgba(251,146,60,0.15);
  color: #FB923C;
}
.service-contact-icon.line {
  background: rgba(6,199,85,0.15);
  color: #06C755;
}

.service-contact-body {
  flex: 1;
  min-width: 0;
}
.service-contact-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-main);
}
.service-contact-sub {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.service-contact-arrow {
  width: clamp(24px, 8vw, 30px); height: clamp(24px, 8vw, 30px);
  border-radius: 50%;
  background: rgba(0,230,138,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: var(--icon-md);
  flex-shrink: 0;
}

/* --- 工作时间 --- */
.service-hours-section {
  padding: 0 16px 16px;
}

.service-hours-card {
  background: rgba(251,191,36,0.05);
  border: 1px solid rgba(251,191,36,0.12);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-hours-icon {
  font-size: var(--icon-2xl);
  color: #FBBF24;
  flex-shrink: 0;
}
.service-hours-text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.service-hours-text strong {
  color: #FBBF24;
}

/* --- 空状态 --- */
.service-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.service-empty i {
  font-size: var(--icon-3xl);
  opacity: 0.2;
}
.service-empty p {
  margin-top: 12px;
  font-size: var(--fs-sm);
}

/* --- 复制ID按钮复用 --- */
#pageService .copy-id-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(18px, 6.5vw, 22px); height: clamp(18px, 6.5vw, 22px);
  border-radius: 4px;
  background: rgba(0,230,138,0.08);
  border: 1px solid rgba(0,230,138,0.12);
  color: var(--primary);
  font-size: var(--icon-xs);
  cursor: pointer;
  margin-left: 6px;
  vertical-align: -3px;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
#pageService .copy-id-btn:hover {
  background: rgba(0,230,138,0.16);
}
#pageService .copy-id-btn:active {
  transform: scale(0.85);
  background: rgba(0,230,138,0.22);
}
