/* ============================================================
   TEMA: MODERNO
   Fondo: Degradados, sombras y acentos violeta/rosa
   Tarjetas: Negro oscuro con gradiente
   Textos: Amarillos y Blancos
   ============================================================ */

/* ============================================================
   CABECERA - PROGRAMA EN VIVO
   ============================================================ */

.hrz-live-container {
    background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #312e81 100%) !important;
    border: 1px solid #4f46e5 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 215, 0, 0.05) !important;
    border-radius: 16px !important;
}

/* Títulos */
.hrz-program-title,
.hrz-program-info .hrz-program-title {
    color: #a78bfa !important;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.15) !important;
}

/* Conductor */
.hrz-program-host,
.hrz-program-info .hrz-program-host {
    color: #ddd6fe !important;
}

/* Horario */
.hrz-program-time,
.hrz-program-info .hrz-program-time {
    color: #a78bfa !important;
}

/* Badge EN VIVO de cabecera */
.hrz-live-badge {
    background: linear-gradient(135deg, #a78bfa, #ec4899) !important;
    color: #111827 !important;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4) !important;
}

.hrz-live-badge::before {
    background: #111827 !important;
}

/* Programa siguiente y anterior */
.hrz-next-label {
    color: #c4b5fd !important;
}

.hrz-next-title {
    color: #a78bfa !important;
}

.hrz-next-time {
    color: #a5b4fc !important;
}

.hrz-next-programs {
    background: rgba(255, 215, 0, 0.05) !important;
    border: 1px solid rgba(255, 215, 0, 0.1) !important;
    border-radius: 12px !important;
}

.hrz-mini-image {
    border-color: #4f46e5 !important;
}

/* Oyentes */
.hrz-listeners {
    color: #a5b4fc !important;
}

#hrz-listeners-number {
    color: #a78bfa !important;
}

/* ============================================================
   PROGRAMACIÓN COMPLETA
   ============================================================ */

