﻿.player-container {
    margin-top: 2rem;
}

.player {
    direction: ltr;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 164, 92, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
}

.player-waveform {
    height: 60px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.player-waveform canvas {
    width: 100%;
    height: 100%;
}

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

.player-btn {
    background: none;
    border: none;
    color: #C9A45C;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-btn:hover {
    color: #d4b06a;
    transform: scale(1.1);
}

.play-btn {
    width: 44px;
    height: 44px;
    background: rgba(201, 164, 92, 0.1);
    border-radius: 50%;
    font-size: 1.5rem;
    padding-left: 12px !important;
}

.pause-icon {
    font-size: 1rem;
    padding-right: 8px !important;
}

.play-btn:hover {
    background: rgba(201, 164, 92, 0.2);
}

.player-progress {
    flex: 1;
    position: relative;
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #5B1018, #C9A45C);
    border-radius: 2px;
    width: 0%;
    position: relative;
    transition: width 0.1s linear;
}

.progress-thumb {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    background: #C9A45C;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-bar:hover .progress-thumb {
    opacity: 1;
}

.player-time {
    font-size: 0.8rem;
    color: #666;
    font-family: 'Vazirmatn', sans-serif;
    min-width: 35px;
    direction: ltr;
}

.player-time-sep {
    color: #444;
    font-size: 0.8rem;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.volume-slider {
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
}

.volume-control:hover .volume-slider {
    width: 80px;
}

.volume-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.volume-fill {
    height: 100%;
    background: #C9A45C;
    border-radius: 2px;
    width: 100%;
}
