@import url("./rest.css");
@import url("./remixicon.css");

:root {
  --bg: #f2f2f2;
  --primary: #174078;

  --navy: #174078;
  --navy-dark: #052e67;
  --text-main: #382e2e;
  --text-sub: #808080;
  --text-primary: #174078;
  --white: #ffffff;
  --price: #e62c19;
  --icon-color: #b3b3b3;
  --hover-blue: #d5e7ff;
  --input-placeholder: b3b3b3;
  --border:rgba(0, 0, 0, 0.1);
}
.empty-box {
    text-align: center;
    padding: 60px 0;
    color: #999;
  }

  .empty-box img {
    display: block;
    width: 120px;
    margin: 0 auto 12px;
  }

body {
  background: var(--bg);
  color: var(--text-main);
  font-family: "PingFang SC", "Ping Hei", "Microsoft YaHei", sans-serif;
}

.btn{
  border: 0;
  background-color: transparent;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.btn.primary-btn{
  background-color: var(--navy);
  color:white;
}
.btn.primary-btn:hover{
  background-color: var(--navy-dark);
}


.page {
 
  min-width: 1280px;
}
.sub-page{
  display:grid;
  grid-template-rows:auto 1fr auto;
  min-height: 100vh;
}

.shell {
  width: 1200px;
  margin: 0 auto;
}

.site-header {
  background: var(--navy);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  /* position: fixed; */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-inner {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 203px;
  height: 50px;
  object-fit: contain;
}

.search-wrap {
  width: 560px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-row {
  display: flex;
}

.search-input {
  flex: 1;
  height: 32px;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 8px;
}

.search-input i {
  color: var(--inpust-placeholder);
  font-size: 16px;
}

.search-input input {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 14px;
  color: var(--text-main);
  background: transparent;
}

.search-input input::placeholder {
  color: var(--input-placeholder);
}

.btn-search {
  background: var(--navy-dark);
  border: 0;
  color: var(--white);
  padding: 7px 20px;
  font-size: 16px;
  cursor: pointer;
}

.hot-keyword {
  font-size: 13px;
  color: var(--white);
}

.login-btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
}

.login-btn-icon i {
  font-size: 18px;
}


.site-main {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 260px 1fr 180px;
  gap: 24px;
  align-items: stretch;
}

.category-card {
  background: var(--white);
  border-radius: 8px;
  position: relative;
  overflow: visible;
  transition: box-shadow 0.25s ease;
  z-index: 30;

  height: 345px;
  /* min-height: 362px; */
  align-self: start;
}

.category-card h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  padding: 16px 24px 12px 24px;
}

.category-interactive {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.category-list-port {
  position: relative;
  height: 265px;
  flex-shrink: 0;
  overflow: visible;
}

.category-list-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  max-height: 265px;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    box-shadow 0.25s ease;
  border-radius: 8px;
  background: #fff;
  padding: 0px 16px;
}

.category-card.open {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-card.open .category-list-wrap {
  max-height: min(420px, 65vh);
  overflow-x: hidden;
  /* box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.12); */
  z-index: 25;
  -webkit-overflow-scrolling: touch;
}

.category-list {
  list-style: none;
}

.category-list a {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 8px;
  background: var(--white);
  margin-bottom: 2px;
  color: var(--text-main);
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
}

.category-list a span {
  min-width: 70px;
  font-size: 16px;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.category-list a i {
  font-style: normal;
  font-size: 16px;
  color: var(--icon-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-list a.active,
.category-list a:hover {
  background: rgb(from var(--hover-blue) r g b / 0.1);
}

.category-list a.active span,
.category-list a:hover span {
  color: var(--text-primary);
}

.banner-card {
  height: 345px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.category-more {
  position: relative;
  flex-shrink: 0;
}

.more-trigger {
  margin: 0 auto;
  background: #fff;
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}

.more-trigger i {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.more-trigger i.rotate {
  transform: rotate(180deg);
}


.nav {
  background:var(--navy-dark);
  display: flex;
  justify-content: center;
  gap: 64px;
  height: 50px;
position: relative;
   transition: all 0.3s ease;
    z-index: 999;
 
}

.nav.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background:var(--navy-dark);
box-shadow: 0 2px 8px rgba(0,0,0,0.1);

}




.nav  .nav-item {
  position: relative;
}

.nav  .nav-item > a {
  color: #fff;
  text-decoration: none;
  padding: 0px 24px;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.nav .nav-item.active > a,.nav .nav-item> a:hover {
  color: #ffd04b;
  background-color:var(--navy);
}

/* 下拉 */
.nav .sub-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 110px;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.2s ease;
}

.nav .sub-dropdown a {
  display: block;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  text-align: center;
}

.nav .sub-dropdown a:hover {
  background: rgba(255,255,255,0.1);
}

.nav .nav-item.open .sub-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.banner-swiper {
  width: 100%;
  height: 460px;
}

.banner-swiper .swiper-slide {
  padding: 0;
}

.banner-link {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.banner-link:hover img {
  transform: scale(1.02);
}

.banner-swiper .swiper-button-prev,
.banner-swiper .swiper-button-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
}

.banner-swiper .swiper-button-prev::after,
.banner-swiper .swiper-button-next::after {
  font-size: 13px;
  font-weight: 700;
}

.banner-swiper .swiper-pagination {
  bottom: 15px !important;
}

.banner-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition:
    width 0.2s ease,
    background-color 0.2s ease;
}

.banner-swiper .swiper-pagination-bullet-active {
  width: 22px;
  background: #174078;
}

.identity-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.identity-item {
  flex: 1;
  border: 0;
  border-radius: 8px;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.identity-item span {
  font-size: 20px;
  font-weight: 600;
}

.identity-item i {
  height: 100px;
}
.identity-item i img {
  height: 100%;
  display: block;
}
.identity-item.teacher {
  background:
    radial-gradient(circle at 5% 0%, #d5e7ff 11%, rgba(255, 255, 255, 0) 100%),
    #fff;
}

.identity-item.student {
  background:
    radial-gradient(circle at 5% 0%, #fcf8ed 11%, rgba(255, 255, 255, 0) 100%),
    #fff;
}

.double-news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #d5e7ff 0%, #f3f7fd 50%, #fff 100%);
  &.yellow {
    background: linear-gradient(180deg, #fff8e4 0%, #fefbf5 50%, #fff 100%);
  }
}

.panel-head h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-main);
}

.panel-head a {
  font-size: 14px;
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.2s ease;
}

.panel-head a:hover {
  color: var(--text-primary);
}

.notice-list,
.knowledge-list {
  list-style: none;
  padding: 0 24px 0;
  height: minmax(auto, 275px);
}
.notice-list {
  list-style-type: disc;
  list-style-position: inside;
}
.notice-list li {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 15px;
}
.notice-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--icon-color);
  left: 0;
  transform: translateY(-50%);
  top: 50%;
  position: absolute;
}

.notice-list span {
  flex: 1;
  color: var(--text-main);
}

.notice-list a {
  flex: 1;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 48px;
}

.notice-list a:hover span {
  color: var(--text-primary);
}

.notice-list time {
  color: var(--text-sub);
}

.notice-list.help-list{
padding: 0;
margin-top: 16px;
margin-bottom: 16px;
}

.notice-list.help-list li{
border-bottom: rgba(0, 0, 0, 0.08) 1px dashed;
align-items: center;
margin-bottom: 0;

}
.notice-list.help-list li a{
padding-top: 12px;
padding-bottom: 16px;
}

.knowledge-list li {
  margin-bottom: 24px;
}

.knowledge-list li a {
  display: flex;
  /* align-items: center; */
  gap: 12px;
  text-decoration: none;
}

.knowledge-list li a b {
  color: var(--price);
  font-size: 20px;
  width: 20px;
  text-align: right;
}

.knowledge-list li .k-cover {
  width: 128px;
  height: 80px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}
.knowledge-list li .k-cover img {
  object-fit: cover;
  width: 100%;
  aspect-ratio: 16/10;
}
.knowledge-list li .k-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.knowledge-list li .k-info p {
  font-size: 16px;
  color: var(--text-main);
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
}
.knowledge-list li .k-link:hover .k-info p {
  color: var(--text-primary);
}
.knowledge-list li .k-info p.decs {
  font-size: 14px;
}

.knowledge-list li .k-info span {
  font-size: 14px;
  color: var(--text-sub);
  display: block;

  align-items: flex-end;
}

.knowledge-list.knowledge-column{
padding: 0;
margin-top: 24px;
}
.knowledge-list.knowledge-column li{
padding: 24px 0px;
transition: all 0.3s ease-in-out;
border-radius: 6px;
margin-bottom: 0;
}
.knowledge-list.knowledge-column li:not(:last-child){
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.knowledge-list.knowledge-column li:hover{
background-color: rgba(0, 0, 0, 0.05);
padding:24px;
}
.knowledge-list.knowledge-column li .k-cover{
width: 240px;
height: 150px;
}
.course-area {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.course-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-left {
  display: flex;
  align-items: flex-end;
}

.title-left h2 {
  font-size: 28px;
  font-weight: 400;
  margin-right: 12px;
}

.title-left p {
  font-size: 16px;
  color: #6b6161;
}

.course-head a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
}

.course-grid.sub-course-grid { 
  display: flex;
  flex-direction: column;
}
.course-grid.sub-course-grid .course-card{
  width: 100%;
  border-radius: 0;
  display: flex;
}
.course-grid.sub-course-grid .course-card:hover{
  box-shadow: none;
}
.course-grid.sub-course-grid .course-card .course-link{
    width: 170px;
  height: 106px;
  display: block;
  flex-shrink: 0;
}
.course-grid.sub-course-grid .course-body{
  padding: 0 0 0 16px;
  gap: 10px;
  flex: 1;
}
.course-grid.sub-course-grid .course-cover{
  width:inherit;
  height: inherit;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.course-grid .course-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.course-grid .course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.course-grid .course-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.course-grid .course-cover {
  height: 160px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  color: var(--white);
  font-size: 13px;
  position: relative;
  overflow: hidden;
  /* background: linear-gradient(140deg, #e7eef6 15%, #9fb8d3 55%, #4d6e93 100%); */
}
.course-grid .course-cover img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/10;
  object-position: center;
  border-radius: 4px;
}

.course-grid .course-cover .mask {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%;
  padding: 12px 10px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.course-grid .course-cover .mask span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.course-grid .course-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.course-grid .course-body h4 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  word-break: break-all;
  
}

.course-grid .course-body p.decs {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 8px;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.course-grid .course-body .meta {
  display: flex;
  justify-content: space-between;
  /* align-items: flex-end; */
}

.course-grid .course-body strong {
  color: var(--price);
  font-size: 18px;
  font-weight: 400;
}

.course-grid .course-body .meta .btn {
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: var(--text-primary);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 4px;
  &:hover {
    background: var(--navy-dark);
  }
}



.course-card-col{
  display: flex;
  gap: 24px;

}
.course-card-col .course-cover{
    object-fit: cover;
 
  height:auto;

  border-radius: 4px;
   width: 170px;
   flex-shrink: 0;
}
.course-card-col .course-cover img{
  width: 100%;
  height: 100%;
  display: block;
    aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 6px;
}
.course-card-col .course-body{
  flex: 1;
  
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  
}

.course-card-col .course-body .info {
  min-width: 0;
   flex: 1; 
}

.course-card-col .course-body .info .title {
  font-size: 16px;
  line-height: 1.2;
    -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  /* text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap; */
  /* word-break: break-all; */
  /* word-break: break-word; */
  /* overflow-wrap: anywhere; */
 
 
  
}

.course-card-col .course-body .info .decs {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 8px;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.course-card-col .course-body .totail{
  display: flex;
  gap: 24px;
  color: var(--text-sub);
  font-size: 14px;
}
.course-card-col .course-body .totail i{
  margin-right: 4px;
}
  
.course-card-col .course-body .meta {
  display: flex;
  justify-content: space-between;
  /* align-items: flex-end; */
}

.course-card-col .course-body .price {
  color: var(--price);
  font-size: 20px;
  font-weight: bold;
}
.course-card-col .course-body .price small {
  font-size: 14px;
  font-weight: normal;
}


.head-title{
  display: flex;
  flex-direction: column;
  justify-content:center;
  margin: 0 64px;
  align-items: center;
  padding: 32px 0;
  border-bottom: rgba(0, 0, 0, 0.08) 1px solid;
}
.head-title h1{
font-size: 22px;
color: var(--text-main);
margin-bottom: 16px;
}
.head-title .totail{
font-size: 15px;
color: var(--text-sub);
gap: 16px;
display: flex;

}
.detail-page{
margin-inline: 64px;
font-size: 15px;
color: var(--text-main);
line-height: 28px;
padding-bottom: 24px;
}
.detail-page img{
max-width: 100%;
margin-inline: auto;
}
.detail-page.noinline{
  margin-inline: 0;
}

.site-footer {
  background: var(--white);
  padding: 24px 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  align-items: center;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--text-main);
  font-size: 18px;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 128px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 12px;
}
.footer-links li a:hover{
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-links .head {
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-links .long {
  width: 190px;
  display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.qrcode {
  height: 82px;
  border-radius: 6px;
  margin-bottom: 16px;
  text-align: center;
}
.qrcode img {
  object-fit: cover;
  width: auto;
  height: 100%;
}
.qrcode span {
  display: block;
}

.copyright {
  text-align: center;
  color: var(--icon-color);
  font-size: 14px;
}

.page-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* 左侧背景区域 */
.background-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.background-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/login-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 右侧登录区域 */
.login-panel {
  width: 40%; /* 固定宽度 */
  padding: 60px 80px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.top-nav {
  text-align: right;
  margin-bottom: 40px;
  font-size: 14px;
  flex-shrink: 0;
}

.top-nav a {
  color: var(--text-sub);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.top-nav a:not(:last-child)::after{
  content: '|';
  display: block;
  margin-inline: 10px;
}

.login-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.login-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 32px;
}


.tab-header {
  display: flex;
  /* border-bottom: 2px solid #ccc; */
  margin-bottom: 32px;
  position: relative;
}
/* .tab-header::after{
content: '';
height: 2px;
background-color: var(--border);
left: 0;
right: 0;
bottom: 0;
position: absolute;
z-index: 1;
} */

.tab-header .tab-item {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  cursor: pointer;
  color: var(--text-main);
  border: 2px solid #fff;
  border-bottom: var(--border) 2px solid;
  transition: all 0.3s;
  background-color: #fff;
  position: relative;
  z-index: 1;
}

.tab-header .tab-item.active {
  color:var(--primary);
  border-color: var(--primary);
  border-radius: 6px 6px 0 0;
  font-weight: bold;
  background-color: #fff;
  border-bottom: #fff 2px solid;
}

/* 选项卡样式 */
.tabs {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  font-size: 16px;
  color: var(--text-sub);
}

.tab {
  cursor: pointer;
  position: relative;
  padding-bottom: 8px;
}

.tab.active {
  color: var(--text-primary);
  font-weight: 600;
}

.tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
}

/* 表单样式 */
.login-form {
  display: flex;
  flex-direction: column;
}

.input-group {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 20px;
  background-color: #f9f9f9;
}

.input-group:focus-within {
  border-color: #173f78;
  box-shadow: 0 0 0 2px rgba(23, 63, 120, 0.1);
}
.input-image{
  display: flex;
  gap: 24px;
 
  
}
.input-image .input-group {
flex: 1;
}
.input-image .image{
width: 120px;
flex-shrink: 0;
background-color: #000;
 max-height: 53px;
}

.input-icon {
  width: 20px;
  display: flex;
  justify-content: center;
  color: var(--icon-color);
  margin-right: 12px;
  font-size: 18px;
}

.input-group input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
  color: var(--text-main);
  background: none;
}

.input-group input::placeholder {
  color: #aaa;
}

.captcha-group {
  position: relative;
}

.captcha-group input {
  flex: 0 0 50%; /* 验证码输入框宽度 */
}

.captcha-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 14px;
  padding: 5px 0;
}

.captcha-btn:hover {
  text-decoration: underline;
}

/* 登录按钮 */
.login-btn {
  background-color: var(--navy);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  width: 100%;
  transition: background-color 0.2s;
  text-align: center;
}

.login-btn:hover {
  background-color: var(--navy-dark);
}

.login-btn.submit-btn{
  max-width: 120px;
  margin-left: 100px;
  padding: 10px 16px;

}

/* 协议和忘记密码 */
.agreement-group {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 30px;
}

.agreement-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.agreement-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid var(--text-primary);
  border-radius: 3px;
  margin-right: 8px;
  background-color: #fff;
  position: relative;
}

.agreement-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: "\2713"; 
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: var(--primary);
  font-weight: bold;
}

.agreement-link {
  color: var(--primary);
  text-decoration: none;
}

.agreement-link:hover {
  text-decoration: underline;
}
.no-register{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
    padding-bottom: 16px;
}
.no-register a{
  color: var(--text-primary);
}
.no-register a:hover{
  text-decoration:underline;

}
.forgot-password {
  color: var(--text-primary);
  text-decoration: none;

  display: block;
  text-align: right;
  font-size: 14px;
}

.forgot-password:hover {
  color: var(--primary);
}

/* 分割线 */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color:var(--text-sub);
  font-size: 14px;
  margin-bottom: 30px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: #eee;
}

.divider-text {
  padding: 0 10px;
}

/* 第三方登录 */
.other-methods {
  display: flex;
  justify-content: center;
}

.wechat-login {
  width: 40px;
  height: 40px;
  background-color: #09b83e; 
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
}

.wechat-login:hover {
  opacity: 0.8;
}



 .course-top {
      display: flex;
      background: #fff;
      border-radius: 8px;
      overflow: hidden;
      padding: 20px;
      flex-direction: column;
    }

    .video-box { display: flex; gap: 24px;}
   .video-box .video-play{ 
    position: relative; 
    flex: 1;
    aspect-ratio: 16/9;
    min-height: 443px;
    background-color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
  
  }
     .video-box .video-play video { width: 100%; border-radius: 6px; }

   .video-info { width: 348px; flex-shrink: 0; background: #fafafa; padding: 15px; border-radius: 6px;  display: grid; grid-auto-rows: 1fr auto; }
    .video-info .intro { font-size: 14px; line-height: 1.6;  overflow: auto;  }
    .video-info .actions { gap:16px; display: flex; justify-content: space-between; align-items: center; color: var(--text-main); }
     .video-info .actions .btn { padding: 6px 12px;  text-align: center; width: 100%; border-radius: 4px; border: 1px solid var(--icon-color); cursor: pointer; }
     .video-info .actions .btn:hover{ border-color: var(--primary); color: var(--primary);}
     .video-info .actions .btn.primary { background: var(--primary); color: #fff; border: none; width: 100%;  text-align: center; }
     .video-head{
       display: flex;
       justify-content: space-between;
       align-items: center;
       margin-top:16px;
     }
     .video-head .course-title h3{ margin-top: 15px; font-size: 20px; font-weight: bold; margin-bottom: 8px; }
      .video-head .course-title .price {font-weight: 800; color: var(--price); font-size: 24px; margin-top: 10px; }
      .video-head .course-title .price-box { color: var(--text-sub);}
      .video-head .primary-btn{ padding: 12px 32px; font-size: 18px; background-color: var(--price);}
      .video-head .primary-btn:hover{
        background-color: var(--price);
        opacity: 0.9;
      }

    .sub-title{
      font-size: 18px;
      font-weight: bold;
      color: var(--text-main);
      margin-bottom: 16px;
      position: relative;
      padding-inline-start: 8px; 
      span{
        font-size: 14px;
        font-weight: normal;
        color: var(--text-sub);
        margin-left: 8px;
      } 
      &::before{
        content: '';
        height: 90%;
        transform: translateY(-50%);
        top: 50%;
        width: 4px;
        background: var(--primary);
        position: absolute;
        border-radius: 4px;
        left: 0;
           
      }
    }

.page-wrapper { display: flex; gap: 24px; }
.page-wrapper .left-container { flex: 2;  }
.page-wrapper .right-container { flex: 1;  }

.comments {  }
.comments h3 { margin-bottom: 15px; }
.comment-input-box{ display: flex; gap: 24px; margin-top: 24px;}
.comment-input-box .comment-input { flex: 1; width: 100%; padding: 10px; border: 1px solid var(--icon-color); border-radius: 4px; outline: none;}
.comment-input-box .comment-input:focus-within {
border-color:var(--primary);
box-shadow: 0 0 0 2px rgba(23, 63, 120, 0.1);
}
.comment-input-box .comment-btn{ background-color: var(--navy); color: white;}

.comment-list { margin-top: 15px; }
.comment-item {
display: flex;
gap: 10px;
padding: 12px 0px;
border-bottom: 1px solid #eee;
font-size: 14px;
}
.comment-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
background: #ccc;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
}
.comment-content { flex: 1; }
.comment-name { font-weight: bold; margin-bottom: 4px; }
.comment-text { color: #555; line-height: 1.4; }

.related-course {  width: 348px; background: #fff; border-radius: 8px; padding: 24px;}

.order-legend{
  border: 1px solid rgba(0,0,0,.1) ;
  border-radius: 6px;
}
.order-legend .order-legend-tit{
  height: 40px;
  background-color: rgba(0,0,0,.05);
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-weight: 600;
}
.order-legend .course-card-col{
  margin: 16px;
}

.pay-list {
  display: flex;
  gap: 24px;
}

.pay-list  .pay-item {
  width: 160px;
  height: 50px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  background: #fff;
  transition: all 0.2s;
  overflow: hidden;
  font-size: 16px;
  gap: 8px;
}
.pay-list  .pay-item i{
  font-size: 20px;
}
.pay-list  .pay-item:hover {
  border-color: var(--primary);
}

.pay-list  .pay-item.active {
  border-color: var(--primary);
  color: var(--text-primary);
}

.pay-list  .pay-item.active::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 0;
  border-top: 32px solid var(--primary);
  border-left: 32px solid transparent;
}

.pay-list  .pay-item.active::before {
  /* content: "\eb7a"; */
  content: "✔";
  position: absolute;
  right: 4px;
  top: 2px;
  font-size: 12px;
  color: #fff;
  z-index: 1;
}

.pay-count{}
.pay-count .safe-bar {
  background: #fff3e6;
  color: #ff8a00;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}

/* 标题 */
.pay-count .title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.pay-count .sub {
  font-size: 13px;
  color: var(--text-sub);
  margin-left: 6px;
}


.pay-count .row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-sub);
}
.pay-count .row .price{
  font-weight: 400;
  color: var(--text-main);
}
.pay-count .row .price.red{
  color: var(--price);
  font-weight: bold;
}
.pay-count  .divider {
  height: 1px;
  background: #eee;
  margin: 12px 0;
}
.pay-count .count {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.pay-count .count .price-box .price {
  color: var(--price);
  font-size: 24px;
  font-weight: bold;
}
.pay-count .count .price-box .price small{
  font-size: 16px;
  margin-right: 3px;
}


.pay-count .count .btn {
  background: var(--price);
  color: #fff;
  padding: 12px 32px;
  border-radius: 6px;
  cursor: pointer;
}




.success-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:32px 64px;
  
}
/* .success-card  .divider {
  height: 1px;
  background: #eee;
  margin: 12px 0;
} */

.success-card .success {
  display: flex;
  gap: 16px;
  align-items: center;
}

.success-card .success  .icon-success {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #00C600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #00C600;
}

.success-card .success  .info-success .title {
  font-size: 18px;
  font-weight: bold;
}

.success-card .success  .info-success .desc {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 2px;
}

.success-card .success  .info-success .time {
  color: var(--price);
  font-weight: bold;
  font-size: 16px;
}

.success-card .amount {
  text-align: right;
}

.success-card .amount span {
  color: var(--price);
  font-size: 24px;
  font-weight: bold;
}
.success-card .amount span small{
  font-size: 16px;
}

/* 支付区域 */
.pay-way-box {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  margin-top: 20px;
  border: #ccc 1px solid;
  margin: 0 64px;
}

.pay-way-box  .pay-title {
  
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding-bottom: 16px;

}
.pay-way-box  .pay-title h3{
font-size: 18px;
}
.pay-way-box  .pay-title a{
color: var(--price);
}

.pay-way-box .pay-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-way-box .pay-content .qr-box {
  text-align: center;
}

.pay-way-box .pay-content .qr-box  img {
  width: 200px;
  height: 200px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 6px;
}

.pay-way-box .pay-content .qr-box  .tip-btn {
 
  background: var(--price);
  color: #fff;
  padding:8px 16px;
  border-radius: 6px;
  margin-top: 16px;
}


.pay-way-box .phone {
  width: 302px;
}



     

 /* Modal */
    .modal-mask {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      opacity: 0;
      transition: opacity 0.25s ease;
    }

    .modal-mask.show {
      opacity: 1;
    }
   

    .modal {
      width: 85%;
      max-width: 420px;
      background: #fff;
      border-radius: 16px;
      padding: 16px;
      position: relative;
      transform: scale(0.8);
      opacity: 0;
      transition: all 0.25s ease;
    }

    .modal.show {
      transform: scale(1);
      opacity: 1;
    }

    .modal-title {
      text-align: center;
      font-weight: bold;
      margin-bottom: 10px;
      font-size: 18px;
    }

    .modal-content {
      margin: 10px 0;
    }

    .modal-footer {
      display: flex;
      gap: 10px;
    }

    .modal-footer button {
      flex: 1;
      padding: 10px;
      border-radius: 6px;
      border: none;
    }

    #modalOk { background: var(--primary); color: #fff; }
    #modalCancel { background: var(--border); }

    .modal-close {
      position: absolute;
      right: 16px;
      top: 8px;
      cursor: pointer;
      font-size: 28px;
    }

.success-modal{
  display: flex;
  justify-content: center;
  align-items: center;
  color: #00C600;
  flex-direction: column;
  padding: 32px 0;
  font-size: 16px;
}
.success-modal .icon{
width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #00C600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  margin-bottom: 8px;
}
.success-modal.fail{
color: var(--price);
}
.success-modal.fail .icon{

  background-color: var(--price);
}




.site-place{
  
  display: flex;
  align-items: center;
  /* gap: 24px; */
  font-size: 14px;
  color: var(--text-sub);
  
}
.site-place a{
  color: var(--text-main);
}
.site-place a:not(:last-child)::after{ 
  content: '-';
  padding-inline:10px;
  color: var(--text-sub);
}
.site-place a:hover{
  color: var(--primary);
}

.course-classly{
    background: var(--white);
  border-radius: 8px;
  position: relative;
  overflow: visible;
  transition: box-shadow 0.25s ease;
  align-self: start;
  padding: 16px;
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  width: 100%;
overflow-x: auto;
            overflow-y: hidden;
            white-space: nowrap;
            scrollbar-width: thin;         
            scrollbar-color: #c1c1c1 #f0f0f0;
            /* 平滑滚动 */
            scroll-behavior: smooth;
            


}
.course-classly a{
  background-color:#f9f9f9;
  padding: 4px 10px;
   color: var(--text-main);
   border-radius: 4px;
}
.course-classly a:hover,.course-classly a.active{
   background-color: var(--primary);
   color: white;
   font-weight: bold;
}
 /* .course-classly::-webkit-scrollbar {
            display: none;
        }
        .course-classly {
            -ms-overflow-style: none;
            scrollbar-width: none;
        } */

         /* WebKit 滚动条样式（Chrome, Safari, Edge） */
        .course-classly::-webkit-scrollbar {
            height: 4px;                    /* 横向滚动条高度 */
        }
        .course-classly::-webkit-scrollbar-track {
            background: #f0f0f0;
            border-radius: 4px;
        }
        .course-classly::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 4px;
        }
        .course-classly::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }


/* ================= 浮动栏 ================= */
.float-bar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 76px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 999;
  border: #ccc 1px solid;
  padding: 8px 0;
}


.float-bar .float-item {
  text-align: center;
  padding: 8px 0;
  cursor: pointer;
  position: relative;
}

.float-bar .float-item:hover .icon{
  background: var(--text-primary);
  color: white;
}

.float-bar .float-item  .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2px;
  transition: background 0.25s ease;
  font-weight: 100;
 
}

.float-bar .float-item  .text {
  font-size: 13px;
  color: var(--text-main);
}

.float-bar .float-item:hover .qr-popup {
  display: block;
}
.float-bar .float-item.back-top {
  cursor: pointer;
}

.qr-popup {
  position: absolute;
  right: 76px;
  top: 0;
  width: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 16px;
  display: none;
  border: #ccc 1px solid;
  min-width: 130px;
}

.qr-popup  .qr-box {
  display: flex;
  justify-content: space-between;
}

.qr-popup  .qr-box  .qr {
  text-align: center;
  font-size: 13px;
  color: var(--text-main);
}

.qr-popup  .qr-box  .qr img {
  width: 100px;
  height: 100px;
  margin-bottom: 6px;
}





.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  justify-content: center;
}

