
        #topNav ul.dropdown-menu {
            min-width: 110px;
        }
        
        .overlay.dark-6 {
            background-color: rgb(50 76 63 / 43%)!important;
        }
        
        #header.header-sm #topNav #topMain>li>a {
            height: unset!important;
            line-height: 20px;
        }
        
        #topMain.nav-pills>li>a.dropdown-toggle {
            padding-right: unset!important;
            -webkit-border-radius: 0;
            -moz-border-radius: 0;
            border-radius: 0;
        }
        
        .nav>li>a {
            position: unset!important;
            display: unset!important;
            padding: unset!important;
        }
        
        #topMain.nav-pills>li.active>a {
            color: #dde1e6!important;
        }
        
        @media (min-width: 768px) {
            .menu-item.active {
                background-color: rgb(18 158 49);
                color: white;
            }
          
            .menu-item:hover:not(.active) {
                background-color: #eeeeee;
            }
            .menu {
                /* list-style: none;
  padding: 0;
  display: flex;
  gap: 10px; */
                /* background-color: #f0f0f0; */
                padding: 15px!important;
                border-radius: 8px;
            }
            #topMain>li {
                border-bottom: unset!important;
            }
        }
        /* #topMain>li {
    border-bottom: rgb(85 237 29 / 64%) 1px solid!important;
} */

        #topMain li {
            text-align: center!important;
        }
        
        #topMain li a {
            text-align: center!important;
        }
        
        @media only screen and (max-width: 992px) {
            #topMain,
            #topNav ul.dropdown-menu {
                color: #fff;
                background-color: rgb(18 158 49)!important;
            }
        }
        
        #topNav button.btn-mobile i {
            padding: 0;
            margin: 0;
            font-size: 34px!important;
            color: rgb(18, 78, 3)!important;
        }
        /* استایل کلی لیست */
        
        .menu {
            /* list-style: none;
  padding: 0;
  display: flex;
  gap: 10px; */
            /* background-color: #f0f0f0; */
            padding: 0;
            border-radius: 0;
        }
        /* استایل هر آیتم منو */
        
        .menu-item {
            padding: 10px 20px;
            cursor: pointer;
            border-radius: 5px;
            transition: all 0.3s ease;
            /* برای نرم شدن تغییر رنگ */
            /* font-family: sans-serif; */
             font-family: 'B Yekan';
            color: #333;
        }
        /* ol, ul {
    margin-top:unset!important; 
    margin-bottom: 10px!important;
} */
   







                /* #topMain.nav-pills>li.active>a {
    color: #0bdc20;
    background-color: rgb(8, 101, 5);
} */
                
                .z-index-1 {
                    z-index: unset!important;
                }
                
                .heading-title.heading-arrow-bottom:after {
                    content: ' '!important;
                    position: absolute!important;
                    width: 0!important;
                    height: 0!important;
                    border-left: 20px solid transparent;
                    border-right: 20px solid transparent;
                    border-top: 20px solid rgb(18 158 49)!important;
                    left: 50%;
                    margin-left: -20px;
                    bottom: -20px;
                }
           







        
            /* پیدا کردن بخش اصلی اسلاید و اعمال قوس */
            
            section.nomargin {
                position: relative;
                /* این خط جادوی اصلی است */
                clip-path: ellipse(150% 100% at 50% 0%);
                /* اگر می‌خواهید قوس ملایم‌تر باشد از این استفاده کنید:
       clip-path: path('M0,0 L100%,0 L100%,90% Q50%,100% 0,90% Z'); 
    */
            }
       






         











            a.social-icon.social-icon-transparent {
                background-color: transparent;
                text-shadow: none;
                color: #fcfbfb !important;
            }
            
            #footer.footer-light a.social-icon {
                color: #fcfbfb !important;
            }
            
            #footer.footer-light p,
            #footer.footer-light a,
            #footer.footer-light ul.footer-links>li>a {
                color: #fcfbfb !important;
            }
            
            #footer.footer-light h1,
            #footer.footer-light h2,
            #footer.footer-light h3,
            #footer.footer-light h4,
            #footer.footer-light h5,
            #footer.footer-light h6 {
                color: #d4d0d0;
            }
            
            #footer.footer-light .copyright,
            #footer.footer-light .copyright a {
                color: #023506;
            }
            
            #footer.footer-light {
                /* linear-gradient(45deg, #111913, rgb(18 158 49)); */
                color: #666;
                /* background-color: #129e31; */
                background-image: none;
                /* background: linear-gradient(10deg, #56f009 0%, #129e31 50%, #014211 100%)!important; */
                background: linear-gradient(10deg, #56f009 0%, #14351b 50%, #0a3a16 100%);
            }
            #footer>.container {
    padding-top: 60px;
 margin-bottom:0!important; 
}
    













	.restate-box-search h1,
	.restate-box-search h2,
	.restate-box-search h3,
	.restate-box-search h4,
	.restate-box-search h5,
	.restate-box-search h6,
	.restate-box-search p,
	.restate-box-search a:hover {
		color: #000 !important;
		text-shadow: none !important;
		text-align: right !important;
	}















#topNav .container {
    display: flex;
    /* flex-wrap: wrap; */
    align-items: center;
    justify-content: flex-start;
}







 /* تغییر رنگ دکمه ورود/ثبت‌نام هنگام کلیک (از آبی به سبز پررنگ) */
.login-signup-btn:active,
.login-signup-btn:focus,
.login-signup-btn:active i,
.login-signup-btn:focus i {
    color: #0a5c1e !important; /* سبز پررنگ */
    border-color: #0a5c1e !important;
    outline: none!important;
}
    /* استایل‌های ریسپانسیو برای هدر */
    #topNav .container {
        display: flex!important;
        flex-wrap: wrap!important;
        align-items: center!important;
        justify-content: space-between!important!important;
        /* width: 100%; */
    }
    .btn-mobile {
        order: 0!important;
        display: block!important;
        background: transparent!important;
        border: none!important;
    }
    .login-signup-btn {
        order: 1!important;
        margin: 0 10px!important;
        white-space: nowrap!important;
    }
    .logo {
        order: 2!important;
    }
    .navbar-collapse {
        order: 3!important;
        width: 100%!important;
        flex-basis: 100%!important;
    }
    /* دسکتاپ */
    @media (min-width: 992px) {
        .btn-mobile {
            display: none!important; /* مخفی کردن دکمه همبرگر */
        }
        .container {
            flex-wrap: nowrap!important;
        }
        .logo {
            order: 0!important;
            margin-left: auto!important; /* در RTL لوگو در سمت راست */
        }
        .navbar-collapse {
            order: 1!important;
            width: auto!important;
            flex: 1!important;
            text-align: left!important;
        }
        .login-signup-btn {
            order: 2!important;
            margin: 0 0 0 15px!important; /* فاصله از منو (در RTL) */
        }
        #topMain {
            display: flex!important;
            justify-content: flex-start!important;
        }
    }
  /* فقط اصلاح حالت موبایل: لوگو در همان ردیف هامبرگر و دکمه قرار گیرد */
@media (max-width: 991px) {
    #topNav .container {
        display: flex!important;
        flex-wrap: nowrap!important;        /* جلوگیری از رفتن لوگو به ردیف بعد */
        align-items: center!important;
        justify-content: space-between!important;
    }
    .btn-mobile {
        order: 0!important;
        flex-shrink: 0!important;
    }
    .login-signup-btn {
        order: 1!important;
        flex-shrink: 0!important;
        margin: 0 8px!important;
        font-size: 1.2rem!important;
        padding: 4px 12px!important;
    }
    .logo {
        order: 2!important;
        flex-shrink: 0!important;
    }
    .logo img {
        width: 12rem !important;   /* کوچک‌تر شدن لوگو در موبایل */
        max-height: 45px;
    }
    .navbar-collapse {
        order: 3!important;
        width: 100%!important;
        flex-basis: 100%!important;
        margin-top: 12px!important;
    }
    /* منوی همبرگری باز شده */
    .navbar-collapse.collapse {
        display: none !important;
    }
    .navbar-collapse.collapse.in {
        display: block !important;
    }
}
#header #topNav a.logo>img {
    max-height: 65px!important; 
}







/* Institute */

 
/*
    #eduContentBlock * {
        font-family: 'B Yekan', 'Vazirmatn', Tahoma, sans-serif !important;
    }*/

    .edu-page-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 35px;
        border-radius: 10px;
        box-shadow: 0px 0px 30px 5px rgba(136, 144, 139, 0.45);
        padding: 25px 35px;
        background: #fff;
    }

    .edu-page-header h1 {
        font-size: 28px;
        font-weight: 900;
        color: #1a1a2e;
        margin: 0;
        font-family: 'B Yekan' !important;
    }

    .edu-page-header h1 .edu-icon {
        font-size: 28px;
        margin-left: 10px;
    }

    .edu-user-box {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 6px 20px 6px 16px;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .edu-user-box img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        border: 3px solid rgb(18, 158, 49);
        box-shadow: 0 4px 15px rgba(18, 158, 49, 0.2);
    }

    .edu-user-box .edu-user-name {
        font-weight: 700;
        font-size: 16px;
        color: #1a1a2e;
        font-family: 'B Yekan';
    }

    .edu-user-box .edu-user-institute {
        font-size: 13px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-user-box .edu-user-date {
        font-size: 11px;
        color: #8a8aaa;
    }

    .edu-user-box .edu-user-date .edu-icon {
        font-size: 12px;
        margin-left: 4px;
    }

    .edu-search-filter {
        background: #fff;
        padding: 20px 28px;
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        margin-bottom: 35px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 14px;
    }

    #eduSearchBox {
        flex: 1;
        min-width: 200px;
        display: flex;
        align-items: center;
        background: #f7f9fc;
        border-radius: 12px;
        padding: 0 18px;
        border: 2px solid #9dd29db3;
        transition: all 0.3s;
        box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
    }

    #eduSearchBox:focus-within {
        border-color: rgb(18, 158, 49);
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(18, 158, 49, 0.08), inset 0 2px 6px rgba(0, 0, 0, 0.02);
    }

    #eduSearchBox .edu-icon {
        font-size: 16px;
        color: #8a8aaa;
    }

    #eduSearchBox input {
        border: none;
        background: transparent;
        padding: 14px 14px;
        font-family: 'B Yekan';
        font-size: 14px;
        width: 100%;
        outline: none;
        color: #1a1a2e;
    }

    #eduSearchBox input::placeholder {
        color: #b0b0c8;
    }

    .edu-filter-tabs {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .edu-filter-tab {
        padding: 10px 22px;
        border-radius: 12px;
        border: 2px solid #e0e4ea;
        background: transparent;
        color: #4a4a6a;
        font-family: 'B Yekan';
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s;
    }

    .edu-filter-tab:not(.edu-active):hover {
        border-color: rgb(18, 158, 49);
        color: rgb(18, 158, 49);
        background: rgba(18, 158, 49, 0.05);
        transform: translateY(-1px);
    }

    .edu-filter-tab.edu-active {
        background: rgb(18, 158, 49);
        color: #fff;
        border-color: rgb(18, 158, 49);
        box-shadow: 0 4px 16px rgba(18, 158, 49, 0.2);
    }

    .edu-stats {
        display: flex;
        gap: 30px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .edu-stats .edu-stat-item {
        font-size: 14px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-stats .edu-stat-item .edu-icon {
        font-size: 18px;
        margin-left: 6px;
    }

    .edu-stats .edu-stat-item strong {
        color: #1a1a2e;
        font-size: 18px;
        margin-left: 4px;
    }

    #eduInstituteGrid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 28px;
    }

    .edu-institute-item {
        background: #fff;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 8px 30px rgba(98, 112, 97, 0.42);
        transition: all 0.3s;
        border: 1px solid rgba(0, 0, 0, 0.03);
        position: relative;
        animation: eduFadeInUp 0.5s ease forwards;
        opacity: 0;
        display: flex;
        flex-direction: column;
        min-height: 420px;
    }

    .edu-institute-item:nth-child(1) { animation-delay: 0.05s; }
    .edu-institute-item:nth-child(2) { animation-delay: 0.10s; }
    .edu-institute-item:nth-child(3) { animation-delay: 0.15s; }
    .edu-institute-item:nth-child(4) { animation-delay: 0.20s; }
    .edu-institute-item:nth-child(5) { animation-delay: 0.25s; }
    .edu-institute-item:nth-child(6) { animation-delay: 0.30s; }
    .edu-institute-item:nth-child(7) { animation-delay: 0.35s; }

    .edu-institute-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 48px rgba(18, 158, 49, 0.12);
    }

    .edu-institute-item .edu-card-image {
        height: 150px;
        background-size: cover;
        background-position: center;
        position: relative;
        flex-shrink: 0;
    }

    .edu-institute-item .edu-card-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        padding: 4px 12px;
        border-radius: 50px;
        letter-spacing: 0.5px;
        font-family: 'B Yekan';
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .edu-institute-item .edu-card-badge .edu-icon {
        font-size: 12px;
    }

    .edu-institute-item .edu-card-badge.hot {
        background: #ef4444;
    }

    .edu-institute-item .edu-card-badge.top {
        background: #8b5cf6;
    }

    .edu-institute-item .edu-card-badge.free {
        background: #16a34a;
    }

    .edu-institute-item .edu-card-tag {
        position: absolute;
        top: 12px;
        left: 12px;
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        padding: 4px 12px;
        border-radius: 50px;
        font-family: 'B Yekan';
        backdrop-filter: blur(4px);
    }

    .edu-institute-item .edu-card-body {
        padding: 20px 20px 20px;
        text-align: center;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .edu-institute-item .edu-card-body .edu-title {
        font-size: 25px;
        font-weight: 700;
        margin-bottom: 4px;
        font-family: 'B Yekan';
        color: #1a1a2e;
    }

    .edu-institute-item .edu-card-body .edu-location {
        font-size: 13px;
        color: #8a8aaa;
        margin-bottom: 12px;
        font-family: 'B Yekan';
    }

    .edu-institute-item .edu-card-body .edu-location .edu-icon {
        font-size: 14px;
        margin-left: 4px;
    }

    .edu-institute-item .edu-card-body .edu-desc {
        font-size: 18px;
        color: #4a4a6a;
        line-height: 1.7;
        margin-bottom: 16px;
        font-family: 'B Yekan';
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex: 1;
    }

    .edu-institute-item .edu-card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px 20px;
        border-top: 1px solid #f0f2f5;
        flex-wrap: nowrap !important;
        gap: 6px;
        margin-top: auto;
    }

    .edu-institute-item .edu-card-footer .edu-meta {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 1;
        min-width: 0;
    }

    .edu-institute-item .edu-card-footer .edu-meta span {
        font-size: 12px;
        color: #4a4a6a;
        display: flex;
        align-items: center;
        gap: 4px;
        font-family: 'B Yekan';
        white-space: nowrap;
    }

    .edu-institute-item .edu-card-footer .edu-meta span .edu-icon {
        font-size: 13px;
    }

    .edu-institute-item .edu-card-footer .edu-rating {
        display: flex;
        align-items: center;
        gap: 3px;
        color: #f59e0b;
        font-weight: 600;
        font-size: 13px;
        font-family: 'B Yekan';
        flex-shrink: 0;
    }

    .edu-institute-item .edu-card-footer .edu-rating .edu-icon {
        font-size: 14px;
    }

    .edu-institute-item .edu-enter-btn {
        padding: 6px 14px;
        border-radius: 12px;
        border: 2px solid rgb(18, 158, 49);
        background: transparent;
        color: rgb(18, 158, 49);
        font-family: 'B Yekan';
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .edu-institute-item .edu-enter-btn .edu-icon {
        font-size: 13px;
    }

    .edu-institute-item .edu-enter-btn:hover {
        background: rgba(18, 158, 49, 0.06);
        border-color: rgb(18, 158, 49);
        color: rgb(18, 158, 49);
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(18, 158, 49, 0.12);
    }

    #eduEmptyMessage {
        display: none;
        text-align: center;
        padding: 60px 20px;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
        margin-top: 20px;
    }

    #eduEmptyMessage .edu-icon {
        font-size: 48px;
        display: block;
        text-align: center;
        color: #c0c0d0;
        margin-bottom: 16px;
    }

    #eduEmptyMessage h3 {
        color: #4a4a6a;
        font-weight: 400;
        font-family: 'B Yekan';
    }

    #eduEmptyMessage p {
        color: #8a8aaa;
        font-family: 'B Yekan';
    }

    @keyframes eduFadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    @media (max-width: 768px) {
        #eduContentBlock {
            padding: 20px 0;
        }

        .edu-page-header {
            padding: 16px 18px;
            flex-direction: column;
            align-items: stretch;
        }

        .edu-page-header h1 {
            font-size: 22px;
            text-align: center;
        }

        .edu-user-box {
            justify-content: center;
        }

        .edu-search-filter {
            padding: 16px 18px;
            flex-direction: column;
            align-items: stretch;
        }

        #eduSearchBox {
            min-width: 100%;
        }

        .edu-filter-tabs {
            justify-content: center;
        }

        .edu-filter-tab {
            padding: 8px 16px;
            font-size: 12px;
        }

        #eduInstituteGrid {
            grid-template-columns: 1fr;
        }

        .edu-stats {
            gap: 16px;
            justify-content: center;
        }

        .edu-institute-item .edu-card-body .edu-desc {
            font-size: 15px;
        }

        .edu-institute-item .edu-card-footer {
            flex-wrap: wrap !important;
            justify-content: center;
            gap: 8px;
        }

        .edu-institute-item .edu-enter-btn {
            width: 100%;
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        .edu-user-box {
            flex-wrap: wrap;
            justify-content: center;
            text-align: center;
        }

        .edu-user-box img {
            width: 50px;
            height: 50px;
        }

        .edu-institute-item .edu-card-body .edu-title {
            font-size: 20px;
        }

        .edu-institute-item .edu-card-footer {
            flex-direction: column;
            align-items: stretch;
        }

        .edu-institute-item .edu-card-footer .edu-meta {
            justify-content: center;
        }

        .edu-institute-item .edu-enter-btn {
            justify-content: center;
            padding: 8px 16px;
            font-size: 13px;
        }
    }
