/* === PREMIUM AUDIO PLAYER === */
.premium-audio-player {
    background: rgba(26, 39, 56, 0.8) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(160, 136, 83, 0.3) !important;
    border-radius: 50px !important;
    /* Extremely rounded like screenshot */
    padding: 8px 15px !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    width: 100%;
    max-width: 400px;
    height: 64px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    align-items: center;
    box-sizing: border-box;
    margin-top: 10px;
    margin-bottom: 15px;
}

.premium-audio-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold-light, #c4b391), var(--gold-dark, #A08853));
    box-shadow: 0 0 8px var(--gold-light, #c4b391);
    opacity: 0.6;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.player-left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold, #A08853) !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(160, 136, 83, 0.4);
    transition: transform 0.1s ease, background 0.2s;
    padding: 0;
}

.play-btn:hover {
    transform: scale(1.05);
    background: var(--gold-light, #c4b391) !important;
}

.play-btn svg {
    fill: #0f172a;
    /* Dark navy */
    width: 16px;
    height: 16px;
    margin-left: 2px;
    display: block;
}

.play-btn.playing svg {
    margin-left: 0;
}

.player-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    z-index: 10;
}

.player-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.audio-info {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    white-space: nowrap;
}

.audio-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold, #A08853);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Poppins', sans-serif;
}

.time-display {
    font-size: 0.75rem;
    color: #94a3b8;
    /* text-muted */
    font-family: monospace;
    min-width: 80px;
    text-align: right;
    margin-left: 10px;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gold, #A08853);
    width: 0%;
    border-radius: 3px;
    transition: width 0.1s linear;
}

/* Hidden Audio Element */
.custom-audio-element-hidden {
    display: none;
}

@media (max-width: 480px) {
    .premium-audio-player {
        padding: 8px 10px !important;
        gap: 10px !important;
        height: 56px !important;
        max-width: 100% !important;
    }

    .play-btn {
        width: 36px !important;
        height: 36px !important;
    }

    .play-btn svg {
        width: 14px !important;
        height: 14px !important;
    }

    .time-display {
        font-size: 0.7rem !important;
        min-width: unset !important;
        margin-left: 5px !important;
    }
}