label.btn-checkbox input[type=checkbox] {
    width: 0;
    height: 0;
    opacity: 0;
}

label.btn-checkbox:has(> input[type=checkbox]:checked) {
    background-color: #007bff;
    color: #FFF;
}
label.btn-radio input[type=radio] {
    width: 0;
    height: 0;
    opacity: 0;
}

label.btn-radio:has(> input[type=radio]:checked) {
    background-color: #007bff;
    color: #FFF;
}

.btn-add-time, .btn-remove-time {
    width: 50px;
}

.rating-container i {
    font-size: 1.2rem;
}

.rating-container-sm i {
    font-size: 1.1rem;
}

.mentor-card .mentor-image {
    min-width: 95px; 
    height:95px; 
    object-fit:cover; 
    aspect-ratio: 1/1;
}

.banner-section .search-box .form-group .btn-search {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 60px;
    width: 70px;
    display: block;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    border-radius: 0px 5px 5px 0px;
    line-height: 100%;
    font-weight: normal;
    background: #00ab15;
    text-align: center;
    align-content: center;
}

.text-truncate-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-width: 100%;
    -webkit-line-clamp: 1;
}

.ellipsis-2 { -webkit-line-clamp: 2; }
.ellipsis-3 { -webkit-line-clamp: 3; }

.time-slot-card {
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  min-height: 265px;
  height: 100%;
}
.time-slot-card .time-badge {
  /* border-radius: 20px; */
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-block;
  /* padding: 6px 12px; */
}
.time-slot-card .class-info .badge {
  font-size: 0.75rem;
  padding: 4px 8px;
  margin-right: 5px;
}
.time-slot-card .class-details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e1e1e1;
}
.time-slot-card .course-name {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.time-slot-card .subject-name {
  margin-bottom: 4px;
  font-size: 0.85rem;
}
.time-slot-card .chapter-name {
  font-size: 0.8rem;
  margin-bottom: 8px;
}
.time-slot-card .action-hint {
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.booked-card {
  border: 2px solid #28a745;
  background: linear-gradient(135deg, #f8fff9 0%, #e8f5e9 100%);
  cursor: not-allowed;
  opacity: 0.9;
}
/* .booked-card .time-badge { background: #28a745; color: white; } */
.booked-card .course-name { color: #2e7d32; }
.booked-card .class-details { border-top: 1px solid #c8e6c9; }

.scheduled-card {
  border: 2px solid #17a2b8;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2f1 100%);
  cursor: pointer;
}
/* .scheduled-card .time-badge { background: #17a2b8; color: white; } */
.scheduled-card .course-name { color: #00695c; }
.scheduled-card .class-details { border-top: 1px solid #b2dfdb; }
.scheduled-card .class-info .badge { background: #0097a7; color: white; }
.scheduled-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.11); }
.scheduled-card .action-hint { color: #17a2b8; }

.empty-card {
  border: 2px dashed #007bff;
  padding: 20px;
  background: #f8f9fa;
  cursor: pointer;
  text-align: center;
  min-height: 265px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.empty-card:hover { border-color: #0056b3; background: #e7f3ff; }
.empty-card .time-display { color: #007bff; font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.empty-card .action-text { color: #6c757d; font-size: 0.85rem; margin-top: 5px; }

.booked-card .badge-success,
.scheduled-card .badge-info {
  font-size: 0.75rem;
  padding: 4px 8px;
}

.booked-card .badge-success { background: #43a047; color: white; }
.scheduled-card .badge-info { background: #40bad5; color: white; }

.booked-card .badge-info { background: #56c454; color: white; }
.scheduled-card .badge-secondary { background: #0097a7; color: white; }
.booked-card .badge-light,
.scheduled-card .badge-light { background: #eeeeee; color: #333; }

@media (max-width:991.98px) {
  .time-slot-card { min-height:105px; padding: 12px; }
  .time-slot-card .class-details { margin-top: 6px; padding-top: 6px; }
}
@media (max-width:575.98px) {
  .time-slot-card { padding: 9px; min-height: 90px; }
}