/* schedule.css */
/* Extracted from templates/pages/schedule.html */

/* ─── Schedule Hero Banner ─── */
.sched-hero {
  position: relative;
  height: 160px;
  border-radius: var(--border-radius, 16px);
  overflow: hidden;
  margin-bottom: 0;
}

.sched-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}

.sched-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, var(--bg-body, #F5F7FA) 100%);
}

.schedule-page {
  padding-bottom: 20px;
}

.schedule-header {
  padding: 20px 16px;
  background: var(--bg-section-alt, #EEF1F5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
}

.schedule-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 4px;
}

.schedule-subtitle {
  font-size: 14px;
  color: var(--text-white-muted);
}

/* Day Accordion */
.schedule-days {
  padding: 0 16px;
}

.schedule-day {
  background: var(--bg-card, #FFFFFF);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

.schedule-day.past {
  opacity: 0.6;
}

.schedule-day.today {
  border-color: var(--lime-primary);
  box-shadow: 0 0 0 1px rgba(232, 232, 111, 0.2);
}

.day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.day-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.day-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.day-number {
  width: 44px;
  height: 44px;
  background: var(--bg-section-alt, #EEF1F5);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.schedule-day.today .day-number {
  background: var(--lime-primary);
  color: var(--navy-dark);
}

.day-number .day-num {
  font-size: 18px;
  line-height: 1;
}

.day-number .day-abbr {
  font-size: 10px;
  text-transform: uppercase;
  opacity: 0.7;
}

.day-label {
  display: flex;
  flex-direction: column;
}

.day-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
}

.day-date {
  font-size: 13px;
  color: var(--text-white-muted);
}

.day-badge {
  padding: 4px 10px;
  background: var(--lime-primary);
  color: var(--navy-dark);
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
}

.day-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white-muted);
  transition: transform 0.3s;
}

.schedule-day.expanded .day-toggle {
  transform: rotate(180deg);
}

/* Day Content */
.day-content {
  display: none;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0;
}

.schedule-day.expanded .day-content {
  display: block;
}

.activity-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-time {
  min-width: 60px;
  text-align: center;
}

.activity-time-start {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
}

.activity-time-end {
  font-size: 12px;
  color: var(--text-white-subtle);
}

.activity-details {
  flex: 1;
}

.activity-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 4px;
}

.activity-meta {
  font-size: 13px;
  color: var(--text-white-muted);
}

.activity-item.lesson {
  background: rgba(59, 130, 246, 0.05);
  /* Very subtle blue */
  border-left: 3px solid #60A5FA;
}

.activity-item.free {
  background: rgba(16, 185, 129, 0.05);
  /* Very subtle green */
  border-left: 3px solid #34D399;
}

.activity-item.tournament,
.activity-item.match {
  background: rgba(245, 158, 11, 0.05);
  /* Very subtle yellow/orange */
  border-left: 3px solid #FBBF24;
}

.activity-item.meal {
  background: rgba(236, 72, 153, 0.05);
  /* Very subtle pink */
  border-left: 3px solid #F472B6;
}

/* Loading state */
.schedule-loading {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-white-muted);
}

.schedule-loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--lime-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}