* {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans SC", sans-serif;
  box-sizing: border-box;
}

[v-cloak] {
  display: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.header.scrolled .logo,
.header.scrolled .nav a:not(.btn) {
  color: #333;
}
.header.scrolled .menu-toggle span {
  background: #333;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-content .nav-user {
  display: flex;
  align-items: center;
}
.header-content .nav-user .nav-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  margin-right: 10px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  transition: color 0.3s;
}
.logo .logo-image {
  height: 40px;
  -o-object-fit: cover;
     object-fit: cover;
  margin-right: 10px;
}

.nav {
  display: flex;
  gap: 40px;
  align-items: center;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  transition: color 0.3s;
}
.nav a:hover:not(.btn) {
  color: rgba(255, 255, 255, 0.8);
}
.nav .btn {
  padding: 10px 24px;
  background: #ff9800;
  color: #ffffff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s;
}
.nav .btn:hover {
  background: #f57c00;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  z-index: 999;
}
.nav-mobile.active {
  display: flex;
}
.nav-mobile a {
  font-size: 20px;
  color: #ffffff;
  font-weight: 500;
}
.nav-mobile a:hover {
  color: #ff9800;
}
.nav-mobile .btn {
  padding: 14px 40px;
  font-size: 16px;
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("/img/bg.jpg") center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: #ff9800;
  color: #ffffff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: #f57c00;
}

.features {
  padding: 100px 0;
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 10px;
}
.section-header p {
  color: #888;
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.feature-item {
  padding: 20px;
}
.feature-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-item p {
  font-size: 14px;
  color: #888;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ddd;
  border-radius: 50%;
  font-size: 24px;
}

.features .btn-primary {
  display: block;
  margin: 50px auto 0;
  width: -moz-fit-content;
  width: fit-content;
}

.devices {
  padding: 100px 0;
  background: #3c4858;
  color: #ffffff;
}

.devices-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.devices-text h2 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 20px;
}
.devices-text p {
  color: #a0a8b3;
  margin-bottom: 15px;
  font-size: 14px;
}

.devices-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.device {
  background: #ffffff;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.device.device-phone {
  width: 180px;
}
.device.device-tablet {
  width: 220px;
}

.device-screen {
  background: #333;
  border-radius: 10px;
  overflow: hidden;
  height: 320px;
  display: flex;
  flex-direction: column;
}

.device-header {
  background: #ff9800;
  padding: 15px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.device-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.device-content .text {
  color: #ffffff;
  font-size: 12px;
}
.device-content .image {
  background: url("https://images.unsplash.com/photo-1488590528505-98d2b5aba04b?w=300") center/cover;
  height: 100px;
  border-radius: 5px;
}
.device-content .btn {
  background: #ff9800;
  padding: 8px;
  text-align: center;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
}

.courses {
  padding: 100px 0;
  background: #ffffff;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.course-card {
  background: #f5f5f5;
  overflow: hidden;
  border-radius: 4px;
}

.course-image {
  height: 180px;
  background: center/cover no-repeat;
}

.course-info {
  padding: 20px;
}
.course-info h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}
.course-info p {
  font-size: 12px;
  color: #888;
}

.courses .btn-primary {
  display: block;
  margin: 50px auto 0;
  width: -moz-fit-content;
  width: fit-content;
}

.brands {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
}
.brands h3 {
  font-size: 14px;
  color: #888;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brands-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.brand-logo {
  font-size: 24px;
  font-weight: 700;
  color: #aaa;
}