.hrz-full-schedule-tabs {
    background: linear-gradient(180deg, #111827 0%, #1f2937 100%) !important;
    border: 1px solid #4f46e5 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

/* Navegación de días */
.hrz-days-navigation {
    background: rgba(10, 14, 26, 0.95) !important;
    border-bottom: 2px solid #4f46e5 !important;
}

.hrz-day-tab {
    color: #a5b4fc !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.hrz-day-tab:hover {
    background: rgba(255, 215, 0, 0.08) !important;
    color: #a78bfa !important;
}

.hrz-day-tab.active {
    color: #a78bfa !important;
    border-bottom: 3px solid #a78bfa !important;
    background: rgba(255, 215, 0, 0.1) !important;
}

.hrz-hoy-badge {
    background: #a78bfa !important;
    color: #111827 !important;
    font-weight: 700 !important;
}

/* Contenido de días */
.hrz-day-content {
    background: transparent !important;
}

.hrz-day-title {
    color: #a78bfa !important;
    border-bottom: 3px solid #ec4899 !important;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.1) !important;
}

.hrz-today-indicator {
    color: #c4b5fd !important;
}

.hrz-programs-grid {
    background: transparent !important;
}

/* ============================================================
   TARJETAS
   ============================================================ */

.hrz-program-card {
    background: linear-gradient(145deg, #1f2937 0%, #1a2a4a 100%) !important;
    border: 1px solid #4f46e5 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.hrz-program-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.1) !important;
    border-color: #a78bfa !important;
}

.hrz-card-image {
    border-bottom: 2px solid rgba(255, 215, 0, 0.1) !important;
}

.hrz-card-content {
    padding: 16px !important;
}

.hrz-program-card .hrz-card-content h3,
.hrz-program-card h3 {
    color: #a78bfa !important;
    font-weight: 700 !important;
}

.hrz-conductor {
    color: #ddd6fe !important;
}

.hrz-time {
    color: #a78bfa !important;
    font-weight: 600 !important;
}

.hrz-description {
    color: #c4b5fd !important;
    line-height: 1.5 !important;
}

/* ============================================================
   PROGRAMA EN VIVO (tarjeta destacada)
   ============================================================ */

.hrz-program-current {
    border: 2px solid #a78bfa !important;
    box-shadow: 0 0 30px 4px rgba(255, 215, 0, 0.15) !important;
    position: sticky !important;
    left: 0 !important;
    z-index: 10 !important;
}

.hrz-live-badge-card {
    background: linear-gradient(135deg, #a78bfa, #ec4899) !important;
    color: #111827 !important;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5) !important;
    border-radius: 20px !important;
    padding: 6px 14px !important;
    font-weight: 800 !important;
    font-size: 0.7em !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.hrz-live-badge-card .hrz-live-dot {
    background: #111827 !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    animation: hrzDotPulse 1s ease-in-out infinite !important;
}

/* ============================================================
   PROGRAMAS FINALIZADOS
   ============================================================ */

.hrz-program-finished {
    opacity: 0.35 !important;
    filter: grayscale(80%) !important;
    order: 10 !important;
}

.hrz-program-finished .hrz-card-content h3 {
    color: #64748b !important;
}

.hrz-program-finished .hrz-conductor {
    color: #475569 !important;
}

.hrz-program-finished .hrz-time {
    color: #4f6b95 !important;
}

.hrz-program-finished .hrz-description {
    color: #334155 !important;
}

.hrz-program-finished::after {
    background: rgba(0, 0, 0, 0.6) !important;
    color: #a5b4fc !important;
}

/* ============================================================
   ESTADO VACÍO
   ============================================================ */

.hrz-no-programs {
    background: rgba(13, 27, 42, 0.5) !important;
    border: 2px dashed #4f46e5 !important;
    color: #a5b4fc !important;
    border-radius: 12px !important;
    padding: 40px 20px !important;
}

.hrz-no-programs-icon {
    color: #c4b5fd !important;
}

.hrz-no-programs-sub {
    color: #818cf8 !important;
}

/* ============================================================
   FOOTER
   ============================================================ */

.hrz-schedule-footer {
    background: rgba(10, 14, 26, 0.95) !important;
    border-top: 1px solid #4f46e5 !important;
    color: #a5b4fc !important;
    padding: 12px 24px !important;
    font-size: 12px !important;
}

.hrz-schedule-time {
    color: #a5b4fc !important;
}

.hrz-schedule-status {
    color: #a78bfa !important;
}

.hrz-status-dot {
    background: #a78bfa !important;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5) !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    display: inline-block !important;
    margin-right: 6px !important;
    animation: hrzStatusPulse 2s ease-in-out infinite !important;
}

/* ============================================================
   SCROLLBAR PERSONALIZADA
   ============================================================ */

.hrz-programs-grid::-webkit-scrollbar {
    height: 10px !important;
}

.hrz-programs-grid::-webkit-scrollbar-track {
    background: #1f2937 !important;
    border-radius: 10px !important;
    margin: 0 20px !important;
}

.hrz-programs-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #4f46e5, #a78bfa) !important;
    border-radius: 10px !important;
    border: 2px solid #1f2937 !important;
}

.hrz-programs-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #6366f1, #ec4899) !important;
}

/* Para Firefox */
.hrz-programs-grid {
    scrollbar-width: thin !important;
    scrollbar-color: #4f46e5 #1f2937 !important;
}

/* ============================================================
   ANIMACIONES
   ============================================================ */

@keyframes hrzDotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.2;
        transform: scale(0.6);
    }
}

@keyframes hrzStatusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.7);
    }
}

/* ============================================================
   ELEMENTOS ADICIONALES
   ============================================================ */

/* Badge de la imagen */
.hrz-program-image {
    border-color: #4f46e5 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

/* Iconos */
.hrz-conductor-icon,
.hrz-time-icon {
    color: #c4b5fd !important;
}

/* Enlaces */
.hrz-program-card a {
    color: #a78bfa !important;
}

.hrz-program-card a:hover {
    color: #ffffff !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 767px) {
    .hrz-live-container {
        padding: 16px !important;
        border-radius: 12px !important;
    }
    
    .hrz-program-title {
        font-size: 1.1em !important;
    }
    
    .hrz-full-schedule-tabs {
        border-radius: 12px !important;
    }
    
    .hrz-day-tab {
        font-size: 0.8em !important;
        padding: 10px 12px !important;
        min-width: 60px !important;
    }
    
    .hrz-schedule-footer {
        flex-direction: column !important;
        text-align: center !important;
        gap: 4px !important;
    }
}

@media (max-width: 480px) {
    .hrz-live-container {
        padding: 12px !important;
        border-radius: 10px !important;
    }
    
    .hrz-program-image {
        width: 90px !important;
        height: 90px !important;
    }
    
    .hrz-program-title {
        font-size: 1em !important;
    }
    
    .hrz-day-tab {
        font-size: 0.7em !important;
        padding: 8px 10px !important;
        min-width: 50px !important;
    }
    
    .hrz-live-badge-card {
        font-size: 0.55em !important;
        padding: 4px 10px !important;
        top: 8px !important;
        left: 8px !important;
    }
    
    .hrz-card-content {
        padding: 10px !important;
    }
    
    .hrz-card-content h3 {
        font-size: 0.95em !important;
    }
}