/* Container اصلی پلیر */
.lx-audio-player-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 15px 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    max-width: 100%;
    margin: 20px 0;
    font-family: iranyekan, tahoma, sans-serif; /* فونت استاندارد */
    direction: ltr; /* پلیرها معمولا چپ‌چین هستند */
}

/* ساختار داخلی */
.lx-player-ui {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* دکمه Play/Pause */
.lx-play-pause-btn {
    background: #4F46E5; /* رنگ بنفش/آبی مدرن */
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.lx-play-pause-btn:hover {
    background: #4338ca;
    transform: scale(1.05);
}

/* بخش اطلاعات و نوار زمان */
.lx-progress-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lx-track-title {
    font-weight: 600;
    color: #333333;
    font-size: 14px;
    text-align: right;
    direction: rtl;
}

.lx-progress-bar-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lx-time-current, .lx-time-total {
    font-size: 12px;
    color: #6b7280;
    font-variant-numeric: tabular-nums; /* برای جلوگیری از پرش اعداد در زمان */
}

/* استایل نوار لغزان (Range Slider) */
.lx-progress-slider {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #e5e7eb;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.lx-progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4F46E5;
    cursor: pointer;
    transition: transform 0.2s;
}

.lx-progress-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* دکمه صدا */
.lx-volume-btn {
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.lx-volume-btn:hover {
    color: #4F46E5;
}

/* واکنش‌گرایی برای موبایل */
@media (max-width: 480px) {
    .lx-player-ui {
        flex-wrap: wrap;
        justify-content: center;
    }
    .lx-progress-wrapper {
        width: 100%;
        order: 3;
    }
    .lx-track-title {
        text-align: center;
    }
}
