* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #f4f7fb;
  color: #333;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-section {
  padding: 30px 0 84px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: 1400px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 56px;
}

.logo-image {
  height: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 56px;
}

.nav-menu a {
  position: relative;
  font-size: 18px;
  color: #333;
  transition: color 0.2s ease;
}

.list-card-arr{
   position: absolute;
   right: 24px;
   opacity: 0;
   top: 50%;
   transform: translateY(-50%);
   transition: all 0.6s;
}
.list-card:hover .list-card-arr{
    opacity: 1;
}
.list-card:hover .card-view-count{
    opacity: 0;
}
.list-card-body{
    position: relative;
}
.nav-menu a img{
   position: absolute;
   right: -1.5rem;
   height: auto;
   top: 50%;
   transform: translateY(-50%);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #1e5bb8;
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 24px;
  height: 3px;
  background: #1e5bb8;
  transform: translateX(-50%);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-search-button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1e5bb8;
}

.header-search-button svg {
  width: 24px;
  height: 24px;
}

.header-member-entry {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #333;
}

.header-member-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffd0be, #f2a28d);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.login-btn {
  padding: 12px 28px;
  border-radius: 24px;
  background: #1f56b1;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  transition: background 0.2s ease;
}

.login-btn:hover {
  background: #163f87;
}

.logout-form {
  display: inline-flex;
}

.logout-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #1e5bb8;
}

.flash-wrap {
  max-width: 1400px;
  margin: 14px auto 0;
  padding: 0 24px;
}

.flash {
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
}

.flash-success {
  background: #e8f6ed;
  color: #227445;
}

.flash-error {
  background: #fdebec;
  color: #a73b41;
}

.flash-list {
  margin: 0;
  padding-left: 18px;
}

.flash-list li + li {
  margin-top: 6px;
}

.breadcrumb-wrap {
  background: #fff;
  border-top: 1px solid #edf1f6;
  border-bottom: 1px solid #e7ecf4;
}

.breadcrumb {
  min-height: 68px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #888;
  font-size: 15px;
}

.breadcrumb a {
  color: #666;
}

.breadcrumb a:hover {
  color: #1e5bb8;
}

.breadcrumb-home {
  font-size: 16px;
  color: #b8bec8;
}

.breadcrumb-separator {
  color: #b8bec8;
}

.breadcrumb .is-current {
  color: #666;
}

.filter-card,
.sort-card,
.search-header-card,
.detail-tabs,
.member-content-card {
  background: #fff;
  border: 1px solid #e3eaf4;
}

.filter-card {
  overflow: hidden;
}

.filter-line {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  border-bottom: 1px solid #e8edf5;
}

.filter-line:last-child {
  border-bottom: 0;
}

.filter-title {
  padding: 22px 14px;
  font-size: 16px;
  color: #444;
  border-right: 1px solid #e8edf5;
}

.filter-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 14px 28px;
}


.filter-link {
  min-height: 36px;
  padding: 0 18px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #444;
}

.filter-link.is-active {
  background: #2b63c0;
  color: #fff;
}

.sort-card {
  margin-top: 20px;
  display: flex;
  align-items: stretch;
}

.sort-link {
  min-width: 128px;
  min-height: 54px;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #555;
  border-right: 1px solid #e8edf5;
}

.sort-link:last-child {
  border-right: 0;
}

.sort-link.is-active {
  color: #1e5bb8;
}

.sort-arrows {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  font-size: 10px;
  color: #9aa4b2;
}

.sort-arrows .is-active {
  color: #2b63c0;
}

.list-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 40px;
}

.list-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5eaf3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.list-card-cover {
  height: 240px;
  background: #d9e5f9;
}

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

.list-card-body {
  padding: 22px 24px 24px;
}

.search-type-label {
  margin-bottom: 12px;
  color: #1e5bb8;
  font-size: 14px;
  font-weight: 600;
}

.list-card-body h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.list-card-body p {
  margin: 0 0 14px;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

.list-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #777;
  font-size: 14px;
}

.card-view-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.empty-state-card {
  grid-column: 1 / -1;
  padding: 68px 24px;
  background: #fff;
  border: 1px solid #e5eaf3;
  text-align: center;
  color: #888;
  font-size: 16px;
}