.testimonials {
  padding: 100px 0;
  background: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.testimonial-card {
  text-align: center;
  padding: 20px;
}
.testimonial-card p {
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonial-author h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}
.testimonial-author span {
  font-size: 12px;
  color: #888;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ddd;
  margin-bottom: 10px;
  overflow: hidden;
}
.testimonial-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.cta {
  padding: 60px 0;
  background: #ff9800;
  text-align: center;
  color: #ffffff;
}
.cta h2 {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 20px;
}

.cta .btn-secondary {
  display: inline-block;
  padding: 12px 32px;
  background: #ffffff;
  color: #ff9800;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s;
}

.footer {
  padding: 40px 0;
  background: #333;
  color: #888;
  text-align: center;
}
.footer .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer p {
  font-size: 14px;
  margin: 0;
}
.footer .language-switcher form {
  display: inline-block;
}
.footer .language-switcher select {
  padding: 8px 12px;
  background: #ffffff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.footer .language-switcher select:hover {
  border-color: #ff9800;
}
.footer .language-switcher select:focus {
  outline: none;
  border-color: #ff9800;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.courses-page {
  padding-bottom: 80px;
}

.courses-header {
  background: #444f6c;
  padding: 120px 0 60px 0;
  margin-bottom: 40px;
}
.courses-header h1 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 300;
}

.courses-wrapper {
  display: flex;
  gap: 30px;
}

.courses-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.courses-sidebar-filter {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.courses-sidebar-filter h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.filter-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.filter-item input {
  margin-right: 10px;
}
.filter-item label {
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.courses-main {
  flex: 1;
}
.courses-main .courses-grid {
  grid-template-columns: repeat(2, 1fr);
}

.courses-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.courses-search {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 400px;
}
.courses-search input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}
.courses-search button {
  padding: 10px 20px;
  background: #ff9800;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.courses-sort select {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background: #ffffff;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.course-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.course-card-image {
  position: relative;
}
.course-card-image img {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}

.course-card-content {
  padding: 20px;
}

.course-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.course-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.course-card-instructor {
  font-size: 14px;
  color: #333;
}

.course-card-rating {
  color: #ffc107;
  font-size: 14px;
}

.course-card-desc {
  font-size: 14px;
  color: #888;
  margin-bottom: 15px;
  line-height: 1.6;
}

.course-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-card-price {
  font-size: 16px;
  font-weight: 600;
}
.course-card-price.free {
  color: #4caf50;
}
.course-card-price del {
  color: #999;
  font-size: 14px;
  margin-right: 5px;
}

.course-card-btn {
  padding: 10px 20px;
  background: #ff9800;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.courses-pagination {
  margin-top: 40px;
  text-align: center;
}
.courses-pagination ul {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
}
.courses-pagination li a,
.courses-pagination li span {
  display: inline-block;
  padding: 8px 16px;
  background: #f5f5f5;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}
.courses-pagination li span.current {
  background: #ff9800;
  color: #ffffff;
}

@media (max-width: 992px) {
  .courses-wrapper {
    flex-direction: column;
  }
  .courses-sidebar {
    width: 100%;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .devices-content {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero h1 {
    font-size: 32px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .courses-main .courses-grid {
    grid-template-columns: 1fr;
  }
}
.teacher-name-link {
  cursor: pointer;
  border-bottom: 1px dashed #888;
  transition: color 0.3s;
}
.teacher-name-link:hover {
  color: #ff9800;
  border-bottom-color: #ff9800;
}

.teacher-info-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teacher-info-modal-content {
  background: #ffffff;
  border-radius: 8px;
  width: 480px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: teacherModalIn 0.25s ease-out;
}

@keyframes teacherModalIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.teacher-info-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  line-height: 1;
  transition: color 0.3s;
}
.teacher-info-modal-close:hover {
  color: #333;
}

.teacher-info-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 24px 16px;
}

.teacher-info-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 3px solid #f5f5f5;
}

.teacher-info-name-wrap h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.teacher-info-country {
  font-size: 13px;
  color: #888;
  background: #f5f5f5;
  padding: 2px 10px;
  border-radius: 12px;
}

.teacher-info-body {
  padding: 0 24px 24px;
}

.teacher-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}

.teacher-info-label {
  font-size: 14px;
  color: #888;
  flex-shrink: 0;
  width: 80px;
}

.teacher-info-value {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.teacher-info-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.teacher-info-tag.tag-yes {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}
.teacher-info-tag.tag-no {
  background: rgba(153, 153, 153, 0.15);
  color: #999;
}

.teacher-info-section {
  padding: 12px 0;
}

.teacher-info-desc {
  font-size: 14px;
  color: #333;
  line-height: 1.7;
  margin-top: 8px;
}

.teacher-info-certificate-list {
  margin-top: 8px;
}

.teacher-info-certificate-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
}
.teacher-info-certificate-item:last-child {
  border-bottom: none;
}

.cert-year {
  color: #888;
  font-size: 12px;
  flex-shrink: 0;
  width: 40px;
}

.cert-name {
  color: #333;
  font-weight: 500;
}

.cert-desc {
  color: #888;
  font-size: 13px;
}

.other-groups-section {
  margin-top: 60px;
  padding: 30px;
  background: #f5f5f5;
  border-radius: 8px;
}

.other-groups-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 24px;
  text-align: center;
}

