/* WP WebTV & WebRadio - Radio Player Styles */

.irptvcr-radio-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 480px;
}

.irptvcr-radio-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Play/Pause button */
.irptvcr-radio-play-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    background: #8ab4f8;
    color: #1a1a2e;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.1s;
}

.irptvcr-radio-play-btn:hover {
    background: #aecbfa;
    transform: scale(1.05);
}

.irptvcr-radio-play-btn:active {
    transform: scale(0.95);
}

.irptvcr-radio-play-btn svg {
    fill: currentColor;
}

/* Info section */
.irptvcr-radio-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.irptvcr-radio-channel-name {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.irptvcr-radio-now-playing {
    font-size: 12px;
    color: #8ab4f8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

/* Volume slider */
.irptvcr-radio-volume {
    flex-shrink: 0;
    width: 80px;
}

.irptvcr-radio-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    cursor: pointer;
}

.irptvcr-radio-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #8ab4f8;
    cursor: pointer;
}

.irptvcr-radio-volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #8ab4f8;
    cursor: pointer;
    border: none;
}

/* Playing state */
.irptvcr-radio-container.is-playing .irptvcr-radio-player {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
}

/* Responsive */
@media (max-width: 400px) {
    .irptvcr-radio-volume {
        display: none;
    }
}