.pager {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pager-item {
  min-width: 40px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #dde5f0;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #666;
  border-radius: 4px;
}

.pager-item.is-current {
  border-color: #1f56b1;
  background: #1f56b1;
  color: #fff;
}

.pager-item.is-disabled {
  color: #b9c1ce;
  pointer-events: none;
}

.pager-item.is-ellipsis {
  border: 0;
  background: transparent;
  min-width: auto;
}

.detail-section {
  padding: 0 0 84px;
}

.detail-stage {
  padding-top: 0;
}

.detail-player-shell {
  background: #343434;
  color: #fff;
}

.detail-player {
  position: relative;
  height: 0;
  padding-top: 48%;
  background-position: center;
  background-size: cover;
}

.detail-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.detail-player-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
  z-index: 2;
  pointer-events: none;
}

.detail-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  transform: translate(-50%, -50%);
  font-size: 34px;
  z-index: 3;
}

.detail-player.is-playing {
  background-image: none !important;
}

.detail-player.is-playing .detail-player-mask,
.detail-player.is-playing .detail-play-button,
.detail-player.is-playing .detail-player-bar {
  display: none;
}

.detail-play-button span {
  display: inline-block;
  margin-left: 5px;
}

.detail-player-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  z-index: 2;
}

.player-icon {
  font-size: 20px;
  color: #fff;
}

.player-progress {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  overflow: hidden;
}

.player-progress-value {
  display: block;
  height: 100%;
  background: #44a7ff;
}

.detail-locked-box {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 360px;
  max-width: calc(100% - 48px);
  padding: 40px 28px 32px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.detail-locked-box h2 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 600;
}

.detail-locked-box p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.detail-stage-footer {
  padding: 30px 30px 44px;
}

.detail-stage-footer h1 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 600;
}

.detail-stage-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.detail-tabs {
  margin-top: 38px;
}

.detail-tab-head {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e6edf6;
}

.detail-tab-button {
  min-width: 110px;
  height: 58px;
  padding: 0 30px;
  border: 0;
  background: transparent;
  color: #666;
  font-size: 15px;
}

.detail-tab-button.is-active {
  color: #1f56b1;
  border-bottom: 3px solid #1f56b1;
  margin-bottom: -1px;
  font-weight: 600;
}

.detail-tab-panel {
  display: none;
  padding: 30px;
}

.detail-tab-panel.is-active {
  display: block;
}

.detail-summary-title {
  margin-bottom: 22px;
  font-size: 18px;
  font-weight: 600;
  color: #444;
}

.detail-rich-text {
  color: #4d5562;
  font-size: 16px;
  line-height: 2.1;
}

.chapter-list {
  display: flex;
  flex-direction: column;
}

.chapter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid #edf1f6;
}

.chapter-row:last-child {
  border-bottom: 0;
}

.chapter-row.is-current {
  background: #fbfdff;
}

.chapter-row-main {
  flex: 1;
  min-width: 0;
}

.chapter-row-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #2f4056;
}

.chapter-row-sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #777;
  font-size: 14px;
}

.chapter-tag {
  padding: 2px 10px;
  border-radius: 4px;
  background: #fff2f0;
  color: #ff4d4f;
  font-size: 13px;
  font-weight: 400;
}

.chapter-tag-outline {
  background: #f0f7ff;
  color: #1f56b1;
}

.chapter-tag-learned {
  background: #edf8f1;
  color: #16864b;
}

.chapter-progress-text {
  color: #2b63c0;
  font-weight: 600;
}

.chapter-progress {
  width: min(420px, 100%);
  height: 6px;
  margin-top: 14px;
  border-radius: 999px;
  background: #e5edf7;
  overflow: hidden;
}

.chapter-progress span {
  display: block;
  height: 100%;
  background: #3f8cf1;
}

.chapter-action {
  min-width: 88px;
  height: 38px;
  border: 1px solid #bed6f6;
  border-radius: 4px;
  background: #eaf3ff;
  color: #4b78bf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chapter-action.is-primary {
  background: #2a63c0;
  border-color: #2a63c0;
  color: #fff;
}

.chapter-action.is-disabled {
  background: #f3f6fb;
  color: #9aa4b2;
  border-color: #e2e8f1;
}

.detail-extra-action {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.primary-button {
  min-width: 140px;
  height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 4px;
  background: #2553a3;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-modal,
.page-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
}

.site-modal.is-open,
.page-modal.is-open {
  display: flex;
}

.site-modal-panel,
.page-modal-panel {
  position: relative;
  width: min(1180px, 100%);
  background: #fff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
}

.site-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #888;
  font-size: 38px;
  line-height: 1;
}

.site-modal-title,
.application-modal-title,
.member-mobile-title {
  padding: 26px 40px;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  color: #333;
}

.site-search-panel {
  width: min(620px, 100%);
  padding: 20px 20px 34px;
}

.site-search-form {
  display: flex;
  gap: 14px;
  padding: 0 20px;
}

