﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: relative;
    text-align: center;
    font-weight: bold;
    inset: calc(1vh + 3.25rem) 0 auto 0.0rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


.Indexpreloader {
    display: flex;
    justify-content: center;
    top: 20px;
    margin-top: 18%;
}

@media only screen and (max-width: 767px) {
    .Indexpreloader {
        margin-top: 60%;
    }
}

.logo {
    text-align: center;
    /* margin-bottom: 30px;
    margin-top: 30px;*/
}


.swal2-icon {
    position: relative;
    box-sizing: content-box;
    justify-content: center;
    width: 5em;
    height: 5em;
    margin: 2.5em auto .6em;
    border: 0.25em solid rgba(0,0,0,0);
    border-radius: 50%;
    border-color: transparent !important;
    font-family: inherit;
    line-height: 5em;
    cursor: default;
    user-select: none
}

@media (max-width: 500px) {
    .mud-toolbar {
        display: contents !important;
        --mud-internal-toolbar-height: 64px !important;
    }
}


.mud-input-outlined-border {
    direction: ltr !important;
}

.mud-picker-content {
    direction: ltr !important;
}


.showobject {
    display: flex !important;
}

.hideobject {
    display: none !important;
}


.smsSendingTypeRadioBox {
    border: 0.5px solid lightgray;
    border-radius: 5px;
}

.mud-table-pagination-toolbar {
    height: 52px;
    padding-right: 2px;
    padding-inline-end: 2px;
    padding-inline-start: unset;
    flex-wrap: nowrap;
    border-top: 1px solid var(--mud-palette-table-lines);
    font-family: 'myisans' !important;
}

.mud-table-pagination-caption {
    font-family: 'myisans' !important;
}

.mud-typography {
    font-family: 'myisans' !important;
}


.mud-typography-body1 {
    font-family: 'myisans' !important;
}

.mud-typography-body2 {
    font-family: 'myisans' !important;
}

.gridToolbar {
    margin-top: 10px;
    margin-bottom: 1px;
    direction: ltr;
    text-align: start;
}

#input-bank-card-number {
    text-align: center !important;
    direction: ltr;
}

#input-bank-iban-number {
    text-align: center !important;
    direction: ltr;
}

#input-bank-account-number {
    text-align: center !important;
    direction: ltr;
}

#input-bank-owner {
    text-align: center !important;
}

#input-bank-bankname {
    text-align: center !important;
}


.thumbnail {
    position: relative;
}

    .thumbnail img {
        width: 100%;
        display: block;
    }