.other-groups-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.other-groups-category {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.other-groups-label {
  font-size: 14px;
  font-weight: 600;
  color: #888;
  flex-shrink: 0;
  width: 60px;
  padding-top: 8px;
}

.other-groups-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
}

.other-groups-link {
  display: inline-block;
  padding: 8px 16px;
  background: #ffffff;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  border-radius: 20px;
  border: 1px solid #ddd;
  transition: all 0.3s;
}
.other-groups-link:hover {
  background: #ff9800;
  color: #ffffff;
  border-color: #ff9800;
}

@media (max-width: 768px) {
  .other-groups-category {
    flex-direction: column;
    gap: 10px;
  }
  .other-groups-label {
    width: auto;
    padding-top: 0;
  }
}
.course-buy-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-buy-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.course-buy-modal-container {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  width: 520px;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  animation: courseBuyModalIn 0.25s ease-out;
}

@keyframes courseBuyModalIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.course-buy-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #f5f5f5;
}

.course-buy-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.course-buy-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}
.course-buy-modal-close:hover {
  background: #f5f5f5;
  color: #333;
}

.course-buy-modal-body {
  padding: 24px;
}

.course-buy-info {
  display: flex;
  gap: 24px;
}

.course-buy-info-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-buy-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-buy-info-label {
  font-size: 13px;
  color: #888;
  flex-shrink: 0;
  width: 70px;
}

.course-buy-info-value {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.course-buy-info-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 140px;
}

.course-buy-price-box,
.course-buy-balance-box {
  background: #f5f5f5;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
}