.search-modal-input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #d7e0ec;
  outline: none;
}

.application-modal-panel,
.survey-modal-panel {
  padding: 12px 0 40px;
}

.application-form {
  padding: 0 60px;
}

.application-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 40px;
}

.application-form-wide {
  grid-column: 1 / 2;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-field span {
  color: #444;
  font-size: 16px;
}

.form-field em {
  color: #ff4d4f;
  font-style: normal;
}

.form-input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #d9e2ed;
  outline: none;
  background: #fff;
}

.form-textarea {
  padding: 12px 16px;
  resize: vertical;
}

.instrument-example-card {
  width: min(480px, 100%);
  margin: 10px 0 0 auto;
  padding: 12px;
  border: 1px solid #e6edf6;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.application-submit {
  display: flex;
  margin: 22px auto 0;
}

.survey-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.auth-section {
  min-height: calc(100vh - 72px);
  background-position: center;
  background-size: cover;
}

.auth-container {
  display: flex;
  justify-content: flex-end;
  padding-top: 92px;
  padding-bottom: 92px;
}

.auth-card {
  width: min(480px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.14);
}

.auth-card-single {
  padding-bottom: 18px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 28px 40px 0;
  border-bottom: 1px solid #dde4ee;
}

.auth-tab {
  height: 60px;
  border: 0;
  background: transparent;
  color: #a9a9a9;
  font-size: 22px;
}

.auth-tab.is-active {
  color: #333;
  border-bottom: 2px solid #222;
  font-weight: 600;
}

.auth-single-title {
  padding: 28px 40px 16px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  border-bottom: 1px solid #dde4ee;
}

.auth-panel {
  display: none;
}

.auth-panel.is-active {
  display: block;
}

.auth-form {
  padding: 30px 40px 0;
}

.auth-input-row {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 18px;
  border: 1px solid #dce4ef;
  background: #fff;
}

.auth-input-row > span {
  width: 102px;
  flex: 0 0 102px;
  padding-left: 28px;
  color: #666;
}

.auth-input-row input,
.auth-inline-field input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  outline: none;
  background: transparent;
}

.auth-input-row-captcha,
.auth-input-row-code {
  gap: 16px;
  padding-right: 0;
  border: 0;
  background: transparent;
}

.auth-inline-field {
  /*flex: auto;*/
  width: 268px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid #dce4ef;
  background: #fff;
}

.auth-inline-field span {
  width: 102px;
  flex: 0 0 102px;
  padding-left: 28px;
  color: #666;
}

.captcha-button,
.code-button {
  min-width: 116px;
  height: 44px;
  border: 1px solid #dce4ef;
  background: #fff;
  color: #2b8b48;
}

.captcha-button {
  padding: 0;
  color: #666;
}

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

.auth-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  color: #999;
}

.auth-meta-row a,
.auth-link-row a,
.auth-agreement a {
  color: #1f56b1;
}

.auth-check,
.auth-agreement {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.auth-submit {
  width: 100%;
  height: 50px;
  border: 0;
  background: #2553a3;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.auth-link-row {
  padding: 18px 0 0;
  text-align: center;
}

.auth-agreement {
  margin: 18px 0 0;
  padding: 16px 22px 30px 0;
  border-top: 1px solid #edf1f6;
  color: #999;
}

.member-section {
  padding: 30px 0 84px;
}

.member-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
}

.member-sidebar {
  background: #fff;
  border: 1px solid #e3eaf4;
  min-height: 320px;
}

.member-sidebar-title {
  padding: 18px 16px;
  font-size: 16px;
  font-weight: 600;
}

.member-sidebar-link {
  min-height: 72px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 18px;
  align-items: center;
  color: #555;
}

.member-sidebar-link.is-active {
  background: #dfe6f2;
  color: #1f56b1;
  font-weight: 600;
}

.member-sidebar-icon {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
}

.member-sidebar-icon-profile {
  background: #16b5c6;
}

.member-sidebar-icon-course {
  background: #4775ff;
}

.member-sidebar-icon-password {
  background: #ff6b6b;
}

.member-sidebar-arrow {
  text-align: right;
  font-size: 24px;
  color: #1f56b1;
}

.member-content-header {
  min-height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #eef2f7;
}

.member-content-header-with-tools {
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}

.member-content-body {
  padding: 0 0 30px;
}

.member-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.member-search-box {
  width: 234px;
  height: 34px;
  display: flex;
  align-items: center;
  border: 1px solid #ccd8e5;
  background: #fff;
}

.member-search-box input {
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  outline: none;
}

