/*
Theme Name: Voice Child
Theme URI: https://mekshq.com/theme/voice/
Description: Child theme for the Voice Theme with custom station styling
Author: Meks
Author URI: https://mekshq.com
Template: voice
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: voice-child
*/

/* ==========================================================================
   Add your custom CSS below this line
   ========================================================================== */

/* Station Card Styles - Archive Page */
.station-card-actions .btn-like,
.station-action-buttons .btn-like {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.station-card-actions .btn-like:hover,
.station-action-buttons .btn-like:hover {
    background: #ff4444;
    color: #fff;
}

.station-card-actions .btn-like.active,
.station-action-buttons .btn-like.active {
    background: #ff4444;
    color: #fff;
}

/* Download button styling */
.station-action-buttons .btn-download {
    background: #fff;
    color: #333;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.station-action-buttons .btn-download:hover {
    background: #28a745;
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .station-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional Voice Child Theme Customizations */

/* Ensure station pages use full width */
.post-type-archive-station .site-content,
.single-station .site-content,
.tax-genre .site-content,
.tax-artist .site-content,
.tax-mood .site-content {
    max-width: 100%;
    padding: 0;
}

/* Fix container widths for station pages */
.post-type-archive-station .container,
.single-station .container,
.tax-genre .container,
.tax-artist .container,
.tax-mood .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

/* Style the like button throughout the site */
.btn-like {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f0f0;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.btn-like.active {
    background: #ff4444;
    color: #fff;
}

.btn-like:hover {
    background: #ff4444;
    color: #fff;
    transform: scale(1.02);
}

/* Download button */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #28a745;
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-download:hover {
    background: #218838;
    color: #fff;
    transform: scale(1.02);
}

/* Follow button */
.btn-follow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #17a2b8;
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.2s ease;
}

.btn-follow.active {
    background: #007bff;
}

.btn-follow:hover {
    transform: scale(1.02);
}

/* ============================================
   BOOMPLAY/AUDIOMACK STYLE FLOATING PLAYER
   ============================================ */

.floating-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-top: 1px solid #2a2a2a;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    z-index: 9999;
    padding: 12px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.floating-player.visible {
    transform: translateY(0);
}

.floating-player-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Player Info - Left Side */
.floating-player-info {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 250px;
}

.floating-player-artwork {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    flex-shrink: 0;
}

.floating-player-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-player-track {
    flex: 1;
}

.floating-player-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.floating-player-artist {
    font-size: 0.7rem;
    color: #b3b3b3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* Player Controls - Center */
.floating-player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.floating-player-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.floating-player-btn:hover {
    background: rgba(255,255,255,0.1);
}

.floating-play-btn {
    width: 48px;
    height: 48px;
    background: #ef4444;
    font-size: 1.2rem;
}

.floating-play-btn:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Progress Bar */
.floating-player-progress {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-player-current-time,
.floating-player-duration {
    font-size: 0.7rem;
    color: #b3b3b3;
    min-width: 40px;
}

.floating-player-progress-bar {
    flex: 1;
    height: 4px;
    background: #2a2a2a;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
}

.floating-player-progress-fill {
    width: 0%;
    height: 100%;
    background: #ef4444;
    border-radius: 4px;
    transition: width 0.1s linear;
}

/* Volume Control - Right Side */
.floating-player-volume {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

#floating-player-volume {
    width: 36px;
    height: 36px;
}

.floating-player-volume-slider {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    display: none;
}

.floating-player-volume-slider input {
    width: 100px;
    height: 4px;
    -webkit-appearance: none;
    background: #2a2a2a;
    border-radius: 4px;
}

.floating-player-volume-slider input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    cursor: pointer;
}

/* Close Button */
#floating-player-close {
    color: #b3b3b3;
}

#floating-player-close:hover {
    color: #ef4444;
    background: transparent;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .floating-player-container {
        gap: 15px;
    }
    
    .floating-player-info {
        min-width: 180px;
    }
    
    .floating-player-title,
    .floating-player-artist {
        max-width: 150px;
    }
    
    .floating-player-progress {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .floating-player {
        padding: 10px 16px;
    }
    
    .floating-player-info {
        min-width: 140px;
    }
    
    .floating-player-artwork {
        width: 40px;
        height: 40px;
    }
    
    .floating-player-title {
        font-size: 0.75rem;
        max-width: 100px;
    }
    
    .floating-player-artist {
        font-size: 0.65rem;
        max-width: 100px;
    }
    
    .floating-player-controls {
        gap: 10px;
    }
    
    .floating-player-btn {
        width: 30px;
        height: 30px;
    }
    
    .floating-play-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .floating-player-progress {
        order: 3;
        width: 100%;
        margin-top: 8px;
    }
}