/*
 * schedule.css
 * ============
 * TrotPost 스타 라이브 캘린더 & 방송 편성표 스타일시트
 * 무이모지, 정갈하고 신뢰도 높은 에디토리얼 타이포그래피, 5070 시인성 극대화
 */

/* 서브탭 내비게이션 바 */
.category-subnav {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
}

.category-tab-btn {
  background: none;
  border: none;
  font-size: 1.15rem;
  font-weight: 700;
  color: #64748b;
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: all 0.2s ease;
}

.category-tab-btn:hover {
  color: #1e3a8a;
  background-color: #f8fafc;
}

.category-tab-btn.active {
  color: #1e3a8a;
  border-bottom: 3px solid #1d4ed8;
  margin-bottom: -10px;
}

.category-tab-count {
  display: inline-block;
  font-size: 0.85rem;
  background-color: #e2e8f0;
  color: #334155;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 6px;
  font-weight: 600;
}

.category-tab-btn.active .category-tab-count {
  background-color: #1d4ed8;
  color: #ffffff;
}

/* 탭 패널 */
.category-tab-panel {
  display: none;
}

.category-tab-panel.active {
  display: block;
}

/* 스케줄 카드 리스트 */
.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.schedule-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.schedule-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.schedule-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.schedule-badge-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.d-day-badge {
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: -0.5px;
}

.d-day-badge.today {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #f87171;
}

.d-day-badge.upcoming {
  background-color: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #93c5fd;
}

.d-day-badge.past {
  background-color: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

.type-badge {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: #f1f5f9;
  color: #475569;
}

.region-badge {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: #fef3c7;
  color: #92400e;
}

.schedule-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 4px 0;
  line-height: 1.4;
}

.schedule-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  color: #334155;
}

.schedule-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.schedule-meta-label {
  font-weight: 700;
  color: #64748b;
}

.schedule-singers-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.schedule-singer-tag {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e3a8a;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 16px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.schedule-singer-tag:hover {
  background-color: #dbeafe;
}

.schedule-details {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
  background-color: #f8fafc;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 4px;
}

.schedule-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.schedule-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.schedule-btn.map-btn {
  background-color: #03c75a;
  color: #ffffff;
}

.schedule-btn.map-btn:hover {
  background-color: #02b150;
}

.schedule-btn.info-btn {
  background-color: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.schedule-btn.info-btn:hover {
  background-color: #e2e8f0;
}

.empty-schedule-box {
  text-align: center;
  padding: 48px 24px;
  background-color: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  color: #64748b;
  font-size: 1.05rem;
}
