/* JM Radio Footer Player - Frontend */
.jmrp-player,
.jmrp-player * {
    box-sizing: border-box;
}

.jmrp-player {
    width: 100%;
    min-height: 92px;
    padding: 13px 16px 10px;
    font-family: inherit;
    color: var(--jmrp-text, #ffffff);
    background: var(--jmrp-fallback-bg, #4c2a83);
    background: var(--jmrp-bg, linear-gradient(90deg, #4c2a83 0%, #2f6b9a 52%, #8b5cf6 100%));
    border-top: 1px solid rgba(255, 255, 255, .20);
    box-shadow: 0 -10px 34px rgba(0, 0, 0, .22);
    z-index: 999990;
}

.jmrp-player.jmrp-fixed {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
}

.jmrp-player.jmrp-normal {
    position: relative;
}

.jmrp-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.jmrp-play-button,
.jmrp-main-text {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.jmrp-play-button {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    overflow: hidden;
}

.jmrp-play-button:hover,
.jmrp-play-button:focus {
    transform: translateY(-2px) scale(1.025);
    outline: none;
}

.jmrp-play-button:active {
    transform: scale(.98);
}

.jmrp-play-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 22px solid var(--jmrp-button-text, #1f2937);
    margin-left: 5px;
    transition: all .16s ease;
}

.jmrp-player.is-playing .jmrp-play-icon {
    width: 20px;
    height: 28px;
    border-top: 0;
    border-bottom: 0;
    border-left: 7px solid var(--jmrp-button-text, #1f2937);
    border-right: 7px solid var(--jmrp-button-text, #1f2937);
    margin-left: 0;
}

.jmrp-player.has-button-image .jmrp-play-button {
    padding: 0;
    background: transparent !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .32);
}

.jmrp-player.has-button-image .jmrp-play-button img {
    width: 64px;
    height: 64px;
    display: block;
    object-fit: cover;
    border-radius: 999px;
}

.jmrp-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

.jmrp-main-text {
    background: transparent;
    color: var(--jmrp-text, #ffffff);
    padding: 0;
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-align: left;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .18);
    transition: color .18s ease;
}

.jmrp-main-text:hover,
.jmrp-main-text:focus {
    color: var(--jmrp-accent, #fe65c1);
    outline: none;
}

.jmrp-status {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.2;
    opacity: .88;
}

.jmrp-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 170px;
}

.jmrp-volume-label {
    font-size: 11px;
    font-weight: 700;
    opacity: .92;
}

.jmrp-volume input[type="range"] {
    width: 128px;
    height: 5px;
    cursor: pointer;
    background: rgba(255, 255, 255, .42);
    border-radius: 999px;
}

.jmrp-volume input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .95);
    box-shadow: 0 4px 12px rgba(0,0,0,.24);
}

.jmrp-volume input[type="range"]::-moz-range-thumb {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .95);
    box-shadow: 0 4px 12px rgba(0,0,0,.24);
}

.jmrp-copyright {
    width: min(1180px, 100%);
    margin: 8px auto 0;
    text-align: center;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
}

.jmrp-copyright a {
    text-decoration: none;
    color: var(--jmrp-copyright, #ffffff);
}

.jmrp-copyright a:hover,
.jmrp-copyright a:focus {
    color: var(--jmrp-accent, #fe65c1);
    text-decoration: underline;
}

.jmrp-preview-instance {
    position: relative !important;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: none;
}

@media (max-width: 767px) {
    .jmrp-player {
        min-height: 118px;
        padding: 11px 12px 10px;
    }

    .jmrp-inner {
        flex-wrap: wrap;
    }

    .jmrp-copy {
        flex: 1 1 165px;
    }

    .jmrp-main-text {
        font-size: 13px;
    }

    .jmrp-copyright {
        font-size: 10px;
        margin-top: 7px;
    }
}
