: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;

  --green-1: #0E3D30;
  --green-2: #185E4B;
  --green-3: #228267;
  --gold-1: #D4AF37;
  --gold-2: #F3E5AB;
  --text-1: #1c1c1e;
  --text-2: #8e8e93;
  --bg: #F9F9F8;
  --card: #ffffff;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

* {
  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;
  /*padding-bottom: 115px;*/
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}





/* 开屏动画遮罩层 */
.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;
}

.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;
  margin-top: 12px;
}

.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;
  min-height: 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;
  width: auto;
  text-align: center;
}

.avatar {
  width: 70px;
  height: 90px;
  background-color: #eef2ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  overflow: hidden;
}

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

.avatar-placeholder {
  font-size: 32px;
  color: var(--primary-color);
}

.cert-no {
  font-size: 0.9rem;
  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: start;
  /* justify-content: flex-start; */
  flex-direction: column;
  gap: 4px;
}

.member-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-name span {
  font-size: 0.8rem;
  font-weight: normal;
}

.cert-badge {
  font-size: 0.8rem;
  background: #e9ecef;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.level-text {
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 初级 */
.cert-badge.level-primary {

  background: linear-gradient(135deg, #FDFBF7 0%, #F3EAE0 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.08);
}

.cert-badge.level-primary .level-text {
  color: #7A5B15;
}

/* 中级*/
.cert-badge.level-intermediate {
  color: var(--green-1);
  background: linear-gradient(135deg, var(--gold-2), var(--gold-1));
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.15);
}

.cert-badge.level-intermediate .level-text {
  color: var(--green-1);
}

/* 高级 */
.cert-badge.level-advanced {
  color: var(--gold-2);
  background: linear-gradient(135deg, var(--green-2), var(--green-1));
  border: 1px solid var(--gold-1);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
}

.cert-badge.level-advanced .level-text {
  color: var(--gold-2);
}


/* 星级评价 使用bootstrap图标 */
.stars {
  margin: 4px 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.9rem;
  /* 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: left;
  max-width: 134px;
  display: inline-flex;
  flex-direction: column;
}

.address {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: #f8f9fa;
  padding: 4px 0px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  /* white-space: nowrap; */
  background: none;
  word-break: break-all;
  white-space: normal;
}

.address i {
  font-size: 0.7rem;
}

/* 底部悬浮菜单 (圆角浮动栏) 纯展示+跳转功能，无筛选JS */
.bottom-nav {
  position: fixed;
  bottom: 18px;
  /*bottom: 70px;*/
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 90vw;
  max-width: calc(100% - 24px);
  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);
  font-size: 1em;
}

.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;
  font-size: 1rem;
}

/* .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: 140px;
  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;
  opacity: 0;
}

.go-top:hover {
  opacity: 1;
  transform: translateY(-3px);
  background-color: var(--primary-dark);
}

/* 小屏适配 */
@media (max-width: 480px) {

  .custom-header,
  .custom-footer {
    padding: 12px;
  }

  .container-custom {
    padding: 16px 12px;
  }

  .custom-footer {
    font-size: 0.8rem;
  }

  .card-row {
    gap: 6px;
  }

  /* .card-left {
    width: 64px;
  } */

  .member-name {
    font-size: 0.85rem;
  }

  .member-name span {
    font-size: 0.7rem;
  }

  .cert-badge {
    font-size: 0.7rem;
  }

  .stars i {
    font-size: 0.6rem;
  }

  .duration {
    font-size: 0.6rem;
    /* padding: 3px 6px; */
  }

  .cert-card {
    padding: 10px;
  }

  .card-right {
    max-width: 100px;
  }

  .address {
    font-size: 0.6rem;
    padding: 3px 0;
  }

  /* .card-right {
    max-width: 76px;
  } */

  .bottom-nav {
    padding: 8px;
  }

  .nav-item {
    padding: 4px 6px;
    font-size: 0.85rem;
  }

  .nav-item.active {
    padding: 6px 16px;
  }

  .cert-no {
    font-size: 0.8rem;
    padding: 2px 5px;
  }

  .address i {
    font-size: 0.6;
  }
}

@media (max-width: 390px) {

  .custom-header,
  .custom-footer {
    padding: 12px 8px;
  }

  .container-custom {
    padding: 16px 8px;
  }

  .card-row {
    gap: 4px;
  }

  .cert-card {
    padding: 10px 5px;
  }

  .cert-no {
    font-size: 0.7rem;
    padding: 2px 5px;
  }

  /* .address i {
    display: none;
  } */
}