.pagination a.page-btn {
  min-width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid var(--icon-color);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pagination a.other{ padding: 0 6px;}

.pagination a.page-btn:hover,.pagination a.page-btn.active {
  border-color: var(--navy-dark);
  background-color: var(--navy);
    color: #fff;
}

.pagination .page-text {
  margin: 24px 16px;
}

.pagination .page-text  .select {
  height: 32px;
  padding: 0 6px;
   height: 40px;
}


.member-login {
  position: relative;
  
}

.member-login  .avatar-box {
gap: 8px;
 display: flex;
 align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #fff;
  
}
.member-login  .avatar-box  img{
width: 100%;
aspect-ratio: 1/1;
object-fit: cover;
  background:#fff;
    width: 40px;
  height: 40px;
  border-radius: 50%;
}
.member-login  .avatar-box .icon-arrow{
 
   transition: transform 0.4s ease;
    display: inline-block;
}
.member-login  .avatar-box .icon-arrow.rotate{
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  right: 0;
  top: 50px;
  width: 340px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding:16px 24px;
  display: none;
  animation: fadeIn 0.2s ease;
}

.dropdown.show {
  display: block;
}

.dropdown .user-info {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dropdown .user-info .user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
 
}
.dropdown .user-info .user-tit{}

.dropdown .user-info  .name {
  font-weight: bold;
}

.dropdown .user-info .tag {
  font-size: 14px;
  padding:0px;
  
  display: inline-block;
  margin-top: 4px;
}
.dropdown .user-info .quit{
  font-size: 15px;
  color: var(--text-sub);
  margin-left: auto;
}
.dropdown .user-info .quit:hover{
  color: var(--text-main);
}
.dropdown .user-info .quit i{
  font-size: 18px;
}

.dropdown .user-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  text-align: center;
}

