.programacion-semanal {
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    padding: 20px 4px;
}

.dias-tabs {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 30px;
    border-bottom: 2px solid #003366;
    padding-bottom: 10px;
}

.tab-dia {
    background-color: #f0f0f0;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 60px;
    text-align: center;
}

.tab-dia:hover {
    background-color: #003366;
    color: white;
}

.tab-dia.active {
    background-color: #003366;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.programa-item {
    border: 1px solid #ddd;
    padding: 12px 20px;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.programa-item:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

/* Estilos para programa al aire */
.programa-al-aire {
    background-color: #e8f5e9;
    border: 2px solid #4caf50;
    position: relative;
    animation: pulso 2s infinite;
}

@keyframes pulso {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.badge-al-aire {
    display: inline-flex;
    align-items: center;
    background-color: #4caf50;
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.8em;
    margin-left: 10px;
    animation: parpadeo 1.5s infinite;
}

.badge-al-aire i {
    margin-right: 5px;
}

@keyframes parpadeo {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.programa-contenido {
    display: grid;
    grid-template-columns: 100px 1fr 150px;
    align-items: center;
    gap: 20px;
}

.hora {
    font-weight: bold;
    color: #003366;
    font-size: 1.1em;
    white-space: nowrap;
}

.nombre-programa {
    font-size: 1.1em;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.locutor {
    color: #666;
    font-style: italic;
    text-align: right;
}

.no-programas {
    text-align: center;
    color: #666;
    padding: 20px;
    font-style: italic;
}

/* Estilos para los checkboxes de días */
.dias-admin {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.dia-check {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dia-check:hover {
    background: #e0e0e0;
}

.dia-check input {
    margin-right: 5px;
}

/* Responsive design */
@media (max-width: 768px) {
    .programa-contenido {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .locutor {
        text-align: left;
    }
    
    .nombre-programa {
        flex-wrap: wrap;
    }
    
    .badge-al-aire {
        margin-left: 0;
        margin-top: 5px;
    }

    .dias-tabs {
        flex-wrap: wrap;
    }

    .tab-dia {
        flex: 1;
        min-width: 40px;
        padding: 8px;
    }
}

/* Admin styles */
.wp-admin .form-table td select,
.wp-admin .form-table td input[type="time"],
.wp-admin .form-table td input[type="text"] {
    width: 300px;
}