.custom-footer {
  /*position: fixed;*/
  /*bottom: 0;*/
  /*width: 100%;*/
  padding: 12px 16px;
  font-size: 0.9rem;
}


.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;
}

.v-card.active {
  box-shadow: 0 0 32px 0 rgba(184, 148, 30, 0.30);
}

.tips-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tips-title.active {
  color: #B8941E;
}

.tips-title svg {
  color: var(--primary-color);
}

.tips-title.active svg {
  color: #B8941E;
}


.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.active li {
  color: var(--text1);
}

.tips-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.tips-list.active li:before {
  color: #B8941E;
}

.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-title.active {
  color: #B8941E;
}

.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-number.active {
  background: #B8941E;
}

.step-content {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-left: 40px;
}

.step-content.active {
  color: var(--text1);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label,
.form-group>div {
  width: 100% !important;
}

.form-group>div input {
  width: 100% !important;
}

.caption-subject,
.control-label,
.form-label,
.finecms-file-ts,
.help-block,
.label-text {
  display: block;
  font-size: 13px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  padding-left: 4px;
}

.finecms-file-ts,
.help-block,
.label-text {
  color: var(--text-2);
  font-size: 13px;
}

.control-label {
  display: flex;
  /* 横向颠倒 */
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 3px;
}

.control-label span,
.form-label span.required {
  color: #ef4444;
}

.form-input,
.form-control,
.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-control:focus,
.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;
}

.btn.blue:not(.btn-outline) {
  color: #FFF;
  background-color: #28b6ff;
  border-color: #28b6ff;
}

.btn.red:not(.btn-outline) {
  color: #fff;
  background-color: #e7505a;
  border-color: #e7505a;
}

.files_row_preview {
  margin-right: 10px;
  border: 1px solid #d3cfcf;
  padding: 10px;
  width: 80px;
  height: 70px;
  overflow: hidden;
  border-radius: 2px;
  text-align: center;
}

.files_row_preview img {
  max-width: 60px;
  max-height: 50px;
}

.files_row .preview img {
  overflow: hidden;
}

.mpreview {
  display: none;
  opacity: 0;
}

.payment-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--green-2), var(--green-1));
  color: #fff;
  border: 0;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(10, 161, 116, 0.25);
  margin-top: 20px;
  text-align: center;
}

.payment-btn:disabled {
  background: #e5e5ea;
  box-shadow: none;
  color: #8e8e93;
  cursor: not-allowed;
}

.payment-info {
  margin-top: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  animation: fadeIn 0.3s ease;
  margin-bottom: 16px;
}

.payment-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.amount-value {
  font-size: 20px;
  font-weight: 800;
  color: #ff3b30;
}

.payment-note {
  font-size: 11px;
  color: var(--text-2);
  padding-top: 8px;
  border-top: 0.5px solid #e5e5ea;
}

.level-preview {
  display: flex;
  margin-top: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.level-preview-image {
  max-width: 360px;
  width: 100%;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
}

.table-wrap {
  margin-bottom: 16px;
  width: 100%;
  overflow-x: auto;
}

.table-wrap table {
  /*min-width: 600px;*/
  min-width: 360px;
  width: 100%;
}

.cart_description_title {
  color: var(--primary-color);
}


/* 付款方式 */
.payment-method {
  margin-bottom: 16px;
}

.payment-method ul li {
  border-bottom: 1px solid #f0f2f5;
  transition: background-color 0.2s;
}

.payment-method ul li:last-child {
  border-bottom: none;
}

.payment-method ul li label {
  display: flex;
  align-items: center;
  padding: 10px 0px;
  cursor: pointer;
  margin: 0;
  font-weight: normal;
  transition: background-color 0.2s;
}

.payment-method ul li:hover {
  background-color: #fafafa;
}

/* 单选框样式 */
.payment-method ul li input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  accent-color: #1677ff;
  cursor: pointer;
  flex-shrink: 0;
}

/* 支付名称样式 */
.payment-method ul li span {
  font-size: 15px;
  color: #1f2937;
  font-weight: 500;
  display: flex;
  align-items: center;
}

/* 图标样式：统一大小和间距 */
.payment-method ul li span i {
  font-size: 22px;
  margin-right: 10px;
  width: 28px;
  text-align: center;
}