.course-buy-price-label,
.course-buy-balance-label {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

.course-buy-price-value {
  font-size: 24px;
  font-weight: 700;
  color: #ff9800;
}

.course-buy-balance-value {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.course-buy-modal-footer {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #f5f5f5;
}
.course-buy-modal-footer.loading {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

.course-buy-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.course-buy-btn-trial {
  background: #f5f5f5;
  color: #333;
}
.course-buy-btn-trial:hover {
  background: rgb(232.25, 232.25, 232.25);
}

.course-buy-btn-primary {
  background: #ff9800;
  color: #ffffff;
}
.course-buy-btn-primary:hover {
  background: #f57c00;
}

.course-buy-btn-cancel {
  background: transparent;
  color: #888;
}
.course-buy-btn-cancel:hover {
  color: #333;
}

@media (max-width: 768px) {
  .course-buy-info {
    flex-direction: column;
  }
  .course-buy-info-right {
    flex-direction: row;
    min-width: auto;
  }
  .course-buy-price-box,
  .course-buy-balance-box {
    flex: 1;
  }
  .course-buy-modal-footer {
    flex-direction: column;
  }
  .course-buy-btn {
    width: 100%;
  }
}
.page-header {
  padding: 112px 0 40px;
  background: #f5f5f5;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.one-to-one-page {
  padding: 0 0 40px 0;
}

.calendar-wrapper {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #f5f5f5;
}

.calendar-header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.current-date-display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.current-date-label {
  font-size: 14px;
  color: #888;
}

.current-date-value {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.calendar-nav-buttons {
  display: flex;
  gap: 8px;
}

.calendar-nav-btn {
  padding: 8px 16px;
  background: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.calendar-nav-btn:hover {
  background: rgb(232.25, 232.25, 232.25);
  border-color: rgb(195.5, 195.5, 195.5);
}
.calendar-nav-btn.calendar-nav-active {
  background: #ff9800;
  color: #ffffff;
  border-color: #ff9800;
}
.calendar-nav-btn.calendar-nav-active:hover {
  background: #f57c00;
}

.calendar-header-right {
  display: flex;
  align-items: center;
}

.status-legend {
  display: flex;
  gap: 20px;
}

.status-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.status-dot.status-dot-available {
  background: #4caf50;
}
.status-dot.status-dot-expired {
  background: #f44336;
}
.status-dot.status-dot-reserved {
  background: #ff9800;
}

.status-label {
  font-size: 14px;
  color: #888;
}

.calendar-content {
  display: flex;
  min-height: 600px;
}

.teachers-sidebar {
  width: 280px;
  border-right: 1px solid #f5f5f5;
  overflow-y: auto;
  max-height: 600px;
}

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

.teacher-card {
  position: relative;
  padding: 16px;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: all 0.3s;
}
.teacher-card:hover {
  background: #f5f5f5;
}
.teacher-card.teacher-card-active {
  background: #ffc107;
  border-left: 3px solid #ff9800;
}

.teacher-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.teacher-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.teacher-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.teacher-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 12px;
}

.teacher-detail {
  display: none;
  padding: 12px 0 0;
}

.teacher-card:hover .teacher-detail {
  display: block;
}

.teacher-detail-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  margin-bottom: 8px;
}

.teacher-detail-info {
  padding-left: 76px;
}

.teacher-detail-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.teacher-detail-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}

.calendar-main {
  flex: 1;
  overflow-x: auto;
}

.calendar-table-wrapper {
  min-width: 800px;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
}

.calendar-th {
  padding: 16px;
  background: #f5f5f5;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.calendar-td {
  padding: 12px;
  border-bottom: 1px solid #f5f5f5;
  border-right: 1px solid #f5f5f5;
  vertical-align: top;
  min-width: 120px;
}

.calendar-day-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calendar-slot {
  position: relative;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s;
}
.calendar-slot:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.calendar-slot.slot-available {
  background: #e8f5e9;
  border-color: #4caf50;
}
.calendar-slot.slot-available:hover .slot-mask {
  opacity: 1;
}
.calendar-slot.slot-expired {
  background: #ffebee;
  border-color: #f44336;
  opacity: 0.6;
}
.calendar-slot.slot-reserved {
  background: #fff3e0;
  border-color: #ff9800;
}

.slot-time {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.slot-footer {
  margin-bottom: 8px;
}

.slot-status {
  font-size: 12px;
  color: #888;
}

.slot-status-value {
  font-weight: 600;
  color: #333;
}

.slot-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.slot-action {
  padding: 8px;
}

.slot-book-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #ff9800;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.slot-book-btn:hover {
  background: #f57c00;
}

@media (max-width: 992px) {
  .calendar-content {
    flex-direction: column;
  }
  .teachers-sidebar {
    width: 100%;
    max-height: 300px;
    border-right: none;
    border-bottom: 1px solid #f5f5f5;
  }
  .teacher-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .teacher-arrow {
    display: none;
  }
  .teacher-detail {
    display: block;
    padding: 0;
    margin-top: 8px;
  }
  .teacher-detail-info {
    padding-left: 0;
  }
  .calendar-main {
    overflow-x: auto;
  }
}
@media (max-width: 768px) {
  .page-header {
    padding: 80px 0 24px;
  }
  .page-title {
    font-size: 24px;
  }
  .calendar-header {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  .calendar-header-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .status-legend {
    flex-wrap: wrap;
    gap: 12px;
  }
  .calendar-nav-buttons {
    width: 100%;
    justify-content: space-between;
  }
  .calendar-nav-btn {
    flex: 1;
    padding: 10px;
  }
}
.recharge-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.recharge-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.recharge-modal-container {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  width: 580px;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  animation: rechargeModalIn 0.25s ease-out;
}

@keyframes rechargeModalIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.recharge-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #f5f5f5;
}

.recharge-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.recharge-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}
.recharge-modal-close:hover {
  background: #f5f5f5;
  color: #333;
}

.recharge-modal-body {
  padding: 24px;
}

.recharge-form-group {
  margin-bottom: 24px;
}

.recharge-form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.recharge-form-hint {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

.recharge-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s;
}
.recharge-form-input:focus {
  outline: none;
  border-color: #ff9800;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}
.recharge-form-input::-moz-placeholder {
  color: #aaa;
}
.recharge-form-input::placeholder {
  color: #aaa;
}

.recharge-pay-type {
  margin-bottom: 24px;
}

.recharge-pay-options {
  display: flex;
  gap: 12px;
}

.recharge-pay-option {
  flex: 1;
  padding: 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}
.recharge-pay-option:hover {
  border-color: #ff9800;
  background: #ffc107;
}
.recharge-pay-option.recharge-pay-option-active {
  border-color: #ff9800;
  background: #ffc107;
}

.recharge-pay-option-text {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

.recharge-pay-option-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 16px;
  color: #ff9800;
  font-weight: 700;
}

.recharge-coupon-section {
  margin-top: 20px;
}

.recharge-coupon-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recharge-coupon-option {
  position: relative;
  padding: 12px 16px;
  background: #f5f5f5;
  border: 2px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}
.recharge-coupon-option:hover {
  border-color: #ff9800;
}
.recharge-coupon-option.recharge-coupon-option-active {
  border-color: #ff9800;
  background: rgba(255, 152, 0, 0.05);
}

.recharge-coupon-option-text {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.recharge-coupon-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recharge-coupon-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.recharge-coupon-desc {
  font-size: 12px;
  color: #ff9800;
  font-weight: 500;
}

.recharge-coupon-expire {
  font-size: 11px;
  color: #888;
}

.recharge-coupon-option-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-size: 16px;
  color: #ff9800;
  font-weight: 700;
}

.recharge-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 10px;
}
.recharge-total-original {
  font-size: 14px;
  color: #888;
}

.recharge-total-discount {
  font-size: 14px;
  color: #4caf50;
  font-weight: 600;
}

.recharge-total-final {
  margin-bottom: 8px;
}

.recharge-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #f5f5f5;
}

.recharge-total {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.recharge-total-label {
  font-size: 14px;
  color: #888;
}

.recharge-total-price {
  font-size: 28px;
  font-weight: 700;
  color: #ff9800;
}

.recharge-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.recharge-agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.recharge-agreement-checkbox {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.recharge-agreement-label {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.recharge-agreement-link {
  color: #ff9800;
  text-decoration: none;
  transition: all 0.3s;
}
.recharge-agreement-link:hover {
  text-decoration: underline;
}

.recharge-pay-btn {
  padding: 12px 32px;
  background: #ff9800;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.recharge-pay-btn:hover {
  background: #f57c00;
}
.recharge-pay-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.recharge-qrcode {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.recharge-qrcode-content {
  margin-bottom: 16px;
}
.recharge-qrcode-content img {
  width: 200px;
  height: 200px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.recharge-qrcode-text {
  font-size: 14px;
  color: #888;
}

@media (max-width: 768px) {
  .recharge-modal-container {
    width: 95vw;
  }
  .recharge-pay-options {
    flex-direction: column;
  }
  .recharge-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .recharge-pay-btn {
    width: 100%;
  }
  .recharge-qrcode-content img {
    width: 160px;
    height: 160px;
  }
}
