/*
  ФАЙЛ: static/css/rfa-player.css
  ОПИС: Стилі для модульного плеєра. Використовує префікс rfa-player- для ізоляції.
*/

/* Закріплена панель зверху */
.rfa-player-bar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
}

/* Кнопки плеєра */
.rfa-player-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: none; background: transparent;
    color: #475569; transition: all 0.2s ease; cursor: pointer;
}
.rfa-player-btn:hover { background-color: #f1f5f9; color: #2563eb; }

/* Кнопка Play/Pause (акцентна) */
.rfa-player-btn-play {
    width: 48px; height: 48px;
    background-color: #2563eb; color: white;
}
.rfa-player-btn-play:hover {
    background-color: #1d4ed8; color: white; transform: scale(1.05);
}

/* Кастомізація повзунків (Progress & Volume) */
.rfa-player-range {
    -webkit-appearance: none; width: 100%; height: 6px;
    background: #e2e8f0; border-radius: 3px; outline: none; cursor: pointer;
}
.rfa-player-range::-webkit-slider-thumb {
    -webkit-appearance: none; width: 16px; height: 16px;
    background: #2563eb; border-radius: 50%; cursor: pointer;
    transition: transform 0.1s;
}
.rfa-player-range::-webkit-slider-thumb:hover { transform: scale(1.3); }
.rfa-player-range::-moz-range-thumb {
    width: 16px; height: 16px; background: #2563eb;
    border-radius: 50%; cursor: pointer; border: none;
}

/* Стиль для активного треку в списку (додається через JS) */
.rfa-track-item { cursor: pointer; transition: all 0.2s ease; border-left: 3px solid transparent; }
.rfa-track-item:hover { background-color: #f8fafc; }
.rfa-track-item.active {
    background-color: #eff6ff;
    border-left-color: #2563eb;
}
.rfa-track-item.active .rfa-track-name { color: #2563eb; font-weight: 700; }