.dropdown .user-stats a {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: var(--text-sub);
}
.dropdown .user-stats a  span{
  font-size: 24px;
  color: var(--text-main);
  font-weight: bold;
}



@keyframes fadeIn {
  from {opacity:0; transform: translateY(-10px);}
  to {opacity:1; transform: translateY(0);}
}


.member-head {
  background: #fff;
  padding: 16px 32px;
    display: flex;
  justify-content: space-between;
  border-radius: 8px;
  flex-direction: column;
  margin-bottom: 16px;
}


.member-head .user {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: column;
}

 .member-head .user .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  

}
 .member-head .user .avatar img{
 width: 100%;
 object-fit: cover;
 aspect-ratio: 1/1;
}

.member-head .user .info{
  text-align: center;
}

.member-head .user .info .tag {
  /* background: #ffe7cc; */
  color: var(--text-sub);
  font-size: 14px;
  padding: 2px 0px;
  
  display: inline-block;
}

 .member-head .user .btn{
  border: currentColor 1px solid;
  line-height: 24px;
  font-size: 14px;
  padding-top: 4px;
  padding-bottom: 4px;
  color: var(--text-sub);
  transition:color all 0.2s ease;
 }
  .member-head .user .btn:hover{
     color: var(--primary);
  }

 .member-head  .total {
  display: flex;
  gap: 48px;
  
 
}
 .member-head  .total .item{
   color: var(--text-sub);
   font-size: 14px;
   display: flex;
   flex-direction: column;
   
   align-items: center;
}
.member-head  .total .item span{
 font-size: 28px;
  font-weight: bold;
  color: var(--primary);
}


