/* =========================================
   RU Radio Schedule - White Elegant Theme
   File: assets/ru-schedule.css
   ========================================= */

.ru-schedule-wrap {
  color: #111;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.ru-schedule-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.ru-schedule-title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: #111;
}

.ru-schedule-subtitle {
  font-size: 16px;
  margin-top: 6px;
  font-style: italic;
  color: rgba(0, 0, 0, 0.65);
}

.ru-schedule-note {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.55);
}

.ru-schedule-actions {
  display: flex;
  gap: 10px;
}

/* Live Button */
.ru-btn-live {
  border: 1px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: 900;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  color: #111;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.08s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ru-btn-live:hover {
  background: rgba(0, 0, 0, 0.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.ru-btn-live:active {
  transform: scale(0.98);
}

/* ON AIR box */
.ru-onair-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.ru-onair-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ru-onair-badge {
  display: inline-block;
  background: #ff2d2d;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  width: fit-content;
}

.ru-onair-text {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.70);
}

.ru-onair-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ru-onair-time {
  font-weight: 900;
  color: rgba(0, 0, 0, 0.75);
  font-size: 13px;
}

/* Week Grid */
.ru-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

/* Day Column */
.ru-day-col {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.ru-day-col:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.ru-day-head {
  padding: 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ru-day-name {
  font-weight: 900;
  font-size: 13px;
  color: #111;
}

.ru-day-today {
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.75);
}

/* Day Body */
.ru-day-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ru-empty {
  color: rgba(0, 0, 0, 0.55);
  font-size: 13px;
  padding: 8px 6px;
}

/* Card */
.ru-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}

.ru-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

/* On Air highlight */
.ru-card.ru-onair {
  border-color: rgba(255, 45, 45, 0.50);
  box-shadow: 0 0 0 2px rgba(255, 45, 45, 0.15), 0 14px 32px rgba(0, 0, 0, 0.08);
}

/* Card top */
.ru-card-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ru-thumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}

.ru-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.03);
  color: rgba(0, 0, 0, 0.7);
  font-size: 18px;
}

.ru-card-meta {
  flex: 1;
}

.ru-card-title {
  font-weight: 900;
  font-size: 14px;
  line-height: 1.2;
  color: #111;
}

.ru-card-time {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.60);
  font-weight: 800;
}

.ru-card-host {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
}

.ru-card-desc {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.58);
  line-height: 1.35;
}

/* Card Actions */
.ru-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

/* Buttons */
.ru-btn-primary,
.ru-btn-secondary {
  border: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.08s ease, opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

/* Primary button (red) */
.ru-btn-primary {
  background: #ff2d2d;
  color: #fff;
  box-shadow: 0 10px 18px rgba(255, 45, 45, 0.20);
}

.ru-btn-primary:hover {
  opacity: 0.95;
  box-shadow: 0 14px 22px rgba(255, 45, 45, 0.26);
}

.ru-btn-primary:active {
  transform: scale(0.98);
}

/* Secondary button */
.ru-btn-secondary {
  background: rgba(0, 0, 0, 0.05);
  color: #111;
}

.ru-btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
}

.ru-btn-secondary:active {
  transform: scale(0.98);
}

/* Ribbon */
.ru-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff2d2d;
  color: #fff;
  font-weight: 900;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 10px 18px rgba(255, 45, 45, 0.22);
}

/* Mobile day view */
.ru-mobile-day {
  display: none;
  margin-top: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.ru-mobile-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ru-mobile-label {
  font-weight: 900;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.7);
}

.ru-day-select {
  width: 100%;
  max-width: 240px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(0, 0, 0, 0.03);
  color: #111;
  outline: none;
  font-weight: 800;
}

/* Day only view */
.ru-day-only-head {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 12px 14px;
  font-weight: 900;
  margin-bottom: 12px;
  color: #111;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.ru-day-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Responsive */
@media (max-width: 980px) {
  .ru-week-grid {
    display: none;
  }

  .ru-mobile-day {
    display: block;
  }

  .ru-schedule-title {
    font-size: 28px;
  }

  .ru-schedule-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ru-btn-live {
    width: 100%;
  }
}
