.feature-grid > a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.feature-grid > a article {
  height: 100%;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.feature-grid > a:hover article {
  transform: translateY(-4px);
  border-color: #42d6a4;
  box-shadow: 0 18px 45px #12372a14;
}
.feature-grid article > b {
  display: block;
  color: #15845f;
  font-size: 12px;
  margin-top: 18px;
}
.teacher-card {
  cursor: pointer;
}
.teacher-slots {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.teacher-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid #dfe7e2;
  border-radius: 10px;
}
.teacher-slot a {
  color: #17684a;
  font-weight: 700;
}
.price-tax-note {
  display: block;
  font-size: 12px;
  color: #748079;
  margin: -6px 0 12px;
}
.tabs button.on {
  background: #fff !important;
  color: #17684a !important;
  box-shadow: 0 4px 14px #12372a18;
  outline: 2px solid #42d6a455;
}
.tabs button:not(.on) {
  color: #64736c !important;
}
.booking-panel {
  background: #fff;
  border: 1px solid #dfe7e2;
  border-radius: 14px;
  padding: 18px;
  margin: 22px 0;
}
.booking-panel h2 {
  margin-top: 0;
}
.booking-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #e7ece9;
}
.booking-row a,
.booking-panel button {
  background: #17684a;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  text-decoration: none;
}

/* 讲师登录与注册：选中项深色，未选中项浅色 */
body:has(#teacherAuth) #teacherAuth .tabs button {
  background: #eaf1ff !important;
  color: #49617d !important;
  border: 1px solid #d6e2f3 !important;
  box-shadow: none !important;
  outline: none !important;
}

body:has(#teacherAuth) #teacherAuth .tabs button.on {
  background: #315fdb !important;
  color: #ffffff !important;
  border-color: #315fdb !important;
  box-shadow: 0 8px 18px rgb(49 95 219 / 22%) !important;
}

body:has(#teacherAuth) #teacherAuth .tabs button:hover:not(.on) {
  background: #dce8ff !important;
  color: #233d62 !important;
}