.member-container{
 max-width: 1200px;
  display: flex;
  gap: 24px;
}
.member-sidebar {
  width: 200px;
  flex-shrink: 0;
  
}
.member-menu{
    background: #fff;
  border-radius: 10px;
  padding: 16px;
}

.member-menu .menu-item a {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  color: var(--text-main);
  display: flex;
  gap: 8px;
}
.member-menu .menu-item a i{
font-size: 18px;
}
.member-menu .menu-item a.active, .member-menu .menu-item a:hover{
  background: #d5e7ff ;
  color: var(--primary);
}

.member-content{
 flex: 1;
 background-color: #fff;
 border-radius:8px;
 padding: 24px;
}
.member-content .member-title{
font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
}
.member-content.member-home{
background-color: transparent;
padding: 0;
border-radius: 0;
display: flex;
flex-direction: column;

}
.member-home-head{
display: flex;
margin-top: 32px;
gap: 24px;
}
.member-home-head .member-head{
flex: 1;
align-items: center;
margin-bottom: 0;
}
.member-home-head .member-head{
 flex-direction: row;
}
.member-home-head .member-head .user{
flex-direction: row;
}
.m-home-total{
flex: 1;
background: #fff;
    padding: 16px 32px;
    display: flex;
    justify-content: space-evenly;
    border-radius: 8px;
   
    
}


