/* Custom Podcast Player Styles for MadreseFile */
.mf-podcast-player-container {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    direction: ltr; /* پلیرها معمولاً LTR هستند */
}

.mf-player-button {
    background-color: #00C853; /* Green accent-4 */
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0; /* از کوچک شدن دکمه جلوگیری می‌کند */
    transition: background-color 0.3s ease;
}

.mf-player-button:hover {
    background-color: #4CAF50; /* Darker green on hover */
}

.mf-player-button i.mdi {
    font-size: 24px; /* اندازه آیکون */
    line-height: 1; /* اطمینان از قرارگیری صحیح آیکون */
}

.mf-player-controls {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mf-player-track {
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    margin-bottom: 8px;
}

.mf-player-progress {
    height: 100%;
    width: 0%;
    background-color: #00C853; /* Green accent-4 */
    border-radius: 3px;
}

.mf-player-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #666;
}

/* RTL adjustments for the player wrapper if needed */
.mf-podcast-player-wrapper-rtl {
    direction: rtl;
}

.mf-podcast-player-wrapper-rtl .mf-podcast-player-container {
    direction: ltr; /* Still LTR for the player itself */
}

@media only screen and (max-width: 600px) {
    .mf-podcast-player-container {
        padding: 10px;
    }
    .mf-player-button {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-right: 10px;
    }
    .mf-player-button i.mdi {
        font-size: 20px;
    }
}