/* 
Theme Name: edu falnic
Description: edu falnic
Author: falnic team
Author URI: https://falnic.com/
Version: 1.0.0
*/

/* تنظیمات پایه */
:root {
    /*رنگ‌ها ) */
    --primary-blue: #0A3762;
    /* آبی تیره هیرو */
    --accent-yellow: #FFA200;
    /* زرد دکمه ها */
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9fafb;
    --bg-white: #fff;
    --border-color: #DADADA;
    --text-color-bl: #000;
    --text-color-wh: #fff;
    --Primary-Tint-1: #AED3F7;
    --Tertiary: #E6DFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'دانا';
}

@font-face {
    font-family: 'دانا';
    font-display: swap;
    src: url('assets/fonts/falnic-font.woff2') format('woff2');
}

body {
    font-family: 'دانا';
    background-color: #f8fafc;
    color: var(--text-color-bl);
    font-feature-settings: "ss02";
    direction: rtl;
}

main {
    margin: 0 auto;
    padding: 4px 16px;
    display: flex;
    flex-direction: column;
}


.breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.breadcrumb a:hover {
    color: #ea580c;
}

.breadcrumb .current {
    color: #082B4C;
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

/* ---- هدر سایت ---- */
.site-header {
    position: sticky;
    top: 0;
    padding: 15px 16px;
    width: 100%;
    background: #fff;
    border-bottom: inset 3px #ECECEC;
    z-index: 50;
}

.admin-bar .site-header {
    top: 32px;
}

.header-container {
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: auto;
}

.header-right,
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--text-color-wh);
    border: none;
    padding: 14px 46px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

.btn-outline {
    background: var(--accent-yellow);
    color: var(--text-color-bl);
    border: none;
    padding: 14px 46px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

.categories-dropdown {
    color: var(--text-dark);
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
}

.categories-dropdown a {
    display: flex;
    gap: 8px;
    transition: 200ms;

}

.categories-dropdown span:hover,
.main-nav a:hover {
    color: var(--accent-yellow);
}

/* ---- مگامنوی دسته‌بندی دوره‌ها (باز شدن با هاور) ---- */
.categories-dropdown {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.categories-dropdown .categories-trigger:hover,
.categories-dropdown:focus-within .categories-trigger {
    color: var(--accent-yellow);
}

.categories-dropdown .categories-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 260px;
    /* پدینگ بالا، فاصلهٔ هاور بین دکمه و منو را پر می‌کند تا منو نپرد */
    padding-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 200ms, transform 200ms, visibility 200ms;
    z-index: 70;
}

.categories-dropdown:hover .categories-menu,
.categories-dropdown:focus-within .categories-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.categories-menu-list {
    list-style: none;
    margin: 0;
    padding: 12px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(10, 55, 98, 0.16);
    max-height: 70vh;
    overflow-y: auto;
}

.categories-dropdown .categories-menu-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: #444;
    white-space: nowrap;
    transition: background 200ms, color 200ms;
}

.categories-dropdown .categories-menu-list a:hover,
.categories-dropdown .categories-menu-list a:focus-visible {
    background: #ece6ff;
    color: #23009f;
    font-weight: 600;
    outline: none;
}

/* جلوگیری از زرد شدن متن آیتم‌ها توسط قانون عمومی .categories-dropdown span:hover */
.categories-dropdown .categories-menu-list span:hover {
    color: inherit;
}

.categories-menu-icon {
    display: flex;
    flex-shrink: 0;
}

.categories-menu-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    transition: 200ms;
}

/* ---- اینپوت سرچ هدر ---- */
.search-box {
    position: relative;
}

.search-box-header {
    display: none;
}

.search-box-header .search-mobile-close {
    display: flex;
    gap: 10px;
    cursor: pointer;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input.search-input {
    height: 48px;
    padding: 0 44px 0 14px;
    border: 1px solid #dadada;
    border-radius: 8px;
    background: #fff;
    width: 250px;
    font-size: 10px;
    color: #333;
    font-weight: 400;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: width 200ms, border-color 200ms, background 200ms;
    line-height: 16px;
}

.search-box input.search-input::placeholder {
    font-size: 10px;
    color: #333;
}

.search-box input.search-input::-webkit-search-cancel-button {
    display: none;
}

.search-box.is-open input.search-input,
.search-box input.search-input:focus {
    width: 320px;
    background: #fff;
    border-color: var(--primary-blue);
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px 0 0;
    height: 28px;
    border: none;
    border-left: 1px solid transparent;
    background: transparent;
    cursor: pointer;
}

/* خط جداکنندهٔ آیکون و متن، وقتی پنل باز است */
.search-box.is-open .search-icon {
    padding-left: 6px;
}

.search-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(10, 55, 98, 0.12);
    z-index: 60;
}