/* ===== 不同支付方式的品牌色 ===== */
.payment-method ul li span .bi-alipay {
  color: #1677FF;
  /* 支付宝蓝 */
}

.payment-method ul li span .bi-wechat,
.payment-method ul li span .bi-weixin {
  color: #07C160;
  /* 微信绿 */
}

.payment-method ul li span .bi-unionpay {
  color: #E32526;
  /* 银联红 */
}

.payment-method ul li span .bi-credit-card {
  color: #FF6B00;
  /* 信用卡橙 */
}

.payment-method ul li span .bi-bank {
  color: #8B5CF6;
  /* 银行紫 */
}

.payment-method ul li span .bi-wallet {
  color: #F59E0B;
  /* 钱包黄 */
}

.payment-method ul li span .bi-paypal {
  color: #003087;
  /* PayPal深蓝 */
}

.payment-method ul li span .bi-apple {
  color: #555555;
  /* 苹果灰 */
}

/* 余额支付特殊样式（如果有） */
.payment-method ul li span .bi-coin {
  color: #F59E0B;
}





/* 外层容器 - 宽度100%，三个均匀分布 */
.mt-radio-inline {
  display: flex;
  gap: 10px;
  width: 100%;
  /*padding: 8px 0;*/
}

/* 每个选项占三分之一 */
.mt-radio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  padding: 8px 6px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

/* 悬停效果 */
.mt-radio:hover {
  background: #e9ecef;
  border-color: #ced4da;
}

/* 原生单选按钮隐藏 */
.mt-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

/* 自定义圆圈 */
.mt-radio span {
  position: relative;
  padding-left: 20px;
  font-weight: 400;
}

.mt-radio span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--text-secondary);
  border-radius: 50%;
  background: #fff;
  transition: all 0.2s ease;
}

/* 选中时：圆圈变蓝，加内部圆点 */
.mt-radio input[type="radio"]:checked+span::before {
  border-color: var(--primary-color);
  background: var(--primary-color);
  box-shadow: inset 0 0 0 3px #fff;
}

/* 选中时标签高亮 */
.mt-radio:has(input:checked) {
  background: #e8f0fe;
  border-color: var(--primary-color);
  color: var(--text-main);
}

/* 移动端适配 */
@media (max-width: 480px) {
  .mt-radio-inline {
    gap: 6px;
  }

  .mt-radio {
    padding: 6px 4px;
    font-size: 11px;
  }

  .mt-radio span {
    padding-left: 16px;
  }

  .mt-radio span::before {
    width: 12px;
    height: 12px;
  }
}

#dr_email_upload,
#dr_cloud_upload {
  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: 95%;
  max-height: 95%;
  background: transparent;
  animation: modalZoom 0.3s ease;
}