.m-home-total   .item{
   color: var(--text-sub);
   font-size: 14px;
   display: flex;
   flex-direction: column;
   
   align-items: center;
}
.m-home-total  .item span{
 font-size: 28px;
  font-weight: bold;
  color: var(--primary);
}


.member-home-head .member-head  .btn{
  border: currentColor 1px solid;
  line-height: 24px;
  font-size: 14px;
  padding-top: 4px;
  padding-bottom: 4px;
  color: var(--text-sub);
  transition:color all 0.2s ease;
 }
 .member-home-head .member-head  .btn:hover{
     color: var(--primary);
  }



.help-menu{
    background: #fff;
  border-radius: 10px;
  padding: 16px;
}
.help-menu .menu-item{
margin-bottom: 16px;
}
.help-menu .menu-item dt{
  padding: 10px;
  margin-bottom: 6px;
}
.help-menu .menu-item dt a{
  color: var(--text-main);
  display: flex;
  gap: 10px;
}
.member-menu .menu-item dt a i{
font-size: 18px;
}

.help-menu .menu-item.active dt{
  background: #d5e7ff ;
  
  border-radius: 6px;
}
.help-menu .menu-item.active a{
  color: var(--primary);
  
}
.help-menu .menu-item dd{
 display: flex;
 gap: 10px;
 font-size: 14px;
 flex-direction: column;
 padding-left: 36px;
}
.help-menu .menu-item dd a{
  color: var(--text-sub);
}
.help-menu .menu-item dd a:hover,.help-menu .menu-item dd a.active{
color: var(--text-primary);
font-weight: bold;
}