.search-mobile-head {
    display: none;
}

.search-suggestions .search-hl {
    color: var(--primary-blue);
}

.search-panel[hidden],
.search-panel [hidden] {
    display: none;
}

.search-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-section-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: #000;
    margin-bottom: 9px;
}

.search-section-head .search-section-title {
    margin-bottom: 0;
}

.search-clear-recent {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    order: -1;
}

.search-clear-recent:hover svg path {
    stroke: #d63638;
}

.search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 16px;
}

.search-popular .search-chips {
    margin-bottom: 0;
}

.search-chip {
    padding: 4px 14px;
    border: .5px solid #dadada;
    border-radius: 20px;
    background: #fff;
    font-size: 12px;
    line-height: 20px;
    color: #000;
    cursor: pointer;
    transition: 200ms;
    font-weight: 400;
}

.search-chip:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.search-suggestions,
.search-results {
    list-style: none;
}

.search-suggestions {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #DADADA;
}

.search-suggestions:empty {
    display: none;
}

.search-suggestions li a,
.search-results li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 20px;
    color: var(--text-dark);
    transition: 200ms;
}

.search-suggestions li a:hover,
.search-results li a:hover {
    background: #f8f9fa;
    color: var(--primary-blue);
}

.search-suggestions li a svg {
    flex-shrink: 0;
}

.search-results li a {
    font-weight: 600;
    font-size: 13px;
}

.search-results li img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 4px;
    object-fit: cover;
}

.search-empty {
    font-size: 12px;
    font-weight: 500;
    color: #d00000;
    line-height: 20px;
}

.cart-icon {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid;
    transition: 200ms;
    border-color: var(--accent-yellow);
}

.cart-icon:hover {
    background-color: #FEEBCF;
}

.btn-primary {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    transition: 200ms;
}

.btn-primary:hover {
    background: #072541;
}

.btn-yellow {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-yellow);
    color: var(--text-color-bl);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: 200ms;
}

.btn-yellow:hover {
    background: #FFAC1C;
}

.btn-outline-white {
    background: transparent;
    color: var(--text-color-wh);
    border: 1px solid;
    border-color: var(--text-color-wh);
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    transition: 200ms;
    justify-content: center;
}

.btn-outline-white:hover svg path {
    fill: #FFAC1C;
}

.btn-outline-white:hover {
    border-color: #FFAC1C;
    color: #FFAC1C;
    ;
}

/* ---- فوتر ---- */
.site-footer {
    margin: 60px 16px 32px 16px;
}

.footer-wrapper {
    background: radial-gradient(72.77% 183.43% at 94.61% 53.46%, #082B4C 0%, #223794 100%);
    border-radius: 20px;
    color: white;
    position: relative;
    padding: 80px 32px 26px 32px;
}

.footer-wrapper:before {
    background-image: url(https://edu.falnic.com/wp-content/themes/edu-falnic/assets/img/front-page/Subtract.svg);
    content: '';
    background-position: top right;
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    right: -1px;
    top: -2px;
    pointer-events: none;
}

/* نوار بالای فوتر (مورب) */
.footer-social-bar {
    position: absolute;
    top: 18px;
    left: 0;
    width: 63%;
    height: 53px;
    background: #081A72;
    border-radius: 10px;
    /* تغییر این خط: بالای سمت راست ۳۰ پیکسل عقب‌نشینی می‌کند */
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px 0 25px;
    direction: ltr;
    margin: 0 0 0 35px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background 0.3s;
}

.social-text {
    font-size: 12px;
    color: var(--text-color-wh);
    direction: rtl;
    font-weight: 200;
}

/* ساختار گرید اصلی فوتر */
.footer-grid {
    display: grid;
    grid-template-columns: 3.5fr 3fr 2.5fr 1.5fr;
    /* تناسب دقیق ستون‌ها از راست به چپ */
    gap: 30px;
    margin-top: 20px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* ستون درباره برند */
.footer-logo-wrapper {
    display: flex;
    margin: 20px 0;
}

.footer-logo {
    height: 60px;
    background: transparent;
}

.brand-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    text-align: justify;
    text-align-last: right;
    color: #FAFCFE;
}

/* عناوین */
.footer-title.text-yellow {
    color: #FFA200;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 25px;
}

/* ستون راه‌های ارتباطی */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 21px;
    font-weight: 400;
    color: #FAFCFE;
}

.contact-icon {
    font-size: 18px;
    line-height: 1;
    margin-top: 3px;
}

.contact-text strong {
    font-weight: normal;
}

.ltr-text {
    color: #FAFCFE;
    font-size: 14px;
    font-weight: 400;
}

.contact-note {
    margin-top: 4px;
    color: #FAFCFE;
    font-size: 14px;
    font-weight: 400;
}

/* ستون لینک‌ها (دو ستونه داخلی) */
.footer-links-wrapper {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
}

.link-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-column ul li {
    margin-bottom: 15px;
}

.link-column ul li a {
    color: #FAFCFE;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    text-decoration: none;
    transition: color 0.3s;
}

.link-column ul li a:hover {
    color: #F5CC11;
}

/* ستون نمادها */
.namads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.namads-grid img {
    width: 100%;
    background: white;
    border-radius: 8px;
    padding: 5px;
    object-fit: contain;
}

.desktop-hidden {
    display: none;
}

.action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    background-color: #fff;
    height: 58px;
    z-index: 9999;
    width: 100%;
    border-top: 2px solid #ECECEC;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    padding: 8px 16px 4px 16px;
}

