.omid-player {
    max-width: 400px;
    margin: 20px auto;
    background: #FFF;
    border-radius: 15px;
    padding: 5px 20px 20px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    font-family: 'Arial', sans-serif;
    color: #333;
}

.omid-player-title {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 5px;
}

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

.omid-timeline {
    flex: 4;
    position: relative;
    margin: 0 15px;
    height: 60px;
    cursor: pointer;
}

.timeline-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 5px;
    background: #f0f0f0;
}

.timeline-eco {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.timeline-fill {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inset(0 0 0 100%);
    transition: clip-path 0.1s linear;
}

.omid-play-pause {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.play-btn {
    background: #8B00FF;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    position: relative;
}

.play-btn::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-btn.playing::before {
    content: '⏸';
}

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

.time-display {
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.time-display .current-time,
.time-display .duration {
    display: inline-block;
}

.rtl .timeline-progress {
    right: 0;
    left: auto;
}

.rtl .timeline-fill {
    clip-path: inset(0 100% 0 0);
}