/* radio-player.css */
.radio-player {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 100px;
    height: 30px;
    background: #1c1c1c;
    border: 2px solid #00ffff;
    border-radius: 10px;
    box-shadow: 0 0 10px #00ffff;
    display: flex;
    align-items: center;
    padding: 5px;
    transition: all 0.3s ease;
    z-index: 1000;
    cursor: move;
}

.radio-player:hover {
    width: 200px; /* Réduit pour flèches */
    height: 60px;
    box-shadow: 0 0 20px #ff00ff;
}

.radio-player .controls {
    display: none;
    flex-grow: 1;
    align-items: center;
    gap: 5px;
}

.radio-player:hover .controls {
    display: flex;
}

.radio-player button {
    background: none;
    border: 1px solid #00ffff;
    color: #00ffff;
    padding: 2px 6px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.2s;
    display: none; /* Caché par défaut */
}

.radio-player:hover button {
    display: inline-block; /* Apparait au survol */
}

.radio-player button:hover {
    background: #00cccc;
    color: #1c1c1c;
}

.radio-player input[type="range"] {
    width: 50px;
    height: 8px;
    -webkit-appearance: none;
    background: #333;
    outline: none;
    border-radius: 5px;
    margin: 0 5px;
}

.radio-player input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 8px;
    height: 8px;
    background: #00ffff;
    border-radius: 50%;
    cursor: pointer;
}

.radio-player .info {
    display: none;
    color: #ffffff;
    font-size: 10px;
    margin-left: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.radio-player:hover .info {
    display: block;
    opacity: 1;
}

/* Flèches spécifiques */
.radio-player .nav-btn {
    font-size: 12px;
    padding: 2px 4px;
}

.radio-player .nav-btn.prev {
    margin-right: 5px;
}

.radio-player .nav-btn.next {
    margin-left: 5px;
}

/* Drag and Drop */
.radio-player.dragging {
    opacity: 0.8;
}