/* =====================================================
   Vinyl Player — utility classes untuk cards/bookshelf
   Styling player popup ada di details.blade.php (@push styles)
   ===================================================== */

/* ── Overlay backdrop (path-independent base styles) ── */
#globalVinylPlayerOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

/* ── Spin keyframe ── */
@keyframes vinylSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Utility buttons for cards/bookshelf ── */
.audio-play-btn,
.btn-audio,
.ck-ov-btn-audio {
    background: linear-gradient(135deg, #8B5E3C 0%, #C28035 50%, #7B4A1E 100%);
    border: none;
    color: white;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139,94,60,0.3);
    font-weight: 500;
    display: inline-block;
    text-decoration: none;
}
.audio-play-btn:hover,
.btn-audio:hover,
.ck-ov-btn-audio:hover {
    background: linear-gradient(135deg, #7A4D2B 0%, #B17024 50%, #6A390D 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139,94,60,0.4);
    color: white;
    text-decoration: none;
}
.audio-play-btn i, .btn-audio i, .ck-ov-btn-audio i { margin-right: 6px; }

.audio-book-controls { margin: 10px 0; text-align: center; }
.audio-book-controls .info { color: #8B5E3C; font-weight: 600; font-size: 12px; margin: 5px 0; }

.audio-badge-bookshelf, .ck-badge-audio {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white; padding: 3px 8px; border-radius: 12px;
    font-size: 10px; font-weight: bold;
}