.action-bar ul {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.action-bar ul li {
    padding: 8px 0;
}

.action-bar ul li a {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
    color: #400BFF;
}

.action-bar ul li a svg {
    width: 24px;
    height: 24px;
}

.mobile-header-panel {
    display: none;
}

































/* ========================================================
   1. دسکتاپ‌های معمولی (کمتر از 1400 پیکسل)
   ======================================================== */
@media (max-width: 1400px) {
    /* تغییراتی برای مانیتورهای استاندارد */
}

/* ========================================================
   2. لپ‌تاپ‌ها (کمتر از 1200 پیکسل)
   ======================================================== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-wrapper {
        padding-top: 100px;
    }

    .footer-social-bar {
        width: 53%;
    }
}

/* ========================================================
   3. تبلت‌ها (کمتر از 992 پیکسل)
   ======================================================== */
@media (max-width: 992px) {
    .footer-social-bar {
        width: 41%;
    }

    .footer-social-bar {
        width: 45%;
    }

    main {
        grid-template-columns: 1fr;
    }

    .search-box.is-open .search-box-header {
        display: flex;
        flex-flow: row;
        align-items: center;
        font-size: 14px;
        line-height: 18px;
        font-weight: 600;
        background-color: #fff;
        border-bottom: 2px solid #ececec;
        padding: 17px 16px 16px;
    }
}

/* ========================================================
   4. موبایل‌های بزرگ / تبلت‌های کوچک (کمتر از 768 پیکسل)
   ======================================================== */
@media (max-width: 768px) {
    .admin-bar .site-header {
        top: 0;
        z-index: 9999999;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-social-bar {
        width: 58%;
    }

    .footer-links-wrapper {
        justify-content: flex-start;
        gap: 40px;
    }

    .footer-wrapper:before {
        background-size: 258px;
    }

    .namads-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0px;
    }

    .namads-grid img {
        width: 89%;
        border-radius: 8px;
        padding: 5px;
    }

    .mob-hidden {
        display: none;
    }

    .desktop-hidden {
        display: initial;
    }

    /* هدر موبایل: فقط لوگو + باکس جستجو */
    .header-container {
        gap: 12px;
        align-items: center;
    }

    .header-right {
        width: auto;
        justify-content: flex-start;
    }

    .header-right .open-menu {
        display: none;
    }

    .header-left {
        flex: 1;
        min-width: 0;
        gap: 0;
    }

    .header-left .search-box {
        width: 100%;
    }

    .search-box input.search-input,
    .search-box.is-open input.search-input,
    .search-box input.search-input:focus {
        width: 100%;
        height: 44px;
        font-size: 16px;
    }

    .search-box input.search-input::placeholder {
        font-size: 12px;
    }

    /* حالت باز: تمام‌صفحه، بالای محتوا و بالای نوار پایین */
    body.search-open {
        overflow: hidden;
    }

    .search-box.is-open {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        bottom: 58px;
        z-index: 100;
        display: flex;
        flex-direction: column;
        background: #f9fafb;
        overflow-y: auto;
    }

    .search-box.is-open .search-mobile-head {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 16px;
        background: #fff;
        border-bottom: 1px solid #ECECEC;
        font-size: 16px;
        font-weight: 700;
        color: var(--text-color-bl);
    }

    .search-mobile-close {
        display: flex;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .search-box.is-open .search-form {
        margin: 16px;
    }

    .search-box.is-open .search-icon {
        border-left-color: transparent;
        padding-left: 0;
    }

    .search-box.is-open .search-panel {
        position: static;
        width: auto;
        max-height: none;
        padding: 0 16px 16px;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        overflow: visible;
    }

    .logo img {
        width: 40px;
    }

    header.site-header {
        padding: 10px 16px;
    }

    .action-bar {
        display: flex;
        z-index: 999999999;
    }

    .page-template-panel .header-container {
        display: none;
    }

    .page-template-panel .mobile-header-panel {
        display: flex;
        width: 100%;
    }

    /* حالت عادی: SVG اول ظاهر، SVG دوم مخفی */
    .action-bar ul li a svg:nth-of-type(1) {
        display: inline-block !important;
    }

    .action-bar ul li a svg:nth-of-type(2) {
        display: none !important;
    }

    /* حالت اکتیو: SVG اول مخفی، SVG دوم ظاهر */
    .action-bar ul li a.active svg:nth-of-type(1) {
        display: none !important;
    }

    .action-bar ul li a.active svg:nth-of-type(2) {
        display: inline-block !important;
    }

}

/* ========================================================
   5. موبایل‌های کوچک (کمتر از 576 پیکسل)
   ======================================================== */
@media (max-width: 576px) {

    .social-text {
        display: none;
    }

    .footer-social-bar {

        top: 8px;
        width: 55%;
        height: 32px;
        background: #081A72;
        border-radius: 6px;
        padding: 0;
        margin: 0 0 0 8px;
        clip-path: polygon(0 0, calc(98% - 30px) 0, 94% 100%, 0 100%);
    }

    .footer-wrapper:before {
        background-size: 165px;
    }

    .footer-wrapper {
        border-radius: 14px;
        padding: 5px 16px 20px 16px;
    }

    .social-icons {
        display: flex;
        gap: 6px;
    }

    /* ریزترین تنظیمات فقط برای موبایل */
}


/* پس زمینه تاریک و تار کننده پشت منو */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    /* افکت بلور پشت منو */
    z-index: 9999999;
    display: none;
}

/* بدنه اصلی منوی کشویی */
.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    right: -500px;
    min-width: 340px;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background: #fdfdfd;
    z-index: 9999999;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

/* کلاسی که با JS اضافه میشود تا منو باز شود */
.mobile-menu-sidebar.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    text-align: left;
}

