/* 25.09.30 김성원 추가 */
.weekly_schedule {
  width: 100%;
}

/* 헤더 */
.weekly_schedule_header {
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.channel_buttons {
  display: flex;
  gap: 8px;
}

.channel_btn {
  color: #666;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  background-color: #fff;
  padding: 10px 16px;
  border: 1px solid #dee2e6;
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.channel_btn:hover {
  background-color: #f8f9fa;
  border-color: #0c599e;
  color: #0c599e;
}

.channel_btn.active {
  background-color: #0c599e;
  color: #fff;
  border-color: #0c599e;
}

.channel_btn.active span {
  color: #fff;
}

.download_btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px;
  background-color: #ffad15;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.download_btn:hover {
  opacity: 0.8;
}

/* 리모컨 */
.remote_box {
  background-color: #EEF0F2;
  margin-bottom: 30px;
  display: flex;
}

.date_section {
  width: 98px;
  display: flex;
  flex-direction: column;
  position: relative;
}

[class^="date_btn_"] {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  background-color: transparent;
  width: 100%;
  height: 40px;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.date_btn_today.active {
  color: #fff;
  background-color: #0c599e;
}

.date_btn_today:hover,
.date_btn_date:hover {
  background-color: #f8f9fa;
  border: 1px solid #0c599e;
  color: #0c599e;
}

.date_btn_today.active:hover {
  color: #fff;
  background-color: #0c599e;
  border: none;
}

#hidden_date_picker {
  width: 1px;
  height: 1px;
  opacity: 0;
  position: absolute;
  left: 0;
  bottom: 0;
}

.date_navigation {
  background-color: #efefef;
  padding: 0 10px;
  border-left: 1px solid #D9D9D9;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.nav_btn {
  color: #666;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background-color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav_btn i {
  font-size: 12px;
}

.date_nav_btn_box {
  display: flex;
  gap: 10px;
  flex: 1;
}

.date_nav_btn {
  color: #888;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  background-color: transparent;
  padding: 8px 4px;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  flex: 1;
  cursor: pointer;
}

.date_nav_btn:hover {
  color: #0c599e;
}

.date_nav_btn.active {
  background-color: #0c599e;
  color: #fff;
}

/* #endregion */
.schedule_item {
  height: 60px;
  border-bottom: 1px solid #E5E5E5;
  display: grid;
  grid-template-columns: 1fr 5fr 2fr;
}

.schedule_item div {
  color: #444;
  font-size: 16px;
  font-weight: 400;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule_item div.schedule_item_time {
  color: #000;
  font-weight: 500;
}

.schedule_item div.schedule_item_title {
  justify-content: flex-start;
}

.none_schedule {
  font-size: 16px;
  font-weight: 400;
  color: #444;
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* #region 프로그램 리스트 */

/* 반응형 디자인 */
@media (max-width: 768px) {
  .weekly_schedule_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .channel_buttons {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .channel_btn {
    font-size: 14px;
    padding: 8px 12px;
  }

  .channel_btn span {
    display: none;
  }

  .download_btn {
    justify-content: center;
    width: 100%;
  }

  .date_nav_btn {
    font-size: 20px;
    color: #0c599e;
  }

  .schedule_item {
    grid-template-columns: 1fr 4fr 2fr;
    gap: 1rem;
  }
}