@import url("../fonts/irykx/style.css");
:root {
    --plyr-color-main: #00925d;
}

html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    font-family:"IRANYekanX VF";

}
.plyr__captions {
    font-size: 25px!important;
}
.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.plyr{
    width: 100%;
    height: 100%;
}
/* استایل لوگو */
.plyr__logo {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 10;
    width: 120px;
    pointer-events: none;
}

/* دکمه بازگشت */
.back-button {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background-color: #00000080;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.back-button i {
    font-size: 20px;
}
.plyr__controls{
    display: flex;
    flex-direction: column;
    padding: 20px!important;

    background: linear-gradient(0deg, black, transparent) !important;

}
.plyr__controls__item>button.plyr__control{
    border-radius: 100px!important;
    width: fit-content !important;
    min-width: 39px!important;
    height: 39px!important;
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
}
.plyr__controls__item>button.plyr__control:hover{
    background: #ffffff!important;
    color: #000000!important;
}
.plyr__controls .plyr__controls__item:first-child{
    margin: 0;
}
.plyr__controls__item.plyr__progress__container{
    display: flex;
    width: 100%;
    align-items: center;
}
.robo-butttt{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
}


/* دکمه باز کردن منو */
.menu-button {
    position: absolute;
    top: 10px;
    right: 140px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background-color: #00925d;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.menu-button i {
    font-size: 20px;
}

/* منوی کشویی سمت راست */
.sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 300px;
    height: 100%;
    background: #191919;
    color: white;
    overflow-y: auto;
    transition: all 0.3s ease;
    z-index: 100;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
}

.sidebar.open {
    right: 0;
}

.season{

}

.sidebar .season {
    margin-bottom: 20px;
    direction: rtl;
}

.sidebar .season h3 {
    cursor: pointer;
    margin: 0;
    background: #333;
    padding: 10px;
    border-radius: 6px;
}

.sidebar .episode-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: none;
}

.sidebar .episode-list.open {
    display: block;
}

.sidebar .episode-list li {
    margin: 5px 0;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    background: #444;
}

.sidebar .episode-list li:hover {
    background: #555;
}


.episode-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.episode-list li {
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
    background: rgba(255, 255, 255, 0.1); /* رنگ پیش‌فرض */
}

.episode-list li:hover {
    background: rgba(255, 255, 255, 0.2);
}

.episode-list li.active-episode {
    background: rgba(255, 255, 255, 0.4); /* رنگ متفاوت برای قسمت فعال */
    font-weight: bold;
}
.plyr__captions {
    direction: ltr;
}