.mobile-menu-header .search-form {
    border: 1px solid #dadada;
    outline: 0;
    padding: 13px 35px 13px 0;
    border-radius: 8px;
    width: 50%;
}

.mobile-menu-header .search-input {
    outline: 0;
    border: 0;
    font-size: 10px;
    line-height: 16px;
    font-weight: 400;
    color: #333;
    width: 100%;
}

.mobile-menu-header .search-input::placeholder {
    color: #333;
}

.mobile-menu-header .search-icon {
    padding: 0;
    right: 5px;
}

.close-mobile-menu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    transition: 0.2s;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
}

.mobile-menu-search svg {
    flex-shrink: 0;
}

/* استایل لیست و آکاردئون‌ها */
.mobile-menu-list {
    list-style: none;
    padding: 0 16px;
    margin: 0;
}

.mobile-menu-list>li {
    /* border-bottom: 1px solid #eaeaea;*/
}

.mobile-menu-list>li>a,
.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 25px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    border-bottom: 1px solid #dadada;
}

/* انیمیشن چرخش فلش */
.menu-item-header .chevron {
    transition: transform 0.3s ease;
}

.menu-item-header.open .chevron {
    transform: rotate(180deg);
}

/* استایل زیرمنوها با رنگ آبی روشن مشابه عکس */
.submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #ece6ff;
    /* رنگ آبی روشن پس‌زمینه */
    display: none;
    /* پنهان بودن در ابتدا برای اجرای slideToggle */
}

.submenu-list li a {
    display: block;
    padding: 12px 40px 12px 20px;
    /* تو رفتگی برای زیرمنو */
    color: #444;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s;
}

.mobile-menu-list .submenu-list li a {
    display: flex;
    gap: 4px;
}

.mobile-menu-list .submenu-list li a:hover {
    color: rgba(35, 0, 159, 1);
}

.submenu-list li a:hover {
    background: #dce6f2;
}

.eduf-card-action .btn-submit.course-attend {
    width: 100%;
    border: none;
    padding: 10px;
    border-radius: 8px;
    background: #0A3762;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: 0.3s;
    font-size: 14px;
}

.eduf-card-action .btn-submit.login-modal-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    background: #FFA200;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}