.member-search-box button {
  width: 40px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #9aa4b2;
}

.member-select {
  min-width: 144px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #d5dde9;
  background: #fff;
  color: #555;
}

.member-status-tabs {
  display: flex;
  align-items: center;
  gap: 38px;
  padding: 20px 36px 0;
}

.member-status-tab {
  position: relative;
  padding-bottom: 14px;
  color: #444;
  font-size: 16px;
}

.member-status-tab em {
  color: #ff4d4f;
  font-style: normal;
}

.member-status-tab.is-active {
  color: #1f56b1;
  font-weight: 600;
}

.member-status-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #1f56b1;
}

.member-course-list {
  padding: 12px 36px 0;
}

.member-course-card {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 36px;
  padding: 30px 0;
  border-bottom: 1px solid #edf1f6;
}

.member-course-card:last-child {
  border-bottom: 0;
}

.member-course-cover {
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: #d9e5f9;
}

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

.member-course-info {
  position: relative;
  min-height: 200px;
  padding: 12px 118px 0 0;
}

.member-course-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.member-course-title-row h3 {
  margin: 0;
  color: #202631;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.member-course-badge {
  padding: 4px 10px;
  border-radius: 4px;
  background: #eef2f7;
  color: #666;
  font-size: 13px;
  line-height: 1;
}

.member-course-badge.is-pending {
  background: #fff1dd;
  color: #ba7e17;
}

.member-course-badge.is-approved {
  background: #20b15a;
  color: #fff;
}

.member-course-badge.is-rejected {
  background: #ff5f62;
  color: #fff;
}

.member-course-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(540px, 100%);
}

.member-course-progress-bar {
  flex: 1 1 420px;
  height: 8px;
  background: #e7edf5;
  border-radius: 999px;
  overflow: hidden;
}

.member-course-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #1460df;
}

.member-course-progress strong {
  min-width: 72px;
  color: #1460df;
  font-size: 15px;
  font-weight: 500;
}

.member-course-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 42px;
  margin-top: 32px;
  color: #202631;
}

.member-course-duration-item {
  display: grid;
  grid-template-columns: 28px auto;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
}

.member-course-duration-item i {
  grid-row: 1 / 3;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff 0 34%, #f7be32 36% 54%, #6f8efb 56% 100%);
  box-shadow: 0 2px 5px rgba(42, 99, 192, 0.18);
}

.member-course-duration-item b {
  font-size: 17px;
  font-weight: 700;
}

.member-course-duration-item em {
  color: #8a92a3;
  font-size: 13px;
  font-style: normal;
}

.member-course-actions {
  position: absolute;
  right: 12px;
  top: 95px;
  margin-top: 0;
}

.member-course-note,
.member-course-error {
  margin: 12px 0 0;
  line-height: 1.8;
}

.member-course-error {
  color: #ff4d4f;
}

.member-profile-form,
.member-password-form {
  width: min(620px, calc(100% - 80px));
  margin: 0 auto;
  padding: 36px 0 42px;
}

.member-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}

.member-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dcdcdc;
  color: #fff;
  font-size: 42px;
  font-weight: 600;
  position: relative;
}

