/* Choose Tutor Modal Styles */
#tsubs-choose-tutor-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 17, 23, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1100;
}

.tsubs-ct-section {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  height: 760px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.08);
}

.tsubs-ct-header {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 12px 12px 0 0;
  z-index: 2;
}

.tsubs-ct-back-btn,
.tsubs-ct-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #121117;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tsubs-ct-scroll-area {
  overflow-y: auto;
  flex-grow: 1;
  padding-bottom: 0;
}

.tsubs-ct-content {
  padding: 0 32px 32px 32px;
}

.tsubs-ct-title {
  font-size: 28px;
  font-weight: 700;
  color: #121117;
  margin: 0 0 24px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.tsubs-ct-label {
  font-size: 13px;
  font-weight: 500;
  color: #8d8c9b;
  margin-bottom: 12px;
}

.tsubs-ct-tutor-card {
  border: 1px solid #eaeaef;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.tsubs-ct-card-header {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;

  .tsubs-ct-info-row {
    display: flex;
    min-width: 100%;
    gap: 30px;
    margin-top: 10px;
  }
}

.tsubs-ct-header-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tsubs-ct-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tsubs-ct-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.tsubs-ct-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.tsubs-ct-name-row h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #121117;
  line-height: 1.2;
}

.tsubs-ct-flag-img {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

.tsubs-ct-avatar {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.tsubs-ct-rating-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}

.tsubs-ct-star {
  font-weight: 700;
  color: #121117;
}

.tsubs-ct-reviews {
  color: #8d8c9b;
}

.tsubs-ct-price-stack {
  display: flex;
  flex-direction: column;
  gap: 0px;
  text-align: right;
}

.tsubs-ct-price {
  font-size: 18px;
  font-weight: 700;
  color: #121117;
  line-height: 1.2;
}

.tsubs-ct-duration {
  font-size: 12px;
  color: #8d8c9b;
}

.tsubs-ct-badge {
  background: #fff0f3;
  color: #ff4d6d;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 20px;
}

.tsubs-ct-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.tsubs-ct-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #4d4c5c;
}

.tsubs-ct-detail-item svg {
  color: #121117;
  opacity: 0.8;
}

.tsubs-ct-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tsubs-ct-btn-primary {
  background: #ffffff;
  color: #121117;
  border: 1px solid #121117;
  border-radius: 8px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition:
    background 0.2s,
    color 0.2s;
}

.tsubs-ct-btn-primary:hover {
  background: #121117;
  color: #ffffff;
}

.tsubs-ct-btn-secondary {
  background: transparent;
  color: #121117;
  border: 1px solid #dcdce5;
  border-radius: 8px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

.tsubs-ct-sticky-footer {
  padding: 24px 32px;
  background: #ffffff;
  border-top: 1px solid #f5f5f7;
  border-radius: 0 0 12px 12px;
  z-index: 2;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.02);
}

.tsubs-ct-footer-content {
  text-align: center;
}

.tsubs-ct-footer-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #121117;
  margin: 0 0 16px 0;
}

.tsubs-ct-btn-explore {
  background: #ff3c00;
  color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .tsubs-ct-section {
    max-width: 95%;
    height: 85vh;
  }
  .tsubs-ct-title {
    font-size: 24px;
  }
  .tsubs-ct-content {
    padding: 0 20px 20px 20px;
  }
  .tsubs-ct-sticky-footer {
    padding: 20px;
  }

  #tsubs-choose-tutor-backdrop .tsubs-ct-section {
    min-height: 100%;
    min-width: 100%;
    border-radius: 0;
  }
}