/* Institute */




/* Single-Institute */
   
    .edu-single-wrapper {
        direction: rtl;
        padding: 40px 0;
        background: #f0f4f8;
    }

    /* ----- هدر ----- */
    .edu-single-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 35px;
        border-radius: 20px;
        box-shadow: 0px 0px 30px 5px rgba(136, 144, 139, 0.45);
        padding: 25px 35px;
        background: linear-gradient(135deg, #ffffff 0%, #f5faf7 100%);
    }

    .edu-single-header-right {
        display: flex;
        align-items: center;
        gap: 25px;
    }

    .edu-single-logo-wrapper {
        position: relative;
    }

    .edu-single-logo {
        width: 110px;
        height: 110px;
        border-radius: 25px;
        border: 4px solid rgb(18, 158, 49);
        object-fit: cover;
        box-shadow: 0 8px 25px rgba(18, 158, 49, 0.25);
    }

    .edu-single-badge {
        position: absolute;
        bottom: -8px;
        right: -8px;
        background: rgb(18, 158, 49);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        padding: 3px 12px;
        border-radius: 50px;
        box-shadow: 0 4px 12px rgba(18, 158, 49, 0.3);
        font-family: 'B Yekan';
    }

    .edu-single-badge i {
        margin-left: 4px;
    }

    .edu-single-title {
        font-size: 30px;
        font-weight: 900;
        color: #1a1a2e;
        margin: 0;
        font-family: 'B Yekan' !important;
    }

    .edu-single-subtitle {
        font-size: 14px;
        font-weight: 400;
        color: #8a8aaa;
        margin-right: 12px;
        font-family: 'B Yekan';
    }

    .edu-single-info-row {
        display: flex;
        align-items: center;
        gap: 18px;
        margin-top: 6px;
        flex-wrap: wrap;
    }

    .edu-single-info-item {
        font-size: 14px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-single-info-item i {
        color: rgb(18, 158, 49);
        margin-left: 6px;
    }

    /* ----- کاربر ----- */
    .edu-single-user-box {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 6px 20px 6px 16px;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .edu-single-user-avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        border: 3px solid rgb(18, 158, 49);
        box-shadow: 0 4px 15px rgba(18, 158, 49, 0.2);
    }

    .edu-single-user-name {
        font-weight: 700;
        font-size: 16px;
        color: #1a1a2e;
        font-family: 'B Yekan';
    }

    .edu-single-user-institute {
        font-size: 13px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-single-user-date {
        font-size: 11px;
        color: #8a8aaa;
        direction: ltr;
    }

    .edu-single-user-date i {
        color: rgb(18, 158, 49);
        margin-left: 4px;
    }

    /* ----- آمار ----- */
    .edu-single-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
        margin-bottom: 35px;
    }

    .edu-single-stat-item {
        background: #fff;
        border-radius: 16px;
        padding: 20px 25px;
        text-align: center;
        box-shadow: 0 4px 20px rgb(86 93 88 / 58%);
        border-right: 4px solid rgb(18, 158, 49);
    }

    .edu-single-stat-item:nth-child(1) {
        border-right-color: rgb(18, 158, 49);
    }
    .edu-single-stat-item:nth-child(2) {
        border-right-color: #f59e0b;
    }
    .edu-single-stat-item:nth-child(3) {
        border-right-color: #8b5cf6;
    }
    .edu-single-stat-item:nth-child(4) {
        border-right-color: #06b6d4;
    }

    .edu-single-stat-number {
        font-size: 28px;
        font-weight: 900;
        font-family: 'B Yekan';
    }

    .edu-single-stat-item:nth-child(1) .edu-single-stat-number {
        color: rgb(18, 158, 49);
    }
    .edu-single-stat-item:nth-child(2) .edu-single-stat-number {
        color: #f59e0b;
    }
    .edu-single-stat-item:nth-child(3) .edu-single-stat-number {
        color: #8b5cf6;
    }
    .edu-single-stat-item:nth-child(4) .edu-single-stat-number {
        color: #06b6d4;
    }

    .edu-single-stat-label {
        font-size: 14px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-single-stat-label i {
        margin-left: 6px;
    }

    /* ----- درباره ----- */
    .edu-single-about {
        background: #fff;
        border-radius: 20px;
        padding: 30px 0;
        box-shadow: 0 8px 30px rgba(98, 112, 97, 0.15);
        margin-bottom: 35px;
        position: relative;
        overflow: hidden;
    }

    .edu-single-about-circle1 {
        position: absolute;
        top: -50px;
        left: -50px;
        width: 150px;
        height: 150px;
        background: rgba(18, 158, 49, 0.05);
        border-radius: 50%;
    }

    .edu-single-about-circle2 {
        position: absolute;
        bottom: -80px;
        right: -80px;
        width: 200px;
        height: 200px;
        background: rgba(18, 158, 49, 0.03);
        border-radius: 50%;
    }

    .edu-single-about-content {
        position: relative;
        z-index: 1;
    }

    .edu-single-about-title {
        font-size: 26px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'B Yekan';
        margin-bottom: 12px;
        display: flex;
        align-items: center;
    }

    .edu-single-about-line {
        display: inline-block;
        width: 4px;
        height: 28px;
        background: rgb(18, 158, 49);
        border-radius: 4px;
        margin-left: 12px;
        margin-right: 1rem;
    }

    .edu-single-about-text {
        font-size: 19px;
        color: #4a4a6a;
        line-height: 2;
        font-family: 'B Yekan';
        padding-right: 16px;
    }

    .edu-single-about-text strong {
        color: rgb(18, 158, 49);
    }

    /* ----- عنوان دوره‌ها ----- */
    .edu-single-courses-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 25px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .edu-single-courses-title {
        font-size: 26px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'B Yekan';
        margin: 0;
        display: flex;
        align-items: center;
    }

    .edu-single-courses-line {
        display: inline-block;
        width: 5px;
        height: 30px;
        background: rgb(18, 158, 49);
        border-radius: 5px;
        margin-left: 14px;
    }

    .edu-single-courses-count {
        font-size: 14px;
        color: #8a8aaa;
        font-family: 'B Yekan';
    }

    /* ======================================== */
    /* ===== کارت‌های دوره (یکدست - شبیه کارت اول) ===== */
    /* ======================================== */

    .edu-single-course-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .edu-single-course-item {
        background: #fff;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
        transition: all 0.3s;
        display: flex;
        flex-wrap: wrap;
        border: 1px solid #f0f2f5;
        border-radius: 5px;
    }

    .edu-single-course-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(18, 158, 49, 0.12);
    }

    /* تصویر دوره - همه یکسان */
    .edu-single-course-image {
        width: 350px;
        min-height: 200px;
        background-size: cover;
        background-position: center;
        flex-shrink: 0;
        position: relative;
        border-radius: 5px 0 0 5px;
    }

    .edu-single-course-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        padding: 4px 14px;
        border-radius: 50px;
        letter-spacing: 0.5px;
        font-family: 'B Yekan';
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .edu-single-course-badge.badge-hot {
        background: #ef4444;
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    }

    .edu-single-course-badge.badge-top {
        background: #8b5cf6;
        box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    }

    .edu-single-course-badge.badge-new {
        background: #06b6d4;
        box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
    }

    .edu-single-course-badge.badge-sale {
        background: #f59e0b;
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    }

    .edu-single-course-badge i {
        margin-left: 4px;
    }

    .edu-single-course-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 30px 15px 12px;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
        border-radius: 0 0 0 5px;
    }

    .edu-single-course-duration {
        color: #fff;
        font-size: 11px;
        font-weight: 500;
        font-family: 'B Yekan';
    }

    .edu-single-course-duration i {
        margin-left: 4px;
    }

    /* بدنه کارت */
    .edu-single-course-body {
        flex: 1;
        padding: 20px 25px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .edu-single-course-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .edu-single-course-title {
        font-size: 23px;
        font-weight: 700;
        margin-bottom: 4px;
        font-family: 'B Yekan';
        color: #1a1a2e;
    }

    .edu-single-course-tags {
        display: flex;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .edu-single-course-tag {
        font-size: 15px;
        color: #8a8aaa;
        font-family: 'B Yekan';
    }

    .edu-single-course-tag i {
        color: rgb(18, 158, 49);
        margin-left: 4px;
    }

    .edu-single-course-price-box {
        text-align: left;
        flex-shrink: 0;
    }

    .edu-single-course-price {
        font-size: 21px;
        font-weight: 700;
        color: rgb(18, 158, 49);
        font-family: 'B Yekan';
    }

    .edu-single-course-old-price {
        font-size: 18px;
        color: #8a8aaa;
        text-decoration: line-through;
    }

    .edu-single-course-desc {
        font-size: 20px;
        color: #4a4a6a;
        line-height: 1.7;
        margin: 8px 0 12px;
        font-family: 'B Yekan';
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* فوتر کارت */
    .edu-single-course-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .edu-single-course-meta {
        display: flex;
        align-items: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .edu-single-course-meta-item {
        font-size: 15px;
        color: #4a4a6a;
        display: flex;
        align-items: center;
        gap: 5px;
        font-family: 'B Yekan';
    }

    .edu-single-course-meta-item i {
        color: rgb(18, 158, 49);
    }

    .edu-single-course-meta-item .star {
        color: #f59e0b;
    }

    .edu-single-course-btn {
        padding: 10px 28px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgb(18, 158, 49), #0c7a2a);
        color: #fff;
        font-family: 'B Yekan';
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 15px rgba(18, 158, 49, 0.25);
        border: none;
    }

    .edu-single-course-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(18, 158, 49, 0.35);
    }

    .edu-single-course-btn i {
        font-size: 14px;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 992px) {
        .edu-single-course-image {
            width: 100%;
            min-height: 180px;
            border-radius: 5px 5px 0 0;
        }

        .edu-single-course-overlay {
            border-radius: 0 0 5px 5px;
        }
    }

    @media (max-width: 768px) {
        .edu-single-wrapper {
            padding: 20px 0;
        }

        .edu-single-header {
            padding: 18px 20px;
            flex-direction: column;
            align-items: stretch;
        }

        .edu-single-header-right {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .edu-single-logo {
            width: 80px;
            height: 80px;
        }

        .edu-single-title {
            font-size: 22px;
        }

        .edu-single-info-row {
            justify-content: center;
        }

        .edu-single-user-box {
            justify-content: center;
        }

        .edu-single-stats {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }

        .edu-single-stat-item {
            padding: 15px;
        }

        .edu-single-stat-number {
            font-size: 22px;
        }

        .edu-single-course-image {
            min-height: 160px;
        }

        .edu-single-course-title {
            font-size: 19px;
        }

        .edu-single-course-top {
            flex-direction: column;
        }

        .edu-single-course-price-box {
            text-align: right;
            width: 100%;
        }

        .edu-single-course-price {
            font-size: 18px;
        }

        .edu-single-course-old-price {
            font-size: 15px;
        }

        .edu-single-course-desc {
            font-size: 16px;
        }

        .edu-single-course-meta-item {
            font-size: 13px;
        }

        .edu-single-course-btn {
            font-size: 14px;
            padding: 8px 20px;
        }

        .edu-single-about {
            padding: 20px;
        }

        .edu-single-about-text {
            font-size: 14px;
            padding-right: 0;
        }

        .edu-single-courses-title {
            font-size: 20px;
        }
    }

    @media (max-width: 480px) {
        .edu-single-stats {
            grid-template-columns: 1fr 1fr;
        }

        .edu-single-course-footer {
            flex-direction: column;
            align-items: stretch;
        }

        .edu-single-course-meta {
            justify-content: center;
        }

        .edu-single-course-btn {
            justify-content: center;
        }

        .edu-single-course-image {
            min-height: 140px;
        }
    }
/* Single-Institute */








/* Register  */

    .edu-register-wrapper {
        direction: rtl;
        padding: 40px 0;
        background: #f0f4f8;
        min-height: 600px;
    }

    /* ----- هدر ثبت‌نام ----- */
    .edu-register-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 35px;
        border-radius: 20px;
        box-shadow: 0px 0px 30px 5px rgba(136, 144, 139, 0.45);
        padding: 25px 35px;
        background: linear-gradient(135deg, #ffffff 0%, #f5faf7 100%);
    }

    .edu-register-header-title {
        font-size: 28px;
        font-weight: 900;
        color: #1a1a2e;
        margin: 0;
        font-family: 'B Yekan' !important;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .edu-register-header-title i {
        color: rgb(18, 158, 49);
        font-size: 32px;
    }

    .edu-register-header-sub {
        font-size: 14px;
        color: #8a8aaa;
        font-family: 'B Yekan';
        margin-right: 12px;
    }

    /* ----- کاربر (چپ) ----- */
    .edu-register-user-box {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 6px 20px 6px 16px;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .edu-register-user-avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        border: 3px solid rgb(18, 158, 49);
        box-shadow: 0 4px 15px rgba(18, 158, 49, 0.2);
    }

    .edu-register-user-name {
        font-weight: 700;
        font-size: 16px;
        color: #1a1a2e;
        font-family: 'B Yekan';
    }

    .edu-register-user-institute {
        font-size: 13px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-register-user-date {
        font-size: 11px;
        color: #8a8aaa;
        direction: ltr;
    }

    .edu-register-user-date i {
        color: rgb(18, 158, 49);
        margin-left: 4px;
    }


    .edu-register-form-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    /* ----- اطلاعات دوره ----- */
    .edu-register-course-info {
        background: #fff;
        border-radius: 20px;
        padding: 30px 30px 35px;
        box-shadow: 0 8px 30px rgba(98, 112, 97, 0.15);
        position: sticky;
        top: 20px;
        align-self: start;
    }

    .edu-register-course-image {
        width: 100%;
        height: 400px;
        border-radius: 12px;
        object-fit: cover;
        margin-bottom: 18px;
        border: 2px solid #f0f2f5;
    }

    .edu-register-course-title {
        font-size: 22px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'B Yekan';
        margin-bottom: 8px;
    }

    .edu-register-course-meta {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        margin-bottom: 15px;
    }

    .edu-register-course-meta-item {
        font-size: 14px;
        color: #4a4a6a;
        font-family: 'B Yekan';
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .edu-register-course-meta-item i {
        color: rgb(18, 158, 49);
    }

    .edu-register-course-price {
        font-size: 24px;
        font-weight: 700;
        color: rgb(18, 158, 49);
        font-family: 'B Yekan';
        padding: 12px 0;
        border-top: 2px solid #f0f2f5;
        border-bottom: 2px solid #f0f2f5;
        margin-bottom: 15px;
    }

    .edu-register-course-price .old {
        font-size: 16px;
        color: #8a8aaa;
        text-decoration: line-through;
        font-weight: 400;
        margin-right: 12px;
    }

    .edu-register-course-benefits {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .edu-register-course-benefits li {
        font-size: 14px;
        color: #4a4a6a;
        font-family: 'B Yekan';
        padding: 6px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .edu-register-course-benefits li i {
        color: rgb(18, 158, 49);
        font-size: 16px;
        width: 20px;
    }

    /* ----- فرم ----- */
    .edu-register-form {
        background: #fff;
        border-radius: 20px;
        padding: 30px 35px 35px;
        box-shadow: 0 8px 30px rgba(98 112 97 / 48%);
    }

    .edu-register-form-title {
        font-size: 22px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'B Yekan';
        margin-bottom: 6px;
    }

    .edu-register-form-sub {
        font-size: 14px;
        color: #8a8aaa;
        font-family: 'B Yekan';
        margin-bottom: 25px;
    }

    .edu-register-form-group {
        margin-bottom: 20px;
    }

    .edu-register-form-group label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #1a1a2e;
        font-family: 'B Yekan';
        margin-bottom: 6px;
    }

    .edu-register-form-group label .required {
        color: #ef4444;
        margin-right: 4px;
    }

    .edu-register-form-control {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #e8ecf2;
        border-radius: 12px;
        font-size: 15px;
        font-family: 'B Yekan';
        color: #1a1a2e;
        transition: all 0.3s;
        background: #fafbfc;
        outline: none;
    }

    .edu-register-form-control:focus {
        border-color: rgb(18, 158, 49);
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(18, 158, 49, 0.08);
    }

    .edu-register-form-control::placeholder {
        color: #b0b0c8;
    }

    .edu-register-form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    /* ----- چک‌باکس ----- */
    .edu-register-checkbox-group {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin: 8px 0 20px;
    }

    .edu-register-checkbox-group input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-top: 2px;
        accent-color: rgb(18, 158, 49);
        cursor: pointer;
        flex-shrink: 0;
    }

    .edu-register-checkbox-group label {
        font-size: 14px;
        color: #4a4a6a;
        font-family: 'B Yekan';
        cursor: pointer;
    }

    .edu-register-checkbox-group label a {
        color: rgb(18, 158, 49);
        text-decoration: none;
        font-weight: 600;
    }

    .edu-register-checkbox-group label a:hover {
        text-decoration: underline;
    }

    /* ----- دکمه ثبت‌نام ----- */
    .edu-register-submit-btn {
        width: 100%;
        padding: 14px 28px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgb(18, 158, 49), #0c7a2a);
        color: #fff;
        font-family: 'B Yekan';
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        border: none;
        box-shadow: 0 4px 20px rgba(18, 158, 49, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .edu-register-submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 35px rgba(18, 158, 49, 0.4);
    }

    .edu-register-submit-btn i {
        font-size: 18px;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 992px) {
        .edu-register-form-wrapper {
            grid-template-columns: 1fr;
        }

        .edu-register-course-info {
            position: relative;
            top: 0;
        }
    }

    @media (max-width: 768px) {
        .edu-register-wrapper {
            padding: 20px 0;
        }

        .edu-register-header {
            padding: 18px 20px;
            flex-direction: column;
            align-items: stretch;
        }

        .edu-register-header-title {
            font-size: 22px;
            justify-content: center;
        }

        .edu-register-user-box {
            justify-content: center;
        }

        .edu-register-form {
            padding: 20px;
        }

        .edu-register-form-row {
            grid-template-columns: 1fr;
        }

        .edu-register-course-info {
            padding: 20px;
        }

        .edu-register-course-image {
            height: 150px;
        }

        .edu-register-course-title {
            font-size: 19px;
        }

        .edu-register-course-price {
            font-size: 20px;
        }

        .edu-register-submit-btn {
            font-size: 16px;
            padding: 12px 20px;
        }
    }

    @media (max-width: 480px) {
        .edu-register-user-box {
            flex-wrap: wrap;
            justify-content: center;
            text-align: center;
        }

        .edu-register-user-avatar {
            width: 50px;
            height: 50px;
        }
    }


/* Register  */

 /* Dashboard  */
  .edu-dash-wrapper {
        direction: rtl;
        padding: 40px 0;
        background: #f0f4f8;
        min-height: 600px;
    }

    /* ----- هدر دشبورد (با ترتیب جدید: داشبورد راست، کاربر چپ) ----- */
    .edu-dash-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 35px;
        border-radius: 20px;
        box-shadow: 0px 0px 30px 5px rgba(136, 144, 139, 0.45);
        padding: 25px 35px;
        background: linear-gradient(135deg, #ffffff 0%, #f5faf7 100%);
    }

    /* ===== عنوان داشبورد (سمت راست) ===== */
    .edu-dash-header-title {
        font-size: 28px;
        font-weight: 900;
        color: #1a1a2e;
        margin: 0;
        font-family: 'B Yekan' !important;
        display: flex;
        align-items: center;
        gap: 12px;
        order: 0;
    }

    .edu-dash-header-title i {
        color: rgb(18, 158, 49);
        font-size: 32px;
    }

    .edu-dash-header-sub {
        font-size: 14px;
        color: #8a8aaa;
        font-family: 'B Yekan';
        margin-right: 12px;
    }

    /* ===== کاربر (سمت چپ) ===== */
    .edu-dash-user-box {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 6px 20px 6px 16px;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        order: 1;
    }

    .edu-dash-user-avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        border: 3px solid rgb(18, 158, 49);
        box-shadow: 0 4px 15px rgba(18, 158, 49, 0.2);
    }

    .edu-dash-user-name {
        font-weight: 700;
        font-size: 16px;
        color: #1a1a2e;
        font-family: 'B Yekan';
    }

    .edu-dash-user-institute {
        font-size: 13px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-dash-user-date {
        font-size: 11px;
        color: #8a8aaa;
        direction: ltr;
    }

    .edu-dash-user-date i {
        color: rgb(18, 158, 49);
        margin-left: 4px;
    }

    /* ============================================================ */
    /* ====== آمار سریع ====== */
    /* ============================================================ */

    .edu-dash-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-bottom: 35px;
    }

    .edu-dash-stat-item {
        background: #fff;
        border-radius: 16px;
        padding: 22px 20px;
        text-align: center;
        box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
        transition: all 0.3s;
        border-bottom: 4px solid rgb(18, 158, 49);
        position: relative;
        overflow: hidden;
    }

    .edu-dash-stat-item::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 100%;
        background: rgba(18, 158, 49, 0.03);
        border-radius: 50%;
        transition: all 0.5s;
    }

    .edu-dash-stat-item:hover::before {
        transform: scale(1.5);
    }

    .edu-dash-stat-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(18, 158, 49, 0.12);
    }

    .edu-dash-stat-item:nth-child(1) {
        border-bottom-color: rgb(18, 158, 49);
    }
    .edu-dash-stat-item:nth-child(2) {
        border-bottom-color: #f59e0b;
    }
    .edu-dash-stat-item:nth-child(3) {
        border-bottom-color: #8b5cf6;
    }
    .edu-dash-stat-item:nth-child(4) {
        border-bottom-color: #06b6d4;
    }

    .edu-dash-stat-number {
        font-size: 32px;
        font-weight: 900;
        font-family: 'B Yekan';
        position: relative;
        z-index: 1;
    }

    .edu-dash-stat-item:nth-child(1) .edu-dash-stat-number {
        color: rgb(18, 158, 49);
    }
    .edu-dash-stat-item:nth-child(2) .edu-dash-stat-number {
        color: #f59e0b;
    }
    .edu-dash-stat-item:nth-child(3) .edu-dash-stat-number {
        color: #8b5cf6;
    }
    .edu-dash-stat-item:nth-child(4) .edu-dash-stat-number {
        color: #06b6d4;
    }

    .edu-dash-stat-label {
        font-size: 14px;
        color: #4a4a6a;
        font-family: 'B Yekan';
        position: relative;
        z-index: 1;
    }

    .edu-dash-stat-label i {
        margin-left: 6px;
    }

    /* ============================================================ */
    /* ====== تب‌ها ====== */
    /* ============================================================ */

    .edu-dash-tabs {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(86, 93, 88, 0.15);
        overflow: hidden;
        margin-bottom: 30px;
    }

    .edu-dash-tabs-nav {
        display: flex;
        background: #f8fafc;
        border-bottom: 2px solid #e8ecf2;
        overflow-x: auto;
        padding: 0 10px;
    }

    .edu-dash-tab-btn {
        padding: 16px 28px;
        font-family: 'B Yekan';
        font-size: 19px;
        font-weight: 600;
        color: #4a4a6a;
        background: transparent;
        border: none;
        border-bottom: 3px solid transparent;
        cursor: pointer;
        transition: all 0.3s;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .edu-dash-tab-btn i {
        font-size: 19px;
        color: #8a8aaa;
        transition: all 0.3s;
    }

    .edu-dash-tab-btn:hover {
        color: rgb(18, 158, 49);
        background: rgba(18, 158, 49, 0.04);
    }

    .edu-dash-tab-btn:hover i {
        color: rgb(18, 158, 49);
    }

    .edu-dash-tab-btn.active {
        color: rgb(18, 158, 49);
        border-bottom-color: rgb(18, 158, 49);
        background: rgba(18, 158, 49, 0.04);
    }

    .edu-dash-tab-btn.active i {
        color: rgb(18, 158, 49);
    }

    .edu-dash-tab-content {
        padding: 25px 30px;
        display: none;
        animation: eduDashFadeIn 0.4s ease;
    }

    .edu-dash-tab-content.active {
        display: block;
    }

    @keyframes eduDashFadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ============================================================ */
    /* ====== دوره‌های من ====== */
    /* ============================================================ */

    .edu-dash-courses-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }

    .edu-dash-course-card {
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
        border: 1px solid #f0f2f5;
        transition: all 0.3s;
    }

    .edu-dash-course-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 48px rgba(18, 158, 49, 0.10);
    }

    .edu-dash-course-img {
        height: 160px;
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .edu-dash-course-progress {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: rgba(255, 255, 255, 0.3);
    }

    .edu-dash-course-progress-bar {
        height: 100%;
        border-radius: 0 3px 3px 0;
        width: 0%;
        transition: width 1s ease;
    }

    .edu-dash-course-body {
        padding: 18px 20px 16px;
    }

    .edu-dash-course-title {
        font-size: 19px;
        font-weight: 700;
        font-family: 'B Yekan';
        color: #1a1a2e;
        margin: 0 0 4px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .edu-dash-course-instructor {
        font-size: 16px;
        color: #8a8aaa;
        font-family: 'B Yekan';
        margin-bottom: 10px;
    }

    .edu-dash-course-instructor i {
        color: rgb(18, 158, 49);
        margin-left: 4px;
    }

    .edu-dash-course-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 12px;
        border-top: 1px solid #f0f2f5;
    }

    .edu-dash-course-progress-text {
        font-size: 16px;
        font-weight: 600;
        color: rgb(18, 158, 49);
        font-family: 'B Yekan';
    }

    .edu-dash-course-btn {
        padding: 6px 18px;
        border-radius: 8px;
        background: rgb(18, 158, 49);
        color: #fff;
        font-family: 'B Yekan';
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        text-decoration: none;
        border: none;
    }

    .edu-dash-course-btn:hover {
        background: #0c7a2a;
        transform: scale(1.02);
    }

    .edu-dash-course-btn-outline {
        background: transparent;
        color: rgb(18, 158, 49);
        border: 2px solid rgb(18, 158, 49);
        padding: 5px 16px;
    }

    .edu-dash-course-btn-outline:hover {
        background: rgb(18, 158, 49);
        color: #fff;
    }

    /* ============================================================ */
    /* ====== آزمون‌های من ====== */
    /* ============================================================ */

    .edu-dash-exam-table {
        width: 100%;
        border-collapse: collapse;
        font-family: 'B Yekan';
    }

    .edu-dash-exam-table th {
        background: #f8fafc;
        padding: 14px 16px;
        text-align: right;
        font-size: 14px;
        font-weight: 700;
        color: #1a1a2e;
        border-bottom: 2px solid #e8ecf2;
    }

    .edu-dash-exam-table td {
        padding: 14px 16px;
        font-size: 14px;
        color: #4a4a6a;
        border-bottom: 1px solid #f0f2f5;
    }

    .edu-dash-exam-table tr:hover td {
        background: #f8fafc;
    }

    .edu-dash-exam-status {
        padding: 4px 14px;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 600;
        font-family: 'B Yekan';
        display: inline-block;
    }

    .edu-dash-exam-status.passed {
        background: #dcfce7;
        color: #16a34a;
    }

    .edu-dash-exam-status.failed {
        background: #fee2e2;
        color: #dc2626;
    }

    .edu-dash-exam-status.pending {
        background: #fef3c7;
        color: #d97706;
    }

    /* ============================================================ */
    /* ====== مدارک من ====== */
    /* ============================================================ */

    .edu-dash-cert-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .edu-dash-cert-card {
        background: #fff;
        border-radius: 16px;
        padding: 25px 20px;
        text-align: center;
        box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
        border: 1px solid #f0f2f5;
        transition: all 0.3s;
    }

    .edu-dash-cert-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 35px rgba(18, 158, 49, 0.08);
    }

    .edu-dash-cert-icon {
        font-size: 48px;
        color: rgb(18, 158, 49);
        margin-bottom: 12px;
    }

    .edu-dash-cert-title {
        font-size: 16px;
        font-weight: 700;
        font-family: 'B Yekan';
        color: #1a1a2e;
        margin-bottom: 4px;
    }

    .edu-dash-cert-date {
        font-size: 12px;
        color: #8a8aaa;
        font-family: 'B Yekan';
        margin-bottom: 12px;
    }

    .edu-dash-cert-btn {
        padding: 6px 20px;
        border-radius: 8px;
        background: transparent;
        border: 2px solid rgb(18, 158, 49);
        color: rgb(18, 158, 49);
        font-family: 'B Yekan';
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .edu-dash-cert-btn:hover {
        background: rgb(18, 158, 49);
        color: #fff;
    }

    /* ============================================================ */
    /* ====== دوره‌های جدید برای ثبت‌نام ====== */
    /* ============================================================ */

    .edu-dash-new-courses {
        background: #fff;
        border-radius: 16px;
        padding: 25px 28px;
        box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
        margin-top: 30px;
    }

    .edu-dash-new-courses-title {
        font-size: 20px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'B Yekan';
        padding-bottom: 12px;
        border-bottom: 2px solid #f0f2f5;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .edu-dash-new-courses-title i {
        color: rgb(18, 158, 49);
    }

    .edu-dash-new-courses-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .edu-dash-new-course-card {
        background: #f8fafc;
        border-radius: 12px;
        padding: 16px 18px;
        border: 1px solid #f0f2f5;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .edu-dash-new-course-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(18, 158, 49, 0.08);
        border-color: rgb(18, 158, 49);
    }

    .edu-dash-new-course-card .edu-dash-new-course-img {
        width: 65px;
        height: 65px;
        border-radius: 10px;
        object-fit: cover;
        flex-shrink: 0;
        border: 2px solid #f0f2f5;
    }

    .edu-dash-new-course-card .edu-dash-new-course-info {
        flex: 1;
    }

    .edu-dash-new-course-card .edu-dash-new-course-info .edu-dash-new-course-name {
        font-size: 15px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'B Yekan';
        margin-bottom: 2px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .edu-dash-new-course-card .edu-dash-new-course-info .edu-dash-new-course-meta {
        font-size: 12px;
        color: #8a8aaa;
        font-family: 'B Yekan';
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .edu-dash-new-course-card .edu-dash-new-course-info .edu-dash-new-course-meta i {
        color: rgb(18, 158, 49);
    }

    .edu-dash-new-course-card .edu-dash-new-course-btn {
        padding: 5px 16px;
        border-radius: 8px;
        border: none;
        background: rgb(18, 158, 49);
        color: #fff;
        font-family: 'B Yekan';
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        flex-shrink: 0;
    }

    .edu-dash-new-course-card .edu-dash-new-course-btn:hover {
        background: #0c7a2a;
        transform: scale(1.02);
    }

   
    @media (max-width: 992px) {
        .edu-dash-stats {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .edu-dash-wrapper {
            padding: 20px 0;
        }

        .edu-dash-header {
            padding: 18px 20px;
            flex-direction: column;
            align-items: stretch;
        }

        .edu-dash-header-title {
            font-size: 22px;
            justify-content: center;
            order: 0;
        }

        .edu-dash-user-box {
            justify-content: center;
            order: 1;
        }

        .edu-dash-tabs-nav {
            padding: 0 5px;
            justify-content: flex-start;
        }

        .edu-dash-tab-btn {
            padding: 12px 16px;
            font-size: 13px;
        }

        .edu-dash-tab-content {
            padding: 18px 16px;
        }

        .edu-dash-stats {
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .edu-dash-stat-item {
            padding: 16px;
        }

        .edu-dash-stat-number {
            font-size: 24px;
        }

        .edu-dash-exam-table {
            font-size: 13px;
        }

        .edu-dash-exam-table th,
        .edu-dash-exam-table td {
            padding: 10px 12px;
        }

        .edu-dash-courses-grid {
            grid-template-columns: 1fr;
        }

        .edu-dash-cert-grid {
            grid-template-columns: 1fr 1fr;
        }

        .edu-dash-new-courses-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 480px) {
        .edu-dash-stats {
            grid-template-columns: 1fr 1fr;
        }

        .edu-dash-user-box {
            flex-wrap: wrap;
            justify-content: center;
            text-align: center;
        }

        .edu-dash-user-avatar {
            width: 50px;
            height: 50px;
        }

        .edu-dash-cert-grid {
            grid-template-columns: 1fr;
        }

        .edu-dash-tab-btn {
            padding: 10px 12px;
            font-size: 12px;
        }

        .edu-dash-tab-btn i {
            font-size: 13px;
        }

        .edu-dash-course-img {
            height: 130px;
        }

        .edu-dash-new-course-card {
            flex-wrap: wrap;
            justify-content: center;
            text-align: center;
        }

        .edu-dash-new-course-card .edu-dash-new-course-btn {
            width: 100%;
            padding: 6px;
        }
    }
    /* ===== عنوان داشبورد (سمت چپ) ===== */
.edu-dash-header-title {
    order: 1; /* سمت چپ */
}

/* ===== کاربر (سمت راست) ===== */
.edu-dash-user-box {
    order: 0; /* سمت راست */
}
  /* Dashboard  */

 /* cart1 */

    .edu-cart-wrapper {
        direction: rtl;
        padding: 40px 0;
        background: #f0f4f8;
        min-height: 600px;
    }

    /* ----- هدر ----- */
    .edu-cart-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 35px;
        border-radius: 20px;
        box-shadow: 0px 0px 30px 5px rgba(136, 144, 139, 0.45);
        padding: 25px 35px;
        background: linear-gradient(135deg, #ffffff 0%, #f5faf7 100%);
    }

    .edu-cart-header-title {
        font-size: 28px;
        font-weight: 900;
        color: #1a1a2e;
        margin: 0;
        font-family: 'B Yekan' !important;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .edu-cart-header-title i {
        color: rgb(18, 158, 49);
        font-size: 32px;
    }

    .edu-cart-header-sub {
        font-size: 14px;
        color: #8a8aaa;
        font-family: 'B Yekan';
        margin-right: 12px;
    }

    /* ----- کاربر ----- */
    .edu-cart-user-box {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 6px 20px 6px 16px;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .edu-cart-user-avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        border: 3px solid rgb(18, 158, 49);
        box-shadow: 0 4px 15px rgba(18, 158, 49, 0.2);
    }

    .edu-cart-user-name {
        font-weight: 700;
        font-size: 16px;
        color: #1a1a2e;
        font-family: 'B Yekan';
    }

    .edu-cart-user-institute {
        font-size: 13px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-cart-user-date {
        font-size: 11px;
        color: #8a8aaa;
        direction: ltr;
    }

    .edu-cart-user-date i {
        color: rgb(18, 158, 49);
        margin-left: 4px;
    }

    .edu-cart-steps-modern {
        position: relative;
        margin-bottom: 40px;
        padding: 25px 20px 18px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(86, 93, 88, 0.08);
        overflow: hidden;
        min-height: 100px;
    }

    /* خط زمینه (ملایم) */
    .edu-cart-steps-line-bg {
        position: absolute;
        top: 50%;
        left: 60px;
        right: 60px;
        height: 2px;
        background: #eef2f6;
        transform: translateY(-50%);
        border-radius: 2px;
        z-index: 1;
    }

    /* خط پیشرفت (رنگی ملایم) */
    .edu-cart-steps-line-progress {
        position: absolute;
        top: 50%;
        left: 60px;
        height: 2px;
        background: linear-gradient(90deg, rgb(18, 158, 49), #86efac);
        transform: translateY(-50%);
        border-radius: 2px;
        z-index: 2;
        transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
        width: 0%;
        box-shadow: 0 0 8px rgba(18, 158, 49, 0.15);
    }

    /* دایره متحرک (نقطه شروع) */
    .edu-cart-moving-dot {
        position: absolute;
        top: 50%;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: rgb(18, 158, 49);
        box-shadow: 0 0 0 4px rgba(18, 158, 49, 0.12), 0 0 16px rgba(18, 158, 49, 0.2);
        transform: translate(-50%, -50%);
        z-index: 3;
        transition: left 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
        display: none;
    }

    .edu-cart-moving-dot.active {
        display: block;
    }

    .edu-cart-moving-dot::before {
        content: '';
        position: absolute;
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-radius: 50%;
        border: 1.5px solid rgba(18, 158, 49, 0.12);
        animation: eduCartRippleDot 1.8s ease-out infinite;
    }

    @keyframes eduCartRippleDot {
        0% {
            transform: scale(1);
            opacity: 1;
        }
        100% {
            transform: scale(1.8);
            opacity: 0;
        }
    }

    /* ===== دایره‌های مراحل ===== */
    .edu-cart-steps-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 3;
        padding: 0 10px;
    }

    .edu-cart-step-dot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        cursor: default;
        position: relative;
    }

    .edu-cart-step-circle {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        font-weight: 800;
        font-family: 'B Yekan';
        background: #f5f7fa;
        color: #b0b0c8;
        border: 2.5px solid #e8ecf2;
        transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
        position: relative;
    }

    /* مرحله انجام شده */
    .edu-cart-step-dot.done .edu-cart-step-circle {
        background: rgb(18, 158, 49);
        color: #fff;
        border-color: rgb(18, 158, 49);
        box-shadow: 0 3px 14px rgba(18, 158, 49, 0.2);
        transform: scale(1);
    }

    .edu-cart-step-dot.done .edu-cart-step-circle::before {
        content: '✓';
        font-size: 20px;
        font-weight: 700;
    }

    .edu-cart-step-dot.done .edu-cart-step-circle span {
        display: none;
    }

    /* مرحله فعال (با نبض ملایم) */
    .edu-cart-step-dot.active .edu-cart-step-circle {
        background: rgb(18, 158, 49);
        color: #fff;
        border-color: rgb(18, 158, 49);
        box-shadow: 0 0 0 5px rgba(18, 158, 49, 0.08), 0 4px 18px rgba(18, 158, 49, 0.2);
        animation: eduCartPulseCircle 2.2s ease-in-out infinite;
        transform: scale(1.04);
    }

    .edu-cart-step-dot.active .edu-cart-step-circle::before {
        content: '';
        position: absolute;
        top: -5px;
        right: -5px;
        bottom: -5px;
        left: -5px;
        border-radius: 50%;
        border: 1.5px solid rgba(18, 158, 49, 0.12);
        animation: eduCartRippleDot 1.8s ease-out infinite;
    }

    @keyframes eduCartPulseCircle {
        0%, 100% {
            transform: scale(1.04);
            box-shadow: 0 0 0 5px rgba(18, 158, 49, 0.08), 0 4px 18px rgba(18, 158, 49, 0.2);
        }
        50% {
            transform: scale(1);
            box-shadow: 0 0 0 10px rgba(18, 158, 49, 0.03), 0 4px 22px rgba(18, 158, 49, 0.15);
        }
    }

    /* مرحله آینده */
    .edu-cart-step-dot.future .edu-cart-step-circle {
        background: #f8f9fb;
        color: #c0c0d0;
        border-color: #eef2f6;
        transform: scale(0.92);
    }

    /* ===== برچسب‌ها ===== */
    .edu-cart-step-label {
        font-size: 13px;
        font-weight: 600;
        font-family: 'B Yekan';
        color: #4a4a6a;
        text-align: center;
        transition: color 0.6s;
        margin-top: 4px;
    }

    .edu-cart-step-dot.done .edu-cart-step-label {
        color: rgb(18, 158, 49);
    }

    .edu-cart-step-dot.active .edu-cart-step-label {
        color: #1a1a2e;
        font-weight: 700;
    }

    .edu-cart-step-dot.future .edu-cart-step-label {
        color: #b0b0c8;
    }

   

    .edu-cart-content {
        display: grid;
        grid-template-columns: 1.3fr 0.7fr;
        gap: 30px;
    }

    .edu-cart-table-wrapper {
        background: #fff;
        border-radius: 16px;
        padding: 22px 22px 18px;
        box-shadow: 0 4px 20px rgb(86 93 88 / 58%);
        overflow-x: auto;
    }

    .edu-cart-table {
        width: 100%;
        border-collapse: collapse;
        font-family: 'B Yekan';
        min-width: 560px;
    }

    .edu-cart-table thead th {
        padding: 12px 14px;
        text-align: right;
        font-size: 17px;
        font-weight: 700;
        color: #1a1a2e;
        border-bottom: 2px solid #eef2f6;
        background: #fafbfc;
    }

    .edu-cart-table tbody td {
        padding: 14px 14px;
        font-size: 16px;
        color: #4a4a6a;
        border-bottom: 1px solid #f0f2f5;
        vertical-align: middle;
    }

    .edu-cart-table tbody tr:hover td {
        background: #fafbfc;
    }

    .edu-cart-img {
        width: 52px;
        height: 52px;
        border-radius: 8px;
        border: 2px solid #f0f2f5;
        object-fit: cover;
    }

    .edu-cart-product-name {
        color: #1a1a2e;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: color 0.3s;
    }

    .edu-cart-product-name:hover {
        color: rgb(18, 158, 49);
    }

    .edu-cart-qty select {
        padding: 5px 10px;
        border: 2px solid #e8ecf2;
        border-radius: 8px;
        background: #fafbfc;
        font-family: 'B Yekan';
        font-size: 14px;
        color: #1a1a2e;
        outline: none;
        cursor: pointer;
        transition: border 0.3s;
    }

    .edu-cart-qty select:focus {
        border-color: rgb(18, 158, 49);
    }

    .edu-cart-remove {
        background: transparent;
        border: none;
        color: #ef4444;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s;
        padding: 5px 8px;
        border-radius: 6px;
    }

    .edu-cart-remove:hover {
        background: #fee2e2;
        transform: scale(1.1);
    }

    .edu-cart-total-price {
        font-weight: 700;
        color: rgb(18, 158, 49);
        font-size: 15px;
    }

    /* ===== کد تخفیف ===== */
    .edu-cart-discount {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 0 2px;
        flex-wrap: wrap;
        border-top: 1px solid #f0f2f5;
        margin-top: 6px;
    }

    .edu-cart-discount label {
        font-size: 14px;
        font-weight: 600;
        color: #1a1a2e;
        font-family: 'B Yekan';
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .edu-cart-discount label i {
        color: rgb(18, 158, 49);
    }

    .edu-cart-discount input {
        flex: 1;
        min-width: 140px;
        padding: 9px 14px;
        border: 2px solid #e8ecf2;
        border-radius: 10px;
        font-family: 'B Yekan';
        font-size: 14px;
        outline: none;
        transition: border 0.3s;
        background: #fafbfc;
    }

    .edu-cart-discount input:focus {
        border-color: rgb(18, 158, 49);
    }

    .edu-cart-discount-btn {
        padding: 9px 22px;
        border-radius: 10px;
        border: none;
        background: rgb(18, 158, 49);
        color: #fff;
        font-family: 'B Yekan';
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 3px 12px rgba(18, 158, 49, 0.18);
    }

    .edu-cart-discount-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(18, 158, 49, 0.25);
    }

    

    .edu-cart-summary {
        background: #fff;
        border-radius: 16px;
        padding: 24px 22px;
        box-shadow:0 4px 20px rgb(86 93 88 / 58%);
        align-self: start;
        position: sticky;
        top: 20px;
    }

    .edu-cart-summary-title {
        font-size: 19px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'B Yekan';
        padding-bottom: 12px;
        border-bottom: 2px solid #f0f2f5;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .edu-cart-summary-title i {
        color: rgb(18, 158, 49);
    }

    .edu-cart-summary-row {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        font-size: 16px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-cart-summary-row strong {
        color: #1a1a2e;
    }

    .edu-cart-summary-divider {
        border: none;
        border-top: 1.5px solid #f0f2f5;
        margin: 10px 0;
    }

    .edu-cart-summary-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 10px;
        font-size: 17px;
    }

    .edu-cart-summary-total strong {
        color: #1a1a2e;
        font-size: 17px;
    }

    .edu-cart-summary-total-price {
        font-size: 20px;
        font-weight: 900;
        color: rgb(18, 158, 49);
    }

    .edu-cart-summary-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
    }

    .edu-cart-btn-primary {
        padding: 12px 18px;
        border-radius: 12px;
        border: none;
        background: linear-gradient(135deg, rgb(18, 158, 49), #0c7a2a);
        color: #fff;
        font-family: 'B Yekan';
        font-size: 17px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 4px 18px rgba(18, 158, 49, 0.25);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
    }

    .edu-cart-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(18, 158, 49, 0.35);
    }

    .edu-cart-btn-outline {
        padding: 10px 18px;
        border-radius: 12px;
        border: 2px solid #e8ecf2;
        background: transparent;
        color: #4a4a6a;
        font-family: 'B Yekan';
        font-size: 17px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        text-decoration: none;
    }

    .edu-cart-btn-outline:hover {
        border-color: #ef4444;
        color: #ef4444;
        background: #fef2f2;
    }

    .edu-cart-btn-outline i {
        font-size: 14px;
    }

    

    @media (max-width: 992px) {
        .edu-cart-content {
            grid-template-columns: 1fr;
        }
        .edu-cart-summary {
            position: relative;
            top: 0;
        }
    }

    @media (max-width: 768px) {
        .edu-cart-wrapper {
            padding: 20px 0;
        }
        .edu-cart-header {
            padding: 16px 18px;
            flex-direction: column;
            align-items: stretch;
        }
        .edu-cart-header-title {
            font-size: 20px;
            justify-content: center;
        }
        .edu-cart-user-box {
            justify-content: center;
        }

        .edu-cart-steps-modern {
            padding: 18px 10px 14px;
            min-height: 80px;
        }
        .edu-cart-steps-line-bg,
        .edu-cart-steps-line-progress {
            left: 35px;
            right: 35px;
            height: 2px;
        }
        .edu-cart-step-circle {
            width: 38px;
            height: 38px;
            font-size: 14px;
            border-width: 2px;
        }
        .edu-cart-step-dot.done .edu-cart-step-circle::before {
            font-size: 16px;
        }
        .edu-cart-step-label {
            font-size: 11px;
        }
        .edu-cart-moving-dot {
            width: 13px;
            height: 13px;
            display: none !important;
        }

        .edu-cart-table-wrapper {
            padding: 12px;
        }
        .edu-cart-table {
            min-width: 420px;
        }
        .edu-cart-table thead th,
        .edu-cart-table tbody td {
            padding: 8px 10px;
            font-size: 12px;
        }
        .edu-cart-img {
            width: 40px;
            height: 40px;
        }
        .edu-cart-product-name {
            font-size: 12px;
        }
        .edu-cart-total-price {
            font-size: 13px;
        }
        .edu-cart-discount {
            flex-direction: column;
            align-items: stretch;
        }
        .edu-cart-discount input {
            min-width: unset;
        }

        .edu-cart-summary {
            padding: 18px 16px;
        }
        .edu-cart-summary-total {
            font-size: 15px;
        }
        .edu-cart-summary-total-price {
            font-size: 18px;
        }
        .edu-cart-btn-primary {
            font-size: 14px;
            padding: 10px 14px;
        }
    }

    @media (max-width: 480px) {
        .edu-cart-user-box {
            flex-wrap: wrap;
            justify-content: center;
            text-align: center;
        }
        .edu-cart-user-avatar {
            width: 46px;
            height: 46px;
        }

        .edu-cart-steps-modern {
            padding: 12px 5px 10px;
            min-height: 65px;
        }
        .edu-cart-steps-line-bg,
        .edu-cart-steps-line-progress {
            left: 20px;
            right: 20px;
            height: 1.5px;
        }
        .edu-cart-step-circle {
            width: 32px;
            height: 32px;
            font-size: 12px;
            border-width: 2px;
        }
        .edu-cart-step-dot.done .edu-cart-step-circle::before {
            font-size: 13px;
        }
        .edu-cart-step-label {
            font-size: 9px;
        }

        .edu-cart-table {
            min-width: 340px;
        }
        .edu-cart-table thead th,
        .edu-cart-table tbody td {
            padding: 6px 6px;
            font-size: 11px;
        }
        .edu-cart-img {
            width: 34px;
            height: 34px;
        }
        .edu-cart-product-name {
            font-size: 11px;
        }
        .edu-cart-qty select {
            font-size: 11px;
            padding: 3px 6px;
        }
        .edu-cart-total-price {
            font-size: 12px;
        }
        .edu-cart-remove {
            font-size: 14px;
        }

        .edu-cart-summary-total {
            font-size: 14px;
        }
        .edu-cart-summary-total-price {
            font-size: 16px;
        }
    }
/* cart1 */



/* <!-- cart2 --> */




   
    .edu-cart2-wrapper {
        direction: rtl;
        padding: 40px 0;
        background: #f0f4f8;
        min-height: 600px;
    }

    /* ----- هدر ----- */
    .edu-cart2-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 35px;
        border-radius: 20px;
        box-shadow: 0px 0px 30px 5px rgba(136, 144, 139, 0.45);
        padding: 25px 35px;
        background: linear-gradient(135deg, #ffffff 0%, #f5faf7 100%);
    }

    .edu-cart2-header-title {
        font-size: 28px;
        font-weight: 900;
        color: #1a1a2e;
        margin: 0;
        font-family: 'B Yekan' !important;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .edu-cart2-header-title i {
        color: rgb(18, 158, 49);
        font-size: 32px;
    }

    .edu-cart2-header-sub {
        font-size: 14px;
        color: #8a8aaa;
        font-family: 'B Yekan';
        margin-right: 12px;
    }

    /* ----- کاربر ----- */
    .edu-cart2-user-box {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 6px 20px 6px 16px;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .edu-cart2-user-avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        border: 3px solid rgb(18, 158, 49);
        box-shadow: 0 4px 15px rgba(18, 158, 49, 0.2);
    }

    .edu-cart2-user-name {
        font-weight: 700;
        font-size: 16px;
        color: #1a1a2e;
        font-family: 'B Yekan';
    }

    .edu-cart2-user-institute {
        font-size: 13px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-cart2-user-date {
        font-size: 11px;
        color: #8a8aaa;
        direction: ltr;
    }

    .edu-cart2-user-date i {
        color: rgb(18, 158, 49);
        margin-left: 4px;
    }


    .edu-cart2-steps-modern {
        position: relative;
        margin-bottom: 40px;
        padding: 25px 20px 18px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(86, 93, 88, 0.08);
        overflow: hidden;
        min-height: 100px;
    }

    .edu-cart2-steps-line-bg {
        position: absolute;
        top: 50%;
        left: 60px;
        right: 60px;
        height: 2px;
        background: #eef2f6;
        transform: translateY(-50%);
        border-radius: 2px;
        z-index: 1;
    }

    .edu-cart2-steps-line-progress {
        position: absolute;
        top: 50%;
        left: 60px;
        height: 2px;
        background: linear-gradient(90deg, rgb(18, 158, 49), #86efac);
        transform: translateY(-50%);
        border-radius: 2px;
        z-index: 2;
        transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
        width: 0%;
        box-shadow: 0 0 8px rgba(18, 158, 49, 0.15);
    }

    .edu-cart2-moving-dot {
        position: absolute;
        top: 50%;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: rgb(18, 158, 49);
        box-shadow: 0 0 0 4px rgba(18, 158, 49, 0.12), 0 0 16px rgba(18, 158, 49, 0.2);
        transform: translate(-50%, -50%);
        z-index: 3;
        transition: left 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
        display: none;
    }

    .edu-cart2-moving-dot.active {
        display: block;
    }

    .edu-cart2-moving-dot::before {
        content: '';
        position: absolute;
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-radius: 50%;
        border: 1.5px solid rgba(18, 158, 49, 0.12);
        animation: eduCart2RippleDot 1.8s ease-out infinite;
    }

    @keyframes eduCart2RippleDot {
        0% {
            transform: scale(1);
            opacity: 1;
        }
        100% {
            transform: scale(1.8);
            opacity: 0;
        }
    }

    .edu-cart2-steps-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 3;
        padding: 0 10px;
    }

    .edu-cart2-step-dot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        cursor: default;
        position: relative;
    }

    .edu-cart2-step-circle {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        font-weight: 800;
        font-family: 'B Yekan';
        background: #f5f7fa;
        color: #b0b0c8;
        border: 2.5px solid #e8ecf2;
        transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
        position: relative;
    }

    .edu-cart2-step-dot.done .edu-cart2-step-circle {
        background: rgb(18, 158, 49);
        color: #fff;
        border-color: rgb(18, 158, 49);
        box-shadow: 0 3px 14px rgba(18, 158, 49, 0.2);
        transform: scale(1);
    }

    .edu-cart2-step-dot.done .edu-cart2-step-circle::before {
        content: '✓';
        font-size: 20px;
        font-weight: 700;
    }

    .edu-cart2-step-dot.done .edu-cart2-step-circle span {
        display: none;
    }

    .edu-cart2-step-dot.active .edu-cart2-step-circle {
        background: rgb(18, 158, 49);
        color: #fff;
        border-color: rgb(18, 158, 49);
        box-shadow: 0 0 0 5px rgba(18, 158, 49, 0.08), 0 4px 18px rgba(18, 158, 49, 0.2);
        animation: eduCart2PulseCircle 2.2s ease-in-out infinite;
        transform: scale(1.04);
    }

    .edu-cart2-step-dot.active .edu-cart2-step-circle::before {
        content: '';
        position: absolute;
        top: -5px;
        right: -5px;
        bottom: -5px;
        left: -5px;
        border-radius: 50%;
        border: 1.5px solid rgba(18, 158, 49, 0.12);
        animation: eduCart2RippleDot 1.8s ease-out infinite;
    }

    @keyframes eduCart2PulseCircle {
        0%, 100% {
            transform: scale(1.04);
            box-shadow: 0 0 0 5px rgba(18, 158, 49, 0.08), 0 4px 18px rgba(18, 158, 49, 0.2);
        }
        50% {
            transform: scale(1);
            box-shadow: 0 0 0 10px rgba(18, 158, 49, 0.03), 0 4px 22px rgba(18, 158, 49, 0.15);
        }
    }

    .edu-cart2-step-dot.future .edu-cart2-step-circle {
        background: #f8f9fb;
        color: #c0c0d0;
        border-color: #eef2f6;
        transform: scale(0.92);
    }

    .edu-cart2-step-label {
        font-size: 13px;
        font-weight: 600;
        font-family: 'B Yekan';
        color: #4a4a6a;
        text-align: center;
        transition: color 0.6s;
        margin-top: 4px;
    }

    .edu-cart2-step-dot.done .edu-cart2-step-label {
        color: rgb(18, 158, 49);
    }

    .edu-cart2-step-dot.active .edu-cart2-step-label {
        color: #1a1a2e;
        font-weight: 700;
    }

    .edu-cart2-step-dot.future .edu-cart2-step-label {
        color: #b0b0c8;
    }

  

    .edu-cart2-row {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -12px;
    }

    .edu-cart2-col-main {
        width: 66.666%;
        padding: 0 12px;
        float: right;
    }

    .edu-cart2-col-sidebar {
        width: 33.333%;
        padding: 0 12px;
        float: right;
    }


    .edu-cart2-form-wrapper {
        background: #fff;
        border-radius: 16px;
        padding: 25px 28px;
        box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
    }

    .edu-cart2-form-wrapper fieldset {
        border: none;
        padding: 0;
        margin: 0;
    }

    .edu-cart2-form-group {
        margin-bottom: 18px;
    }

    .edu-cart2-form-group label {
        display: block;
        font-size: 15px;
        font-weight: 600;
        color: #1a1a2e;
        font-family: 'B Yekan';
        margin-bottom: 6px;
    }

    .edu-cart2-form-control {
        width: 100%;
        padding: 11px 16px;
        border: 2px solid #e8ecf2;
        border-radius: 10px;
        font-size: 15px;
        font-family: 'B Yekan';
        color: #1a1a2e;
        transition: all 0.3s;
        background: #fafbfc;
        outline: none;
    }

    .edu-cart2-form-control:focus {
        border-color: rgb(18, 158, 49);
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(18, 158, 49, 0.08);
    }

    .edu-cart2-form-control::placeholder {
        color: #b0b0c8;
    }

    .edu-cart2-form-control select {
        appearance: auto;
        cursor: pointer;
    }

    /* ===== فرم آدرس جدید ===== */
    .edu-cart2-new-address-form {
        display: none;
        background: #f8fafc;
        padding: 18px 20px;
        border-radius: 12px;
        margin-bottom: 15px;
        border-right: 3px solid rgb(18, 158, 49);
    }

    .edu-cart2-new-address-form.active {
        display: block;
    }

    .edu-cart2-new-address-btn {
        padding: 10px 24px;
        border-radius: 10px;
        border: none;
        background: rgb(18, 158, 49);
        color: #fff;
        font-family: 'B Yekan';
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 3px 12px rgba(18, 158, 49, 0.18);
        margin-top: 6px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .edu-cart2-new-address-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(18, 158, 49, 0.25);
    }

    .edu-cart2-new-address-btn i {
        font-size: 16px;
    }

    .edu-cart2-map-wrapper {
        margin: 15px 0;
        border-radius: 12px;
        overflow: hidden;
        border: 2px solid #e8ecf2;
        height: 220px;
        background: #eef2f6;
        position: relative;
    }

    .edu-cart2-map-wrapper #eduCart2Map {
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .edu-cart2-map-wrapper .leaflet-control-attribution {
        font-size: 9px;
    }

   
    .edu-cart2-address-box {
        background: #f8fafc;
        border-radius: 12px;
        padding: 16px 20px;
        margin: 12px 0 8px;
        border-right: 4px solid rgb(18, 158, 49);
        display: none;
    }

    .edu-cart2-address-box.active {
        display: block;
    }

    .edu-cart2-address-box .edu-cart2-address-row {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 20px;
    }

    .edu-cart2-address-box .edu-cart2-address-item {
        font-size: 14px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-cart2-address-box .edu-cart2-address-item strong {
        color: #1a1a2e;
    }

    .edu-cart2-address-box .edu-cart2-address-item-full {
        flex-basis: 100%;
    }

    /* ===== دکمه‌های ویرایش/حذف ===== */
    .edu-cart2-address-actions {
        text-align: left;
        margin-top: 12px;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .edu-cart2-address-actions .edu-cart2-btn-edit {
        padding: 6px 18px;
        border-radius: 8px;
        border: 2px solid rgb(18, 158, 49);
        background: transparent;
        color: rgb(18, 158, 49);
        font-family: 'B Yekan';
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .edu-cart2-address-actions .edu-cart2-btn-edit:hover {
        background: rgb(18, 158, 49);
        color: #fff;
    }

    .edu-cart2-address-actions .edu-cart2-btn-delete {
        padding: 6px 18px;
        border-radius: 8px;
        border: 2px solid #ef4444;
        background: transparent;
        color: #ef4444;
        font-family: 'B Yekan';
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .edu-cart2-address-actions .edu-cart2-btn-delete:hover {
        background: #ef4444;
        color: #fff;
    }

   

    .edu-cart2-address-edit-form {
        display: none;
        background: #f8fafc;
        padding: 18px 20px;
        border-radius: 12px;
        margin-top: 10px;
    }

    .edu-cart2-address-edit-form.active {
        display: block;
    }

    .edu-cart2-address-edit-form .edu-cart2-form-actions {
        display: flex;
        gap: 10px;
        margin-top: 12px;
        flex-wrap: wrap;
    }

    .edu-cart2-address-edit-form .edu-cart2-btn-save {
        padding: 8px 24px;
        border-radius: 8px;
        border: none;
        background: rgb(18, 158, 49);
        color: #fff;
        font-family: 'B Yekan';
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .edu-cart2-address-edit-form .edu-cart2-btn-save:hover {
        background: #0c7a2a;
        transform: translateY(-2px);
    }

    .edu-cart2-address-edit-form .edu-cart2-btn-cancel-edit {
        padding: 8px 24px;
        border-radius: 8px;
        border: 2px solid #e8ecf2;
        background: transparent;
        color: #4a4a6a;
        font-family: 'B Yekan';
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
    }

    .edu-cart2-address-edit-form .edu-cart2-btn-cancel-edit:hover {
        border-color: #4a4a6a;
        background: #f5f5f5;
    }


    .edu-cart2-summary {
        background: #fff;
        border-radius: 16px;
        padding: 24px 22px;
        box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
        align-self: start;
        position: sticky;
        top: 20px;
    }

    .edu-cart2-summary-title {
        font-size: 19px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'B Yekan';
        padding-bottom: 12px;
        border-bottom: 2px solid #f0f2f5;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .edu-cart2-summary-title i {
        color: rgb(18, 158, 49);
    }

    .edu-cart2-summary-row {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        font-size: 16px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-cart2-summary-row strong {
        color: #1a1a2e;
    }

    .edu-cart2-summary-divider {
        border: none;
        border-top: 1.5px solid #f0f2f5;
        margin: 10px 0;
    }

    .edu-cart2-summary-small {
        font-size: 13px;
        color: #8a8aaa;
        font-family: 'B Yekan';
    }

    .edu-cart2-summary-small span {
        color: rgb(18, 158, 49);
        font-weight: 700;
    }

    .edu-cart2-summary-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 10px;
        font-size: 17px;
    }

    .edu-cart2-summary-total strong {
        color: #1a1a2e;
        font-size: 17px;
    }

    .edu-cart2-summary-total-price {
        font-size: 20px;
        font-weight: 900;
        color: rgb(18, 158, 49);
    }

    /* ===== دکمه‌های خلاصه ===== */
    .edu-cart2-summary-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
    }

    .edu-cart2-btn-primary {
        padding: 12px 18px;
        border-radius: 12px;
        border: none;
        background: linear-gradient(135deg, rgb(18, 158, 49), #0c7a2a);
        color: #fff;
        font-family: 'B Yekan';
        font-size: 17px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 4px 18px rgba(18, 158, 49, 0.25);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        width: 100%;
        border: none;
    }

    .edu-cart2-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(18, 158, 49, 0.35);
    }

    .edu-cart2-btn-primary i {
        font-size: 16px;
    }

    .edu-cart2-btn-cancel {
        padding: 10px 18px;
        border-radius: 12px;
        border: 2px solid #e8ecf2;
        background: transparent;
        color: #4a4a6a;
        font-family: 'B Yekan';
        font-size: 17px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        text-decoration: none;
        width: 100%;
    }

    .edu-cart2-btn-cancel:hover {
        border-color: #ef4444;
        color: #ef4444;
        background: #fef2f2;
    }

    .edu-cart2-btn-cancel i {
        font-size: 14px;
    }

    

    @media (max-width: 992px) {
        .edu-cart2-col-main {
            width: 100%;
            float: none;
        }
        .edu-cart2-col-sidebar {
            width: 100%;
            float: none;
            margin-top: 20px;
        }
        .edu-cart2-summary {
            position: relative;
            top: 0;
        }
    }

    @media (max-width: 768px) {
        .edu-cart2-wrapper {
            padding: 20px 0;
        }

        .edu-cart2-header {
            padding: 16px 18px;
            flex-direction: column;
            align-items: stretch;
        }

        .edu-cart2-header-title {
            font-size: 20px;
            justify-content: center;
        }

        .edu-cart2-user-box {
            justify-content: center;
        }

        .edu-cart2-steps-modern {
            padding: 18px 10px 14px;
            min-height: 80px;
        }

        .edu-cart2-steps-line-bg,
        .edu-cart2-steps-line-progress {
            left: 35px;
            right: 35px;
            height: 2px;
        }

        .edu-cart2-step-circle {
            width: 38px;
            height: 38px;
            font-size: 14px;
            border-width: 2px;
        }

        .edu-cart2-step-dot.done .edu-cart2-step-circle::before {
            font-size: 16px;
        }

        .edu-cart2-step-label {
            font-size: 11px;
        }

        .edu-cart2-moving-dot {
            width: 13px;
            height: 13px;
            display: none !important;
        }

        .edu-cart2-form-wrapper {
            padding: 18px 16px;
        }

        .edu-cart2-map-wrapper {
            height: 180px;
        }

        .edu-cart2-address-box .edu-cart2-address-row {
            flex-direction: column;
            gap: 4px;
        }

        .edu-cart2-summary {
            padding: 18px 16px;
        }

        .edu-cart2-summary-total {
            font-size: 15px;
        }

        .edu-cart2-summary-total-price {
            font-size: 18px;
        }
    }

    @media (max-width: 480px) {
        .edu-cart2-user-box {
            flex-wrap: wrap;
            justify-content: center;
            text-align: center;
        }

        .edu-cart2-user-avatar {
            width: 50px;
            height: 50px;
        }

        .edu-cart2-steps-modern {
            padding: 12px 5px 10px;
            min-height: 65px;
        }

        .edu-cart2-steps-line-bg,
        .edu-cart2-steps-line-progress {
            left: 20px;
            right: 20px;
            height: 1.5px;
        }

        .edu-cart2-step-circle {
            width: 32px;
            height: 32px;
            font-size: 12px;
            border-width: 2px;
        }

        .edu-cart2-step-dot.done .edu-cart2-step-circle::before {
            font-size: 13px;
        }

        .edu-cart2-step-label {
            font-size: 9px;
        }

        .edu-cart2-form-wrapper {
            padding: 14px 12px;
        }

        .edu-cart2-form-control {
            font-size: 14px;
            padding: 9px 12px;
        }

        .edu-cart2-address-box {
            padding: 12px 14px;
        }

        .edu-cart2-address-box .edu-cart2-address-item {
            font-size: 13px;
        }

        .edu-cart2-summary-total {
            font-size: 14px;
        }

        .edu-cart2-summary-total-price {
            font-size: 16px;
        }

        .edu-cart2-btn-primary {
            font-size: 15px;
            padding: 10px 14px;
        }

        .edu-cart2-btn-cancel {
            font-size: 15px;
            padding: 10px 14px;
        }

        .edu-cart2-map-wrapper {
            height: 150px;
        }

        .edu-cart2-address-actions {
            justify-content: center;
        }
    }
/* <!-- cart2 --> */



 /* cart3  */

    .edu-cart3-wrapper {
        direction: rtl;
        padding: 40px 0;
        background: #f0f4f8;
        min-height: 600px;
    }

   
    .edu-cart3-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 35px;
        border-radius: 20px;
        box-shadow: 0px 0px 30px 5px rgba(136, 144, 139, 0.45);
        padding: 25px 35px;
        background: linear-gradient(135deg, #ffffff 0%, #f5faf7 100%);
    }

    .edu-cart3-header-title {
        font-size: 28px;
        font-weight: 900;
        color: #1a1a2e;
        margin: 0;
        font-family: 'B Yekan' !important;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .edu-cart3-header-title i {
        color: rgb(18, 158, 49);
        font-size: 32px;
    }

    .edu-cart3-header-sub {
        font-size: 14px;
        color: #8a8aaa;
        font-family: 'B Yekan';
        margin-right: 12px;
    }

    /* ----- کاربر ----- */
    .edu-cart3-user-box {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 6px 20px 6px 16px;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .edu-cart3-user-avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        border: 3px solid rgb(18, 158, 49);
        box-shadow: 0 4px 15px rgba(18, 158, 49, 0.2);
    }

    .edu-cart3-user-name {
        font-weight: 700;
        font-size: 16px;
        color: #1a1a2e;
        font-family: 'B Yekan';
    }

    .edu-cart3-user-institute {
        font-size: 13px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-cart3-user-date {
        font-size: 11px;
        color: #8a8aaa;
        direction: ltr;
    }

    .edu-cart3-user-date i {
        color: rgb(18, 158, 49);
        margin-left: 4px;
    }

  
    .edu-cart3-steps-modern {
        position: relative;
        margin-bottom: 40px;
        padding: 25px 20px 18px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(86, 93, 88, 0.08);
        overflow: hidden;
        min-height: 100px;
    }

    .edu-cart3-steps-line-bg {
        position: absolute;
        top: 50%;
        left: 60px;
        right: 60px;
        height: 2px;
        background: #eef2f6;
        transform: translateY(-50%);
        border-radius: 2px;
        z-index: 1;
    }

    .edu-cart3-steps-line-progress {
        position: absolute;
        top: 50%;
        left: 60px;
        height: 2px;
        background: linear-gradient(90deg, rgb(18, 158, 49), #86efac);
        transform: translateY(-50%);
        border-radius: 2px;
        z-index: 2;
        transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
        width: 0%;
        box-shadow: 0 0 8px rgba(18, 158, 49, 0.15);
    }

    .edu-cart3-moving-dot {
        position: absolute;
        top: 50%;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: rgb(18, 158, 49);
        box-shadow: 0 0 0 4px rgba(18, 158, 49, 0.12), 0 0 16px rgba(18, 158, 49, 0.2);
        transform: translate(-50%, -50%);
        z-index: 3;
        transition: left 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
        display: none;
    }

    .edu-cart3-moving-dot.active {
        display: block;
    }

    .edu-cart3-moving-dot::before {
        content: '';
        position: absolute;
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-radius: 50%;
        border: 1.5px solid rgba(18, 158, 49, 0.12);
        animation: eduCart3RippleDot 1.8s ease-out infinite;
    }

    @keyframes eduCart3RippleDot {
        0% {
            transform: scale(1);
            opacity: 1;
        }
        100% {
            transform: scale(1.8);
            opacity: 0;
        }
    }

    .edu-cart3-steps-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 3;
        padding: 0 10px;
    }

    .edu-cart3-step-dot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        cursor: default;
        position: relative;
    }

    .edu-cart3-step-circle {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        font-weight: 800;
        font-family: 'B Yekan';
        background: #f5f7fa;
        color: #b0b0c8;
        border: 2.5px solid #e8ecf2;
        transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
        position: relative;
    }

    .edu-cart3-step-dot.done .edu-cart3-step-circle {
        background: rgb(18, 158, 49);
        color: #fff;
        border-color: rgb(18, 158, 49);
        box-shadow: 0 3px 14px rgba(18, 158, 49, 0.2);
        transform: scale(1);
    }

    .edu-cart3-step-dot.done .edu-cart3-step-circle::before {
        content: '✓';
        font-size: 20px;
        font-weight: 700;
    }

    .edu-cart3-step-dot.done .edu-cart3-step-circle span {
        display: none;
    }

    .edu-cart3-step-dot.active .edu-cart3-step-circle {
        background: rgb(18, 158, 49);
        color: #fff;
        border-color: rgb(18, 158, 49);
        box-shadow: 0 0 0 5px rgba(18, 158, 49, 0.08), 0 4px 18px rgba(18, 158, 49, 0.2);
        animation: eduCart3PulseCircle 2.2s ease-in-out infinite;
        transform: scale(1.04);
    }

    .edu-cart3-step-dot.active .edu-cart3-step-circle::before {
        content: '';
        position: absolute;
        top: -5px;
        right: -5px;
        bottom: -5px;
        left: -5px;
        border-radius: 50%;
        border: 1.5px solid rgba(18, 158, 49, 0.12);
        animation: eduCart3RippleDot 1.8s ease-out infinite;
    }

    @keyframes eduCart3PulseCircle {
        0%, 100% {
            transform: scale(1.04);
            box-shadow: 0 0 0 5px rgba(18, 158, 49, 0.08), 0 4px 18px rgba(18, 158, 49, 0.2);
        }
        50% {
            transform: scale(1);
            box-shadow: 0 0 0 10px rgba(18, 158, 49, 0.03), 0 4px 22px rgba(18, 158, 49, 0.15);
        }
    }

    .edu-cart3-step-dot.future .edu-cart3-step-circle {
        background: #f8f9fb;
        color: #c0c0d0;
        border-color: #eef2f6;
        transform: scale(0.92);
    }

    .edu-cart3-step-label {
        font-size: 13px;
        font-weight: 600;
        font-family: 'B Yekan';
        color: #4a4a6a;
        text-align: center;
        transition: color 0.6s;
        margin-top: 4px;
    }

    .edu-cart3-step-dot.done .edu-cart3-step-label {
        color: rgb(18, 158, 49);
    }

    .edu-cart3-step-dot.active .edu-cart3-step-label {
        color: #1a1a2e;
        font-weight: 700;
    }

    .edu-cart3-step-dot.future .edu-cart3-step-label {
        color: #b0b0c8;
    }

  

    .edu-cart3-row {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -12px;
    }

    .edu-cart3-col-main {
        width: 66.666%;
        padding: 0 12px;
        float: right;
    }

    .edu-cart3-col-sidebar {
        width: 33.333%;
        padding: 0 12px;
        float: right;
    }

  

    .edu-cart3-address-box {
        background: #f8fafc;
        border-radius: 12px;
        padding: 18px 22px;
        margin-bottom: 20px;
        border-right: 4px solid rgb(18, 158, 49);
    }

    .edu-cart3-address-box .edu-cart3-address-row {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 20px;
    }

    .edu-cart3-address-box .edu-cart3-address-item {
        font-size: 14px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-cart3-address-box .edu-cart3-address-item strong {
        color: #1a1a2e;
    }

    .edu-cart3-address-box .edu-cart3-address-item-full {
        flex-basis: 100%;
    }

    

    .edu-cart3-table-wrapper {
        background: #fff;
        border-radius: 16px;
        padding: 20px 22px;
        box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
        margin-bottom: 18px;
        overflow-x: auto;
    }

    .edu-cart3-table {
        width: 100%;
        border-collapse: collapse;
        font-family: 'B Yekan';
        min-width: 480px;
    }

    .edu-cart3-table thead th {
        padding: 10px 14px;
        text-align: right;
        font-size: 15px;
        font-weight: 700;
        color: #1a1a2e;
        border-bottom: 2px solid #eef2f6;
        background: #fafbfc;
    }

    .edu-cart3-table tbody td {
        padding: 12px 14px;
        font-size: 14px;
        color: #4a4a6a;
        border-bottom: 1px solid #f0f2f5;
        vertical-align: middle;
    }

    .edu-cart3-table tbody tr:hover td {
        background: #fafbfc;
    }

    .edu-cart3-table .edu-cart3-img {
        width: 50px;
        height: 50px;
        border-radius: 8px;
        border: 2px solid #f0f2f5;
        object-fit: cover;
    }

    .edu-cart3-table .edu-cart3-product-name {
        color: #1a1a2e;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: color 0.3s;
    }

    .edu-cart3-table .edu-cart3-product-name:hover {
        color: rgb(18, 158, 49);
    }

    .edu-cart3-table .edu-cart3-total-price {
        font-weight: 700;
        color: rgb(18, 158, 49);
        font-size: 15px;
    }

   
    .edu-cart3-note {
        background: #fff;
        border-radius: 16px;
        padding: 20px 22px;
        box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
    }

    .edu-cart3-note label {
        display: block;
        font-size: 15px;
        font-weight: 600;
        color: #1a1a2e;
        font-family: 'B Yekan';
        margin-bottom: 6px;
    }

    .edu-cart3-note textarea {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #e8ecf2;
        border-radius: 10px;
        font-size: 15px;
        font-family: 'B Yekan';
        color: #1a1a2e;
        transition: all 0.3s;
        background: #fafbfc;
        outline: none;
        resize: vertical;
        min-height: 80px;
    }

    .edu-cart3-note textarea:focus {
        border-color: rgb(18, 158, 49);
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(18, 158, 49, 0.08);
    }

    .edu-cart3-note textarea::placeholder {
        color: #b0b0c8;
    }

    .edu-cart3-note .edu-cart3-note-icon {
        position: relative;
    }

    .edu-cart3-note .edu-cart3-note-icon i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #b0b0c8;
        font-size: 16px;
    }

  
    .edu-cart3-summary {
        background: #fff;
        border-radius: 16px;
        padding: 24px 22px;
        box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
        align-self: start;
        position: sticky;
        top: 20px;
    }

    .edu-cart3-summary-title {
        font-size: 19px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'B Yekan';
        padding-bottom: 12px;
        border-bottom: 2px solid #f0f2f5;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .edu-cart3-summary-title i {
        color: rgb(18, 158, 49);
    }

    .edu-cart3-summary-row {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        font-size: 16px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-cart3-summary-row strong {
        color: #1a1a2e;
    }

    .edu-cart3-summary-divider {
        border: none;
        border-top: 1.5px solid #f0f2f5;
        margin: 10px 0;
    }

    .edu-cart3-summary-small {
        font-size: 13px;
        color: #8a8aaa;
        font-family: 'B Yekan';
    }

    .edu-cart3-summary-small span {
        color: rgb(18, 158, 49);
        font-weight: 700;
    }

    .edu-cart3-summary-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 10px;
        font-size: 17px;
    }

    .edu-cart3-summary-total strong {
        color: #1a1a2e;
        font-size: 17px;
    }

    .edu-cart3-summary-total-price {
        font-size: 20px;
        font-weight: 900;
        color: rgb(18, 158, 49);
    }

    /* ===== دکمه‌های خلاصه ===== */
    .edu-cart3-summary-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
    }

    .edu-cart3-btn-primary {
        padding: 14px 20px;
        border-radius: 12px;
        border: none;
        background: linear-gradient(135deg, rgb(18, 158, 49), #0c7a2a);
        color: #fff;
        font-family: 'B Yekan';
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 4px 20px rgba(18, 158, 49, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-decoration: none;
        width: 100%;
        border: none;
    }

    .edu-cart3-btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 35px rgba(18, 158, 49, 0.4);
    }

    .edu-cart3-btn-primary i {
        font-size: 18px;
    }

    .edu-cart3-btn-cancel {
        padding: 10px 18px;
        border-radius: 12px;
        border: 2px solid #e8ecf2;
        background: transparent;
        color: #4a4a6a;
        font-family: 'B Yekan';
        font-size: 17px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        text-decoration: none;
        width: 100%;
    }

    .edu-cart3-btn-cancel:hover {
        border-color: #ef4444;
        color: #ef4444;
        background: #fef2f2;
    }

    .edu-cart3-btn-cancel i {
        font-size: 14px;
    }

   

    @media (max-width: 992px) {
        .edu-cart3-col-main {
            width: 100%;
            float: none;
        }
        .edu-cart3-col-sidebar {
            width: 100%;
            float: none;
            margin-top: 20px;
        }
        .edu-cart3-summary {
            position: relative;
            top: 0;
        }
    }

    @media (max-width: 768px) {
        .edu-cart3-wrapper {
            padding: 20px 0;
        }

        .edu-cart3-header {
            padding: 16px 18px;
            flex-direction: column;
            align-items: stretch;
        }

        .edu-cart3-header-title {
            font-size: 20px;
            justify-content: center;
        }

        .edu-cart3-user-box {
            justify-content: center;
        }

        .edu-cart3-steps-modern {
            padding: 18px 10px 14px;
            min-height: 80px;
        }

        .edu-cart3-steps-line-bg,
        .edu-cart3-steps-line-progress {
            left: 35px;
            right: 35px;
            height: 2px;
        }

        .edu-cart3-step-circle {
            width: 38px;
            height: 38px;
            font-size: 14px;
            border-width: 2px;
        }

        .edu-cart3-step-dot.done .edu-cart3-step-circle::before {
            font-size: 16px;
        }

        .edu-cart3-step-label {
            font-size: 11px;
        }

        .edu-cart3-moving-dot {
            width: 13px;
            height: 13px;
            display: none !important;
        }

        .edu-cart3-address-box {
            padding: 14px 16px;
        }

        .edu-cart3-address-box .edu-cart3-address-row {
            flex-direction: column;
            gap: 4px;
        }

        .edu-cart3-table-wrapper {
            padding: 14px;
        }

        .edu-cart3-table {
            min-width: 380px;
        }

        .edu-cart3-table thead th,
        .edu-cart3-table tbody td {
            padding: 8px 10px;
            font-size: 13px;
        }

        .edu-cart3-table .edu-cart3-img {
            width: 40px;
            height: 40px;
        }

        .edu-cart3-note {
            padding: 16px;
        }

        .edu-cart3-summary {
            padding: 18px 16px;
        }

        .edu-cart3-summary-total {
            font-size: 15px;
        }

        .edu-cart3-summary-total-price {
            font-size: 18px;
        }

        .edu-cart3-btn-primary {
            font-size: 16px;
            padding: 12px 16px;
        }
    }

    @media (max-width: 480px) {
        .edu-cart3-user-box {
            flex-wrap: wrap;
            justify-content: center;
            text-align: center;
        }

        .edu-cart3-user-avatar {
            width: 50px;
            height: 50px;
        }

        .edu-cart3-steps-modern {
            padding: 12px 5px 10px;
            min-height: 65px;
        }

        .edu-cart3-steps-line-bg,
        .edu-cart3-steps-line-progress {
            left: 20px;
            right: 20px;
            height: 1.5px;
        }

        .edu-cart3-step-circle {
            width: 32px;
            height: 32px;
            font-size: 12px;
            border-width: 2px;
        }

        .edu-cart3-step-dot.done .edu-cart3-step-circle::before {
            font-size: 13px;
        }

        .edu-cart3-step-label {
            font-size: 9px;
        }

        .edu-cart3-table {
            min-width: 320px;
        }

        .edu-cart3-table thead th,
        .edu-cart3-table tbody td {
            padding: 6px 8px;
            font-size: 12px;
        }

        .edu-cart3-table .edu-cart3-img {
            width: 34px;
            height: 34px;
        }

        .edu-cart3-table .edu-cart3-product-name {
            font-size: 12px;
        }

        .edu-cart3-summary-total {
            font-size: 14px;
        }

        .edu-cart3-summary-total-price {
            font-size: 16px;
        }

        .edu-cart3-btn-primary {
            font-size: 15px;
            padding: 10px 14px;
        }

        .edu-cart3-btn-cancel {
            font-size: 15px;
            padding: 10px 14px;
        }

        .edu-cart3-address-box {
            padding: 12px 14px;
        }

        .edu-cart3-address-box .edu-cart3-address-item {
            font-size: 13px;
        }
    }

 /* cart3  */

 /* course-details */
  
    .edu-course-wrapper {
        direction: rtl;
        padding: 40px 0;
        background: #f0f4f8;
        min-height: 600px;
    }

    /* ----- هدر ----- */
    .edu-course-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 35px;
        border-radius: 20px;
        box-shadow: 0px 0px 30px 5px rgba(136, 144, 139, 0.45);
        padding: 25px 35px;
        background: linear-gradient(135deg, #ffffff 0%, #f5faf7 100%);
    }

    .edu-course-header-title {
        font-size: 28px;
        font-weight: 900;
        color: #1a1a2e;
        margin: 0;
        font-family: 'B Yekan' !important;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .edu-course-header-title i {
        color: rgb(18, 158, 49);
        font-size: 32px;
    }

    .edu-course-header-sub {
        font-size: 14px;
        color: #8a8aaa;
        font-family: 'B Yekan';
        margin-right: 12px;
    }

    /* ----- کاربر ----- */
    .edu-course-user-box {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 6px 20px 6px 16px;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .edu-course-user-avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        border: 3px solid rgb(18, 158, 49);
        box-shadow: 0 4px 15px rgba(18, 158, 49, 0.2);
    }

    .edu-course-user-name {
        font-weight: 700;
        font-size: 16px;
        color: #1a1a2e;
        font-family: 'B Yekan';
    }

    .edu-course-user-institute {
        font-size: 13px;
        color: #4a4a6a;
        font-family: 'B Yekan';
    }

    .edu-course-user-date {
        font-size: 11px;
        color: #8a8aaa;
        direction: ltr;
    }

    .edu-course-user-date i {
        color: rgb(18, 158, 49);
        margin-left: 4px;
    }

    /* ======================================== */
    /* ===== محتوای اصلی (ردیف ۲ ستونه) ===== */
    /* ======================================== */

    .edu-course-row {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -12px;
    }

    .edu-course-col-main {
        width: 66.666%;
        padding: 0 12px;
        float: right;
    }

    .edu-course-col-sidebar {
        width: 33.333%;
        padding: 0 12px;
        float: right;
    }

    /* ======================================== */
    /* ===== اطلاعات دوره ===== */
    /* ======================================== */

    .edu-course-info {
        background: #fff;
        border-radius: 16px;
        padding: 25px 28px;
        box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
        margin-bottom: 20px;
    }

    .edu-course-info-title {
        font-size: 24px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'B Yekan';
        margin-bottom: 4px;
    }

    .edu-course-info-meta {
        display: flex;
        align-items: center;
        gap: 18px;
        flex-wrap: wrap;
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 2px solid #f0f2f5;
    }

    .edu-course-info-meta-item {
        font-size: 14px;
        color: #4a4a6a;
        font-family: 'B Yekan';
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .edu-course-info-meta-item i {
        color: rgb(18, 158, 49);
    }

    .edu-course-info-desc {
        font-size: 16px;
        color: #4a4a6a;
        line-height: 1.9;
        font-family: 'B Yekan';
        margin-bottom: 14px;
    }

    .edu-course-info-desc strong {
        color: rgb(18, 158, 49);
    }

    /* ======================================== */
    /* ===== تب‌های ویدئو/PDF ===== */
    /* ======================================== */

    .edu-course-tabs {
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
        margin-bottom: 20px;
    }

    .edu-course-tabs-nav {
        display: flex;
        background: #f8fafc;
        border-bottom: 2px solid #eef2f6;
        padding: 0 10px;
    }

    .edu-course-tab-btn {
        padding: 14px 24px;
        font-family: 'B Yekan';
        font-size: 15px;
        font-weight: 600;
        color: #4a4a6a;
        background: transparent;
        border: none;
        border-bottom: 3px solid transparent;
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .edu-course-tab-btn i {
        font-size: 16px;
        color: #8a8aaa;
        transition: all 0.3s;
    }

    .edu-course-tab-btn:hover {
        color: rgb(18, 158, 49);
        background: rgba(18, 158, 49, 0.04);
    }

    .edu-course-tab-btn:hover i {
        color: rgb(18, 158, 49);
    }

    .edu-course-tab-btn.active {
        color: rgb(18, 158, 49);
        border-bottom-color: rgb(18, 158, 49);
        background: rgba(18, 158, 49, 0.04);
    }

    .edu-course-tab-btn.active i {
        color: rgb(18, 158, 49);
    }

    .edu-course-tab-content {
        padding: 20px;
        display: none;
        animation: eduCourseFadeIn 0.4s ease;
    }

    .edu-course-tab-content.active {
        display: block;
    }

    @keyframes eduCourseFadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ===== پلیر ویدئو ===== */
    .edu-course-player-video {
        width: 100%;
        border-radius: 12px;
        background: #0a0a1a;
        aspect-ratio: 16/9;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .edu-course-player-video img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.6;
    }

    .edu-course-player-video .play-btn {
        position: absolute;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: rgba(18, 158, 49, 0.85);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 4px 25px rgba(18, 158, 49, 0.4);
        border: 3px solid rgba(255, 255, 255, 0.2);
    }

    .edu-course-player-video .play-btn:hover {
        transform: scale(1.1);
        background: rgb(18, 158, 49);
    }

    .edu-course-player-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 4px 4px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .edu-course-player-info .edu-course-file-name {
        font-size: 15px;
        font-weight: 600;
        color: #1a1a2e;
        font-family: 'B Yekan';
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .edu-course-player-info .edu-course-file-name i {
        color: rgb(18, 158, 49);
    }

    .edu-course-player-info .edu-course-file-size {
        font-size: 13px;
        color: #8a8aaa;
        font-family: 'B Yekan';
    }

    .edu-course-player-info .edu-course-download-btn {
        padding: 6px 18px;
        border-radius: 8px;
        border: 2px solid rgb(18, 158, 49);
        background: transparent;
        color: rgb(18, 158, 49);
        font-family: 'B Yekan';
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .edu-course-player-info .edu-course-download-btn:hover {
        background: rgb(18, 158, 49);
        color: #fff;
    }

    /* ===== PDF Viewer ===== */
    .edu-course-pdf-viewer {
        border-radius: 12px;
        overflow: hidden;
        border: 2px solid #eef2f6;
        background: #fafbfc;
    }

    .edu-course-pdf-viewer iframe {
        width: 100%;
        height: 500px;
        border: none;
        display: block;
    }

    .edu-course-pdf-viewer .edu-course-pdf-placeholder {
        padding: 60px 20px;
        text-align: center;
        font-family: 'B Yekan';
        color: #4a4a6a;
    }

    .edu-course-pdf-viewer .edu-course-pdf-placeholder i {
        font-size: 64px;
        color: #e8ecf2;
        margin-bottom: 16px;
    }

    .edu-course-pdf-viewer .edu-course-pdf-placeholder h4 {
        font-size: 20px;
        color: #1a1a2e;
        margin-bottom: 8px;
    }

    .edu-course-pdf-viewer .edu-course-pdf-placeholder p {
        font-size: 14px;
        color: #8a8aaa;
    }

    /* ======================================== */
    /* ===== سرفصل‌ها با قفل ===== */
    /* ======================================== */

    .edu-course-chapters {
        background: #fff;
        border-radius: 16px;
        padding: 25px 28px;
        box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
        margin-bottom: 20px;
    }

    .edu-course-chapters-title {
        font-size: 20px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'B Yekan';
        padding-bottom: 12px;
        border-bottom: 2px solid #f0f2f5;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .edu-course-chapters-title i {
        color: rgb(18, 158, 49);
    }

    .edu-course-chapter {
        border: 1px solid #f0f2f5;
        border-radius: 12px;
        margin-bottom: 12px;
        overflow: hidden;
    }

    .edu-course-chapter:last-child {
        margin-bottom: 0;
    }

    .edu-course-chapter-header {
        padding: 14px 18px;
        background: #fafbfc;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.3s;
        font-family: 'B Yekan';
    }

    .edu-course-chapter-header:hover {
        background: #f0f4f8;
    }

    .edu-course-chapter-header .edu-course-chapter-title {
        font-size: 15px;
        font-weight: 600;
        color: #1a1a2e;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .edu-course-chapter-header .edu-course-chapter-title .edu-course-chapter-number {
        display: inline-block;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: rgb(18, 158, 49);
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        text-align: center;
        line-height: 28px;
        flex-shrink: 0;
    }

    .edu-course-chapter-header .edu-course-chapter-toggle {
        color: #8a8aaa;
        transition: all 0.3s;
        font-size: 14px;
    }

    .edu-course-chapter-header .edu-course-chapter-toggle.open {
        transform: rotate(180deg);
        color: rgb(18, 158, 49);
    }

    .edu-course-chapter-body {
        padding: 0 18px 16px;
        display: none;
        border-top: 1px solid #f0f2f5;
    }

    .edu-course-chapter-body.open {
        display: block;
    }

    .edu-course-chapter-body .edu-course-lesson {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid #f5f7fa;
        font-family: 'B Yekan';
    }

    .edu-course-chapter-body .edu-course-lesson:last-child {
        border-bottom: none;
    }

    .edu-course-chapter-body .edu-course-lesson .edu-course-lesson-icon {
        color: rgb(18, 158, 49);
        font-size: 16px;
        width: 24px;
        text-align: center;
    }

    .edu-course-chapter-body .edu-course-lesson .edu-course-lesson-name {
        flex: 1;
        font-size: 14px;
        color: #4a4a6a;
    }

    .edu-course-chapter-body .edu-course-lesson .edu-course-lesson-duration {
        font-size: 13px;
        color: #8a8aaa;
    }

    .edu-course-chapter-body .edu-course-lesson .edu-course-lesson-play {
        padding: 4px 14px;
        border-radius: 6px;
        border: none;
        background: rgb(18, 158, 49);
        color: #fff;
        font-family: 'B Yekan';
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .edu-course-chapter-body .edu-course-lesson .edu-course-lesson-play:hover {
        background: #0c7a2a;
    }

    /* قفل کنار دکمه پخش برای همه درس‌ها */
    .edu-course-chapter-body .edu-course-lesson .edu-course-lesson-play .edu-course-lock-icon {
        font-size: 11px;
        color: #8a8aaa;
        margin-right: 6px;
    }

    /* ===== درس قفل‌شده ===== */
    .edu-course-chapter-body .edu-course-lesson.locked .edu-course-lesson-icon {
        color: #8a8aaa;
    }

    .edu-course-chapter-body .edu-course-lesson.locked .edu-course-lesson-name {
        color: #b0b0c8;
    }

    .edu-course-chapter-body .edu-course-lesson.locked .edu-course-lesson-play {
        background: #8a8aaa;
        cursor: not-allowed;
    }

    .edu-course-chapter-body .edu-course-lesson.locked .edu-course-lesson-play:hover {
        background: #8a8aaa;
    }

    .edu-course-chapter-body .edu-course-lesson .edu-course-lesson-lock {
        color: #8a8aaa;
        font-size: 14px;
    }

    /* ======================================== */
    /* ===== نظرات با قابلیت ریپلای ===== */
    /* ======================================== */

    .edu-course-comments {
        background: #fff;
        border-radius: 16px;
        padding: 25px 28px;
        box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
        margin-bottom: 20px;
    }

    .edu-course-comments-title {
        font-size: 20px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'B Yekan';
        padding-bottom: 12px;
        border-bottom: 2px solid #f0f2f5;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .edu-course-comments-title i {
        color: rgb(18, 158, 49);
    }

    .edu-course-comment {
        display: flex;
        gap: 14px;
        padding: 14px 0;
        border-bottom: 1px solid #f0f2f5;
        flex-direction: column;
    }

    .edu-course-comment:last-child {
        border-bottom: none;
    }

    .edu-course-comment .edu-course-comment-main {
        display: flex;
        gap: 14px;
    }

    .edu-course-comment .edu-course-comment-avatar {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: rgb(18, 158, 49);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'B Yekan';
        font-size: 18px;
        font-weight: 700;
        flex-shrink: 0;
    }

    .edu-course-comment .edu-course-comment-body {
        flex: 1;
    }

    .edu-course-comment .edu-course-comment-body .edu-course-comment-name {
        font-size: 15px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'B Yekan';
    }

    .edu-course-comment .edu-course-comment-body .edu-course-comment-date {
        font-size: 12px;
        color: #8a8aaa;
        font-family: 'B Yekan';
        margin-right: 8px;
    }

    .edu-course-comment .edu-course-comment-body .edu-course-comment-text {
        font-size: 14px;
        color: #4a4a6a;
        line-height: 1.7;
        font-family: 'B Yekan';
        margin-top: 4px;
    }

    .edu-course-comment .edu-course-comment-body .edu-course-comment-actions {
        display: flex;
        gap: 16px;
        margin-top: 6px;
    }

    .edu-course-comment .edu-course-comment-body .edu-course-comment-actions button {
        background: transparent;
        border: none;
        color: #8a8aaa;
        font-family: 'B Yekan';
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s;
        padding: 0;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .edu-course-comment .edu-course-comment-body .edu-course-comment-actions button:hover {
        color: rgb(18, 158, 49);
    }

    .edu-course-comment .edu-course-comment-body .edu-course-comment-actions button i {
        font-size: 13px;
    }

    /* ===== ریپلای ===== */
    .edu-course-comment .edu-course-comment-replies {
        margin-right: 60px;
        padding-right: 16px;
        border-right: 2px solid #e8ecf2;
    }

    .edu-course-comment .edu-course-comment-replies .edu-course-comment {
        padding: 10px 0;
        border-bottom: 1px solid #f5f7fa;
    }

    .edu-course-comment .edu-course-comment-replies .edu-course-comment:last-child {
        border-bottom: none;
    }

    .edu-course-comment .edu-course-comment-replies .edu-course-comment .edu-course-comment-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .edu-course-comment .edu-course-comment-reply-form {
        display: none;
        margin-top: 10px;
        margin-right: 60px;
        padding: 12px 16px;
        background: #f8fafc;
        border-radius: 12px;
    }

    .edu-course-comment .edu-course-comment-reply-form.active {
        display: block;
    }

    .edu-course-comment .edu-course-comment-reply-form textarea {
        width: 100%;
        padding: 10px 14px;
        border: 2px solid #e8ecf2;
        border-radius: 10px;
        font-size: 14px;
        font-family: 'B Yekan';
        color: #1a1a2e;
        transition: all 0.3s;
        background: #fff;
        outline: none;
        resize: vertical;
        min-height: 60px;
    }

    .edu-course-comment .edu-course-comment-reply-form textarea:focus {
        border-color: rgb(18, 158, 49);
        box-shadow: 0 0 0 4px rgba(18, 158, 49, 0.06);
    }

    .edu-course-comment .edu-course-comment-reply-form .edu-course-reply-submit {
        padding: 6px 20px;
        border-radius: 8px;
        border: none;
        background: rgb(18, 158, 49);
        color: #fff;
        font-family: 'B Yekan';
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        margin-top: 6px;
    }

    .edu-course-comment .edu-course-comment-reply-form .edu-course-reply-submit:hover {
        background: #0c7a2a;
    }

    /* ===== فرم نظر اصلی ===== */
    .edu-course-comment-form {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 2px solid #f0f2f5;
    }

    .edu-course-comment-form label {
        display: block;
        font-size: 15px;
        font-weight: 600;
        color: #1a1a2e;
        font-family: 'B Yekan';
        margin-bottom: 6px;
    }

    .edu-course-comment-form textarea {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #e8ecf2;
        border-radius: 10px;
        font-size: 15px;
        font-family: 'B Yekan';
        color: #1a1a2e;
        transition: all 0.3s;
        background: #fafbfc;
        outline: none;
        resize: vertical;
        min-height: 80px;
    }

    .edu-course-comment-form textarea:focus {
        border-color: rgb(18, 158, 49);
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(18, 158, 49, 0.08);
    }

    .edu-course-comment-form textarea::placeholder {
        color: #b0b0c8;
    }

    .edu-course-comment-form .edu-course-comment-submit {
        padding: 10px 28px;
        border-radius: 10px;
        border: none;
        background: rgb(18, 158, 49);
        color: #fff;
        font-family: 'B Yekan';
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 3px 12px rgba(18, 158, 49, 0.18);
        margin-top: 8px;
    }

    .edu-course-comment-form .edu-course-comment-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(18, 158, 49, 0.25);
    }

    /* ======================================== */
    /* ===== سایدبار با سایر دوره‌ها ===== */
    /* ======================================== */

    .edu-course-sidebar {
        background: #fff;
        border-radius: 16px;
        padding: 24px 22px;
        box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
        align-self: start;
        position: sticky;
        top: 20px;
    }

    .edu-course-sidebar-title {
        font-size: 19px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'B Yekan';
        padding-bottom: 12px;
        border-bottom: 2px solid #f0f2f5;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .edu-course-sidebar-title i {
        color: rgb(18, 158, 49);
    }

    .edu-course-sidebar-info {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        font-size: 15px;
        color: #4a4a6a;
        font-family: 'B Yekan';
        border-bottom: 1px solid #f0f2f5;
    }

    .edu-course-sidebar-info:last-child {
        border-bottom: none;
    }

    .edu-course-sidebar-info strong {
        color: #1a1a2e;
    }

    .edu-course-sidebar-price {
        font-size: 24px;
        font-weight: 900;
        color: rgb(18, 158, 49);
        font-family: 'B Yekan';
        text-align: center;
        padding: 12px 0;
    }

    .edu-course-sidebar-price .old {
        font-size: 16px;
        color: #8a8aaa;
        text-decoration: line-through;
        font-weight: 400;
        margin-right: 8px;
    }

    .edu-course-sidebar .edu-course-sidebar-btn {
        width: 100%;
        padding: 14px 20px;
        border-radius: 12px;
        border: none;
        background: linear-gradient(135deg, rgb(18, 158, 49), #0c7a2a);
        color: #fff;
        font-family: 'B Yekan';
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 4px 20px rgba(18, 158, 49, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }

    .edu-course-sidebar .edu-course-sidebar-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 35px rgba(18, 158, 49, 0.4);
    }

    .edu-course-sidebar .edu-course-sidebar-btn i {
        font-size: 18px;
    }

    /* ===== سایر دوره‌های آموزشگاه (جدا با فاصله) ===== */
    .edu-course-other-courses-wrapper {
        margin-top: 24px;
        padding-top: 20px;
        border-top: 2px solid #f0f2f5;
    }

    .edu-course-other-courses {
        background: #f8fafc;
        border-radius: 12px;
        padding: 16px 18px;
    }

    .edu-course-other-courses-title {
        font-size: 16px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'B Yekan';
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .edu-course-other-courses-title i {
        color: rgb(18, 158, 49);
    }

    .edu-course-other-course {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid #f5f7fa;
        cursor: pointer;
        transition: all 0.3s;
    }

    .edu-course-other-course:last-child {
        border-bottom: none;
    }

    .edu-course-other-course:hover {
        background: #f0f4f8;
        margin: 0 -8px;
        padding: 10px 8px;
        border-radius: 8px;
    }

    .edu-course-other-course .edu-course-other-course-img {
        width: 60px;
        height: 60px;
        border-radius: 10px;
        object-fit: cover;
        flex-shrink: 0;
        border: 2px solid #f0f2f5;
    }

    .edu-course-other-course .edu-course-other-course-info {
        flex: 1;
    }

    .edu-course-other-course .edu-course-other-course-info .edu-course-other-course-name {
        font-size: 14px;
        font-weight: 600;
        color: #1a1a2e;
        font-family: 'B Yekan';
        margin-bottom: 2px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .edu-course-other-course .edu-course-other-course-info .edu-course-other-course-meta {
        font-size: 12px;
        color: #8a8aaa;
        font-family: 'B Yekan';
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .edu-course-other-course .edu-course-other-course-info .edu-course-other-course-meta i {
        color: rgb(18, 158, 49);
    }

    .edu-course-other-course .edu-course-other-course-price {
        font-size: 14px;
        font-weight: 700;
        color: rgb(18, 158, 49);
        font-family: 'B Yekan';
        text-align: left;
        flex-shrink: 0;
    }

    .edu-course-other-course .edu-course-other-course-btn {
        padding: 4px 14px;
        border-radius: 6px;
        border: none;
        background: rgb(18, 158, 49);
        color: #fff;
        font-family: 'B Yekan';
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        flex-shrink: 0;
    }

    .edu-course-other-course .edu-course-other-course-btn:hover {
        background: #0c7a2a;
    }

    /* ======================================== */
    /* ===== RESPONSIVE ===== */
    /* ======================================== */

    @media (max-width: 992px) {
        .edu-course-col-main {
            width: 100%;
            float: none;
        }
        .edu-course-col-sidebar {
            width: 100%;
            float: none;
            margin-top: 20px;
        }
        .edu-course-sidebar {
            position: relative;
            top: 0;
        }
    }

    @media (max-width: 768px) {
        .edu-course-wrapper {
            padding: 20px 0;
        }

        .edu-course-header {
            padding: 16px 18px;
            flex-direction: column;
            align-items: stretch;
        }

        .edu-course-header-title {
            font-size: 20px;
            justify-content: center;
        }

        .edu-course-user-box {
            justify-content: center;
        }

        .edu-course-info {
            padding: 18px 16px;
        }

        .edu-course-info-title {
            font-size: 20px;
        }

        .edu-course-info-meta {
            gap: 10px;
        }

        .edu-course-info-meta-item {
            font-size: 13px;
        }

        .edu-course-info-desc {
            font-size: 14px;
        }

        .edu-course-tabs-nav {
            padding: 0 5px;
            overflow-x: auto;
        }

        .edu-course-tab-btn {
            padding: 12px 16px;
            font-size: 13px;
            white-space: nowrap;
        }

        .edu-course-tab-content {
            padding: 14px;
        }

        .edu-course-player-video .play-btn {
            width: 55px;
            height: 55px;
            font-size: 22px;
        }

        .edu-course-player-info {
            flex-direction: column;
            align-items: stretch;
            gap: 6px;
        }

        .edu-course-pdf-viewer iframe {
            height: 350px;
        }

        .edu-course-chapters {
            padding: 18px 16px;
        }

        .edu-course-chapters-title {
            font-size: 18px;
        }

        .edu-course-chapter-header {
            padding: 12px 14px;
        }

        .edu-course-chapter-header .edu-course-chapter-title {
            font-size: 14px;
        }

        .edu-course-chapter-body {
            padding: 0 14px 12px;
        }

        .edu-course-chapter-body .edu-course-lesson .edu-course-lesson-name {
            font-size: 13px;
        }

        .edu-course-comments {
            padding: 18px 16px;
        }

        .edu-course-comment .edu-course-comment-replies {
            margin-right: 30px;
            padding-right: 10px;
        }

        .edu-course-comment .edu-course-comment-reply-form {
            margin-right: 30px;
        }

        .edu-course-sidebar {
            padding: 18px 16px;
        }

        .edu-course-sidebar-price {
            font-size: 20px;
        }

        .edu-course-sidebar .edu-course-sidebar-btn {
            font-size: 16px;
            padding: 12px 16px;
        }

        .edu-course-other-courses {
            padding: 12px 14px;
        }

        .edu-course-other-course .edu-course-other-course-img {
            width: 50px;
            height: 50px;
        }

        .edu-course-other-course .edu-course-other-course-info .edu-course-other-course-name {
            font-size: 13px;
        }
    }

    @media (max-width: 480px) {
        .edu-course-user-box {
            flex-wrap: wrap;
            justify-content: center;
            text-align: center;
        }

        .edu-course-user-avatar {
            width: 50px;
            height: 50px;
        }

        .edu-course-info-title {
            font-size: 18px;
        }

        .edu-course-tab-btn {
            padding: 10px 12px;
            font-size: 12px;
        }

        .edu-course-tab-btn i {
            font-size: 13px;
        }

        .edu-course-player-video .play-btn {
            width: 45px;
            height: 45px;
            font-size: 18px;
        }

        .edu-course-pdf-viewer iframe {
            height: 280px;
        }

        .edu-course-chapter-header .edu-course-chapter-title {
            font-size: 13px;
        }

        .edu-course-chapter-header .edu-course-chapter-title .edu-course-chapter-number {
            width: 24px;
            height: 24px;
            font-size: 11px;
            line-height: 24px;
        }

        .edu-course-chapter-body .edu-course-lesson {
            flex-wrap: wrap;
        }

        .edu-course-sidebar-price {
            font-size: 18px;
        }

        .edu-course-sidebar .edu-course-sidebar-btn {
            font-size: 15px;
            padding: 10px 14px;
        }

        .edu-course-other-course {
            flex-wrap: wrap;
        }

        .edu-course-other-course .edu-course-other-course-btn {
            width: 100%;
            justify-content: center;
            padding: 6px;
        }
    }
/* course-details */



/*Profile  */
.edu-profile-wrapper {
    direction: rtl;
    padding: 40px 0;
    background: #f0f4f8;
    min-height: 600px;
}

/* ===== Header ===== */
.edu-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
    border-radius: 20px;
    box-shadow: 0px 0px 30px 5px rgba(136, 144, 139, 0.45);
    padding: 25px 35px;
    background: linear-gradient(135deg, #ffffff 0%, #f5faf7 100%);
}

/* ===== سمت چپ هدر (تیتر + دکمه) ===== */
.edu-profile-header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    order: 1;
}

.edu-profile-header-date-top {
    font-size: 14px;
    color: #4a4a6a;
    font-family: 'B Yekan';
    font-weight: 500;
    margin-bottom: 4px;
}
.edu-profile-header-title {
    font-size: 20px;
    font-weight: 900;
    color: #1a1a2e;
    /* margin: 0; */
    font-family: 'B Yekan';
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 1rem;
}
.edu-profile-header-sub {
    font-size: 14px;
    color: #8a8aaa;
    font-family: 'B Yekan';
    margin-right: 10px;
}

/* ===== دکمه خروج (زیر تیتر) ===== */
.edu-profile-header-left .edu-profile-sidebar-logout {
    margin-top: 8px;
    /* border: 1px solid #fecaca; */
    /* background: #fef2f2; */
    color: #dc2626;
    font-family: 'B Yekan';
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
     padding: 7px 14px;
    border-radius: 10px;
}

.edu-profile-header-left .edu-profile-sidebar-logout i {
    margin-left: 8px;
    font-size: 15px;
}

.edu-profile-header-left .edu-profile-sidebar-logout:hover {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
    transform: translateX(-3px);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.25);
}

/* ===== سمت راست هدر (اطلاعات کاربر) ===== */
.edu-profile-header-user {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    order: 0;
}

.edu-profile-header-user img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 3px solid rgb(18, 158, 49);
    box-shadow: 0 4px 15px rgba(18, 158, 49, 0.2);
    object-fit: cover;
}

.edu-profile-header-name {
    font-weight: 700;
    font-size: 22px;
    color: #1a1a2e;
    font-family: 'B Yekan';
}

.edu-profile-header-institute {
    font-size: 14px;
    color: #4a4a6a;
    font-family: 'B Yekan';
    margin-top: 2px;
}

.edu-profile-header-date {
    font-size: 13px;
    color: #8a8aaa;
    font-family: 'B Yekan';
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== Row & Columns ===== */
.edu-profile-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
    gap: 24px;
}

.edu-profile-col-left {
    flex: 1;
    min-width: 0;
    padding: 0 12px;
    order: 1;
}

.edu-profile-col-right {
    width: 320px;
    flex-shrink: 0;
    padding: 0 12px;
    order: 0;
}

/* ===== Sidebar Stats ===== */
.edu-profile-sidebar-stats {
    background: #fff;
    border-radius: 16px;
    padding: 28px 20px;
    box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 4px solid rgb(18, 158, 49);
}

.edu-profile-sidebar-stats-level {
    font-size: 17px;
    color: #8a8aaa;
    font-family: 'B Yekan';
}

.edu-profile-sidebar-stats-level strong {
    color: rgb(18, 158, 49);
    font-size: 18px;
}

.edu-profile-sidebar-stats-row {
    display: flex;
    justify-content: space-around;
    margin-top: 14px;
}

.edu-profile-sidebar-stats-item {
    text-align: center;
}

.edu-profile-sidebar-stats-number {
    font-size: 22px;
    font-weight: 900;
    color: #1a1a2e;
    font-family: 'B Yekan';
}

.edu-profile-sidebar-stats-number.green { color: rgb(18, 158, 49); }
.edu-profile-sidebar-stats-number.orange { color: #f59e0b; }

.edu-profile-sidebar-stats-label {
    font-size: 14px;
    color: #8a8aaa;
    font-family: 'B Yekan';
    margin-top: 2px;
}

/* ===== Sidebar Menu ===== */
.edu-profile-sidebar-menu {
    background: #fff;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
}

.edu-profile-sidebar-section {
    margin-bottom: 16px;
}

.edu-profile-sidebar-section:last-child {
    margin-bottom: 0;
}

.edu-profile-sidebar-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    font-family: 'B Yekan';
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f2f5;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edu-profile-sidebar-section-title i {
    color: rgb(18, 158, 49);
    font-size: 18px;
}

.edu-profile-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 6px;
    color: #4a4a6a;
    font-family: 'B Yekan';
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border-radius: 8px;
}

.edu-profile-sidebar-item:hover {
    color: rgb(18, 158, 49);
    background: rgba(18, 158, 49, 0.05);
    padding-right: 14px;
}

.edu-profile-sidebar-item i {
    width: 20px;
    color: rgb(18, 158, 49);
    font-size: 16px;
    text-align: center;
}

/* ===== Points Box ===== */
.edu-profile-points-box {
    background: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgb(136 144 135 / 97%);
    border: 1px solid #f0f2f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.edu-profile-points-box:hover {
    transform: translateY(-2px);
}

.edu-profile-points-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(18, 158, 49), #4ade80, rgb(18, 158, 49));
    background-size: 200% 100%;
    animation: eduProfilePointsShine 3s ease-in-out infinite;
}

@keyframes eduProfilePointsShine {
    0%   { background-position: 0% 0%; }
    50%  { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}

.edu-profile-points-content { flex: 1; }

.edu-profile-points-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.edu-profile-points-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(18, 158, 49), #0c7a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(18, 158, 49, 0.2);
}

.edu-profile-points-title {
    font-size: 17px;
    font-weight: 600;
    color: #4a4a6a;
    font-family: 'B Yekan';
}

.edu-profile-points-amount {
    font-size: 22px;
    font-weight: 900;
    color: #1a1a2e;
    font-family: 'B Yekan';
    margin-bottom: 10px;
}

.edu-profile-points-amount span {
    font-size: 15px;
    font-weight: 400;
    color: #8a8aaa;
    margin-right: 4px;
}

.edu-profile-points-progress {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.edu-profile-points-progress-bar {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, rgb(18, 158, 49), #4ade80);
    transition: width 1s ease;
    box-shadow: 0 0 10px rgba(18, 158, 49, 0.2);
}

.edu-profile-points-footer {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #8a8aaa;
    font-family: 'B Yekan';
}

.edu-profile-points-next {
    font-weight: 700;
    color: rgb(18, 158, 49);
}

.edu-profile-points-badge span {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #494949;
    font-family: 'B Yekan';
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
}

/* ===== Icons Grid ===== */
.edu-profile-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.edu-profile-icon-item {
    background: #fff;
    border-radius: 16px;
    padding: 24px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 2px solid transparent;
    text-decoration: none;
    display: block;
}

.edu-profile-icon-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 35px rgb(95 110 99 / 71%);
}

.edu-profile-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 28px;
    color: #fff;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.edu-profile-icon-item:hover .edu-profile-icon-circle {
    transform: scale(1.08) rotate(-3deg);
}

.edu-profile-icon-label {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    font-family: 'B Yekan';
    line-height: 1.4;
}

/* رنگ‌های متنوع آیکون‌ها */
.edu-profile-icon-item:nth-child(1)  .edu-profile-icon-circle { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.edu-profile-icon-item:nth-child(2)  .edu-profile-icon-circle { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.edu-profile-icon-item:nth-child(3)  .edu-profile-icon-circle { background: linear-gradient(135deg, #16a34a, #4ade80); }
.edu-profile-icon-item:nth-child(4)  .edu-profile-icon-circle { background: linear-gradient(135deg, #ef4444, #f87171); }
.edu-profile-icon-item:nth-child(5)  .edu-profile-icon-circle { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.edu-profile-icon-item:nth-child(6)  .edu-profile-icon-circle { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
.edu-profile-icon-item:nth-child(7)  .edu-profile-icon-circle { background: linear-gradient(135deg, #ec4899, #f472b6); }
.edu-profile-icon-item:nth-child(8)  .edu-profile-icon-circle { background: linear-gradient(135deg, #f97316, #fb923c); }
.edu-profile-icon-item:nth-child(9)  .edu-profile-icon-circle { background: linear-gradient(135deg, #14b8a6, #2dd4bf); }
.edu-profile-icon-item:nth-child(10) .edu-profile-icon-circle { background: linear-gradient(135deg, #6366f1, #818cf8); }

/* ===== Notice ===== */
.edu-profile-notice {
    margin-top: 30px;
    background: #fff;
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 4px 20px rgba(86, 93, 88, 0.58);
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    border-right: 4px solid rgb(18, 158, 49);
}

.edu-profile-notice-icon {
    font-size: 24px;
    color: rgb(18, 158, 49);
    flex-shrink: 0;
}

.edu-profile-notice-content {
    flex: 1;
    font-family: 'B Yekan';
}

.edu-profile-notice-title {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 15px;
}

.edu-profile-notice-text {
    font-size: 14px;
    color: #4a4a6a;
}

.edu-profile-notice-btn {
    padding: 7px 20px;
    border-radius: 8px;
    border: none;
    background: rgb(18, 158, 49);
    color: #fff;
    font-family: 'B Yekan';
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.edu-profile-notice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(18, 158, 49, 0.25);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .edu-profile-col-right { width: 280px; }
}

@media (max-width: 992px) {
    .edu-profile-col-right { width: 100%; order: 1; }
    .edu-profile-col-left  { order: 0; }
    .edu-profile-icons-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .edu-profile-wrapper { padding: 20px 0; }

    .edu-profile-header {
        flex-direction: column;
        align-items: stretch;
        padding: 18px 20px;
    }

    .edu-profile-header-left {
        align-items: center;
        text-align: center;
        order: 1;
    }

    .edu-profile-header-title {
        font-size: 22px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .edu-profile-header-left .edu-profile-sidebar-logout {
        justify-content: center;
    }

    .edu-profile-header-user {
        justify-content: center;
        order: 0;
    }

    .edu-profile-icons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .edu-profile-icon-item { padding: 18px 10px; }
    .edu-profile-icon-circle { width: 52px; height: 52px; font-size: 22px; }
    .edu-profile-icon-label { font-size: 13px; }

    .edu-profile-points-box {
        padding: 18px 20px;
        flex-direction: column;
        text-align: center;
    }
    .edu-profile-points-header { justify-content: center; }
    .edu-profile-points-amount { font-size: 24px; }
    .edu-profile-points-footer { flex-direction: column; align-items: center; gap: 2px; }

    .edu-profile-sidebar-menu { padding: 16px; }

    .edu-profile-notice {
        padding: 14px 18px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .edu-profile-notice-btn { width: 100%; padding: 9px; }
}

@media (max-width: 480px) {
    .edu-profile-header-user {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 12px 16px;
    }
    .edu-profile-header-user img { width: 60px; height: 60px; }
    .edu-profile-header-name { font-size: 17px; }
    .edu-profile-header-title { font-size: 20px; }
    .edu-profile-header-sub { font-size: 12px; margin-right: 6px; }

    .edu-profile-icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .edu-profile-icon-item { padding: 14px 8px; border-radius: 12px; }
    .edu-profile-icon-circle { width: 46px; height: 46px; font-size: 20px; }
    .edu-profile-icon-label { font-size: 12px; }

    .edu-profile-points-box { padding: 14px 16px; }
    .edu-profile-points-amount { font-size: 20px; }
    .edu-profile-points-badge span { font-size: 12px; padding: 4px 14px; }

    .edu-profile-sidebar-stats-row { flex-direction: column; gap: 10px; }
    .edu-profile-sidebar-item { font-size: 14px; }
}
/*Profile  */