.thumbnail {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .thumbnail img {
        width: 100%;
        display: block;
    }

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(72.47deg, rgba(115, 103, 240, 0.7) 22.16%, #7367f0 76.47%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.5);
}

    .play-button:hover::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 120px;
        height: 120px;
        border: 4px solid rgba(255, 255, 255, 0.5);
        border-top-color: transparent;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    .play-button .play-icon {
        width: 0;
        height: 0;
        border-left: 20px solid white;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
    }

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.scroll-btn {
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: transparent;
    color: #fff;
    border: none;
    border-radius: 50%;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    cursor: pointer;
    /* font-size: 50px; */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    transition: transform 0.3s ease;
}

.scroll-icon {
    color: mediumslateblue !important;
    font-size: 50px !important;
}

.scroll-btn:hover {
    transform: scale(1.1); /* افکت بزرگ شدن هنگام هاور */
}

.scroll-btn:active {
    transform: scale(0.9); /* افکت کوچک شدن هنگام کلیک */
}



.card-body-align {
    display: flex;
    text-align: center;
    justify-content: center !important;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-text {
    font-size: 14px;
    color: #666;
}


.card-body h5 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    font-family: 'myisans';
}


.info-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.system-version {
    text-align: center;
    font-family: 'myisans';
    font-size: 14px;
    background-color: mediumslateblue;
    color: white;
    border-radius: 2px;
    margin: 0px;
}

.info-item {
    /*display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    justify-content: center;*/
    display: flex;
    align-items: center;
    font-size: 14px;
    width: 100%;
}

.info-icon {
    font-size: 16px;
    margin-right: 8px;
    color: #7367f0;
}

.info-label {
    color: #888B90;
    font-weight: 400;
}

.info-value {
    color: #333;
    margin-right: 5px;
}

.course-info {
    margin-bottom: 10px;
    font-size: 15px;
    color: #333;
}

.course-summary {
    /*  margin-bottom: 15px;
    font-size: 14px;
    color: #616D7E;
    background-color: #d3d3d3;
    padding: 10px;
    border-radius: 8px;
    line-height: 1.5;*/

    margin-bottom: 15px;
    font-size: 14px;
    color: #f9f9f9;
    background-color: #d3d3d3;
    padding: 10px;
    border-radius: 8px;
    line-height: 1.5 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: scroll;
    /*text-overflow: ellipsis; */
}

.customCard {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .customCard:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

.price {
    font-size: 20px;
    color: #347C2C;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-full-course {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: white;
    background: linear-gradient(72.47deg, rgba(115, 103, 240, 0.7) 22.16%, #7367f0 76.47%);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

    .btn-full-course:hover {
        background: linear-gradient(159deg, rgba(115, 103, 240, 0.7) 22.16%, #7367f0 76.47%);
        color: white;
    }

.disabled-label {
    display: inline-block;
    padding: 5px 5px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: white;
    background: #9e9e9e;
    border-radius: 5px;
    margin-top: 10px;
}

.disabled-thumb-img {
    filter: grayscale(100%);
}

.disabled-card {
    background: #e0e0e0;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0.6;
}

/*episode view*/
.container {
    margin-top: 50px;
}

.text-center {
    text-align: center;
}

.course-summary-full {
    margin-bottom: 15px;
    font-size: 14px;
    color: midnightblue; /*#f9f9f9;*/
    background-color: #d3d3d3;
    padding: 10px;
    border-radius: 8px;
}

.video-container {
    overflow: hidden;
    position: relative;
    padding-top: 56.25%;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.table-responsive {
    overflow-x: auto;
    border-radius: 8px;
}

.video-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #FEFCFF;
    table-layout: auto;
}

    .video-table th,
    .video-table td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: center;
        border-radius: 0;
        border: none;
        white-space: nowrap;
        /*background-color: #f9f9f9;
        transition: border-bottom 0.3s ease, background-color 0.3s ease;*/
    }

    .video-table th {
        background-color: #6495ED;
        color: white;
        font-weight: 200;
        font-size: small;
        /*border-radius: 8px;*/
    }

    /*.video-table tbody {
        counter-reset: row-number;*/ /* شمارنده */
    /*}*/

    .video-table tbody tr {
        border-bottom: 0.5px solid #DADBDD;
        transition: background-color 0.3s ease, transform 0.3s ease;
        /*position: relative;*/
    }

        .video-table tbody tr:hover {
            /*background-color: #f2f2f2;*/
            /*background-color: mediumslateblue !important;*/
            border-bottom: none;
            transform: scale(0.99);
            /*color: white*/
        }

    /* .video-table tbody td:first-child {
            position: relative;
            width: 50px;
        }*/

    /*.video-table tbody td:first-child::before {
                content: counter(row-number);
                counter-increment: row-number;*/ /* شمارش خودکار ردیف‌ها */
    /*position: absolute;
                top: 50%;*/ /* تراز عمودی */
    /*left: -25px;*/ /* تنظیم مکان از سمت چپ */
    /*transform: translate(-50%, -50%);*/ /* تنظیم دقیق مکان دایره */
    /*width: 30px;
                height: 30px;
                background-color: mediumslateblue;*/ /* رنگ دایره */
    /*color: white;*/ /* رنگ متن */
    /*border-radius: 50%;*/ /* ایجاد دایره */
    /*display: flex;
                justify-content: center;
                align-items: center;
                font-weight: bold;
                font-size: 14px;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/ /* سایه برای زیبایی */
    /*}*/

    /*.video-table tr:hover {
        background-color: #f2f2f2;
    }*/

    .video-table td {
        background-color: #f9f9f9;
    }

    .video-table tr {
        background-color: #f9f9f9;
    }

    /* تنظیم عرض برای ستون "ردیف" */
    .video-table th:nth-child(1),
    .video-table td:nth-child(1) {
        width: 50px; /* عرض مناسب برای ستون شماره ردیف */
    }

    /* تنظیم عرض برای ستون "پخش" */
    .video-table th:nth-child(3),
    .video-table td:nth-child(3) {
        width: 70px; /* عرض مناسب برای ستون پخش */
    }

    /* تنظیم عرض برای ستون "وضعیت اپیزود" */
    .video-table th:nth-child(4),
    .video-table td:nth-child(4) {
        width: 100px; /* عرض مناسب برای ستون وضعیت اپیزود */
    }

    /* تنظیم عرض برای ستون "مدت زمان" */
    .video-table th:nth-child(5),
    .video-table td:nth-child(5) {
        width: 80px; /* عرض مناسب برای ستون مدت زمان */
    }

    /*.video-table th,
        .video-table td:nth-child(1),
        .video-table td:nth-child(2),
        .video-table td:nth-child(3),
        .video-table td:nth-child(4),
        .video-table td:nth-child(5) {
            width: 1%;*/ /* تنظیم خودکار عرض ستون‌ها */
    /*white-space: nowrap;*/ /* جلوگیری از شکستن متن */
    /*}*/


    .video-table td:nth-child(1) { /* ستون شماره ردیف */
        background: linear-gradient(72.47deg, rgba(115, 103, 240, 0.7) 22.16%, #7367f0 76.47%);
        color: #fff; /* تنظیم رنگ متن برای خوانایی */
        text-align: center; /* متن در وسط */
        border-radius: 50%; /* ایجاد دایره */
        width: 32px; /* حداکثر عرض */
        height: 32px; /* حداکثر ارتفاع */
        line-height: 32px; /* متن را در مرکز دایره قرار می‌دهد */
        margin: auto; /* تراز کردن دایره در وسط */
        display: flex; /* استفاده از فلکس‌باکس برای مرکزیت */
        justify-content: center;
        align-items: center;
        margin-top: 25%;
    }




.icon-btn {
    font-size: 1.2rem;
    border: none;
    background: none;
    cursor: pointer;
    margin-left: 5px;
}




.episode-ply-btn {
    font-size: 2.3rem;
    color: #1AA260;
}

.episode-lock-btn {
    font-size: 2.3rem;
    color: #EB5406;
}

.episode-unlock-btn {
    font-size: 2.3rem;
    color: #4AA02C;
}

@media screen and (max-width: 768px) {
    .video-table {
        width: 100%;
        font-size: 12px;
        direction: rtl; /* تنظیم جهت راست به چپ */
    }

        .video-table th,
        .video-table td {
            display: block;
            text-align: right;
            width: 100%; /* عرض فول برای تمام ستون‌ها */
            border: none;
            padding: 5px;
        }

            .video-table td:nth-child(2), /* ستون دوم: عنوان اپیزود */
            .video-table th:nth-child(2) { /* اعمال تنظیمات روی هدر ستون هم */
                word-wrap: break-word; /* شکستن متن */
                word-break: break-word; /* برای جلوگیری از طولانی‌شدن متن */
                white-space: normal; /* امکان نمایش متن در خطوط مختلف */
                text-align: center !important; /* راست‌چین کردن متن */
            }

            .video-table td:nth-child(3), /* ستون دوم: عنوان اپیزود */
            .video-table th:nth-child(3) { /* اعمال تنظیمات روی هدر ستون هم */

                padding-right: 60%;
            }

            .video-table td:not(:nth-child(2)), /* تمام ستون‌ها به‌جز ستون دوم */
            .video-table th:not(:nth-child(2)) { /* اعمال تغییرات روی هدر ستون‌ها */
                width: 100%; /* تنظیم عرض 100% */
                padding-right: 45%; /* ایجاد فضای مناسب برای ستون‌ها */
                text-align: right; /* راست‌چین کردن محتوا */
            }
        /*.video-table td::before:not(:nth-child(2)),*/ /* تمام ستون‌ها به‌جز ستون دوم */
        /*.video-table td::before:not(:nth-child(2)) {*/ /* اعمال تغییرات روی هدر ستون‌ها */

        /*padding-right: 85%;
            }*/

        .video-table thead {
            display: none; /* مخفی‌کردن هدر جدول */
        }

        .video-table tr {
            margin-bottom: 10px;
            display: block;
            border: 1px solid #ddd;
            border-radius: 8px;
        }

        .video-table td {
            border-bottom: 1px solid #ddd;
            position: relative;
            padding-right: 50%; /* ایجاد فضای مناسب برای عنوان */
            text-align: center;
        }

            .video-table td:nth-child(1)::before {
                content: none;
            }

            .video-table td:not(:nth-child(1))::before {
                content: attr(data-label);
                text-align: center;
                margin-top: 5px;
            }

            .video-table td::before {
                /*content: attr(data-label);*/ /* اضافه‌کردن توضیحات */
                position: absolute;
                right: 10px; /* تطبیق موقعیت با راست‌چین */
                font-weight: 200;
            }

            .video-table td:nth-child(1) {
                background: linear-gradient(72.47deg, rgba(115, 103, 240, 0.7) 22.16%, #7367f0 76.47%);
                color: #fff;
                text-align: center;
                border-radius: 50%;
                width: 32px;
                height: 32px;
                line-height: 30px;
                margin: 10px auto 6px auto;
                display: flex;
                padding-right: 2px;
                /* margin-top: 5px; */
                font-size: medium;
                padding-top: 5px;
            }

    .video-container {
        position: fixed; /* تثبیت موقعیت برای صفحات کوچک */
        /*top: 0px;*/
        bottom: 52%; /* فاصله از پایین صفحه */
        right: 0px; /* فاصله از سمت راست */
        width: 100%; /* تنظیم عرض در صفحات کوچک */
        max-width: 100%; /* حداکثر عرض */
        z-index: 500;
    }

    #courseheader {
        margin-top: 30px;
    }
    /*.video-table td:nth-child(1) {
                width: 24px;*/ /* کاهش عرض دایره در صفحه‌های کوچک */
    /*height: 24px;*/ /* کاهش ارتفاع دایره در صفحه‌های کوچک */
    /*line-height: 24px;*/ /* متن به درستی تراز می‌شود */
    /*margin: 10% auto 0 auto;*/ /* تنظیم فاصله بالایی در حالت ریسپانسیو */
    /*}*/
}


/*sell info panel style*/

.accordion-style {
    border: 0.px solid gray;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    background: linear-gradient(72.47deg, rgba(115, 103, 240, 0.7) 2.16%, rgb(235, 84, 6) 76.47%);
    border-radius: 8px; /* ایجاد گوشه‌های گرد */
    padding: 10px;
}

.course-sell-card {
    text-align: center;
    padding: 20px;
}

/*.course-sell-price {
    font-size: 1.5rem;
    font-weight: bold;
    color:lightgray;
}

.original-sell-price {*/
/* text-decoration: line-through;*/
/*color: #347C2C;
}*/

.course-sell-price-label {
    font-size: 1.2rem;
    color: lightgray; /* رنگ خاکستری برای عنوان */
}

.course-sell-original-price {
    font-size: 1.7rem;
    color: #347C2C; /* رنگ سبز برای قیمت */
}

.course-sell-price-currency {
    font-size: 0.8rem;
    color: lightgray; /* رنگ خاکستری روشن برای واحد پول */
}


.info-list-sell {
    display: flex;
    flex-direction: column;
    align-items: center; /* برای وسط‌چین کردن عناصر داخلی */
    justify-content: center; /* برای تراز وسطی عناصر */
    gap: 10px;
    text-align: center; /* برای وسط‌چین کردن متن‌های داخلی */
    width: 100%; /* اطمینان از اشغال فضای کامل */
    margin: 0 auto; /* برای تنظیم در مرکز */
}

.info-item-sell {
    display: flex;
    align-items: center;
    font-size: 14px;
    width: 100%;
    justify-content: center
}

.card-title-sell {
    color: var(--bs-card-title-color);
    font-family: 'myisans';
    font-size: 25px;
    margin-bottom: 10px;
}

.info-item-sell {
    display: flex;
    align-items: center;
    font-size: 14px;
    width: 100%;
    justify-content: right;
}

.title-divider, .price-divider {
    border: 0.px solid #d3d3d3; /* کاهش ضخامت و استفاده از رنگ خاکستری کمرنگ‌تر */
    width: 100%; /* طول خط نسبت به کارت */
    margin: 0 auto; /* مرکز کردن خط نسبت به کارت */
    position: relative; /* موقعیت نسبی نسبت به والد */
    margin-bottom: 10px;
    margin-top: 10px;
}



.info-label-sell {
    color: #888B90;
    font-weight: 400;
}

.info-valu-sell {
    font-size: 1rem;
    color: #333;
    margin-right: 5px;
}


@media (max-width: 500px) {
    .card-title-sell {
        color: var(--bs-card-title-color);
        font-family: 'myisans';
        font-size: 18px;
        margin-bottom: 10px;
        word-wrap: initial;
    }
}

@media (max-width: 768px) {
    .info-item-sell {
        flex-direction: column;
        align-items: center; /* وسط‌چین کردن محتوا */
        text-align: center;
        justify-content: center;
    }

    .info-label-sell, .info-value-sell {
        display: block;
        width: 100%; /* محتوای هر بخش در خط جداگانه */
        margin-right: 10px;
    }

    .course-sell-price-label {
        font-size: 0.8rem;
        color: lightgray; /* رنگ خاکستری برای عنوان */
    }

    .course-sell-original-price {
        font-size: 1rem;
        color: #347C2C; /* رنگ سبز برای قیمت */
        word-wrap: initial;
    }

    .course-sell-price-currency {
        font-size: 0.8rem;
        color: lightgray; /* رنگ خاکستری روشن برای واحد پول */
    }
}

/*course sellin pay apply request*/

.purchase-type-radios {
    display: flex;
    justify-content: center;
    align-items: center;
    /*height: 100%;*/
    text-align: center;
    flex-direction: column;
    width: 100% !important;
}

.form-floating .MudRadio {
    display: block; /* Forces MudRadio to occupy its own line */
}


/*online course final bill*/

.custom-table-bill-final {
    border-collapse: collapse;
    width: 100%; /* عرض جدول همیشه 100% */
    direction: rtl;
    margin: 20px 0;
    border: 0.1px solid #d3d3d3; /* رنگ خاکستری روشن */
    border-radius: 10px; /* حاشیه گرد */
    overflow: scroll; /* اطمینان از اعمال صحیح گردی حاشیه */
}

    .custom-table-bill-final th, .custom-table-bill-final td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: center; /* وسط‌چین کردن متن */
    }

    .custom-table-bill-final th {
        background-color: #f2f2f2;
        color: black;
    }

    .custom-table-bill-final .price-cell {
        font-size: 26px; /* اندازه فونت */
        background-color: #347C2C; /* رنگ پس‌زمینه */
        color: #fff; /* رنگ متن */
        font-weight: bold;
    }

@media (max-width: 600px) {
    .custom-table-bill-final {
        width: 100%; /* جدول در حالت رسپانسیو نیز عرض کامل */
    }

        .custom-table-bill-final tr {
            display: flex;
            flex-direction: column; /* نمایش عمودی در رسپانسیو */
        }

        .custom-table-bill-final td {
            display: block;
            justify-content: center !important;
            align-items: center !important;
            padding: 10px;
        }

            .custom-table-bill-final td::before {
                content: attr(data-label); /* نمایش عنوان ستون */
                font-weight: bold;
                margin-left: 10px;
            }
}

.mud_menu-text-color {
    color: #6f6b7d !important;
}

#mud_menu-text-color {
    color: #6f6b7d !important;
}


/*.course-summary-full {
    margin-bottom: 15px;
    font-size: 14px;
    color: #f9f9f9;
    background-color: #d3d3d3;
    padding: 10px;
    border-radius: 8px;
}

.video-container {
    overflow: hidden;
    position: relative;
    padding-top: 56.25%; 
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.icon-btn {
    font-size: 1.2rem;
    border: none;
    background: none;
    cursor: pointer;
}

.header-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #6495ED;
    color: white;
    padding: 10px;
    font-weight: bold;
    border-radius: 8px;
}*/


@media (max-width: 768px) {
    .mud-table-container {
        display: flex;
        flex-wrap: wrap;
    }

    .mud-table-row {
        display: flex;
        flex-direction: column;
        margin: 8px;
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 12px;
    }

    .mud-table-cell {
        margin-bottom: 8px;
    }
}