@keyframes modalZoom {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ========== 证书容器 ========== */
.modal-cert-body {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  position: relative;
}

/* ========== 核心：图片撑开容器 ========== */
.certificate-info {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1a1a2e;
  border-radius: 12px;
  overflow: hidden;
}

/* 底图 - 撑开容器 */
.certificate-info-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== 覆盖层 ========== */
.cert-info-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.modal-cert-body span {
  position: absolute;
}

/* ---- 头像 ---- */
.certificate-avatar {
  position: absolute;
  left: 27.8%;
  top: 49%;
  width: 18%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

/* ---- 证书编号 ---- */
.certificate-info-cretid {
  position: absolute;
  top: 58.6%;
  left: 19%;
  font-size: 65%;
  white-space: nowrap;
}

.modal-cert-body span {
  position: absolute;
}

/* ---- 姓名 ---- */
.certificate-info-name {
  font-weight: 700;
  top: 46%;
  left: 43%;
  font-size: 1.8rem;
  font-style: italic;
}

/* ---- 姓名拼音 ---- */
.certificate-info-xmpy {
  top: 49.2%;
  right: 15%;
  font-size: 65%;
  font-weight: 700;
  text-transform: uppercase;
}

/* ---- 日期 ---- */
.certificate-info-date {
  bottom: 8.5%;
  left: 38%;
  font-size: 65%;
}

.certificate-info-date span {
  margin-left: 6px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.certificate-info-cretid1,
.certificate-info-name1,
.certificate-info-xmpy1 {
  color: #449c86;
}

.certificate-info-cretid2,
.certificate-info-name2,
.certificate-info-xmpy2 {
  color: #025e99;
}

.certificate-info-cretid3,
.certificate-info-name3,
.certificate-info-xmpy3 {
  color: #ca2141;
}


/* 关闭按钮 */
.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);
}

/* ========== 移动端适配 ========== */
@media (max-width: 499px) {

  /* ---- 证书编号 ---- */
  .certificate-info-cretid {
    top: 58.4%;
    font-size: 50%;
  }

  /* ---- 姓名 ---- */
  .certificate-info-name {
    top: 46.6%;
    font-size: 120%;
    top: 45.6%;
    font-size: 150%;
  }

  /* ---- 姓名拼音 ---- */
  .certificate-info-xmpy {
    top: 49.2%;
    font-size: 50%;
  }

  /* ---- 日期 ---- */
  .certificate-info-date {
    font-size: 50%;
  }
}

@media (max-width: 389px) {

  /* ---- 证书编号 ---- */
  .certificate-info-cretid {
    top: 58.4%;
    font-size: 40%;
  }

  /* ---- 姓名 ---- */
  .certificate-info-name {
    top: 47%;
    font-size: 100%;
  }

  /* ---- 姓名拼音 ---- */
  .certificate-info-xmpy {
    top: 49.2%;
    font-size: 50%;
  }

  /* ---- 日期 ---- */
  .certificate-info-date {
    font-size: 40%;
  }
}

@media (max-width: 359px) {

  /* ---- 证书编号 ---- */
  .certificate-info-cretid {
    top: 59.75%;
    font-size: 45%;
  }

  /* ---- 姓名 ---- */
  .certificate-info-name {
    top: 47.5%;
    font-size: 80%;
  }

  /* ---- 姓名拼音 ---- */
  .certificate-info-xmpy {
    top: 49.3%;
    font-size: 40%;
  }

  /* ---- 日期 ---- */
  .certificate-info-date {
    font-size: 40%;
  }
}








/* 公告通知区域 */
.notice-section {
  margin-bottom: 20px;
}

/* 公告头部 */
.notice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
}

.notice-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-title i {
  color: var(--primary-color);
  font-size: 1.3rem;
}

.notice-more {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.notice-more:hover {
  color: var(--primary-color);
}

/* 公告卡片 */
.notice-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  border: 1px solid var(--border-light);
}

.notice-card:active {
  transform: scale(0.98);
  background: #fafafa;
}

/* 公告标题 */
.notice-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 公告描述（两行） */
.notice-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 公告底部 */
.notice-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notice-info {
  display: flex;
  gap: 12px;
  font-size: 0.65rem;
  color: var(--text-secondary);
}

.notice-info span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.notice-info i {
  font-size: 0.7rem;
}

/* 了解更多按钮 */
.notice-btn {
  font-size: 0.95rem;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 20px;
  background: rgba(13, 110, 253, 0.08);
  transition: all 0.2s;
}

.notice-btn:hover {
  background: var(--primary-color);
  color: white;
}

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

/* 移动端适配 */
@media (max-width: 480px) {
  .notice-card {
    padding: 12px 14px;
  }

  .notice-card-title {
    font-size: 0.95rem;
    white-space: normal;
    word-break: break-all;
  }

  .notice-card-desc {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
  }

  .notice-info {
    gap: 10px;
  }

  .notice-btn,
  .notice-info span {
    font-size: 0.8rem;
  }
}

.highlight-dark {
  background: #f2f2f7;
  color: var(--text-1);
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
}



/* ---------------- 分页 ------------------ */
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 0;
  border-radius: 4px;
}

.pagination>li {
  display: inline;
}

.pagination>li>a,
.pagination>li>span {
  position: relative;
  float: left;
  padding: 5px 10px;
  line-height: 1.42857;
  text-decoration: none;
  color: var(--primary-color);
  background-color: #fff;
  border: 1px solid #ddd;
  margin-left: -1px;
  font-size: 12px;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}

.pagination>li>a:hover,
.pagination>li>a:focus,
.pagination>li>span:hover,
.pagination>li>span:focus {
  z-index: 2;
  color: var(--primary-color);
  background-color: #eeeeee;
  border-color: #ddd;
}

.pagination>.active>a,
.pagination>.active>a:hover,
.pagination>.active>a:focus,
.pagination>.active>span,
.pagination>.active>span:hover,
.pagination>.active>span:focus {
  z-index: 3;
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  cursor: default;
}




