/* ============================================================
   podcast.css — Estilos para la página de recurso de podcast
   Módulo: Sistemas Eléctricos en Centrales
   ============================================================ */

:root {
    --accent:       #8e44ad;
    --highlight-bg: #f5eef8;
    --exercise-bg:  #f9f5fc;
}

/* Tarjeta del reproductor de audio */
.podcast-card {
    background: linear-gradient(135deg, #2c3e50 0%, #4a235a 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.podcast-icon {
    font-size: 4em;
    line-height: 1;
}

.podcast-title {
    text-align: center;
}

.podcast-title h3 {
    margin: 0 0 6px 0;
    font-size: 1.2em;
    color: #fff;
}

.podcast-title p {
    margin: 0;
    font-size: 0.85em;
    color: #ccc;
}

/* Reproductor de audio nativo con ancho completo */
.audio-player {
    width: 100%;
}

.audio-player audio {
    width: 100%;
    border-radius: 30px;
    accent-color: #8e44ad;
}

.info-box {
    background-color: var(--highlight-bg);
    border-left: 5px solid var(--accent);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

.info-box ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.info-box li { margin-bottom: 4px; }

/* Índice de capítulos */
.chapters {
    width: 100%;
    margin-top: 10px;
}

.chapter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    color: #ddd;
    font-size: 0.9em;
}

.chapter-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chapter-time {
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85em;
    white-space: nowrap;
    color: #b39ddb;
}
