/* ==================== MEDIA PLAYER ==================== */

.media-player {
    width: 100%;
    background: #000;
    border-radius: 0.5rem;
    overflow: hidden;
}

.media-player video,
.media-player audio {
    width: 100%;
    display: block;
}

.audio-player {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
}

.audio-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.audio-cover {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    object-fit: cover;
}

.audio-details {
    flex: 1;
}

.audio-title {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.audio-author {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audio-progress {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-bar-container {
    background: var(--bg-primary);
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.progress-bar-fill {
    background: var(--accent);
    height: 100%;
    width: 0%;
    transition: width 0.1s;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.control-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: var(--bg-secondary);
}