/* -------------------- 文章内页 ---------------------- */
/* 文章容器 */
.article-page .article-container {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
}

/* 文章标题 */
.article-page .article-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 12px;
}

/* 文章元信息（时间+浏览量） */
.article-page .article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.article-page .article-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-page .article-meta i {
  font-size: 0.85rem;
}

/* 文章内容 */
.article-page .article-content {
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--text-main);
  margin-bottom: 30px;
}

.article-page .article-content p {
  margin-bottom: 16px;
}

/* 上下翻页导航 */
.article-page .article-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.article-page .nav-prev,
.article-page .nav-next {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--bg-light);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
  min-width: 0;
}

/* .article-page .nav-prev {
  justify-content: flex-start;
}

.article-page .nav-next {
  justify-content: flex-end;
} */

/* .article-page .nav-prev:hover,
.article-page .nav-next:hover {
  background: rgba(13, 110, 253, 0.08);
} */

.article-page .nav-prev:active,
.article-page .nav-next:active {
  transform: scale(0.98);
}

.article-page .nav-arrow {
  font-size: 1rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.article-page .nav-text {
  font-size: 0.8rem;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-page .nav-prev .nav-text {
  text-align: left;
}

.article-page .nav-next .nav-text {
  text-align: right;
}

.article-page .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* 移动端适配 */
@media (max-width: 480px) {
  .article-page .article-container {
    padding: 16px 14px;
  }

  .article-page .article-title {
    font-size: 1rem;
  }

  .article-page .nav-text {
    font-size: 0.7rem;
  }
}


.certification-card {
  display: block;
  width: 100%;
  padding: 14px 16px;
  padding: 12px 14px;
  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;
}

.certification-card h5 {
  font-size: 14px;
  font-weight: 600;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.4;
  margin: .5rem 0 0;
}



/* -------------------- 模拟上传 -------------------- */
/* ===== 视频上传区域样式 ===== */
.video-upload-wrapper {
  margin-top: 12px;
}

/* 上传区域 */
.video-upload-area {
  border: 2px dashed #c5cdd8;
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafbfc;
}

.video-upload-area:hover {
  border-color: #0d6efd;
  background: #f0f5ff;
}

.video-upload-area.dragover {
  border-color: #0d6efd;
  background: #e8f0fe;
  transform: scale(1.01);
}

.upload-icon {
  font-size: 42px;
  color: #8899aa;
  margin-bottom: 8px;
}

.upload-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1e2a3e;
}

.upload-hint {
  display: block;
  font-size: 12px;
  color: #8e8e93;
  margin-top: 4px;
}

/* 文件信息 */
.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-top: 12px;
  border: 1px solid #e9ecef;
}

.file-name {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1e2a3e;
  overflow: hidden;
}

.file-name i {
  font-size: 20px;
  color: #0d6efd;
  flex-shrink: 0;
}

.file-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  font-size: 12px;
  color: #8e8e93;
  flex-shrink: 0;
}

.file-remove {
  background: none;
  border: none;
  color: #8e8e93;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.file-remove:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* ===== 模拟进度条 ===== */
.progress-wrapper {
  margin-top: 12px;
  padding: 14px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.progress-status {
  font-size: 13px;
  color: #5a6874;
}

.progress-percent {
  font-size: 14px;
  font-weight: 700;
  color: #0d6efd;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0d6efd, #0a58ca);
  border-radius: 4px;
  width: 0%;
  transition: width 0.15s ease;
}

/* 进度条闪烁动画（模拟正在上传） */
.progress-bar.active {
  background: linear-gradient(90deg, #0d6efd, #0a58ca, #0d6efd);
  background-size: 200% 100%;
  animation: shimmer 0.6s infinite linear;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.progress-speed {
  font-size: 11px;
  color: #8e8e93;
  margin-top: 4px;
  text-align: right;
}

/* ===== 上传完成 ===== */
.upload-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #ecfdf5;
  border-radius: 8px;
  border: 1px solid #6ee7b7;
  margin-top: 12px;
}

.success-icon {
  font-size: 28px;
  color: #10b981;
  flex-shrink: 0;
}

.success-text {
  flex: 1;
}

.success-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #065f46;
}

.success-hint {
  font-size: 12px;
  color: #047857;
}