.container-box{
  background-color: #fff;
  border-radius: 8px;
  padding: 24px;
}

.section-title{
  font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
}


/*会员中心*/
.m-course-list{
  display: flex;
  flex-direction: column;
   gap: 16px;
   margin-top: 24px;
}
.m-course-cell { 
   display: flex;
  border: 1px solid rgba(0,0,0,.1) ;
  border-radius: 6px;
}
.m-course-cell  .tit{
    height: 40px;
  background-color: rgba(0,0,0,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-sub);
}
.m-course-cell  .tit.left{
  justify-content: flex-start;
}
.m-course-cell .course-info{
  flex: 1;
}
.m-course-cell .col-progress{
  width:300px;
  flex-shrink: 0;
}

.m-course-cell .course-card-col{
  padding: 16px;

}
.m-course-cell .course-card-col .course-body .info .title{
  white-space:wrap;
}

.progress-box{
   display: flex;
   align-items: center;
   justify-content: center;
    padding: 0 16px;
    margin-top: 64px;
}
.progress-box .progress-bar {
  display: inline-block;
  width: 120px;
  height: 6px;
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
  margin: 0 6px;
}

.progress-box .progress-inner {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff8a00, #ffb347);
  transition: width 0.3s ease;
}

.progress-box .percent {
  font-size: 16px;
  color: var(--text-main);
}

