/* /podcast/assets/css/mp-podcast-player.css */

/* ================================
   MP Radio Podcast - Versión compacta
================================ */

.mp-podcast-player {
    width: 100%;
    max-width: 680px;
    margin: 20px auto;
    padding: 12px 14px;
    /*background: #ffffff;*/
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.mp-podcast-top {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.mp-podcast-brand {
    flex: 1;
    min-width: 0;
}

.mp-podcast-logo {
    max-width: 240px;
    width: 100%;
    height: auto;
    display: block;
}

.mp-podcast-play {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    border: none;
    background: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 21px;
    line-height: 1;
}

.mp-podcast-play:hover {
    opacity: 0.86;
}

.mp-podcast-icon {
    display: inline-block;
}

.mp-icon-play {
    transform: translateX(2px);
}

.mp-icon-pause {
    font-size: 19px;
    font-weight: bold;
}

.mp-podcast-time {
    min-width: 78px;
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    color: #111111;
    white-space: nowrap;
}

.mp-podcast-separator {
    margin: 0 3px;
    color: #777777;
}

.mp-podcast-progress-wrap {
    margin-top: 8px;
    width: 100%;
}

.mp-podcast-progress {
    width: 100%;
    cursor: pointer;
    accent-color: #000000;
    height: 5px;
}

/* ================================
   Responsive normal
================================ */

@media (max-width: 600px) {
    .mp-podcast-player {
        margin: 16px auto;
        padding: 10px 10px;
        border-radius: 11px;
    }

    .mp-podcast-top {
        gap: 8px;
    }

    .mp-podcast-logo {
        max-width: 165px;
    }

    .mp-podcast-play {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 18px;
    }

    .mp-icon-pause {
        font-size: 16px;
    }

    .mp-podcast-time {
        min-width: 66px;
        font-size: 11px;
    }

    .mp-podcast-progress-wrap {
        margin-top: 6px;
    }

    .mp-podcast-progress {
        height: 4px;
    }
}

/* ================================
   MP Radio Podcast fijo abajo
================================ */

.mp-podcast-fixed-bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0px;
    z-index: 9998;
    padding: 0px 8px;
    /*background: rgba(255, 255, 255, 0.94);*/
    /*border-top: 1px solid #e5e5e5;*/
    /*box-shadow: 0 -3px 14px rgba(0,0,0,0.12);*/
    box-sizing: border-box;
    /*backdrop-filter: blur(8px);*/
}

.mp-podcast-fixed-bottom .mp-podcast-player {
    max-width: 620px;
    margin: 0 auto;
    padding: 7px 10px;
    border-radius: 11px;
    box-shadow: none;
    border: 1px solid #eeeeee;
}

.mp-podcast-fixed-bottom .mp-podcast-top {
    gap: 8px;
}

.mp-podcast-fixed-bottom .mp-podcast-logo {
    max-width: 185px;
}

.mp-podcast-fixed-bottom .mp-podcast-play {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 18px;
}

.mp-podcast-fixed-bottom .mp-icon-pause {
    font-size: 16px;
}

.mp-podcast-fixed-bottom .mp-podcast-time {
    min-width: 68px;
    font-size: 11px;
}

.mp-podcast-fixed-bottom .mp-podcast-progress-wrap {
    margin-top: 5px;
}

.mp-podcast-fixed-bottom .mp-podcast-progress {
    height: 4px;
}

/* Espacio inferior para que el reproductor fijo no tape contenido */
body.has-mp-podcast-fixed {
    padding-bottom: 86px;
}

/* ================================
   Responsive fijo abajo
================================ */

@media (max-width: 600px) {
    .mp-podcast-fixed-bottom {
        padding: 4px 6px;
    }

    .mp-podcast-fixed-bottom .mp-podcast-player {
        max-width: 100%;
        padding: 6px 8px;
        border-radius: 10px;
    }

    .mp-podcast-fixed-bottom .mp-podcast-top {
        gap: 6px;
    }

    .mp-podcast-fixed-bottom .mp-podcast-logo {
        max-width: 135px;
    }

    .mp-podcast-fixed-bottom .mp-podcast-play {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 16px;
    }

    .mp-podcast-fixed-bottom .mp-icon-pause {
        font-size: 14px;
    }

    .mp-podcast-fixed-bottom .mp-podcast-time {
        min-width: 62px;
        font-size: 10px;
    }

    .mp-podcast-fixed-bottom .mp-podcast-progress-wrap {
        margin-top: 4px;
    }

    .mp-podcast-fixed-bottom .mp-podcast-progress {
        height: 4px;
    }

    body.has-mp-podcast-fixed {
        padding-bottom: 76px;
    }
}

/* ================================
   FIX PLAY BUTTON - iPhone / Safari
   Se puede dejar al final del CSS actual
================================ */

.mp-podcast-play,
.mp-podcast-fixed-bottom .mp-podcast-play {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: #000000 !important;
    color: #ffffff !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Dibuja el triángulo de play con CSS */
.mp-icon-play {
    width: 0 !important;
    height: 0 !important;
    border-top: 10px solid transparent !important;
    border-bottom: 10px solid transparent !important;
    border-left: 16px solid #ffffff !important;
    transform: translateX(2px) !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

/* Dibuja pausa con CSS */
.mp-icon-pause {
    font-size: 0 !important;
    width: 18px !important;
    height: 20px !important;
    position: relative !important;
}

.mp-icon-pause::before,
.mp-icon-pause::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    width: 6px !important;
    height: 20px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
}

.mp-icon-pause::before {
    left: 2px !important;
}

.mp-icon-pause::after {
    right: 2px !important;
}

/* Barra de progreso más visible */
.mp-podcast-progress,
.mp-podcast-fixed-bottom .mp-podcast-progress {
    height: 6px !important;
    accent-color: #000000 !important;
}