/* Cancel Scheduled Lessons Modal Styles */
#tsubs-cancel-scheduled-lessons-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; /* Higher than add tutor lessons */
}

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

.tsubs-csl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

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

.tsubs-csl-content {
  flex: 1;
  text-align: left;
}

.tsubs-csl-avatars-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.tsubs-csl-avatar {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
}

.tsubs-csl-arrow {
  color: #121117;
  display: flex;
  align-items: center;
}

.tsubs-csl-title {
  font-size: 24px;
  font-weight: 700;
  color: #121117;
  margin: 0 0 32px 0;
  line-height: 1.2;
}

.tsubs-csl-lessons-list {
  margin-bottom: 32px;
}

.tsubs-csl-lesson-card {
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1.5px solid #eeeef3;
  border-radius: 12px;
  gap: 16px;
}

.tsubs-csl-lesson-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 40px;
}

.tsubs-csl-month {
  font-size: 11px;
  font-weight: 700;
  color: #8d8c9b;
  text-transform: uppercase;
}

.tsubs-csl-day {
  font-size: 18px;
  font-weight: 700;
  color: #121117;
}

.tsubs-csl-lesson-details {
  flex: 1;
}

.tsubs-csl-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.tsubs-csl-time {
  font-size: 15px;
  font-weight: 700;
  color: #121117;
}

.tsubs-csl-badge {
  background: #eeeef3;
  color: #8d8c9b;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.tsubs-csl-duration {
  font-size: 14px;
  color: #8d8c9b;
}

.tsubs-csl-actions {
  padding-top: 16px;
}

.tsubs-csl-btn-primary {
  background: #ff2500;
  color: #ffffff;
  border-radius: 8px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s;
}

.tsubs-csl-btn-primary:hover {
  background: #d01e00;
}

@media (max-width: 550px) {
  .tsubs-csl-section {
    max-width: 90%;
    margin: 0 16px;
    min-width: 100%;
    min-height: 100%;
    border-radius: 0;
    animation: tsubs-slide-up 0.3s ease-out;
  }
}
