:root {
  --primary-color: #0d6efd;
  /* 主蓝色，用于高亮、悬浮菜单激活背景 */
  --primary-dark: #0a58ca;
  --accent-color: #ff8c00;
  /* 强调色/星级颜色 */
  --bg-light: #f8f9fc;
  /* 背景浅色 */
  --card-bg: #ffffff;
  /* 卡片背景 */
  --text-main: #1e2a3e;
  /* 主文字色 */
  --text-secondary: #5a6874;
  /* 辅助文字 */
  --border-light: #e9ecef;
  /* 边框浅色 */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --hover-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  --menu-bg: rgba(255, 255, 255, 0.96);
  --menu-icon-size: 1.8rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-light);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  padding-bottom: 90px;
}








/* 开屏动画遮罩层 */
.svg-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.svg-intro.fade-out {
  opacity: 0;
  pointer-events: none;
}

.svg-intro svg-intro-wrap {
  width: 70%;
  height: auto;
  max-width: 600px;
}

.svg-intro path {
  fill: none;
  stroke: #ffd26f;
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 2s ease-in-out forwards, glow 1.5s ease-in-out infinite alternate;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes glow {
  0% {
    filter: drop-shadow(0 0 0px #ffecb3);
  }

  100% {
    filter: drop-shadow(0 0 15px #ffd26f) drop-shadow(0 0 25px #ffecb3);
  }
}










/* 头部区域 */
.custom-header {
  background: var(--card-bg);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(2px);
  background-color: rgba(255, 255, 255, 0.96);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.logo-img img {
  width: 100%;
  height: auto;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, var(--primary-color), #2b6ef0);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

@media (max-width: 768px) {
  .site-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 450px) {
  .site-title {
    font-size: 0.9rem;
  }
}

/* 搜索框 + 搜索按钮组合 */
.search-wrapper {
  display: flex;
  /* gap: 10px; */
  width: 100%;
  position: relative;
}

.search-input-group {
  flex: 1;
  position: relative;
}

.search-input-group i {
  position: absolute;
  left: 14px;
  top: 12px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 60px 0 10px;
  border-radius: 40px;
  border: 1px solid var(--border-light);
  background-color: #f2f4f8;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

.search-btn {
  width: 60px;
  height: 40px;
  background-color: var(--primary-color);
  border: none;
  border-radius: 40px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.90rem;
  transition: all 0.2s;
  white-space: nowrap;
  position: absolute;
  right: 0;
  top: 0;
}

.search-btn i {
  font-size: 1.1rem;
}

.search-btn:active {
  transform: scale(0.96);
  background-color: var(--primary-dark);
}

/* 主体容器 */
.container-custom {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px 14px;
}

/* 认证卡片 - 完全静态HTML展示，不依赖JS筛选 */
.cert-card {
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  padding: 10px 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border-light);
}

.cert-card:hover {
  box-shadow: var(--hover-shadow);
  transform: translateY(-2px);
}

/* 左中右布局，保证手机端一行展示不换行，内容自适应缩小 */
.card-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* 左侧区域 (头像+编号) */
.card-left {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
}

.avatar {
  width: 56px;
  height: 72px;
  background-color: #eef2ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  overflow: hidden;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  font-size: 32px;
  color: var(--primary-color);
}

.cert-no {
  font-size: 9px;
  color: var(--text-secondary);
  background: #f0f2f5;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 8px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 中间区域 */
.card-middle {
  flex: 1;
  min-width: 0;
  /* 防止溢出 */
}

.name {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.member-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cert-badge {
  font-size: 0.7rem;
  background: #e9ecef;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 30px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.level-text {
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 星级评价 使用bootstrap图标 */
.stars {
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.8rem;
  flex-wrap: nowrap;
}

.stars i {
  color: #ffb800;
  margin-right: 1px;
}

.stars span {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-left: 4px;
  white-space: nowrap;
}

.duration {
  font-size: 0.7rem;
  background: #f1f3f7;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.duration i {
  font-size: 0.7rem;
  color: var(--primary-color);
}

/* 右侧地址 */
.card-right {
  flex-shrink: 0;
  text-align: right;
  max-width: 85px;
}

.address {
  font-size: 0.7rem;
  color: var(--text-secondary);
  background: #f8f9fa;
  padding: 4px 8px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.address i {
  font-size: 0.7rem;
}

/* 底部悬浮菜单 (圆角浮动栏) 纯展示+跳转功能，无筛选JS */
.bottom-nav {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 90vw;
  background: var(--menu-bg);
  backdrop-filter: blur(20px);
  background-color: rgba(255, 255, 255, 0.94);
  border-radius: 48px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 20px;
  display: flex;
  gap: 12px;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #5a6874;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.nav-item i {
  font-size: 1.4rem;
}

/* 默认仅显示图标，隐藏文字 */
.nav-item .nav-text {
  display: none;
}

.nav-item.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
  padding: 8px 18px;
}

.nav-item.active svg path {
  fill: white;
  stroke: white;
  color: white;
}

.nav-item.active .nav-text {
  display: inline-block;
}

.nav-item:active {
  transform: scale(0.96);
}

/* 返回顶部按钮 - 高于悬浮菜单 (z-index更大) */
.go-top {
  position: fixed;
  bottom: 90px;
  right: 18px;
  background-color: var(--primary-color);
  color: white;
  width: 46px;
  height: 46px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1100;
  /* 高于底部菜单 */
  transition: all 0.2s;
  opacity: 0.9;
  border: none;
}

.go-top:hover {
  opacity: 1;
  transform: translateY(-3px);
  background-color: var(--primary-dark);
}

/* 小屏适配，保证一行不换行 */
@media (max-width: 480px) {
  /* .card-left {
    width: 64px;
  } */

  .member-name {
    font-size: 0.85rem;
  }

  .cert-badge {
    font-size: 0.6rem;
  }

  .stars i {
    font-size: 0.7rem;
  }

  .duration {
    font-size: 0.6rem;
    padding: 3px 6px;
  }

  .address {
    font-size: 0.6rem;
    padding: 3px 6px;
  }

  /* .card-right {
    max-width: 76px;
  } */

  .nav-item {
    padding: 6px 12px;
  }

  .nav-item.active {
    padding: 6px 16px;
  }

  .address i {
    font-size: 0.6;
  }
}

@media (max-width: 380px) {
  .card-row {
    gap: 6px;
  }

  .cert-no {
    font-size: 0.6rem;
    padding: 2px 5px;
  }

  /* .address i {
    display: none;
  } */
}

.custom-footer {
  padding: 12px 16px;
}


.v-card {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  padding: 20px 16px;
  margin-bottom: 16px;
}

.tips-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  ;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tips-title svg {
  color: var(--primary-color);
}

.tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tips-list li {
  font-size: 13px;
  color: var(--text-secondary);
  ;
  margin-bottom: 8px;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.tips-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  ;
}

.step-wrapper {
  position: relative;
}

.step-wrapper::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 24px;
  bottom: 30px;
  width: 2px;
  background: #f2f2f7;
  z-index: 0;
}

.verification-step {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.verification-step:last-child {
  margin-bottom: 0;
}

.step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  ;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-number {
  background: var(--primary-color);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 0 4px #fff;
  flex-shrink: 0;
}

.step-content {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-left: 40px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  ;
  margin-bottom: 8px;
  padding-left: 4px;
}

.form-label span.required {
  color: #ef4444;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background-color: #eef2ff;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-main);
  ;
  transition: all 0.3s ease;
  box-sizing: border-box;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #c7c7cc;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238e8e93'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-input:focus,
.form-textarea:focus {
  background-color: #fff;
  border-color: var(--primary-color);
  ;
  box-shadow: 0 0 0 3px rgba(10, 161, 116, 0.1);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

/* 上传控件 */
.file-upload {
  border: 1.5px dashed #c7c7cc;
  background: #eef2ff;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.file-upload:active {
  transform: scale(0.98);
}

.file-upload.has-file {
  border-color: var(--primary-color);
  ;
  background: #e6f9f1;
}

.file-upload-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 10px;
  color: var(--primary-color);
  ;
}

.file-upload-text {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}

.file-upload input[type="file"] {
  display: none;
}

/* 证书弹出层 */
/* 弹出层遮罩 - 毛玻璃效果 */
.cert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cert-modal.show {
  opacity: 1;
  visibility: visible;
}

/* 弹窗内容容器 */
.cert-modal-content {
  max-width: 90%;
  max-height: 85%;
  background: transparent;
  border-radius: 20px;
  text-align: center;
  animation: modalZoom 0.3s ease;
}

@keyframes modalZoom {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* 证书图片 */
.cert-modal-image {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  background: #fff;
  padding: 8px;
}

/* 关闭按钮 */
.cert-modal-close {
  display: block;
  margin: 20px auto 0;
  padding: 10px 30px;
  background: linear-gradient(135deg, #ffd26f, #ffaa00);
  border: none;
  border-radius: 40px;
  color: #1a1a2e;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cert-modal-close:hover {
  transform: scale(1.02);
  background: linear-gradient(135deg, #ffdf80, #ffbb22);
}

.cert-modal-close:active {
  transform: scale(0.98);
}