.schemify-audio-wrapper {
    margin: 20px auto;
    width: 100%;
    max-width: 450px;
    direction: rtl;
    font-family: inherit;
}

.schemify-hidden-audio {
    display: none !important;
}

.schemify-player-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #eaedf2;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    gap: 15px;
    transition: box-shadow 0.3s ease;
}

.schemify-player-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.schemify-play-btn {
    background: #FF6432;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(247, 70, 0, 0.3);
    transition: transform 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
    padding: 0;
    outline: none;
}

.schemify-play-btn:hover {
    background: #ce481b;
    transform: scale(1.02);
}

.schemify-play-btn svg {
    width: 22px;
    height: 22px;
}

.schemify-player-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.schemify-player-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schemify-progress-container {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.schemify-progress-bar {
    height: 100%;
    background: #FF6432;
    border-radius: 3px;
    width: 0%;
    position: absolute;
    top: 0;
    left: auto; /* برای RTL باید right صفر باشد */
    right: 0;
    pointer-events: none;
    transition: width 0.1s linear;
}

.schemify-time-display {
    font-family: monospace, sans-serif;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    min-width: 45px;
    text-align: left;
    direction: ltr; /* تایمر همیشه از چپ به راست خوانده می‌شود */
}