.ava-upload{
    width: 28px;
    height: 28px;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.ava-upload>input{
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.ava-upload>img{
    width: 100%;
    height: 100%;
}

.member-form-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.member-form-row > span {
  text-align: right;
  color: #444;
}

.member-form-mobile {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.member-form-input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #d7e0ec;
  outline: none;
  background: #fff;
}

.member-inline-action {
  border: 0;
  background: transparent;
  color: #1f9f4e;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.member-form-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.member-secondary-button {
  min-width: 132px;
  height: 40px;
  border: 1px solid #cfd8e5;
  border-radius: 4px;
  background: #fff;
  color: #666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.member-primary-button {
  min-width: 106px;
  height: 42px;
  border-radius: 4px;
  background: #2d65cf;
}

.member-mobile-panel {
  width: min(660px, 100%);
}

.member-mobile-form {
  padding: 0 42px 34px;
}

.member-mobile-row,
.member-mobile-field {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.member-mobile-row span,
.member-mobile-field span {
  text-align: right;
  color: #444;
}

.member-mobile-code-row {
  grid-template-columns: minmax(0, 1fr) 116px;
  align-items: stretch;
}

.member-mobile-code-input {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.member-mobile-actions {
  margin-top: 10px;
}

.search-header-card {
  padding: 24px;
}

.search-header-form {
  display: flex;
  gap: 14px;
}

.search-header-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #d7e0ec;
  outline: none;
}

.search-type-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.search-type-tab {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 18px;
  background: #f1f6fd;
  color: #4a5d7a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.search-type-tab em {
  font-style: normal;
}

.search-type-tab.is-active {
  background: #1f56b1;
  color: #fff;
}

.footer {
  margin-top: 0;
  background: #071a39;
  color: #fff;
  padding: 52px 0 24px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 84px;
}

.footer-logo-image {
  height: 48px;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  font-size: 18px;
}

.footer-center {
  text-align: center;
}

.footer-label {
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-phone {
  font-size: 30px;
  font-weight: 500;
}

.footer-right {
  display: flex;
  gap: 26px;
}

.qr-code-wrap {
  width: 116px;
  height: 116px;
  padding: 8px;
  background: #fff;
}

.qr-code-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-bottom {
  max-width: 1400px;
  margin: 46px auto 0;
  padding: 26px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-bottom span {
  margin: 0 8px;
}

.float-buttons {
  position: fixed;
  right: 24px;
  bottom: 54px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.float-btn {
  width: 80px;
  height: 80px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  /*box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);*/
}

.float-btn-icon {
  font-size: 30px;
  color: #333;
}

.float-qrs {
  width: 160px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.float-qr-card + .float-qr-card {
  margin-top: 14px;
}

.float-qr-card span {
  display: block;
  margin-top: 8px;
  text-align: center;
  color: #333;
  font-size: 14px;
}

@media (max-width: 1200px) {
  .list-grid {
    gap: 24px;
  }

  .member-course-card {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  .nav-container,
  .nav-left,
  .nav-menu,
  .footer-content,
  .footer-left {
    flex-wrap: wrap;
  }
  
  .nav-menu{
      /*display: none;*/
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 50px;
      background: #fff;
      justify-content: center;
  }
  
  .nav-left{
     gap: 15px;
  }
  .nav-container {
    height: auto;
    /*padding-top: 18px;*/
    /*padding-bottom: 18px;*/
    padding: 10px;
  }

  .nav-menu {
    gap: 24px;
  }

  .nav-menu a.active::after {
    bottom: -10px;
  }

  .filter-line {
    grid-template-columns: 1fr;
  }

  .filter-title {
    border-right: 0;
    border-bottom: 1px solid #e8edf5;
  }

  .list-grid,
  .member-layout {
    grid-template-columns: 1fr;
  }

  .application-form-grid {
    grid-template-columns: 1fr;
  }

  .application-form-wide {
    grid-column: auto;
  }

  .instrument-example-card {
    margin-left: 0;
  }

  .member-course-card {
    grid-template-columns: 1fr;
  }

  .member-course-info {
    min-height: 0;
    padding-right: 0;
  }

  .member-course-actions {
    position: static;
    margin-top: 22px;
  }

  .member-content-header-with-tools {
    align-items: flex-start;
  }

  .member-form-row,
  .member-mobile-row,
  .member-mobile-field,
  .member-mobile-code-input {
    grid-template-columns: 1fr;
  }

  .member-form-row > span,
  .member-mobile-row span,
  .member-mobile-field span {
    text-align: left;
  }

  .member-form-mobile,
  .search-header-form,
  .site-search-form {
    flex-direction: column;
  }

  .auth-container {
    justify-content: center;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .auth-card {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .page-container {
    padding: 0 16px;
  }

  .filter-links,
  .detail-tab-panel,
  .member-course-list {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sort-card {
    flex-wrap: wrap;
  }

  .sort-link {
    flex: 1 1 50%;
    min-width: 0;
    border-bottom: 1px solid #e8edf5;
  }

  .sort-link:last-child {
    border-bottom: 0;
  }

  .detail-stage-footer,
  .application-form {
    padding-left: 16px;
    padding-right: 16px;
  }

  .auth-form,
  .auth-tabs,
  .auth-single-title {
    padding-left: 20px;
    padding-right: 20px;
  }

  .auth-agreement {
    margin-left: -20px;
    margin-right: -20px;
  }

  .member-status-tabs {
    gap: 20px;
    overflow-x: auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  .member-profile-form,
  .member-password-form {
    width: calc(100% - 32px);
  }

  .float-buttons {
    right: 12px;
    bottom: 40px;
  }

  .float-btn {
    width: 64px;
    height: 64px;
  }

  .float-btn-icon {
    font-size: 24px;
  }
  .nav-menu a img{
      display: none;
  }
  .auth-inline-field{
      width: 60%;
  }
  .auth-input-row > span,
  .auth-inline-field span{
      width: 76px;
      flex: 0 0 76px;
  }
  body{
      padding-bottom: 50px;
  }
}