.m-certificate-speed{
 margin-top: 48px;
}
.m-certificate-speed .name{
 padding: 0 16px;
 font-size: 16px;
 color: var(--text-main);
}
.m-certificate-speed .progress-box{
 margin-top: 8px;
}
.m-certificate-speed .progress-box .progress-bar{
width: 100%;
}
.m-certificate-show{
max-width: 320px;
margin-inline: auto;
margin-top: 32px;
display: flex;
align-items: center;
flex-direction: column;
}
.m-certificate-show .img-box{
padding: 8px;
background-color: rgba(0, 0, 0, 0.05);
margin-bottom: 16px;
}

.m-tab{
  height: 60px;
  border-bottom: 1px solid rgba(0,0,0,.1);
  list-style: none;
  display: flex;
  gap: 24px;
 
}
.m-tab li{ 
 position: relative;
 height: 60px;
  display: flex;
   align-items: center;
 
}
.m-tab li.active{
  font-weight: bold;
  color: var(--text-primary);
  
}
.m-tab li.active::after{
  content: '';
  height: 2px;
  background-color: var(--primary);
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  position: absolute;
}

.m-order-list{
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-direction: column;
}

.m-order-table {
  width: 100%;
  border-collapse: collapse;
  /* border: 1px solid rgba(0, 0, 0, 0.1); */
  /* table-layout: fixed; */
 
}

.m-order-table td {
   border: 1px solid rgba(0, 0, 0, 0.1);
  padding:12px 16px;
  vertical-align: middle;
  font-size: 14px;
   
}

.m-order-table .order-header {
  background: rgba(0, 0, 0, 0.05);
  font-size: 14px;
  color: var(--text-sub);
  
}
.m-order-table .order-header .delete{
  margin-left: auto;
  font-size: 17px;
  display: inline-block;
}
.m-order-table .order-header span{
  color: var(--text-main);
  font-weight: bold;
}

.m-order-table .count {
  text-align: center;
}

.m-order-table .status {
  text-align: center;
}

.m-order-table .status .price {
  color: var(--text-sub);
 font-size: 20px;
    color: var(--price);
  font-weight: bold;
}
.m-order-table .status .price small{
  font-size: 14px;
}


.m-order-table .action {
  text-align: center;
}

.m-order-table .btn-box{
  display: flex;
  flex-direction: column;
}

.m-order-table .btn-box .btn {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid currentColor;
  color: var(--text-sub);
  border-radius: 3px;
  margin-top: 6px;
  cursor: pointer;

}
.m-order-table .btn-box .btn.red{
color: white;
background-color:  var(--price);
  border: 1px solid currentColor;

}

.m-order-table .link {
  display: block;
  color: var(--text-sub);
  font-weight: bold;
}
.m-order-table .link.red{
  color:  var(--price);
}

.m-scan{
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
.m-scan .course-card-col{
border-bottom: var(--border) 1px solid;
padding-bottom: 24px;
}

.m-favorite{
    display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  list-style: none;
}
.m-favorite li{
  display: flex;
  justify-content: space-between;
  border-bottom: var(--border) 1px  solid;
  padding-bottom: 24px;
}
.m-favorite li .course-card-col{
  flex: 1;
}
.m-favorite li .operation{
  width: 300px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  font-size: 14px;
  color: var(--text-sub);
}
.m-favorite li .operation .btn{
  border: var(--icon-color) 1px solid;
  color: var(--text-main);
  padding: 6px 12px;
  font-size: 13px;
  margin-top: 8px;
  transition: all .2s;
}
.m-favorite li .operation .btn:hover{
  border-color:var(--text-sub);
  color: var(--text-main);
}

.member-small-tab{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  background-color: rgba(0, 0, 0, 0.05);
  border: var(--border) 1px solid;
  padding: 0 24px;
  border-radius: 8px;
  margin-top: 24px;
}
.member-small-tab .count{
  color: var(--text-sub);
  font-size: 14px;
}
.member-small-tab .count span{
  color: var(--text-primary);
  font-weight: bold;
  font-size: 16px;
}
.member-small-tab .btn{
  background-color: var(--primary);
  color: white;
  font-size: 14px;
}
.m-class{
  list-style: none;
}
.m-class li{
  padding:16px 0;
  border-bottom: var(--border) 1px solid;
  align-items:center;
  display: flex;
  justify-content: space-between;
}
.m-class li .class-info{
  display: flex;
  flex-direction: column;
}
.m-class li .class-info .name{
  font-size: 16px;
  color: var(--text-main);
  font-weight: bold;
}
.m-class li .class-info .num{
  font-size: 14px;
  color: var(--text-sub);
  display: flex;
  gap:16px;
  margin-top: 6px;
}
.m-class li .class-info .num strong{
  font-weight: bold;
  font-size: 14px;
  color: var(--text-main);
  margin-top: 4px;
}
.m-class li .class-operation{
  display: flex;
  gap: 12px;
}
.m-class li .class-operation a{
  border: var(--border) 1px solid;
  padding: 4px 8px;
  font-size: 14px;
  color: var(--text-sub);
  transition: all 0.3s ease-in-out;
}
.m-class li .class-operation a:hover{
  border-color: var(--text-main);
  color: var(--text-main);
}
.m-class li .class-operation a.primary-border{
  border-color: var(--text-primary);
  color: var(--text-primary);
}


.m-suggest{
  list-style: none;
}
.m-suggest .item{
  padding:16px 0;
  border-bottom: var(--border) 1px solid;

}
.m-suggest .item .title-head{
padding: 12px 0;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
}
.m-suggest .item .title-head .tag{
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: #eef0ff;
    border-radius: 4px;
    
    font-weight: bold;
    color: var(--primary);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}
.m-suggest .item .title-head .time{
  color: var(--text-sub);
}
.m-suggest .item .content{
font-size: 16px;
color: var(--text-main);
font-weight: 500;
line-height: 26px;
}


.m-suggest .item .picture-box{
display: flex;
gap: 16px; 
list-style: none;
margin-top: 16px;
}
.m-suggest .item .picture-box li{
   width: 96px;
   height: 96px;
   position: relative;
}
.m-suggest .item .picture-box img{
width: 100%;
height: 100%;
aspect-ratio: 1/1;
object-fit: cover;
cursor: pointer;
border-radius: 8px;
}

.image-preview{
display: none;
position: fixed;
inset: 0;
z-index: 9999;
align-items: center;
justify-content: center;
padding: 32px 16px;
box-sizing: border-box;
background: rgba(0, 0, 0, 0.78);
}

.image-preview.is-open{
display: flex;
}

.image-preview-dialog{
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}

.image-preview img{
display: block;
max-width: min(960px, 100%);
max-height: 100%;
border-radius: 12px;
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
background: #fff;
}

.image-preview-close{
position: absolute;
top: 0;
right: 0;
width: 40px;
height: 40px;
border: none;
border-radius: 50%;
background: rgba(0, 0, 0, 0.6);
color: #fff;
font-size: 20px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}

.image-preview-nav{
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 44px;
height: 44px;
border: none;
border-radius: 50%;
background: rgba(0, 0, 0, 0.55);
color: #fff;
font-size: 24px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}

.image-preview-prev{
left: 16px;
}

.image-preview-next{
right: 16px;
}

@media (max-width: 768px){
.image-preview{
padding: 24px 12px;
}

.image-preview-dialog{
align-items: flex-start;
padding-top: 36px;
}

.image-preview img{
max-width: 100%;
max-height: calc(100vh - 96px);
}

.image-preview-nav{
width: 38px;
height: 38px;
font-size: 20px;
}

.image-preview-prev{
left: 4px;
}

.image-preview-next{
right: 4px;
}
}


.form-box{
padding-top: 32px;
box-sizing: border-box;
display: block;
}

.form-row {
    display: flex;
    margin-bottom: 24px;
}

.form-label {
    width: 100px;
    padding-top: 8px;
    font-size: 14px;
    color: var(--text-sub);
    flex-shrink: 0;
    text-align: right;
    padding-right: 16px;
}

.form-label.required::after {
    content: " *";
    color: var(--price);
}

.form-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

/* 复选按钮样式 (身份) */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-group .checkbox-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #f4f5f7;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.checkbox-group .checkbox-btn:hover {
    background-color: #e8e9eb;
}

.checkbox-group .checkbox-btn input[type="checkbox"] {
    display: none; /* 隐藏原生复选框 */
}

.checkbox-group .checkbox-btn input[type="checkbox"]:checked + span {
    color: var(--primary);
    font-weight: 500;
}

.checkbox-group .checkbox-btn:has(input[type="checkbox"]:checked) {
    background-color: #eef0ff;
    border-color: var(--primary);
}

.checkbox-group .icon {
    margin-right: 6px;
    font-size: 14px;
}


/* 单选按钮样式*/
.checkbox-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-radio  .checkbox-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #f4f5f7;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.checkbox-radio  .checkbox-btn:hover {
    background-color: #e8e9eb;
}

.checkbox-radio .checkbox-btn input[type="radio"] {
    display: none; /* 隐藏原生单选框 */
}

.checkbox-radio .checkbox-btn input[type="radio"]:checked + span {
    color: var(--primary);
    font-weight: 500;
}

.checkbox-radio .checkbox-btn:has(input[type="radio"]:checked) {
    background-color: #eef0ff;
    border-color: var(--primary);
}



/* 下拉选择框样式 */
.select-input {
    width: 100%;
    max-width: 360px;
    padding: 10px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-sub);
    outline: none;
    background-color: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23c0c4cc'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px;
}

.upload-section {
    display: flex;
    gap: 24px;
    align-items: center;
    
    justify-content: flex-start;
}

.upload-box {
    width: 96px;
    height: 96px;
    background-color: #eee;
    border: 1px dashed var(--icon-color);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-sub);
    font-size: 14px;
    transition: border-color 0.2s;
    position: relative;
}

.upload-box:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.upload-box .upload-icon {
    font-size: 24px;
    
}
.upload-box .input-file{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: inherit;
    width: inherit;
}
.upload-box .file{
width: 100%;
height: 100%;
inset: 0;
position: absolute;
opacity: 0;
}

.upload-resulte{
width: 100%;
height: 100%;
aspect-ratio: 1/1;
object-fit: cover;
position: absolute;
inset: 0;
z-index: 9999;
}

.upload-resulte-list{
display: flex;
gap: 24px; 
list-style: none;
}
.upload-resulte-list li{
   width: 96px;
   height: 96px;
   position: relative;
}
.upload-resulte-list li img{
width: 100%;
height: 100%;
aspect-ratio: 1/1;
object-fit: cover;
}
.upload-resulte-list li .close{
background: rgba(0, 0, 0, 0.5);
height: 24px;
width: 24px;
position: absolute;
top: -12px;
right: -12px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
border-radius: 100%;
}


.upload-section .upload-tips {
    font-size: 13px;
    color: var(--icon-color);
    line-height: 1.8;
}

.sub-tips {
    font-size: 12px;
    color: var(--text-sub);
    margin-top: 6px;
    width: 100%;
}

.radio-group {
    display: flex;
    gap: 24px;
    align-items: center;
    height: 40px;
}

.radio-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    margin-right: 6px;
    cursor: pointer;
}

.date-select-group {
    display: flex;
    gap: 12px;
}

.date-select-group .select-input {
    width: 100px;
}

.textarea-input {
    width: 100%;
    height: 140px;
    padding: 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-main);
    resize: none;
    outline: none;
    background-color: #f8f9fa;
    line-height: 1.6;
}

.textarea-input::placeholder {
    color: var(--icon-color);
}

.text-input {
    width: 100%;
    max-width: 360px;
    padding: 13px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.text-input:focus, .textarea-input:focus, .select-input:focus {
    border-color: var(--primary);
    background-color: #fff;
}

.word-count {
            text-align: right;
            font-size: 12px;
            color: #909399;
            margin-top: -24px;
            margin-right: 12px;
            pointer-events: none;
        }
