* {
    margin: 0;
    font-family: 'IranSans', 'Gilroy-Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

body {
    font-family: 'IranSans', 'Gilroy-Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#dark {
    background-color: #202020;
}

#light {
    background-color: #ffffff;
}

/* 🎨 فونت فارسی IranSans */
@font-face {
    font-family: 'IranSans';
    src: url(/static/media/IranSans.b405362106aecf6bb79b.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranSans';
    src: url(/static/media/irsaniansans.767a6ff251a0cddf1531.ttf) format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* فونت‌های Gilroy (انگلیسی) */
@font-face {
    font-family: 'Gilroy';
    src: url(/static/media/Gilroy-Black.bf3a5f799e6799d48062.ttf) format('truetype');
}

@font-face {
    font-family: 'Gilroy-Regular';
    /*400*/
    src: url(/static/media/Gilroy-Regular.b91b0127c56a8e5f9e83.ttf) format('truetype');
}

@font-face {
    font-family: 'Gilroy-Medium';
    /*500*/
    src: url(/static/media/Gilroy-Medium.f9f832b0ed3f1ab138c9.ttf) format('truetype');
}

@font-face {
    font-family: 'Gilroy-SemiBold';
    /*600*/
    src: url(/static/media/Gilroy-SemiBold.6780292641f883b3dad3.ttf) format('truetype');
}

@font-face {
    font-family: 'Gilroy-Bold';
    /*700*/
    src: url(/static/media/Gilroy-Bold.b900325e44ec0c673e88.ttf) format('truetype');
}





.navbar_profileDiv__AgexF {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.navbar_profileDiv__AgexF:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar_profileImage__c\+bz8, .navbar_avatarImage__gVfXM {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}
.navbar_profileName__3SZ77 {
    color: var(--text-color);
    font-size: 14px;
}

.navbar_arrowIcon__4vjSn {
    width: 16px;
    height: 16px;
}


.navbar_userName__Jj0s6 {
    color: white;
    font-size: 14px;
}
.navbar_extraStyles__dJ2xA {
    margin: 10px;
}


.navbar_loginButton__oJdhh {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar_loginButton__oJdhh:hover {
    background-color: var(--primary-color-dark);
}

.navbar_profileContainer__0pflQ {
    display: flex;
    align-items: center;
    gap: 8px;
}


.navbar_emptyProfile__6i4-z {
    width: 10px;
    height: 10px;
    padding: 10px;
    border-radius: 50%;
    background-color: #4c4d4c;
}

.navbar_profileOptionModalStyle__Iv1jY {
    outline: none;
    width: 240px;
    position: fixed;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    /* RTL: left برای سمت چپ */
    left: 20px;
    right: auto;
    top: 70px;
    padding-top: 0.8rem;
    /* 🎨 پس‌زمینه - توسط inline style کنترل میشه */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    /* z-index بالا */
    z-index: 1000;
}

.navbar_modelHeading__qTgHh {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-family: Gilroy-Medium, sans-serif;
}


.navbar_listStyle__0hm6V {
    display: flex;
    margin: 10px;
    cursor: pointer;
}

.navbar_listStyle__0hm6V:hover {
    transform: scale(1.4);
}

.navbar_dropdownMargin__BIoDi {
    width: 20%;
}

.navbar_sync__uAxgo {
    animation: navbar_rotation__X-T7U infinite 2s linear
}

@keyframes navbar_rotation__X-T7U {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.navbar_modalIcon__dDoOV {
    height: 24px;
    width: 24px;
}

.navbar_modalText__vsrns {
    font-size: 20px;
}

.navbar_Edit__sytl1 {
    border: none;
    background-color: #2e8fd6;
    color: white;
    font-size: 20px;
    line-height: 24px;
    font-family: "Gilroy-SemiBold", serif;
    max-width: 500px !important;
}

.navbar_Edit__sytl1:focus, .navbar_Edit__sytl1:focus {
    outline: none;
}

.navbar_successAlertBox__3iytf {
    margin-left: 20px;
    padding-left: 10px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    height: 40px;
    width: 30%;
    background-color: rgba(91, 188, 115, 0.1);
    color: #5BBC73;
}

.navbar_errorAlertBox__FQknZ {
    background-color: rgba(197, 78, 48, 0.1);
    color: #C54E30;
}

.navbar_option__y3UJ1 {
    height: auto;
    width: auto;
    /* موقعیت را به Popper بسپارید */
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    font-family: Gilroy-Regular, sans-serif;
    min-width: 140px;
}

.navbar_item__8ct6v {
    font-size: 20px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-around;
    cursor: pointer;
    padding: 0.5rem 0 0.5rem 1rem;
    border-style: none none none solid;
}


.navbar_renameDivMargin__j2Zo- {
    padding-right: 6.5rem;
    margin-top: 1.4rem;
}

.navbar_deleteDivMargin__KVWby {
    padding-right: 5.2rem;
}

.navbar_editProfileMargin__8h8G5 {
    padding-right: 3.5rem;
    /*padding-top: 0.5rem;*/
    margin-bottom: 0.5rem;
}

.navbar_inRowText__mIAaO {
    width: 70%;
}

.navbar_logOutMargin__R0h3J {
    padding-right: 7.3rem;
}

.navbar_darkItem__oN076 {
    border-color: #303030;
    border-width: 4.38px;
}

.navbar_lightItem__to1ZI {
    border-color: #FFFFFF;
    border-width: 4.38px;
}

.navbar_lightItem__to1ZI:hover {
    border-width: 4.38px;
    background: rgb(232, 246, 254);
    border-color: rgb(0, 113, 197);
    border-style: none none none solid;
}

.navbar_darkItem__oN076:hover {
    border-width: 4.38px;
    background: #57626c;
    border-color: rgb(0, 113, 197);
    border-style: none none none solid;
}

.navbar_icon__\+bBoO {
    width: 24px;
    height: 24px;
    margin-left: 2px;
}

.navbar_editProfileModal__sFMFP {
    outline: none;
    display: flex;
    flex-direction: column;
    width: min(920px, 92vw);
    max-height: 90vh;
    overflow: hidden;
    border-radius: 16px;
    padding: 16px 16px 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
    position: relative;
}

.navbar_lightEditProfileModal__rXpi3 {
    background: #ffffff;
    color: #111827;
}

.navbar_darkEditProfileModal__4eCM5 {
    background: #2b2b2b;
    color: #f5f5f5;
}

.navbar_profileImg__L\+09V {
    display: flex;
    height: 100px;
    width: 100px;
    border-radius: 90px;
    margin-left: 20px;
    align-items: flex-end;
    justify-content: flex-end;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* 🎨 Wrapper جدید برای نمایش تصویر پروفایل */
.navbar_profileImageWrapper__3eiWp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
}

.navbar_profileImgDisplay__o6nmo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0071C5;
    box-shadow: 0 4px 12px rgba(0, 113, 197, 0.2);
}

.navbar_profileImgPlaceholder__IF\+Mn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f4f8 0%, #e1e8ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px dashed #ccc;
}

.navbar_profileImgLoader__zMsch {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 10px;
}

.navbar_loader__zhvYa {
    align-items: center;
    justify-content: center;
}

.navbar_editProfileIcon__5wZM1 {
    height: 30px;
    width: 30px;
    cursor: pointer;
}

.navbar_inputExtraStyle__QYiB1 {
    width: 28%;
}

.navbar_emailInputExtraStyle__v-q8r {
    width: 60%;
}

.navbar_buttonSection__myn3B {
    display: flex;
}

.navbar_crossIconDiv__zDfVk {
    display: flex;
    justify-content: flex-end;
    margin: 20px 20px 0 0;
}

.navbar_crossIcon__HxYf2 {
    height: 13px !important;
    width: 13px !important;
    cursor: pointer;
    padding: 5px;
}


.navbar_logoutModal__XrRmM {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar_logoutModalBox__cJOB4 {
    outline: none;
    margin: 0 20px 0 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 170px;
    width: 400px;
    border-radius: 6px;
}

.navbar_darkLogoutModalBox__V0Ufy {
    background-color: #303030;
}

.navbar_lightLogoutModalBox__YiV5d {
    background-color: #ffffff;
}

.navbar_cancel__SXWLO {
    margin-right: 0px !important;
}

.navbar_logoutButtonsExtraStyle__U3bFD {
    height: 40px !important;
    width: 100px !important;
    font-size: 18px;
    margin: 2px;
}

.navbar_buttonStyle__j8IPv {
    margin: 2px !important;
}

.navbar_logoutButtonsDiv__KGdXN {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    top: 50px;
    right: 5px;
}


.navbar_darkLogoutMessageModal__Lrpju {
    color: rgba(255, 255, 255, 0.5)
}

.navbar_lightLogoutMessageModal__wnp40 {
    color: rgba(0, 0, 0, 0.5);
}

.navbar_helpCenterModalBox__zxKOt {
    outline: none;
    display: flex;
    height: 69%;
    font-family: IranSans, Gilroy-Regular, sans-serif;
    width: 70%;
    border-radius: 12px;
}

.navbar_darkHelpCenterModal__syFnj {
    background-color: #303030;
}

.navbar_lightHelpCenterModal__Xqcr9 {
    background-color: white;
}

/* RTL overrides for Help Center modal */
.navbar_rtl__8y5Mv {
    direction: rtl;
    text-align: right;
}

.navbar_rtl__8y5Mv .navbar_dragAndDropDiv__1\+TuO {
    /* keep vertical separator, but add right spacing */
    padding-right: 5%;
    padding-left: 0;
}

.navbar_rtl__8y5Mv .navbar_saveAndDownloadDiv__erOBB,
.navbar_rtl__8y5Mv .navbar_connectAndDriveDiv__pJMhF {
    padding-right: 5%;
    padding-left: 0;
}

.navbar_rtl__8y5Mv .navbar_dragAndDropPara__C48HJ {
    margin-right: 10%;
    margin-left: 0;
}

.navbar_rtl__8y5Mv .navbar_saveAndDownloadDivContent__xHsiW,
.navbar_rtl__8y5Mv .navbar_connectAndDriveDivPara__tlKzh {
    padding-right: 5%;
    padding-left: 0;
}

.navbar_dragAndDropDiv__1\+TuO {
    border-right: 1px solid #D9D9D9;
    width: 35%;
    height: 100%;
    padding-left: 5%;
}

.navbar_screenDisplayImage__IGjJr {
    width: 80%;
    margin-top: 15%
}


.navbar_darkModeRightBorder__LEc\+U {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar_integerNumber__yOlPu {
    position: absolute;
    opacity: 0.05;
    font-family: Gilroy-Bold, sans-serif !important;
    font-size: 90px !important;
    font-weight: bold !important;
    line-height: 50px;
}

.navbar_helpCenterPara__4beku {
    font-size: 14px;
    font-family: IranSans, Gilroy-Regular, sans-serif !important;
}

.navbar_helpCenterCrossIconDiv__33qU2 {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
}

.navbar_saveAndDownloadDiv__erOBB {
    width: 95%;
    height: 50%;
    padding-left: 5%;
    border-bottom: 1px solid #D9D9D9;
}

.navbar_darkModeBottomBorder__kW3A\+ {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar_connectAndDriveDiv__pJMhF {
    width: 95%;
    height: 50%;
    padding-left: 5%;
}

.navbar_darkTitleModel__fL\+1V {
    background-color: #303030;
    color: #F2F2F2;
}

.navbar_lightTitleModel__Ijaj6 {
    background-color: #ffffff;
    color: #0071C5;
}

.navbar_navbarDiv__U9ijy {
    display: flex;
    background-color: rgb(0, 113, 197);
    justify-content: space-between;
    height: 5rem;
    align-items: center;
}

.navbar_navbarTitleDiv__xG9-s {
    margin-left: 4rem;
    display: flex;
    align-items: center;
}

.navbar_navbarHeadDiv__7T6bM {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.navbar_navbarIconDiv__aw33P {
    display: flex;
    align-items: center;
    margin-right: 4rem;
}

/* مرکز نوار بالا برای متن‌های صفحه خانه */
.navbar_navbarCenterDiv__9PHHh {
    flex: 1 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 12px;
}

.navbar_homeBanner__sdYEu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.navbar_homeBannerTitle__POjQx {
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #a5f3fc, #60a5fa, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 300% auto;
    animation: navbar_gradient-flow__PpuqW 6s linear infinite;
    font-size: clamp(16px, 2.8vw, 22px);
    line-height: 1.2;
}

.navbar_homeBannerSubtitle__Rqrgk {
    color: rgba(255,255,255,0.9);
    font-size: clamp(11px, 1.8vw, 14px);
}

@keyframes navbar_gradient-flow__PpuqW {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.navbar_mainIcon__tNfnw {
    height: 2.5rem;
    width: 2.5rem;
    cursor: pointer;
}

.navbar_mainTitle__joRgr {
    font-size: 1.3rem;
    font-family: Gilroy-Medium, sans-serif;
    color: rgb(255, 255, 255);
    cursor: pointer;
}

.navbar_subTitle__OJeCZ {
    font-family: Gilroy-Regular, sans-serif;
}

.navbar_infoIcon__4VGNH {
    height: 1.5rem;
    width: 1.5rem;
    cursor: pointer;
}

.navbar_darkThemeIcon__cikly {
    height: 23px;
    width: 23px;
    cursor: pointer;
}

.navbar_lightThemeIcon__Uc7mW {
    height: 23px;
    width: 23px;
    cursor: pointer;
}

.navbar_lightThemeIcon__Uc7mW:hover {
    transform: scale(1.4);
}

.navbar_darkThemeIcon__cikly:hover {
    transform: scale(1.4);
}

.navbar_lineIcon__WSX6w {
    width: 0.5%;
}

.navbar_buttonIcon__IJebd {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 4px 12px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar_iconMargin__68rVZ {
    margin: 10px;
}

.navbar_arrowMargin__09uSB {
    margin: 2px;
}

.navbar_playgroundName__NSlqO {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.navbar_cancelExtraStyle__9SuWX {
    margin-right: 15px !important;
}

.navbar_helpCentreHeader__qew6Z {
    font-family: IranSans, Gilroy-Bold, sans-serif !important;
    font-weight: 800 !important;
}


.navbar_dragAndDropDivContent__C1-jg {
    width: 80%;
    margin-top: 15%;
}

.navbar_dragAndDropPara__C48HJ {
    margin-left: 10%;
    padding-top: 8%;
}

.navbar_connectAndDriveDivPara__tlKzh {
    width: 70%;
    padding-left: 5%;
}

.navbar_saveAndDownloadDivContent__xHsiW {
    width: 70%;
    padding-left: 5%;
}

@media (max-width: 767px) {

    .navbar_navbarCenterDiv__9PHHh {
        padding: 0 6px;
    }
    .navbar_homeBannerTitle__POjQx { font-size: 16px; }
    .navbar_homeBannerSubtitle__Rqrgk { font-size: 11px; }

    .navbar_saveAndDownloadDivContent__xHsiW {
        width: 90%;
    }

    .navbar_dropdownMargin__BIoDi {
        width: 40%;
    }

    .navbar_modelHeading__qTgHh {
        font-size: 16px;
    }

    .navbar_connectAndDriveDivPara__tlKzh {
        width: 90%;
    }

    .navbar_mainTitle__joRgr {
        font-size: 1.0rem;
    }

    /* CSS styles for screens smaller than 768px */
    .navbar_navbarTitleDiv__xG9-s {
        margin-left: 1rem;
    }

    .navbar_iconMargin__68rVZ {
        margin: 0px 10px 0px -2px;
    }

    .navbar_changeThemeIcon__3tOj8 {
        margin-left: 20px;
    }

    .navbar_navbarIconDiv__aw33P {
        margin-right: 0.5rem;
    }

    .navbar_lineIcon__WSX6w {
        width: 0.7%;
    }

    .navbar_mainIcon__tNfnw {
        height: 2rem;
        width: 2rem;
    }

    .navbar_profileOptionModalStyle__Iv1jY {
        width: 9.75rem;
        padding-top: 0.5rem;
    }

    .navbar_modalText__vsrns {
        font-size: 13px;
        padding-bottom: 2px;
    }

    .navbar_modalIcon__dDoOV {
        width: 16px;
        height: 16px;
        margin-top: 5px;
    }

    .navbar_editProfileMargin__8h8G5 {
        margin-bottom: 0.2rem;
        margin-right: 2rem;
    }

    .navbar_item__8ct6v {
        padding: 0rem 1rem 0.5rem 1rem;
        justify-content: space-between;
        width: 80%;
    }

    .navbar_inRowText__mIAaO {
        width: 82%;
    }

    .navbar_logoutModalBox__cJOB4 {
        width: 80%;
        padding: 20px 20px 0px 20px;
    }

    .navbar_logoutButtonsExtraStyle__U3bFD {
        margin: 2px !important;
    }

    .navbar_cancelExtraStyle__9SuWX {
        margin-right: 10px !important;
    }

    .navbar_editProfileModal__sFMFP {
        width: 90%;
        height: 390px;
        padding-left: 2%;
    }

    .navbar_profileImg__L\+09V {
        height: 60px;
        width: 60px;
        border-radius: 100px;
        /*aspect-ratio: 1/1;*/
    }

    .navbar_profileImg__L\+09V img {
        height: 22px;
        width: 22px;
    }

    .navbar_inputExtraStyle__QYiB1 {
        width: 34.5%;
        height: 50%;
        /*margin: 20px 10px 20px 10px;*/
    }

    .navbar_emailInputExtraStyle__v-q8r {
        width: 80% !important;
    }

    .navbar_headStyle__HOr6X {
        font-size: 12px !important;
    }

    .navbar_extraInputStyle__IRKSh {
        font-size: 13px !important;
    }

    .navbar_buttonSection__myn3B {
        display: flex;
    }

    .navbar_buttonText__-Y52a {
        font-size: 13px;
    }

    .navbar_successAlertBox__3iytf {
        margin-left: 20px;
        padding-left: 10px;
        border-radius: 6px;
        height: 30px;
        width: 70%;
        background-color: rgba(91, 188, 115, 0.1);
        color: #5BBC73;
    }

    .navbar_headerStyle__VdcZP {
        font-weight: bold;
        font-size: 16px;
    }

    .navbar_option__y3UJ1 {
        height: auto;
        width: auto;
        min-width: 140px;
    }

    .navbar_option__y3UJ1 .navbar_item__8ct6v {
        font-size: 0.8rem;
        padding: 0.1rem 0 0.5rem 0 !important;
        justify-content: start;
    }

    .navbar_renameDivMargin__j2Zo- {
        margin-top: 1.2rem;
        padding-right: 1rem !important;
    }

    .navbar_renameText__ikqSQ {
        margin-left: 1rem;
    }

    .navbar_deleteText__dGHn2 {
        margin-left: 1rem;
    }

    .navbar_option__y3UJ1 .navbar_icon__\+bBoO {
        width: 18px;
        height: 18px;
        margin-left: 16px;
    }

    .navbar_darkItem__oN076 {
        border-width: 0;
    }

    .navbar_lightItem__to1ZI {
        border-width: 0;
    }

    .navbar_lightItem__to1ZI:hover {
        border-width: 0;
        background: #ffffff;
    }

    .navbar_darkItem__oN076:hover {
        border-width: 0;
        background: #303030;
    }

    /*    TODO when click on rename a blue color appears */
    .navbar_Edit__sytl1 {
        font-size: 1rem !important;
        line-height: 10px;
    }

    .navbar_helpCenterModalBox__zxKOt {
        height: 69%;
        width: 90%;
        border-radius: 5px;
    }

    .navbar_dragAndDropDiv__1\+TuO {
        width: 50%;
        padding-left: 2%;
    }

    .navbar_screenDisplayImage__IGjJr {
        width: 96%;
        height: 19%;
        margin-top: 37%;
    }

    .navbar_helpCentreRightSide__up3kM {
        width: 50%;
    }

    .navbar_integerNumber__yOlPu {
        font-size: 35px !important;
        line-height: 30px;
    }

    .navbar_helpCenterPara__4beku {
        font-size: 0.6rem !important;
    }

    .navbar_helpDetailsModelDiv__l8Tao {
        display: flex;
        flex-direction: row;
    }

    .navbar_buttonIcon__IJebd {
        font-size: 15px;
    }

    .navbar_dragAndDropDivContent__C1-jg {
        width: 95%;
    }

    .navbar_dragAndDropPara__C48HJ {
        margin-left: 6%;
    }

}

@media (max-width: 400px) and (max-height: 670px) {
    .navbar_helpCenterPara__4beku {
        font-size: 10px !important;
    }
}

/*tablet portrait mode*/
@media (min-width: 744px) and (max-width: 1024px) and (min-height: 650px) {

    .navbar_inputExtraStyle__QYiB1 {
        width: 37.5% !important;
    }

 
    .navbar_dragAndDropPara__C48HJ {
        margin-left: 6%;
        padding-top: 12%;
    }

    .navbar_navbarDiv__U9ijy {
        height: 6rem;
    }

    .navbar_navbarTitleDiv__xG9-s {
        margin-left: 1.5rem;
    }

    .navbar_navbarIconDiv__aw33P {
        margin-right: 1rem;
    }

    .navbar_mainIcon__tNfnw {
        height: 3rem;
        width: 3rem;
    }

    .navbar_mainTitle__joRgr {
        font-size: 22px;
    }

    .navbar_lineIcon__WSX6w {
        margin-right: 15px;
        margin-left: 5px;
    }

    .navbar_profileOptionModalStyle__Iv1jY {
        width: 13.75rem;
        padding-top: 1.5rem;
    }

    .navbar_item__8ct6v {
        padding: 0rem 1.5rem 0.7rem .5rem !important;
        font-size: 22px;
    }

    .navbar_modalText__vsrns {
        font-size: 16px;

    }

    .navbar_editProfileModal__sFMFP {
        width: 90%;
        height: 520px;
        padding-left: 2%;
    }

    .navbar_profileImg__L\+09V {
        height: 100px;
        width: 100px;
        border-radius: 221px;
        margin-bottom: 20px;
    }

    .navbar_profileImg__L\+09V img {
        height: 30px;
        width: 30px;
    }

    .navbar_inputExtraStyle__QYiB1 {
        width: 40%;
        height: 50%;
        /*margin: 20px 10px 20px 10px;*/
    }

    .navbar_emailInputExtraStyle__v-q8r {
        width: 80% !important;
    }

    .navbar_headStyle__HOr6X {
        font-size: 18px !important;
    }

    .navbar_extraInputStyle__IRKSh {
        font-size: 20px !important;
    }

    .navbar_helpDetailsModelDiv__l8Tao {
        display: flex;
        flex-direction: row;
    }

    .navbar_option__y3UJ1 {
        height: auto;
        width: auto;
        min-width: 140px;
    }

    .navbar_option__y3UJ1 .navbar_item__8ct6v {
        font-size: 0.8rem;
        padding: 2px 0 10px 10px !important;
        justify-content: start;
    }

    .navbar_renameText__ikqSQ {
        margin-left: 1rem;
    }

    .navbar_deleteText__dGHn2 {
        margin-left: 1rem;
    }

    .navbar_helpCenterModalBox__zxKOt {
        width: 90%;
        height: 65%;
    }

    .navbar_helpCentreRightSide__up3kM {
        width: 50%;
    }

    .navbar_dragAndDropDiv__1\+TuO {
        width: 48%;
    }

    .navbar_screenDisplayImage__IGjJr {
        /*width: 90%;*/
        /*height: 25%;*/
        margin-top: 20%;
        width: 300px;
    }

    .navbar_dragAndDropDivContent__C1-jg {
        width: 90%;
        margin-top: 25%;
    }

    .navbar_integerNumber__yOlPu {
        line-height: 100%;
    }

    .navbar_saveAndDownloadDivContent__xHsiW {
        width: 85%;
        padding-top: 8%;
    }

    .navbar_connectAndDriveDivPara__tlKzh {
        padding-top: 2%;
        width: 87%;
        padding-left: 5%;
    }

    .navbar_crossIcon__HxYf2 {
        height: 20px !important;
        width: 20px !important;
    }
}

@media only screen and (max-height: 440px) and (min-width: 400px) and (max-width: 1024px) and (orientation: landscape) {
    /* CSS rules for mobile landscape view */
    .navbar_navbarDiv__U9ijy {
        height: 4rem;
    }

    .navbar_dropdownMargin__BIoDi {
        width: 30%;
    }

    .navbar_modelHeading__qTgHh {
        font-size: 17px;
    }

    .navbar_lineIcon__WSX6w {
        width: 0.7%;
    }

    .navbar_mainTitle__joRgr {
        font-size: 16px;
    }

    .navbar_mainIcon__tNfnw {
        height: 1.8rem;
        width: 1.8rem;
    }

    .navbar_iconMargin__68rVZ {
        margin: 0px 10px 0px 0px;
    }

    .navbar_profileOptionModalStyle__Iv1jY {
        width: 13.50rem;
    }

    .navbar_item__8ct6v {
        padding-left: 0.5rem;
        font-size: 16px;
    }

    .navbar_helpCenterModalBox__zxKOt {
        margin-top: 260px;
        height: 490px;
        width: 90%;
    }

    .navbar_dragAndDropDiv__1\+TuO {
        width: 60%;
        padding-left: 2.3%;
    }

    .navbar_integerNumber__yOlPu {
        font-size: 48px !important;
        line-height: 44px;
    }

    .navbar_screenDisplayImage__IGjJr {
        width: 224px;
        height: 127px;
        margin-top: 20%;
    }

    .navbar_helpCenterPara__4beku {
        font-size: 16px !important;
    }

    .navbar_helpCentreHeader__qew6Z {
        font-family: IranSans, Gilroy-Bold, sans-serif !important;
        font-weight: bolder !important;
    }

    .navbar_editProfileModal__sFMFP {
        margin-top: 220px;
        width: 90%;
        height: 500px;
        padding-left: 2%;
    }

    .navbar_successAlertBox__3iytf {
        width: 40%;
    }

    .navbar_Edit__sytl1 {
        font-size: 1rem !important;
        line-height: 10px;
    }
    .navbar_buttonIcon__IJebd:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .navbar_avatarIcon__lyaQG {
        width: 24px;
        height: 24px;
        border-radius: 50%;
    }
    
    .navbar_iconMargin__68rVZ {
        margin: 0 4px;
    }

    .navbar_option__y3UJ1 {
        height: auto;
        width: auto;
        min-width: 140px;
    }

    .navbar_option__y3UJ1 .navbar_icon__\+bBoO {
        width: 18px;
        height: 18px;
        padding-left: 0;
    }

    .navbar_option__y3UJ1 .navbar_item__8ct6v {
        padding-left: 0;
        font-size: 14px;
    }

    .navbar_renameText__ikqSQ {
        padding-right: 13px;
    }

    .navbar_dragAndDropDivContent__C1-jg {
        width: 95%;
    }

    .navbar_dragAndDropPara__C48HJ {
        padding-top: 6%;
    }

    .navbar_connectAndDriveDivPara__tlKzh {
        width: 90%;
    }

    .navbar_saveAndDownloadDivContent__xHsiW {
        width: 90%;
    }

    .navbar_darkThemeIcon__cikly {
        height: 20px;
        width: 20px;
    }

    .navbar_lightThemeIcon__Uc7mW {
        height: 20px;
        width: 20px;
    }

    .navbar_editProfileMargin__8h8G5 {
        padding-right: 0;
    }

    .navbar_inputExtraStyle__QYiB1 {
        width: 24.4%;
    }



    /* ==================== */
    /* استایل مودال آپلود مدل */
    
.navbar_modelHeading__qTgHh {
    text-align: center;
    font-weight: 700;
    margin: 8px 0 4px;
}

/* ظرف واحد: فرم + توضیح + دکمه‌ها */
.navbar_modelContentWrapper__FZU15 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;   /* فرم، توضیح، دکمه‌ها */
    grid-gap: 16px;
    gap: 16px;
    padding: 12px;
    background: inherit;       /* یکنواخت با والد */
    overflow: auto;            /* اسکرول داخلی */
    max-height: calc(90vh - 80px);
    border-radius: 12px;
}

/* دسکتاپ: فرم و توضیحات کنار هم */
@media (min-width: 900px) {
    .navbar_modelContentWrapper__FZU15 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;  /* ردیف سوم را با grid-column می‌گیریم */
        align-items: start;
    }
    .navbar_modelFormSection__oa9mB { grid-column: 1/2; }
    .navbar_modelDescriptionSection__HmfPp { grid-column: 2/3; }
}

/* فرم */
.navbar_modelFormSection__oa9mB {
    background: inherit;
}

/* توضیحات وسط‌چین و تمیز */
.navbar_modelDescriptionSection__HmfPp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.navbar_descriptionBox__Hq-KM {
    width: 100%;
    max-width: 520px;
    padding: 12px 14px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    background: inherit;
}

/* دکمه‌ها: یک‌دست، ته ظرف، وسط */
.navbar_buttonSection__myn3B {
    grid-column: 1 / -1;       /* تمام عرض شبکه (هم موبایل هم دسکتاپ) */
    display: flex;
    gap: 12px;
    justify-content: center;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,.08);
}
  
}


.fontStyle_whiteFont__a3Mks {
    /*font-size: 18px;*/
    color: #f2f2f2;
    font-family: 'Gilroy-Regular', serif;
}

.fontStyle_blackFont__MwPd- {
    font-size: 18px;
    font-family: 'Gilroy-Regular', serif;
}

.fontStyle_BlackTextDarkFont__vTncX {
    color: #FFFFFF
}

.fontStyle_BlackTextLightFont__FKb7q {
    color: #000000;
}

.fontStyle_blueFont__5Mj\+A {
    color: #0071C5;
    font-family: 'Gilroy-Regular', serif;
}

@media (max-width: 768px) {
    .fontStyle_blackFont__MwPd-{
        font-size: 14px;
    }

    .fontStyle_blueFont__5Mj\+A {
        font-size: 14px;
    }
}
@media (min-width: 744px) and (max-width: 1024px){

    .fontStyle_blueFont__5Mj\+A {
        font-size: 18px;
    }
    .fontStyle_whiteFont__a3Mks {
        font-size: 18px;
    }
    .fontStyle_blackFont__MwPd- {
        font-size: 16px;
    }

}
.persian-date-picker {
    position: relative;
    display: inline-block;
    width: 100%;
}

.date-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    background-color: white;
    direction: rtl;
    text-align: right;
}

.date-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.calendar-popup {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px;
    direction: rtl;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 0 5px;
}

.calendar-header button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 16px;
    color: #666;
}

.calendar-header button:hover {
    background-color: #f0f0f0;
    color: #333;
}

.calendar-header span {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 2px;
    gap: 2px;
    margin-bottom: 5px;
}

.day-name {
    text-align: center;
    font-weight: bold;
    padding: 8px 4px;
    font-size: 12px;
    color: #666;
    background-color: #f8f9fa;
    border-radius: 3px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 2px;
    gap: 2px;
}

.calendar-day {
    text-align: center;
    padding: 8px 4px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.calendar-day:hover {
    background-color: #e3f2fd;
    color: #1976d2;
}

.calendar-day.selected {
    background-color: #1976d2;
    color: white;
    font-weight: bold;
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day.empty:hover {
    background-color: transparent;
    color: inherit;
}

.calendar-footer {
    margin-top: 10px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 8px;
}

.today-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s ease;
}

.today-btn:hover {
    background-color: #218838;
}

/* Dark theme support */
.darkEditProfileModal .persian-date-picker .date-input {
    background-color: #2d3748;
    border-color: #4a5568;
    color: white;
}

.darkEditProfileModal .persian-date-picker .calendar-popup {
    background-color: #2d3748;
    border-color: #4a5568;
    color: white;
}

.darkEditProfileModal .persian-date-picker .day-name {
    background-color: #4a5568;
    color: #e2e8f0;
}

.darkEditProfileModal .persian-date-picker .calendar-day:hover {
    background-color: #4a5568;
    color: #90cdf4;
}

.darkEditProfileModal .persian-date-picker .calendar-header button {
    color: #e2e8f0;
}

.darkEditProfileModal .persian-date-picker .calendar-header button:hover {
    background-color: #4a5568;
    color: white;
}

.darkEditProfileModal .persian-date-picker .calendar-header span {
    color: white;
}

.darkEditProfileModal .persian-date-picker .calendar-footer {
    border-top-color: #4a5568;
}
.buttonComponent_containedButton__xQ\+qC {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 150px;
    border-radius: 6px;
    font-family: Gilroy-SemiBold, serif;
    color: #ffffff;
    font-size: 22px;
    background: #0071C5;
    margin: 20px;
    cursor: pointer;

}

.buttonComponent_normalButton__ZAG3h {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 150px;
    border: 1px solid #0071C5;
    border-radius: 6px;
    font-family: Gilroy-SemiBold, serif;
    color: #0071C5;
    font-size: 22px;
    margin: 20px;
    cursor: pointer;
}
@media (max-width: 768px) {
    .buttonComponent_containedButton__xQ\+qC {
        height: 35px;
        width: 85px;
        font-size: 14px;
        margin: 20px 0 20px 20px;
        font-weight: 700;
    }
    .buttonComponent_normalButton__ZAG3h {
        height: 35px;
        width: 85px;
        font-size: 14px;
        margin: 20px 0px 20px 20px;
        font-weight: 700;
    }
}

@media (min-width: 744px) and (max-width: 1024px){
    .buttonComponent_containedButton__xQ\+qC {
        height: 53px;
        width: 167px;
        font-size: 18px;
        margin: 20px 0px 20px 20px;
    }
    .buttonComponent_normalButton__ZAG3h {
        height: 53px;
        width: 167px;
        font-size: 18px;
        margin: 20px 0px 20px 20px;
    }
}
.Forms_confirmDialog__ALp92 {
    background: white;
    padding: 20px;
    border-radius: 8px;
    min-width: 300px;
    direction: rtl;
}

.Forms_dialogTitle__Accei {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.Forms_dialogMessage__N0wi9 {
    margin-bottom: 20px;
}

.Forms_dialogButtons__OgbPQ {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.Forms_confirmButton__wX0L6, .Forms_cancelButton__YhdbC {
    padding: 8px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.Forms_confirmButton__wX0L6 {
    background: #007bff;
    color: white;
}

.Forms_confirmButton__wX0L6:hover {
    background: #0056b3;
}

.Forms_cancelButton__YhdbC {
    background: #6c757d;
    color: white;
}

.Forms_cancelButton__YhdbC:hover {
    background: #5a6268;
}

/* Modal Styles */
.Forms_modalContainer__uwgAn {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1300;
}

.Forms_modalContent__ueNTR {
    background: white;
    border-radius: 12px;
    padding: 24px;
    min-width: 400px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    direction: rtl;
    font-family: 'Vazir', 'Tahoma', sans-serif;
    position: relative;
}

.Forms_closeButton__l6azk {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.Forms_closeButton__l6azk:hover {
    background-color: #f5f5f5;
    color: #333;
}

/* Form Container Styles */
.Forms_formContainer__ObR9k {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.Forms_formTitle__T\+mtW {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.Forms_formField__R2bQg {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.Forms_formLabel__7T78t {
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.Forms_formInput__LnDyN {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
    direction: rtl;
}

.Forms_formInput__LnDyN:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.Forms_formInput__LnDyN.Forms_error__gMhld {
    border-color: #dc3545;
}

.Forms_errorMessage__hPlSK {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}

.Forms_formButton__0IFs- {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.Forms_primaryButton__gr8wj {
    background: #007bff;
    color: white;
}

.Forms_primaryButton__gr8wj:hover:not(:disabled) {
    background: #0056b3;
    transform: translateY(-1px);
}

.Forms_primaryButton__gr8wj:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.Forms_secondaryButton__vtZD5 {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.Forms_secondaryButton__vtZD5:hover:not(:disabled) {
    background: #007bff;
    color: white;
}

.Forms_linkButton__DyVUY {
    background: none;
    border: none;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 0;
}

.Forms_linkButton__DyVUY:hover {
    color: #0056b3;
}

.Forms_buttonGroup__Ilfea {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.Forms_buttonGroup__Ilfea .Forms_formButton__0IFs- {
    flex: 1 1;
}

/* Loading Spinner */
.Forms_loadingSpinner__zYlaX {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: Forms_spin__fyKzH 1s linear infinite;
}

@keyframes Forms_spin__fyKzH {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Countdown Display */
.Forms_countdownText__kQl2P {
    font-size: 14px;
    color: #6c757d;
    text-align: center;
    margin: 8px 0;
}

/* Phone Number Display */
.Forms_phoneDisplay__12Zho {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 16px;
    font-weight: 500;
    color: #495057;
}

/* Responsive Design */
@media (max-width: 480px) {
    .Forms_modalContent__ueNTR {
        min-width: 320px;
        padding: 16px;
        margin: 16px;
    }
    
    .Forms_formTitle__T\+mtW {
        font-size: 20px;
    }
    
    .Forms_buttonGroup__Ilfea {
        flex-direction: column;
    }
}
.subscriptionModel_planExpirationModel__hwqrd {
    outline: none;
    top: 50%;
    left: 50%;
    width: 900px;
    height: 390px;
    border-radius: 10px;
    max-height: 90vh !important; /* اضافه کردن حداکثر ارتفاع */
    overflow-y: auto !important; 
    align-items: center;
    justify-content: center;
    
    
}

.subscriptionModel_expireModel__izGM8 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.subscriptionModel_expire__v5pA\+ {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.subscriptionModel_expireMain__gVGvT{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.subscriptionModel_expireText__X-Iy7 {
    font-family: Gilroy-Medium, sans-serif;
    font-size: 18px;
    font-weight: 600;
    font-family: -apple-system, Tahoma, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.subscriptionModel_expirationDescription__FGNJJ{
    font-family: Gilroy-Medium, sans-serif;
    font-size: 13px;
}

.subscriptionModel_subscribeButton__uSp7x{
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 95%;
    height: 30px;
    font-family: Gilroy-Medium, sans-serif;
    border: none;
    color: #FFFFFF;
    border-radius: 15px;
    background-color: #0071C5;
}

.subscriptionModel_closeModelDiv__92wsQ{
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: 10px;
    margin-right: 10px
}

.subscriptionModel_plansContainer__m8QBv {
    display: flex;
    flex-direction: row;  /* تغییر به حالت افقی */
    justify-content: space-between;  /* فاصله مساوی بین پلن‌ها */
    gap: 20px;  /* فاصله بین پلن‌ها */
    margin-top: 30px;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.subscriptionModel_planCard__xh31s {
    flex: 1 1;  /* هر کارت به صورت مساوی فضا بگیرد */
    min-width: 200px;  /* حداقل عرض هر کارت */
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

/* برای موبایل، به حالت عمودی تغییر کند */
@media (max-width: 768px) {
    .subscriptionModel_plansContainer__m8QBv {
        flex-direction: column;
    }
    
    .subscriptionModel_planCard__xh31s {
        width: 90%;
    }
    .subscriptionModel_planExpirationModel__hwqrd {
        width: 90vw !important;
        min-width: 90% !important;
    }

    .subscriptionModel_plansContainer__m8QBv {
        flex-direction: column;
        margin: 20px 10px;
    }
}
.newProject_Main__JzW7F {
    min-height: 307px;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    padding-left: 7%;
    padding-top: 5.6%;
    padding-bottom: 4.3%;
}

.newProject_Heading__VDeJF {
    font-size: 25px;
    font-family: Gilroy-SemiBold, sans-serif;
    font-weight: 700;
    line-height: 30px;
    background: linear-gradient(90deg, #93c5fd, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: newProject_heading-gradient-flow__cq\+56 8s linear infinite;
    display: flex;
    align-items: center;
    gap: 10px;
}

.newProject_HeadingIcon__LtU5\+ {
    font-size: 28px;
    display: inline-block;
    filter: grayscale(0);
}

.newProject_ButtonsMessage__tzOMn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.newProject_loaderStyle__YvRXR {
    justify-content: center;
    flex-direction: row;
    align-items: center;
    padding-top: 20px;
    padding-left: 45%;
}

.newProject_Content__jUZ4b {
    margin-top: 22px;
    display: flex;
    width: 260px;
    align-items: center;
    cursor: pointer;
}

.newProject_Button__iS7hb {
    width: 260px;
    height: 160px;
    background-color: #ffffff;
    /* تعریف صریح border برای تمام طرف‌ها برای رفع مشکل RTL */
    border-top: 1.3px dashed #0071C5;
    border-right: 1.3px dashed #0071C5;
    border-bottom: 1.3px dashed #0071C5;
    border-left: 1.3px dashed #0071C5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.newProject_ButtonLight__cwlGl {
    box-shadow: rgb(0 0 0 / 13%) 0px 2px 7px;
    background-color: #f8f9fb;
    color: #202020;
}

.newProject_ButtonDark__Ic3o4 {
    box-shadow: 2px 2px 10px rgba(255, 255, 255, 0.13);
    background-color: #202020;
    color: #ffffff;
}

.newProject_AddIconImage__5xuvR {
    width: 23%;
    height: 36%;
    border: 1.5px solid #0071C5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newProject_Message__fKKH3 {
    width: 76%;
    height: 100%;
    background: #FFFFFF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Gilroy-Medium, sans-serif;
    font-size: 18px;
    line-height: 21px;
    margin-left: -1px;
    color: #292929;
    padding: 25px 25px;
}

.newProject_MessageIcon__nI\+QC {
    display: flex;
    width: 24%;
    align-items: center;
    justify-content: center;
}

.newProject_TriangleIcon__RBBg3 {
    width: 7%;
    height: 7%;
}

.newProject_plus__OHLVh {
    width: 36%;
    height: 36%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: #0071C5;
}

.newProject_model__S9dij {
    width: 694px;
    height: 343px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: rgb(0 0 0 / 25%) 0px 4px 15px;
    border-radius: 6px;
    outline: none;
}

.newProject_modelDark__hHqqB {
    background: #303030;
}

.newProject_modelLight__Y20K8 {
    background: #FFFFFF;
}

.newProject_ModelHeading__BxpH2 {
    font-family: Gilroy-SemiBold, sans-serif;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    padding: 25px 25px 20px 25px;
    justify-content: space-between;
}

.newProject_ModelHeadingDark__wlKw8 {
    color: #FFFFFF;
    border-color: #4d4c4c;
}

.newProject_ModelHeadingLight__N5zef {
    color: #000000;
    border-color: #CCCCCC;
}

.newProject_CrossIcon__niwub {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.newProject_Input__Ybeo- {
    display: flex;
    flex-direction: column;
    padding-top: 2%;
    padding-left: 4%;
    margin-bottom: 5%;
}

.newProject_label__HkVep {
    font-family: Gilroy-Medium, sans-serif;
    font-size: 18px;
    line-height: 21px;
    color: #000000;
    margin-bottom: 5%;
}

.newProject_InputArea__6p90i {
    height: 100%;
    width: 87%;
    font-family: Gilroy-Regular, sans-serif;
    padding: 13px 20px;
    font-size: 20px;
    line-height: 27px;
    border-width: 1px;
    border-color: #0071C5;
    background-color: #FFFFFF;
    color: #000000;
    border-style: solid;
    border-radius: 6px;
}

.newProject_SaveBtn__s3r5f {
    width: 21%;
    height: 14.5%;
    border-radius: 6px;
    font-family: Gilroy-SemiBold, sans-serif;
    color: #ffffff;
    font-size: 22px;
    background: #0071c5;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    margin-left: 73%;
}

.newProject_MainDark__jjGDM {
    background-color: #202020;
    color: #ffffff;
}

.newProject_MainLight__j-ZUQ {
    background-color: #f8f9fb;
    color: #202020;
}

.newProject_MessageDark__azdCC {
    background-color: #303030;
    color: #ffffff;
}

.newProject_MessageLight__2ReQF {
    background-color: #FFFFFF;
    color: #292929;
}

.newProject_inputExtraStyle__Si1YV {
    width: 90%;
    height: 75px;
}

.newProject_inputBoxMargin__bVSX3 {
    margin-top: 30px;
}


.newProject_cardContent__E4NKw {
    margin-top: 22px;
    display: flex;
    align-items: center;
}

.newProject_optionExtraStyle__biob2 {
    /* Popper جای‌گذاری را انجام می‌دهد؛ از offsets دستی اجتناب کنیم */
    z-index: 1000;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    min-width: 140px;
    width: auto;
    height: auto;
    /* پس‌زمینه/رنگ را از کلاس‌های تم (darkTitleModel/lightTitleModel) بگیریم */
}

.newProject_optionExtraStyle__biob2 .newProject_option__x8ET8 {
    padding: 8px 12px;
    border-radius: 6px;
    margin: 4px;
}

.newProject_optionExtraStyle__biob2 .newProject_item__awdov {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 4px;
    margin: 2px 4px;
    color: inherit;
}

.newProject_optionExtraStyle__biob2 .newProject_item__awdov:hover {
    background-color: #f5f5f5;
}

.newProject_optionExtraStyle__biob2 .newProject_renameText__-K1LB,
.newProject_optionExtraStyle__biob2 .newProject_deleteText__c6j2V {
    margin-right: 8px;
    font-size: 14px;
    font-weight: 500;
    color: inherit;
}

.newProject_optionExtraStyle__biob2 .newProject_item__awdov img {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

.newProject_Card__i0IxQ {
    width: 260px;
    height: 162px;
    background-color: transparent;
    border-radius: 12px;
    cursor: pointer;
    margin-right: 42px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.newProject_rowDiv__Wads0 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.newProject_lightBoxShadow__0wMRJ {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.newProject_darkBoxShadow__XmLsf {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}

/* ✨ سایه رنگی مشابه Feature Cards برای پروژه‌ها */
.newProject_Card__i0IxQ:hover {
    transform: translateY(-8px) scale(1.02);
}

/* سایه رنگی برای حالت Light Mode */
.page-root.light .newProject_Card__i0IxQ:hover {
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.35);
    border-color: rgba(59, 130, 246, 0.5);
}

/* سایه رنگی برای حالت Dark Mode */
.page-root.dark .newProject_Card__i0IxQ:hover {
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.6);
}

/* افکت glow برای پروژه‌ها */
.newProject_Card__i0IxQ::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.page-root.dark .newProject_Card__i0IxQ::before {
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.3), transparent 70%);
}

.newProject_Card__i0IxQ:hover::before {
    opacity: 0.15;
}

@keyframes newProject_heading-gradient-flow__cq\+56 {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.newProject_CardHeadingIcon__eTDAt {
    display: flex;
    margin-left: 31px;
    margin-top: 33px;
    align-items: center;
    /* Vector */
}

.newProject_CardHeading__YBkQU {
    font-family: Gilroy-SemiBold, sans-serif;
    font-weight: 600;
    font-size: 25px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
}

/* پس‌زمینه روشن‌تر برای نام پروژه‌ها بر اساس تم */
.page-root.dark .newProject_CardHeading__YBkQU {
    background: rgba(255, 255, 255, 0.08);
}
.page-root.light .newProject_CardHeading__YBkQU {
    background: rgba(0, 0, 0, 0.05);
}


.newProject_PencilIcon__646uw {
    /*background-color: red;*/
    width: 18px;
    height: 18px;
    margin: 18px 20px 0 0;
    display: inline-block;
    padding: 3px 10px 10px 10px;
    pointer-events: auto;
}

.newProject_Date__oT6qJ {
    padding-left: 31px;
    padding-top: 5px;
    font-family: Gilroy-Regular, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
}

.newProject_Description__8GEp2 {
    padding-left: 31px;
    padding-top: 3px;
    font-family: Gilroy-Regular, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #666666;
    font-style: italic;
}

.newProject_line__IjxlW {
    border: 0.5px solid;
    opacity: 0.2;
    margin: 5px 0px 0 0px;
}

.newProject_inputTitle__zneR9 {
    /*margin-left: -10px;*/
}

@media (max-width: 767px) {
    .newProject_Main__JzW7F {
        padding-left: 3.8%;
        padding-top: 12.6%;
    }

    .newProject_Heading__VDeJF {
        font-size: 16px;
        font-weight: 500;
        line-height: 21px;
    }

    .newProject_Content__jUZ4b {
        width: 50%;
    }

    .newProject_MessageIcon__nI\+QC {
        width: 50%;
        line-height: 12px;
        margin-left: -5%;
        margin-top: 20px;
    }

    .newProject_Message__fKKH3 {
        font-size: 10px;
        padding: 10px 10px;
    }

    .newProject_Button__iS7hb {
        width: 100%;
        height: 99.07px;
    }

    .newProject_cardContent__E4NKw {
        width: 50%;
        margin-top: 26px;
    }

    .newProject_Card__i0IxQ {
        width: 90%;
        height: 99.07px;
        margin-right: 0;
    }

    .newProject_CardHeadingIcon__eTDAt {
        margin-left: 15%;
        margin-top: 10%;
    }

    .newProject_CardHeading__YBkQU {
        font-weight: 600;
        font-size: 1rem !important;
    }

    .newProject_PencilIcon__646uw {
        margin: 12% 10% 0 0px;
    }

    .newProject_Date__oT6qJ {
        padding-left: 15%;
        font-size: 10px !important;
        font-weight: 200;
    }

    .newProject_Description__8GEp2 {
        padding-left: 15%;
        font-size: 9px !important;
        font-weight: 200;
        color: #888888;
    }

    .newProject_model__S9dij {
        width: 80%;
        height: 11rem;
        padding: 18px 20px 0px 20px;
    }

    .newProject_ModelHeading__BxpH2 {
        padding: 5px 5px 5px 5px;
        font-size: 15px;
    }

    .newProject_CrossIcon__niwub {
        width: 12px;
        height: 12px;
        margin-left: 10px;
    }

    .newProject_line__IjxlW {
        border: 0.5px solid;
        opacity: 0.2;
        margin: 5px -20px 0 -20px;
    }

    .newProject_Input__Ybeo- {
        padding-top: 10px;
        padding-left: 0%;
        margin: -20px;
    }

    .newProject_inputTitle__zneR9 {
        /*margin-left: -10px;*/
    }

    .newProject_inputExtraStyle__Si1YV {
        height: 50px;
        width: 80%;
    }

    .newProject_extraInputStyle__MAsQ0 {
        font-size: 13px !important;
    }

    .newProject_SaveBtn__s3r5f {
        width: 150px;
        height: 30px;
        font-size: 14px;
        margin-left: 62%;
        font-family: Gilroy-Regular, sans-serif;
    }

    .newProject_creatButton__5KHid {
        width: 91%;
        margin-top: 35px;
        display: flex;
    }

    .newProject_iosButton__YnCIx {
        width: 91%;
        margin-top: 35px;
        display: flex;
    }

    .newProject_androidButton__DLrSI {
        width: 91%;
        margin-top: 35px;
        display: flex;
    }

    .newProject_inputBoxMargin__bVSX3 {
        margin-top: 15px;
    }
}

/* ===================== RTL Overrides ===================== */
.rtl .newProject_Main__JzW7F {
    padding-right: 7%;
    padding-left: 0;
    align-items: flex-end;
}

.rtl .newProject_Heading__VDeJF {
    align-self: flex-end;
    text-align: right;
    width: 100%;
}

/* افزایش اختصاصیت برای اطمینان از راست‌چین‌شدن تیتر در صفحات RTL */
.rtl .newProject_content-container__5i0Ys .newProject_Heading__VDeJF {
    align-self: flex-end !important;
    text-align: right !important;
    width: 100% !important;
    margin-right: 0 !important;
}

.rtl .newProject_ButtonsMessage__tzOMn {
    justify-content: flex-end;
}

.rtl .newProject_Card__i0IxQ {
    margin-left: 42px;
    margin-right: 0;
}

.rtl .newProject_CardHeadingIcon__eTDAt {
    margin-right: 31px;
    margin-left: 0;
}

.rtl .newProject_PencilIcon__646uw {
    /* جابه‌جایی آیکن سه‌نقطه به لبه مخالف در RTL */
    margin: 18px 0 0 20px;
}

.rtl .newProject_Date__oT6qJ,
.rtl .newProject_Description__8GEp2 {
    padding-right: 31px;
    padding-left: 0;
    text-align: right;
}

@media (max-width: 767px) {
    .rtl .newProject_Card__i0IxQ {
        margin-left: 0;
    }
    .rtl .newProject_CardHeadingIcon__eTDAt {
        margin-right: 15%;
        margin-left: 0;
    }
    .rtl .newProject_Date__oT6qJ,
    .rtl .newProject_Description__8GEp2 {
        padding-right: 15%;
        padding-left: 0;
    }
}


/*tablet portrait mode*/
@media (min-width: 744px) and (max-width: 1024px) {
    .newProject_Main__JzW7F {
        padding-left: 3.8%;
        padding-top: 12.6%;
    }

    .newProject_Button__iS7hb {
        width: 100%;
        height: 140px;
    }

    .newProject_MessageIcon__nI\+QC {
        width: 45%;
        margin-top: 3%;
        margin-left: -3%;
    }

    .newProject_Message__fKKH3 {
        font-size: 12px;
        padding: 10px 2px;
        margin-left: -15px;
    }

    .newProject_cardContent__E4NKw {
        width: 33%;
    }

    .newProject_Card__i0IxQ {
        width: 100%;
        height: 140px;
    }

    .newProject_Content__jUZ4b {
        width: 33%;
    }

    .newProject_SaveBtn__s3r5f {
        width: 150px;
        padding: 0.5rem;
        margin-left: 70%;
    }
}

@media only screen and (min-width: 350px) and (max-width: 1024px) and (orientation: landscape) {

    .newProject_Card__i0IxQ {
        width: 100%;
        height: 130px;
        margin-right: 42px;
    }

    .newProject_cardContent__E4NKw {
        width: 33%;
    }

    .newProject_Button__iS7hb {
        width: 100%;
        height: 130px;
    }

    .newProject_Content__jUZ4b {
        width: 33%;
    }

    .newProject_AddIconImage__5xuvR {
        width: 18%;
        height: 30%;
    }

    .newProject_CardHeading__YBkQU {
        font-weight: 600;
        font-size: 1rem !important;
    }

    .newProject_ModelHeading__BxpH2 {
        font-size: 15px;
        padding: 2px 2px 10px 2px;
    }

    .newProject_CrossIcon__niwub {
        width: 14px;
        height: 14px;
        margin-right: 10px;
    }

    .newProject_inputExtraStyle__Si1YV {
        height: 50px;
        width: 80%;
    }

    .newProject_inputBoxMargin__bVSX3 {
        margin-top: 15px;
    }

    .newProject_SaveBtn__s3r5f {
        width: 100px;
        height: 30px;
        font-size: 14px;
        font-family: Gilroy-Medium, sans-serif;
    }

    .newProject_model__S9dij {
        width: 50%;
        height: 13rem;
        padding: 18px 20px 0px 20px;
    }

    .newProject_androidButton__DLrSI {
        width: 84%;
    }

    .newProject_iosButton__YnCIx {
        width: 100%;
    }

    .newProject_creatButton__5KHid {
        width: 91%;
    }

    .newProject_line__IjxlW {
        margin: 5px -20px 0 -20px;
    }

}
.inputComponent_mainDiv__013TP {
    margin: 20px;
}

.inputComponent_inputSection__l78Zo {
    background-color: transparent;
    font-family: Gilroy-Regular, sans-serif;
    font-size: 20px;
    height: 96%;
    width: 100%;
    border: none;
    border-radius: 6px;
    padding: 0 10px;
    outline: none;
}

.inputComponent_inputBorder__FhR6m {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70%;
    width: 100%;
    border: 1px solid rgba(0, 113, 197, 0.4);
    border-radius: 6px;
}

.inputComponent_extensionName__\+8QRC {
    padding-right: 13%;
    font-family: Gilroy-Regular, sans-serif;
    font-size: 18px;
}

.inputComponent_dropdownItem__CTXmD {
    font-family: Gilroy-Regular, sans-serif;
    font-size: 17px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}



/* 🎨 Wrapper برای کل carousel */
.carousel_carouselWrapper__BctgU {
    position: relative;
    width: 100%;
    overflow: visible;
}

/* 🎨 Simple Carousel Wrapper */
.carousel_simpleCarouselWrapper__VGbPQ {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 10px 0;
    box-sizing: border-box;
}

/* Container برای تصویر */
.carousel_imageContainer__x82tK {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    max-width: 40%;
    padding-left: 3%;
}

/* Placeholder اگه تصویر نبود */
.carousel_imagePlaceholder__0wwd0 {
    width: 300px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 113, 197, 0.1);
    border-radius: 16px;
    font-size: 48px;
}

/* دکمه‌های Navigation */
.carousel_navBtn__GS6o3 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 113, 197, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.carousel_Content__vrR65:hover .carousel_navBtn__GS6o3 {
    opacity: 1;
}

.carousel_navBtn__GS6o3:hover {
    background: rgba(0, 113, 197, 1);
    transform: translateY(-50%) scale(1.1);
}

/* RTL: دکمه قبلی سمت راست، دکمه بعدی سمت چپ */
.carousel_prevBtn__A2tdD {
    right: 10px; /* سمت راست (RTL) */
}

.carousel_nextBtn__X02cY {
    left: 10px; /* سمت چپ (RTL) */
}

/* Pagination Dots */
.carousel_paginationDots__Z-ZCL {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding: 10px 0;
}

.carousel_dot__m06S2 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel_dot__m06S2:hover {
    background: #9ca3af;
    transform: scale(1.2);
}

.carousel_dotActive__lXlfM {
    background: #0071C5;
    width: 32px;
    border-radius: 6px;
}

.carousel_Content__vrR65 {
    justify-content: space-between;
    display: flex;
    /* جلوگیری از collapse ارتفاع در carousel */
    height: auto;
    min-height: 320px;
    width: 100%;
    max-width: 100%;
    padding: 40px 5%;
    align-items: center;
    /* RTL: راست‌چین */
    direction: rtl;
    flex-direction: row-reverse;
    /* 🎨 استایل زیبا برای پس‌زمینه */
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

/* 🎨 حالت Dark با گرادیانت زیبا */
.carousel_darkBg__6KUS7 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.carousel_darkBg__6KUS7:hover {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 50%, #1a1a2e 100%);
    box-shadow: 0 12px 48px rgba(0, 113, 197, 0.3);
    transform: translateY(-2px);
}

/* 🎨 حالت Light با گرادیانت ملایم */
.carousel_lightBg__-JuSQ {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 50%, #e1e8ed 100%);
    box-shadow: 0 8px 32px rgba(0, 113, 197, 0.1);
}

.carousel_lightBg__-JuSQ:hover {
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 50%, #e8f0f7 100%);
    box-shadow: 0 12px 48px rgba(0, 113, 197, 0.2);
    transform: translateY(-2px);
}

.carousel_HeadingContent__BsrE2 {
    display: flex;
    flex-direction: column;
    /* RTL: راست‌چین */
    align-items: flex-end;
    gap: 30px;
    margin: 0;
    padding-right: 3%;
    transition: transform 0.3s ease;
    flex: 1 1;
    max-width: 55%;
    z-index: 1;
}

.carousel_Content__vrR65:hover .carousel_HeadingContent__BsrE2 {
    transform: translateX(-3px);
}

.carousel_DragAndDropHeading__HpC59 {
    font-family: 'Gilroy-SemiBold', serif;
    font-size: 24px;
    line-height: 32px;
    color: #000000;
    /* RTL: راست‌چین */
    text-align: right;
    direction: rtl;
    /* 🎨 افکت زیبا */
    position: relative;
    padding-bottom: 8px;
}

/* خط زیر عنوان */
.carousel_DragAndDropHeading__HpC59::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0071C5, #00A8E8);
    transition: width 0.4s ease;
    border-radius: 2px;
}

.carousel_Content__vrR65:hover .carousel_DragAndDropHeading__HpC59::after {
    width: 60%;
}

.carousel_DragAndDropContent__IUjJ7 {
    font-family: 'Gilroy-Regular', serif;
    font-size: 17px;
    line-height: 28px;
    color: #000000;
    /* RTL: راست‌چین */
    text-align: right;
    direction: rtl;
    /* 🎨 فاصله بهتر */
    width: 100%;
    max-width: 500px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.carousel_Content__vrR65:hover .carousel_DragAndDropContent__IUjJ7 {
    opacity: 1;
}

.carousel_ImageDrag__4xTy7 {
    padding-top: 50px;
    /* 🎨 افکت hover برای تصویر */
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.95);
    display: block;
}

.carousel_Content__vrR65:hover .carousel_ImageDrag__4xTy7 {
    transform: scale(1.05);
    filter: brightness(1);
}

.carousel_videoStyle__r7V02{
    width: 100% !important;
    max-width: 350px;
    min-width: 250px;
    height: auto !important;
    /* 🎨 گوشه‌های گرد بیشتر */
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: block;
    object-fit: contain;
    z-index: 1;
}

.carousel_Content__vrR65:hover .carousel_videoStyle__r7V02 {
    box-shadow: 0 8px 24px rgba(0, 113, 197, 0.3);
}

.carousel_ImageSave__iJncG {
    width: 35.5% !important;
    height: 374px;
}

.carousel_MainDark__yTW8x {
    color: #FFFFFF;
    /* 🎨 سایه متن برای خوانایی بهتر */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel_MainLight__aD74q {
    color: #1a1a2e;
    /* 🎨 سایه ملایم */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.carousel_loading__YMLkX {
    width: 100%;
    margin-top: 27%;
    display: flex;
    justify-content: center;
}

.carousel_spin__whYxv {
    animation: carousel_spin__whYxv 1ms 1;
    margin-top: 15px;
    padding-right: 2px;
    color: #333e48;
}

.carousel .control-dots {
    /* جایگاه شاخص اسلایدها داخل کادر اسلایدر */
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px !important;
    display: flex !important;
    background: transparent !important;
    margin: 0 !important;
    height: auto;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.carousel .control-dots .dot {
    width: 10px !important;
    height: 10px !important;
    background-color: #0071C5 !important;
    box-shadow: none !important;
}

.carousel .thumbs-wrapper {
    display: none;
}

.carousel .control-arrow {
    display: none;
}

.carousel .carousel-status {
    display: none;
}

.carousel .carousel-slider {
    /* حفظ رفتار پیش‌فرض برای حرکت نرم اسلایدها */
    overflow: hidden !important;
    position: relative; /* برای جای‌گذاری کنترل‌دات‌ها */
}

.carousel .slider-wrapper,
.carousel .slider {
    /* تضمین ارتفاع کافی برای رندر محتوای داخلی */
    min-height: 280px;
    height: auto;
}

/* بهبود ظاهر اسلایدها با گوشه‌های گرد و سایه */
.carousel .slide {
    /* تضمین ارتفاع قابل‌نمایش برای محتوای اسلاید */
    min-height: 280px;
    display: flex;
    align-items: center;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

.carousel_ImageDrag__4xTy7,
.carousel_ImageSave__iJncG,
.carousel_videoStyle__r7V02 {
    border-radius: 12px;
}

.carousel_carousel__PskEy .carousel_control-dots__SOLg7 .carousel_dot__m06S2{
    margin: 0 8px;
}

@media (max-width: 979px) {
    .carousel_Content__vrR65 {
        flex-direction: column;
        padding: 30px 4%;
        /* حفظ RTL در موبایل */
        direction: rtl;
        min-height: 400px;
        overflow: hidden;
    }

    .carousel_HeadingContent__BsrE2 {
        gap: 20px;
        margin: 0;
        padding: 0 2%;
        /* مرکز چین کردن در موبایل */
        align-items: center;
        max-width: 100%;
        width: 100%;
    }

    .carousel_Content__vrR65:hover .carousel_HeadingContent__BsrE2 {
        transform: translateX(0);
    }

    .carousel_DragAndDropHeading__HpC59 {
        font-size: 1.2rem;
        line-height: 28px;
        text-align: center;
    }

    .carousel_DragAndDropContent__IUjJ7 {
        font-size: 15px;
        line-height: 24px;
        width: 100%;
        max-width: 100%;
        /* مرکز چین در موبایل */
        text-align: center;
    }

    .carousel_ImageDrag__4xTy7 {
        padding-top: 30px;
    }

    .carousel_imageContainer__x82tK {
        max-width: 100%;
        padding: 0;
    }

    .carousel .slide {
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }

    .carousel_videoStyle__r7V02 {
        width: 70% !important;
        max-width: 300px;
        min-width: 200px;
        margin: 0 auto;
    }

    /* دکمه‌های navigation در موبایل */
    .carousel_navBtn__GS6o3 {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .carousel_prevBtn__A2tdD {
        right: 5px;
    }

    .carousel_nextBtn__X02cY {
        left: 5px;
    }

    .carousel .control-dots .dot {
        width: 8px !important;
        height: 8px !important;
    }
}


/*tablet portrait mode*/
@media (min-width: 744px) and (max-width: 800px){
    .carousel_DragAndDropHeading__HpC59{
        font-size: 22px;
    }
    .carousel_DragAndDropContent__IUjJ7{
        font-size: 18px;
    }
}

/* ===================== RTL Support ===================== */
/* الان همه چیز به صورت پیش‌فرض RTL است ✅ */
.cookies_main__J-PTq {
    width: 88% !important;
    height: 164px !important;
    border-radius: 20px !important;
    box-shadow: 0px 14px 42px rgba(8, 15, 52, 0.06);
    left: 87px !important;
    bottom: 37px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 100px;
}

.cookies_mainDark__upi6x {
    background-color: #303030 !important;
    border: none;
}

.cookies_mainLight__HZnwj {
    background-color: #FFFFFF !important;
    border: 1px solid #D9DBE9;
}

.cookies_ContentAndImage__mj\+P5 {
    font-family: 'Gilroy-Regular', serif;
    font-size: 18px;
    line-height: 30px;
    margin: 0px !important;
    display: flex;
    flex: 0 1 auto !important;
    padding-left: 48px;
    gap: 22px;
    width: 735px;
}

.cookies_ContentAndImageLight__Jwq-W {
    color: #6F6C90;
}

.cookies_ContentAndImageDark__wLbVF {
    color: #FFFFFF;
}

.cookies_cookieImage__uiKGH {
    width: 68px;
    height: 68px;
}

.cookies_buttonWrapper__jG-\+q {
    display: flex;
    flex-direction: row-reverse;
}

.cookies_iosButtonDiv__Ww4am{
    display: flex;
    flex-direction: row-reverse;
}

.cookies_androidButtonDiv__Nh5BQ{
    display: flex;
    flex-direction: row-reverse;
}

.cookies_acceptButton__dPoFf {
    width: 185px;
    height: 54px;
    background: #0071C5 !important;
    box-shadow: 0px 3px 12px rgba(74, 58, 255, 0.18) !important;
    border-radius: 7px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0px !important;
    margin: 10px !important;
}

.cookies_declineButton__il4fz {
    width: 107px;
    height: 54px;
    border-radius: 7px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0px !important;
    margin: 10px !important;
}

.cookies_declineButtonDark__81Ima {
    background: #303030 !important;
    border: 1px solid #EFF0F7 !important;

}

.cookies_declineButtonLight__UurT9 {
    background: #FFFFFF !important;
    box-shadow: 0px 3px 12px rgba(74, 58, 255, 0.18) !important;
}

.cookies_btnDeclineText__rZR7g {
    font-family: 'Gilroy-Medium', serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 18px;

}

.cookies_btnDeclineTextDark__CGTDr {
    color: #FFFFFF;
}

.cookies_btnDeclineTextLight__tAtid {
    color: #0071C5;
}

.cookies_btnText__aHcdT {
    font-family: 'Gilroy-Medium', serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 18px;
    color: #FFFFFF;
}

.cookies_btnImage__9jIw5 {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .cookies_main__J-PTq {
        width: 92% !important;
        left: 16px !important;
        right: 20px !important;
        height: 180px !important;
        gap: 10px;
    }

    .cookies_ContentAndImage__mj\+P5 {
        font-size: 10px !important;
        line-height: 20px;
        padding: 20px 20px 0px 20px;
        gap: 20px;
    }

    .cookies_cookieImage__uiKGH {
        width: 35px;
        height: 35px;
    }

    .cookies_acceptButton__dPoFf {
        width: 42%;
        height: 38px;
    }

    .cookies_btnText__aHcdT {
        font-size: 12px;
    }

    .cookies_declineButton__il4fz {
        width: 42%;
        height: 38px;
    }

    .cookies_btnDeclineText__rZR7g {
        font-size: 12px;
    }

    .cookies_buttonWrapper__jG-\+q {
        margin: 0px 10px 10px 15px;
        padding-right: 20px;
        width: 100%;
    }
    .cookies_iosButtonDiv__Ww4am{
        margin: 0px 10px 10px 15px;
        padding-right: 20px;
        width: 100%;
    }
    .cookies_androidButtonDiv__Nh5BQ{
        margin: 0px 10px 10px 15px;
        padding-right: 20px;
        width: 100%;
    }
}

@media only screen and (max-height: 440px) and (min-width: 400px) and (max-width: 1024px) and (orientation: landscape) {
    .cookies_main__J-PTq {
        left: 4% !important;
    }

    .cookies_ContentAndImage__mj\+P5 {
        padding: 20px 0 0 30px;
        width:90% ;
    }

    .cookies_cookieImage__uiKGH {
        width: 40px;
        height: 40px;
    }

    .cookies_buttonWrapper__jG-\+q {
    }

    .cookies_iosButtonDiv__Ww4am{
        margin: -20px 0 0 0;
    }

    .cookies_androidButtonDiv__Nh5BQ{
        margin: -110px 0 0 80px;

    }

    .cookies_btnText__aHcdT {
        font-size: 12px;
    }
}

/* RTL support */
.cookies_rtlMain__ovLcu { right: 87px !important; left: auto !important; }
.cookies_rtlContent__gAwts { direction: rtl; text-align: right; padding-right: 48px; padding-left: 0; }

@media (max-width: 768px) {
  .cookies_rtlMain__ovLcu { right: 16px !important; left: 20px !important; }
  .cookies_rtlContent__gAwts { padding: 20px 20px 0 20px; }
}

/* ===========================================================
   Enhanced Visual Theme for CarBot Playground
   Suitable for kids, teens & young learners
   Preserves layout and structure 100%
   =========================================================== */

:root {
  --container-max: 1100px;
  --radius: 16px;
  --shadow-elevated: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===================== Base Layout ===================== */
.page-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background 0.6s ease, color 0.3s ease;
}

/* Decorative soft radial accents */
.page-root::before,
.page-root::after {
  content: "";
  position: absolute;
  width: 65vmax;
  height: 65vmax;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.3;
  z-index: 0;
}

/* ===================== LIGHT MODE ===================== */
.page-root.light {
  /* گرادیانت چندلایه با رنگ‌های نرم و زیبا */
  background: radial-gradient(circle at 30% 20%, rgba(147, 197, 253, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(199, 210, 254, 0.25) 0%, transparent 50%),
              linear-gradient(135deg, #f8fafc 0%, #e0f2fe 40%, #dbeafe 70%, #ede9fe 100%);
  color: #1e293b;
  background-attachment: fixed;
}
.page-root.light::before {
  background: radial-gradient(circle at 25% 15%, rgba(96, 165, 250, 0.25), transparent 70%);
  top: -25vmax;
  left: -25vmax;
  animation: float-light 14s ease-in-out infinite alternate;
}
.page-root.light::after {
  background: radial-gradient(circle at 85% 85%, rgba(196, 181, 253, 0.2), transparent 70%);
  bottom: -25vmax;
  right: -25vmax;
  animation: float-light 18s ease-in-out infinite alternate;
}

/* ===================== DARK MODE ===================== */
/* ===================== DARK MODE (Refined Gradient & Depth) ===================== */
.page-root.dark {
  /* گرادیانت چندلایه با عمق بیشتر و رنگ‌های زیبا */
  background: radial-gradient(circle at 25% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 75% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
              linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #334155 80%, #1e293b 100%);
  color: #e2e8f0;
  background-attachment: fixed;
  background-size: cover;
}

/* نقاط نورانی (soft accent) با رنگ‌های جذاب‌تر */
.page-root.dark::before {
  background: radial-gradient(circle at 15% 10%, rgba(59, 130, 246, 0.18), transparent 70%);
  top: -20vmax;
  left: -25vmax;
  animation: float-dark 16s ease-in-out infinite alternate;
}

.page-root.dark::after {
  background: radial-gradient(circle at 80% 85%, rgba(139, 92, 246, 0.15), transparent 70%);
  bottom: -20vmax;
  right: -25vmax;
  animation: float-dark 20s ease-in-out infinite alternate;
}

/* انیمیشن ملایم */
@keyframes float-dark {
  0% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(15px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.9; }
}


/* Floating animations */
@keyframes float-light {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}
@keyframes float-dark {
  0% { transform: translateY(0); }
  50% { transform: translateY(15px); }
  100% { transform: translateY(0); }
}

/* ===================== Content Area ===================== */
.content-container {
  width: 100%;
  max-width: 1100px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px 20px 40px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

/* فاصله‌گذاری یکنواخت بین سکشن‌ها */
.section-spaced { margin: 18px 0; }

/* Utilities برای ستون‌بندی با فاصله */
.stack-gap-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-gap-24 { display: flex; flex-direction: column; gap: 24px; }

/* ===================== Hero Section ===================== */
.hero {
  text-align: center;
  margin: 20px auto 30px;
}
.hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 300% auto;
  animation: gradient-flow 6s linear infinite;
}
@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-subtitle {
  font-size: clamp(14px, 2.2vw, 18px);
  opacity: 0.85;
}
.page-root.dark .hero-subtitle { color: #cbd5e1; }
.page-root.light .hero-subtitle { color: #334155; }

/* ===================== Section Cards ===================== */
.section-card {
  border-radius: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
          backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  box-shadow: var(--shadow-elevated);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Light Mode: پس‌زمینه سفید ناب برای حذف کنتراست */
.page-root.light .section-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(203, 213, 225, 0.3);
  box-shadow: 0 4px 20px rgba(100, 116, 139, 0.08);
}

.page-root.dark .section-card {
  background: rgba(28, 31, 38, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-card:hover {
  transform: translateY(-3px);
}

.page-root.light .section-card:hover {
  box-shadow: 0 8px 28px rgba(100, 116, 139, 0.12);
}

.page-root.dark .section-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* ===================== Playground Layout ===================== */
.playground-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.playground-workspace {
  min-height: 60vh;
  padding: 12px;
}
.blockly-host {
  width: 100%;
  height: calc(70vh);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
}
.page-root.light .blockly-host {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.08);
}

/* ===================== Buttons ===================== */
.toggle-btn {
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 600;
  color: white;
  background: linear-gradient(90deg, #3b82f6, #22c55e);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, transform 0.3s ease;
}
.toggle-btn:hover {
  background: linear-gradient(90deg, #2563eb, #16a34a);
  transform: translateY(-2px);
}

/* ===================== Code Panel ===================== */
.code-panel-fixed {
  position: fixed;
  top: 5rem;
  bottom: 4.4rem;
  right: 0;
  width: clamp(340px, 34vw, 560px);
  border-radius: 12px 0 0 12px;
  overflow: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  box-shadow: var(--shadow-elevated);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-left: 1px solid rgba(0,0,0,0.08);
  transform: translateX(100%);
  transition: transform 240ms ease;
  z-index: 15;
}
.page-root.dark .code-panel-fixed {
  background: rgba(26,28,33,0.88);
  border-left-color: rgba(255,255,255,0.08);
}
.code-panel-open { transform: translateX(0); }
.code-panel-fixed pre {
  margin: 0;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #0f172a;
}
.page-root.dark .code-panel-fixed pre { color: #cbd5e1; }

/* ===================== Code Toggle Rail ===================== */
.code-toggle-rail {
  position: fixed;
  top: 50%;
  right: 0; /* dock to the right edge when panel is hidden */
  transform: translateY(-50%);
  width: 28px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px 0 0 10px;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
          backdrop-filter: saturate(160%) blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  box-shadow: var(--shadow-elevated);
  z-index: 21;
}
.code-toggle-rail.open { right: clamp(340px, 34vw, 560px); } /* align to panel edge when open */
.page-root.dark .code-toggle-rail { background: rgba(30,32,37,0.75); }

.toggle-vertical-btn {
  border: none;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(180deg, #3b82f6, #22c55e);
  font-size: 18px;
}
.toggle-vertical-btn:hover {
  background: linear-gradient(180deg, #2563eb, #16a34a);
}

/* ===================== Floating Controls ===================== */
.controls-bar {
  position: fixed;
  top: 4.5rem;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.8);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
          backdrop-filter: saturate(160%) blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  box-shadow: var(--shadow-elevated);
  z-index: 20;
  transition: var(--transition);
}
.page-root.dark .controls-bar {
  background: rgba(30,32,37,0.75);
}

/* ===================== Responsive ===================== */
@media (max-width: 768px) {
  .content-container { padding: 16px 14px 32px; }
  .blockly-host { height: 60vh; }
}

/* ===================== Extras ===================== */
.playground-bg.light {
  background: #eef3f9;
}
.playground-bg.dark {
  background: #161a20;
}


/* ==========================================================
   Visible Gradient Background for Dark Mode
   (applied directly on #blocklyDiv for visual impact)
   ========================================================== */

.page-root.dark #blocklyDiv {
  background: linear-gradient(145deg, #0f141a 0%, #1c2230 40%, #252c3a 100%);
  background-attachment: fixed;
  transition: background 0.6s ease-in-out;
}

/* جلوه‌های نوری ملایم در گوشه‌ها */
.page-root.dark #blocklyDiv::before,
.page-root.dark #blocklyDiv::after {
  content: "";
  position: absolute;
  width: 50vmax;
  height: 50vmax;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  z-index: 0;
}

.page-root.dark #blocklyDiv::before {
  background: radial-gradient(circle at 20% 10%, rgba(0, 180, 255, 0.3), transparent 70%);
  top: -20vmax;
  left: -20vmax;
  animation: softMove 18s ease-in-out infinite alternate;
}

.page-root.dark #blocklyDiv::after {
  background: radial-gradient(circle at 80% 85%, rgba(80, 255, 160, 0.25), transparent 70%);
  bottom: -20vmax;
  right: -20vmax;
  animation: softMove 24s ease-in-out infinite alternate;
}

@keyframes softMove {
  0% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(-15px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.8; }
}



.page-root.dark #blocklyDiv {
  background: linear-gradient(135deg, #10151c 0%, #1c2430 40%, #262f3c 100%) !important;
  background-attachment: fixed !important;
}

/* ===================== RTL Utility ===================== */
.rtl {
  direction: rtl;
  text-align: right;
}
.rtl .section-card,
.rtl .hero,
.rtl .hero-subtitle {
  text-align: right;
}

/* =================================================================
   Modern Home Page Styles - Vibrant & Engaging for Young Learners
   ================================================================= */

.home-modern {
  position: relative;
  overflow-x: hidden;
}

/* ================== Hero Section ================== */
.hero-section {
  position: relative;
  padding: 80px 20px 60px;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2));
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  margin-bottom: 24px;
  animation: badge-float 3s ease-in-out infinite;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.page-root.dark .hero-badge {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(168, 85, 247, 0.15));
  border-color: rgba(255, 255, 255, 0.1);
}

.badge-emoji {
  font-size: 24px;
  animation: rotate-emoji 4s linear infinite;
}

.badge-text {
  font-size: 14px;
  font-weight: 600;
  color: #3b82f6;
}

.page-root.dark .badge-text {
  color: #60a5fa;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes rotate-emoji {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(10deg); }
  100% { transform: rotate(0deg); }
}

/* Hero Title */
.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.title-gradient {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.title-text {
  color: #1e293b;
}

.page-root.dark .title-text {
  color: #f1f5f9;
}

.title-emoji {
  font-size: clamp(40px, 6vw, 64px);
  display: inline-block;
  animation: bounce-emoji 2s ease-in-out infinite;
}

@keyframes bounce-emoji {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.title-highlight {
  position: relative;
  color: #8b5cf6;
  font-weight: 900;
}

.page-root.dark .title-highlight {
  color: #a78bfa;
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.6;
  margin: 0 0 40px;
  opacity: 0.9;
}

.page-root.light .hero-subtitle {
  color: #475569;
}

.page-root.dark .hero-subtitle {
  color: #cbd5e1;
}

.subtitle-highlight {
  font-weight: 700;
  background: linear-gradient(135deg, #22c55e, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ================== Hero Stats ================== */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.stats-card {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 20px 30px;
  min-width: 140px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-root.dark .stats-card {
  background: rgba(30, 35, 45, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

.stats-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3);
}

.stats-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.stats-value {
  font-size: 28px;
  font-weight: 900;
  color: #3b82f6;
  margin-bottom: 4px;
}

.page-root.dark .stats-value {
  color: #60a5fa;
}

.stats-label {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.7;
}

/* ================== Floating Shapes ================== */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
}

.page-root.dark .shape {
  opacity: 0.1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  top: -100px;
  left: -100px;
  animation: float-shape 20s ease-in-out infinite;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #ec4899, #f59e0b);
  top: 50%;
  right: -80px;
  animation: float-shape 25s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #06b6d4, #22c55e);
  bottom: -50px;
  left: 20%;
  animation: float-shape 18s ease-in-out infinite;
}

.shape-4 {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  top: 20%;
  right: 15%;
  animation: float-shape 22s ease-in-out infinite reverse;
}

@keyframes float-shape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -30px) rotate(90deg); }
  50% { transform: translate(-20px, 20px) rotate(180deg); }
  75% { transform: translate(40px, 10px) rotate(270deg); }
}

/* ================== Features Grid ================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin: 40px 0;
}

/* برای 6 کارت، در صفحات بزرگ 3 ستون */
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* برای تبلت، 2 ستون */
@media (min-width: 768px) and (max-width: 1023px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.page-root.dark .feature-card {
  background: rgba(30, 35, 45, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.3);
  box-shadow: 0 16px 48px var(--feature-color, rgba(59, 130, 246, 0.3));
  border-color: #3b82f6;
  border-color: var(--feature-color, #3b82f6);
}

.feature-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, #3b82f6, transparent 70%);
  background: radial-gradient(circle at 50% 0%, var(--feature-color, #3b82f6), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover .feature-glow {
  opacity: 0.15;
}

.feature-icon {
  font-size: 56px;
  margin-bottom: 16px;
  display: inline-block;
  animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.feature-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #1e293b;
}

.page-root.dark .feature-title {
  color: #f1f5f9;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.8;
}

/* ================== Section Headers ================== */
.section-header {
  margin-bottom: 24px;
  text-align: center;
}

.section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.title-icon {
  font-size: 1.3em;
  display: inline-block;
  animation: icon-wiggle 2s ease-in-out infinite;
}

@keyframes icon-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(15deg); }
}

.section-desc {
  font-size: 16px;
  margin: 0;
  opacity: 0.7;
}

/* ================== Enhanced Sections ================== */
.carousel-wrapper,
.projects-wrapper {
  padding: 32px;
}

/* ================== Quick Actions ================== */
.quick-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #3b82f6;
  background: var(--action-color, #3b82f6);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.quick-action-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.quick-action-btn:hover::before {
  width: 300px;
  height: 300px;
}

.quick-action-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px var(--action-color);
}

.action-icon {
  font-size: 24px;
  position: relative;
  z-index: 1;
}

.action-label {
  position: relative;
  z-index: 1;
}

/* ================== Floating Action Button ================== */
.fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border: none;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fab:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.6);
}

.fab-icon {
  font-size: 28px;
  animation: pulse-fab 2s ease-in-out infinite;
}

@keyframes pulse-fab {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ================== Responsive ================== */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 16px 40px;
  }

  .hero-stats {
    gap: 12px;
  }

  .stats-card {
    min-width: 110px;
    padding: 16px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .quick-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-action-btn {
    justify-content: center;
  }

  .fab {
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
  }

  .fab-icon {
    font-size: 24px;
  }

  .carousel-wrapper,
  .projects-wrapper {
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .stats-card {
    min-width: 90px;
    padding: 12px 16px;
  }

  .stats-icon {
    font-size: 28px;
  }

  .stats-value {
    font-size: 22px;
  }

  .stats-label {
    font-size: 12px;
  }
}

/* ================== Animations ================== */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: fade-in-up 0.8s ease-out backwards;
}

.hero-badge { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-stats { animation-delay: 0.4s; }

.feature-card {
  animation: fade-in-up 0.6s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }


/* =================================================================
   Welcome Tutorial Dialog Styles - Beautiful & Modern
   ================================================================= */

/* Overlay */
.tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: fade-in 0.3s ease-out;
}

.tutorial-overlay.dark {
    background: rgba(0, 0, 0, 0.85);
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Dialog Container */
.tutorial-dialog {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
    animation: slide-up 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.tutorial-overlay.dark .tutorial-dialog {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header */
.tutorial-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 22px 22px 0 0;
    position: relative;
    overflow: hidden;
}

.tutorial-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate-glow 10s linear infinite;
}

@keyframes rotate-glow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.tutorial-icon-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.tutorial-main-icon {
    font-size: 72px;
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

.tutorial-title {
    position: relative;
    z-index: 1;
    font-size: 32px;
    font-weight: 900;
    color: white;
    margin: 0 0 8px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.tutorial-subtitle {
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

/* Content */
.tutorial-content {
    padding: 32px 30px;
}

.tutorial-step {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    animation: fade-in-step 0.6s ease-out backwards;
}

.tutorial-step:nth-child(1) { animation-delay: 0.1s; }
.tutorial-step:nth-child(2) { animation-delay: 0.2s; }
.tutorial-step:nth-child(3) { animation-delay: 0.3s; }
.tutorial-step:nth-child(4) { animation-delay: 0.4s; }
.tutorial-step:nth-child(5) { animation-delay: 0.5s; }
.tutorial-step:nth-child(6) { animation-delay: 0.6s; }

@keyframes fade-in-step {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tutorial-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.tutorial-step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.step-content {
    flex: 1 1;
    padding-top: 6px;
}

.step-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
    font-weight: 500;
}

.tutorial-overlay.dark .step-content p {
    color: #e2e8f0;
}

.step-content .highlight {
    color: #8b5cf6;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.tutorial-overlay.dark .step-content .highlight {
    color: #a78bfa;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
}

/* Footer */
.tutorial-footer {
    padding: 24px 30px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 2px solid rgba(0, 0, 0, 0.05);
    animation: fade-in-step 0.6s ease-out backwards 0.7s;
}

.tutorial-overlay.dark .tutorial-footer {
    border-top-color: rgba(255, 255, 255, 0.05);
}

/* Checkbox */
.dont-show-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    -webkit-user-select: none;
            user-select: none;
}

.dont-show-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #8b5cf6;
    border-radius: 4px;
}

.checkbox-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

.tutorial-overlay.dark .checkbox-label {
    color: #94a3b8;
}

/* Button */
.tutorial-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.tutorial-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.tutorial-btn:hover::before {
    width: 300px;
    height: 300px;
}

.tutorial-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.6);
}

.tutorial-btn:active {
    transform: translateY(0) scale(1);
}

.btn-icon {
    font-size: 20px;
    position: relative;
    z-index: 1;
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* Decorative Elements */
.tutorial-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.decoration-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    top: -50px;
    right: -50px;
    animation: float-decoration 8s ease-in-out infinite;
}

.decoration-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #ec4899, #f59e0b);
    bottom: -30px;
    left: -30px;
    animation: float-decoration 10s ease-in-out infinite reverse;
}

.decoration-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #06b6d4, #22c55e);
    top: 50%;
    left: 50%;
    animation: float-decoration 12s ease-in-out infinite;
}

@keyframes float-decoration {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

/* Scrollbar Styling */
.tutorial-dialog::-webkit-scrollbar {
    width: 8px;
}

.tutorial-dialog::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0 24px 24px 0;
}

.tutorial-overlay.dark .tutorial-dialog::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.tutorial-dialog::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 10px;
}

.tutorial-dialog::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

/* Responsive */
@media (max-width: 640px) {
    .tutorial-dialog {
        border-radius: 16px;
        max-width: 95%;
    }

    .tutorial-header {
        padding: 32px 24px 24px;
        border-radius: 14px 14px 0 0;
    }

    .tutorial-main-icon {
        font-size: 56px;
    }

    .tutorial-title {
        font-size: 26px;
    }

    .tutorial-subtitle {
        font-size: 16px;
    }

    .tutorial-content {
        padding: 24px 20px;
    }

    .tutorial-step {
        gap: 12px;
        margin-bottom: 20px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .step-content p {
        font-size: 14px;
    }

    .tutorial-footer {
        padding: 20px 20px 24px;
        flex-direction: column;
        align-items: stretch;
    }

    .tutorial-btn {
        width: 100%;
        justify-content: center;
    }

    .dont-show-checkbox {
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .tutorial-main-icon {
        font-size: 48px;
    }

    .tutorial-title {
        font-size: 24px;
    }

    .tutorial-subtitle {
        font-size: 15px;
    }

    .step-content p {
        font-size: 13px;
    }

    .step-content .highlight {
        padding: 1px 6px;
        font-size: 13px;
    }
}


/* ==========================================================
   Modern Educational Blockly Theme
   Enhanced visuals for children, teens & young learners
   Preserves layout and structure
   ========================================================== */

#blocklyDiv {
  color: #000;
  background-color: #f8fafc;
  position: fixed;
  top: 5rem;
  bottom: 4.4rem;
  left: 0;
  right: 0;
  transition: background 0.5s ease;
}

.page-root.dark #blocklyDiv {
  background: radial-gradient(circle at 40% 40%, #101318 0%, #181c23 100%);
}

/* ---------------- Toolbox & Flyout ---------------- */
.blocklyToolboxContents {
  padding-top: 1.5rem;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  height: 100%;
  position: relative;
  left: 0;
  /* عرض منو بر اساس طول متن تنظیم می‌شود، با محدوده‌ی امن */
  display: inline-block;
  width: -webkit-fit-content;
  width: fit-content;
  min-width: 140px;
  max-width: 280px;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.7);
}
.page-root.dark .blocklyToolboxContents {
  background: rgba(25, 28, 33, 0.7);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------------- Flyout ---------------- */
.blocklyFlyout {
  /* کاهش عرض ناحیه نمایش بلوک‌ها برای هم‌ترازی با متن منو */
  width: 280px !important;
  overflow: visible !important;
  position: relative;
  /* حذف فاصله بین منو و ناحیه بلوک‌ها */
  transform: translateX(-16px);
  z-index: 50;
  transition: transform 0.3s ease-in-out, background 0.5s ease;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-radius: 0 16px 16px 0;
}
.page-root.dark .blocklyFlyout {
  background: rgba(30, 33, 39, 0.85);
  /* جلوگیری از ایجاد خط مضاعف کنار منو */
  border-left: none;
}

/* ---------------- Tree Rows (Categories) ---------------- */
.blocklyTreeRow {
  height: 2.5rem;
  line-height: 2.5rem;
  padding: 4px 12px;
  border-radius: 8px;
  margin: 4px 8px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.2s ease;
}

.blocklyTreeRow:hover {
  background-color: rgba(59, 130, 246, 0.1);
  transform: translateX(4px);
}

/* Dark theme */
.page-root.dark .blocklyTreeRow:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* ---------------- Category Colors ---------------- */
.blocklyTreeLabel {
  font-size: 15px;
  color: #1e293b;
}
.page-root.dark .blocklyTreeLabel {
  color: #e2e8f0;
}

.blocklyTreeRow[aria-label="Motion"] .blocklyTreeLabel { color: #3b82f6; }
.blocklyTreeRow[aria-label="Control"] .blocklyTreeLabel { color: #f59e0b; }
.blocklyTreeRow[aria-label="Sensors"] .blocklyTreeLabel { color: #10b981; }
.blocklyTreeRow[aria-label="Lights"] .blocklyTreeLabel { color: #e11d48; }
.blocklyTreeRow[aria-label="Logic"] .blocklyTreeLabel { color: #8b5cf6; }
.blocklyTreeRow[aria-label="Variables"] .blocklyTreeLabel { color: #ec4899; }
.blocklyTreeRow[aria-label="Loops"] .blocklyTreeLabel { color: #22c55e; }

/* ---------------- Main Workspace ---------------- */
.blocklyMainBackground {
  stroke: none;
  fill: transparent;
}

/* Subtle grid lines for clarity */
.blocklyGridPattern {
  stroke: rgba(0, 0, 0, 0.05);
}
.page-root.dark .blocklyGridPattern {
  stroke: rgba(255, 255, 255, 0.06);
}

/* ---------------- Field Toggles ---------------- */
.blocklyFieldToggle text {
  fill: white !important;
}
.field-toggle-on {
  fill: #22c55e !important;
}
.field-toggle-off {
  fill: #94a3b8 !important;
}

/* ---------------- Dropdown Menu ---------------- */
.blocklyDropDownMenu {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
}
.page-root.dark .blocklyDropDownMenu {
  background: rgba(30, 30, 35, 0.9);
}

/* ---------------- Hover Glow for Blocks ---------------- */
.blocklySelected > path.blocklyPath {
  stroke: #00c3ff;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(0, 195, 255, 0.6));
}
.page-root.dark .blocklySelected > path.blocklyPath {
  stroke: #00ffaa;
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(0, 255, 170, 0.6));
}

/* ---------------- Labels ---------------- */
.sensorsHeading > .blocklyFlyoutLabelText,
.Heading > .blocklyFlyoutLabelText {
  font-size: 1.4rem !important;
  fill: #ffffff !important;
  font-family: Gilroy-Bold, sans-serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ---------------- Responsiveness ---------------- */
@media (max-width: 767px) {
  #blocklyDiv { bottom: 9%; }
  .blocklyTreeLabel { font-size: 1rem; }
  .blocklyTreeRow { padding: 4px; }
  .blocklyToolboxContents {
    height: 130%;
    border-right: 0.5px solid rgba(0,0,0,0.2);
  }
}



.page-root.dark #blocklyDiv {
  background: linear-gradient(135deg, #10151c 0%, #1c2430 40%, #262f3c 100%) !important;
  background-attachment: fixed !important;
}

.qrCode_slider__\+k5n3 {
    width: 22px;
    height: 149px;
    background-color: rgba(76, 156, 214, 0.15);
    border: 1px solid #4C9CD626;
    border-radius: 0 15px 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qrCode_leftSlider__bD0gb {
    border-radius: 15px 0 0 15px;
}


@media only screen and (min-width: 400px) and (max-width: 1024px) and (orientation: landscape) {
    .qrCode_slider__\+k5n3 {
        margin-top: -180px;
    }

    .qrCode_heading__tLUQz {
        margin-top: 0px !important;
    }
}
.style_modelModal__swmNj {
    background-color: var(--modal-bg);
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.style_modelHeader__AeruR {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.style_modelHeader__AeruR h2 {
    color: var(--text-primary);
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.style_closeIcon__wWejt {
    cursor: pointer;
    width: 24px;
    height: 24px;
}

.style_modelContent__xfmtZ {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.style_inputGroup__coe2n {
    display: flex;
    gap: 16px;
}

.style_modelDescription__KKvIl {
    background-color: var(--description-bg);
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
}

.style_descriptionText__m5dCV h4 {
    color: var(--primary-color);
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 500;
}

.style_descriptionText__m5dCV p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.style_modelActions__FU0NV {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* Dark Theme */
:root[data-theme='dark'] {
    --modal-bg: #202020;
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --description-bg: #2A2A2A;
    --primary-color: #0071c5;
}

/* Light Theme */
:root[data-theme='light'] {
    --modal-bg: #FFFFFF;
    --text-primary: #333333;
    --text-secondary: #666666;
    --description-bg: #F5F5F5;
    --primary-color: #0071c5;
}

/* Responsive */
@media (max-width: 600px) {
    .style_modelModal__swmNj {
        width: 95%;
        padding: 16px;
    }

    .style_inputGroup__coe2n {
        flex-direction: column;
    }

    .style_modelHeader__AeruR h2 {
        font-size: 20px;
    }
}










.style_barDiv__lhKQs {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 4.4rem;
    border-top: 0.5px solid gray;
    /* z-index بالاتر از همه */
    z-index: 30;
}

.style_loaderBarDiv__wxxky {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 20%;
    border-top: 0.5px solid gray;
}

.style_buttonsDiv__Q90wP {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    /* RTL: اطمینان از positioning */
    right: 0;
    left: 0;
    width: 100%;
    /* z-index بالاتر از code-panel (15) */
    z-index: 30;
}

.style_loaderText__-bbs3 {
    position: absolute;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    margin-top: 2%;
}

.style_textItem__48oQ9 {
    font-family: Gilroy-medium, sans-serif;
    margin-top: 3px;
}

.style_errorDiv__t7i13 {
    font-family: Gilroy-medium, sans-serif;
    color: #D70000;
    font-weight: 600;
    margin-left: 5%;
    font-size: 20px;
    margin-top: 1%;
}

.style_errorItems__i0zGx {
    font-size: 15px;
    line-height: 30px;
}

.style_barDivLight__8Q5fL {
    background-color: white;
}

.style_barDivDark__Iw7vg {
    background-color: #202020;
}

.style_uploadCodeButton__2JnH6 {
    /* RTL: margin-right به جای margin-left */
    margin-right: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    /* RTL: border-radius معکوس */
    border-radius: 0 0.5rem 0.5rem 0;
    height: 3.1rem;
    width: 100%;
    background: rgb(0, 113, 197);
    cursor: pointer;
    /* RTL: z-index برای جلو آوردن */
    position: relative;
    z-index: 31;
}

.style_features__WJ5dP {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    /* RTL: border-radius معکوس */
    border-radius: 0.5rem 0 0 0.5rem;
    height: 3.1rem;
    width: 20%;
    background-color: #005B9F;
    cursor: pointer;
    /* RTL: z-index برای جلو آوردن */
    position: relative;
    z-index: 31;
}

.style_features__WJ5dP:hover {
    opacity: 85%;
}

.style_leftButton__SOZPF {
    display: flex;
    font-family: Gilroy-medium, sans-serif;
    align-items: center;
    font-size: 1.2rem;
    color: rgb(248, 249, 251);
    pointer-events: none;
}

.style_optionExtraStyle__7I6\+6 {
    height: 125px;
    width: 260px;
    position: -webkit-sticky;
    position: sticky;
    top: 65px;
    left: 39vw;
}


.style_iconDiv__hopQR {
    height: 1.5rem;
    width: 1.5rem;
    pointer-events: none;
}

.style_operationsDiv__tRxw5 {
    display: flex;
    align-items: center;
    margin-right: 4rem;
}

.style_driveIconStyle__8D8CG {
    width: 2.2rem;
    cursor: pointer;
}

.style_shrinkDriveIcon__SWcVL {
    width: 1.7rem;
    cursor: pointer;
    margin-bottom: 0.3rem;
}

.style_buttonStyle__NyfJk {
    width: 4.2rem;
    height: 3.1rem;
    border: none;
    background: rgb(0, 113, 197);
    color: rgb(248, 249, 251);
    font-family: Gilroy-Medium, sans-serif;
    cursor: pointer;
}

.style_undoButtonStyle__IImwV {
    border-radius: 0.4rem 0px 0px 0.4rem;
    border: none;
}

.style_borderStyle__GTbLF {
    border-right: 1px solid black
}


.style_commandSize__6Oz5l {
    width: 1.4rem;
    height: 1.2rem;
    pointer-events: none;
}

.style_minusStyle__7RvpI {
    border-radius: 0.4rem 0 0 0.4rem;
}

.style_plusStyle__pYGrf {
    border-radius: 0 0.4rem 0.4rem 0
}

.style_operationSize__Elrwy {
    font-size: 2.4rem;
    color: white;
    pointer-events: none;
    font-weight: 100
}

.style_iconMargin__KgYM- {
    margin: 10px;
}

.style_noSpace__zOYii {
    display: flex;
}

.style_driveStyle__KxP1R {
    border: none;
    background: none;
}

.style_buttonColor__7YYUy {
    background: #0071c5;
    opacity: 0.8;
}

.style_buttonMargin__NR-Qt {
    margin-right: 1px;
}

.style_langOption__pTKQz {
    height: 140px;
    width: 220px;
    position: absolute;
    top: -190px;
    left: -7vw;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    font-family: Gilroy-Regular, sans-serif;
    /* z-index خیلی بالا برای نمایش بالای code panel */
    z-index: 9999;
}

.style_langItem__z5hmt {
    font-size: 20px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-around;
    cursor: pointer;
    padding: 0 0 0.5rem 1rem;
    border-style: none none none solid;
}

.style_darkTitleModel__E4Xx7 {
    background-color: #303030;
}

.style_lightTitleModel__PEZfa {
    background-color: #ffffff;
}

.style_jsDivMargin__cdUVR {
    padding-right: 2rem;
    margin-top: 0.8rem;
    padding-top: 6px;
}

.style_pyDivMargin__i2G2h {
    padding-top: 6px;
    padding-right: 4rem;
}

.style_langIcon__qrpQI {
    width: 24px;
    height: 24px;
}

.style_pyFont__OJ-rY {
    padding-left: 6px !important;
}

@media (max-width: 767px) {

    .style_barDiv__lhKQs {
        height: 9%;
    }

    .style_pyText__gxB13 {
        padding-right: 21px
    }

    .style_langIcon__qrpQI {
        width: 18px;
        height: 18px;
    }

    .style_uploadCodeButton__2JnH6 {
        height: 2.5rem;
        width: 55%;
        /* RTL: border-radius */
        border-radius: 0 0.4rem 0.4rem 0;
        margin-right: 0.5rem;
        margin-top: 0.40rem;
    }

    .style_features__WJ5dP {
        height: 2.5rem;
        /* RTL: border-radius */
        border-radius: 0.4rem 0 0 0.4rem;
        width: 30%;
        cursor: pointer;
        margin-right: 0;
        margin-top: 0.40rem;
    }

    .style_operationsDiv__tRxw5 {
        margin-right: -7rem;
    }

    .style_buttonMargin__NR-Qt {
        display: flex;
        margin-top: 20px;
    }

    .style_iconMargin__KgYM- {
        width: 40%;
    }

    .style_iconDiv__hopQR {
        height: 1.4rem;
        width: 1.5rem;
    }

    .style_iconSpace__m3okx {
        width: 12%;
        margin-left: 5rem;
    }

    .style_buttonsDiv__Q90wP {
        height: 10%;
    }

    .style_shrinkDriveIcon__SWcVL {
        width: 1.5rem;
    }

    .style_driveIconStyle__8D8CG {
        width: 2rem;
        margin-top: 0.5rem;
    }

    .style_buttonStyle__NyfJk {
        width: 7rem;
        height: 2.5rem;
    }

    .style_commandSize__6Oz5l {
        width: 1rem;
        height: 0.98rem;
    }

    .style_textItem__48oQ9 {
        margin-top: 2px;
        font-size: 12px;
    }

    .style_errorDiv__t7i13 {
        font-size: 15px;
        margin-left: 5%;
        margin-top: 3%;
    }

    .style_loaderText__-bbs3 {
        margin-top: 8%;
    }

    .style_errorItems__i0zGx {
        font-size: 12px;
        line-height: 50px;
    }

    .style_langOption__pTKQz {
        height: 95px;
        width: 140px;
        top: -135px;
        left: -15vw;
    }

    .style_langItem__z5hmt {
        padding: 0 0 0.5rem 0;
    }

    .style_pyFont__OJ-rY {
        padding-left: 6px !important;
    }

    .style_langItem__z5hmt {
        font-size: 15px;
    }

}


@media only screen and (min-width: 400px) and (max-width: 1024px) and (max-height: 500px)  and (orientation: landscape) {

    .style_pyText__gxB13 {
        padding-right: 22px
    }

    .style_langIcon__qrpQI {
        width: 18px;
        height: 18px;
    }

    .style_jsDivMargin__cdUVR {
        padding-right: 1rem;
        padding-top: 3px;
    }

    .style_pyDivMargin__i2G2h {
        padding-top: 6px;
        padding-right: 1.3rem;
    }


    .style_barDiv__lhKQs {
        height: 18%;
    }

    .style_uploadCodeButton__2JnH6 {
        height: 2.3rem;
        /* RTL: margin-right */
        margin-right: 1.4rem;
        width: 100px;
        margin-bottom: 0.3rem;
    }

    .style_features__WJ5dP {
        height: 2.3rem;
        width: 20%;
        margin-bottom: 0.3rem;
    }

    .style_buttonsDiv__Q90wP {
        height: 18%;
    }

    .style_buttonStyle__NyfJk {
        margin-bottom: 0.3rem;
        height: 2.3rem;
    }

    .style_loaderBarDiv__wxxky {
        height: 30%;
    }

    .style_loaderText__-bbs3 {
        margin-top: 2%;
    }

    .style_textItem__48oQ9 {
        margin-top: 3px;
        font-size: 14px;
    }

    .style_errorDiv__t7i13 {
        margin-top: 1.5%;
        font-size: 15px;
    }

    .style_errorItems__i0zGx {
        font-size: 12px;
        line-height: 20px;
    }

    .style_langOption__pTKQz {
        height: 130px;
        width: 160px;
        top: -170px;
        left: -10vw;
    }

}


@media (min-width: 768px) and (max-width: 1024px) and (min-height: 650px) {

    .style_features__WJ5dP {
        width: 40%;
    }

    .style_jsDivMargin__cdUVR {
        padding-right: 1rem;
    }

    .style_pyDivMargin__i2G2h {
        padding-right: 2.6rem;
    }

    .style_operationsDiv__tRxw5 {
        margin-right: 2rem;
    }

    .style_noSpace__zOYii {
        margin-left: -2%;
    }

    .style_loaderText__-bbs3 {
        margin-top: 6%;
    }

    .style_textItem__48oQ9 {
        margin-top: 10px;
        font-size: 24px;
    }

    .style_langOption__pTKQz {
        height: 140px;
        width: 160px;
    }

}
.SubscriptionModal_modalBox__a7nG- {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 40px 30px;
  outline: none;
  direction: rtl;
  text-align: center;
  animation: SubscriptionModal_slideIn__YBZMG 0.3s ease-out;
}

@keyframes SubscriptionModal_slideIn__YBZMG {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.SubscriptionModal_closeButton__0l5xe {
  position: absolute;
  left: 10px;
  top: 10px;
  color: #666;
  transition: all 0.2s;
}

.SubscriptionModal_closeButton__0l5xe:hover {
  color: #333;
  background-color: #f0f0f0;
}

.SubscriptionModal_iconContainer__jaUIZ {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.SubscriptionModal_lockIcon__lf2Lu {
  font-size: 64px !important;
  color: #ff9800;
  animation: SubscriptionModal_pulse__AUC6s 2s infinite;
}

@keyframes SubscriptionModal_pulse__AUC6s {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.SubscriptionModal_title__ZMJlJ {
  font-weight: bold !important;
  color: #333 !important;
  margin-bottom: 16px !important;
  font-family: 'Vazirmatn', sans-serif !important;
}

.SubscriptionModal_message__3Y3Kl {
  color: #666 !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  margin-bottom: 32px !important;
  font-family: 'Vazirmatn', sans-serif !important;
}

.SubscriptionModal_buttonsContainer__rHlhp {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-direction: column;
}

.SubscriptionModal_purchaseButton__HfJzk {
  background: linear-gradient(135deg, #1976d2 0%, #2196f3 100%) !important;
  color: white !important;
  font-weight: bold !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  transition: all 0.3s !important;
  font-family: 'Vazirmatn', sans-serif !important;
  text-transform: none !important;
}

.SubscriptionModal_purchaseButton__HfJzk:hover {
  background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4) !important;
}

.SubscriptionModal_cancelButton__YaKfN {
  color: #666 !important;
  border-color: #ddd !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  transition: all 0.3s !important;
  font-family: 'Vazirmatn', sans-serif !important;
  text-transform: none !important;
}

.SubscriptionModal_cancelButton__YaKfN:hover {
  border-color: #999 !important;
  background-color: #f9f9f9 !important;
}

.SubscriptionModal_footer__2b6Pl {
  color: #999 !important;
  font-size: 14px !important;
  margin-top: 8px !important;
  font-family: 'Vazirmatn', sans-serif !important;
}

/* Responsive */
@media (max-width: 600px) {
  .SubscriptionModal_modalBox__a7nG- {
    width: 95%;
    padding: 30px 20px;
  }

  .SubscriptionModal_title__ZMJlJ {
    font-size: 1.5rem !important;
  }

  .SubscriptionModal_message__3Y3Kl {
    font-size: 14px !important;
  }

  .SubscriptionModal_lockIcon__lf2Lu {
    font-size: 48px !important;
  }
}


.ExamplesGallery_galleryContainer__y5qZ2 {
    background: white;
    border-radius: 16px;
    padding: 24px;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    direction: rtl;
    text-align: right;
}

.ExamplesGallery_galleryContainer__y5qZ2.ExamplesGallery_dark__-8diV {
    background: #2d3748;
    color: white;
}

.ExamplesGallery_header__DgdVm {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e0e0e0;
}

.ExamplesGallery_dark__-8diV .ExamplesGallery_header__DgdVm {
    border-bottom-color: #4a5568;
}

.ExamplesGallery_title__wYdtb {
    font-weight: bold;
    color: #1976d2;
}

.ExamplesGallery_dark__-8diV .ExamplesGallery_title__wYdtb {
    color: #90cdf4;
}

.ExamplesGallery_closeBtn__Yk7mf {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.2s;
}

.ExamplesGallery_closeBtn__Yk7mf:hover {
    background: #f0f0f0;
    color: #000;
}

.ExamplesGallery_dark__-8diV .ExamplesGallery_closeBtn__Yk7mf:hover {
    background: #4a5568;
    color: white;
}

.ExamplesGallery_description__NUoOV {
    margin-bottom: 24px;
    padding: 12px;
    background: #e3f2fd;
    border-radius: 8px;
    text-align: center;
    direction: rtl;
}

.ExamplesGallery_dark__-8diV .ExamplesGallery_description__NUoOV {
    background: #1e3a5f;
}

.ExamplesGallery_examplesGrid__dlTo8 {
    margin-top: 16px;
}

.ExamplesGallery_exampleCard__Bq7lj {
    cursor: pointer;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.ExamplesGallery_exampleCard__Bq7lj:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.ExamplesGallery_proCard__fhFze {
    border: 2px solid #9c27b0;
    background: linear-gradient(135deg, #fff 0%, #f3e5f5 100%);
}

.ExamplesGallery_dark__-8diV .ExamplesGallery_proCard__fhFze {
    background: linear-gradient(135deg, #2d3748 0%, #4a1a5c 100%);
}

.ExamplesGallery_proBadge__icgXq {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #9c27b0 0%, #e91e63 100%);
    color: white;
    font-weight: bold;
}

.ExamplesGallery_cardTitle__NJ6Og {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    min-height: 48px;
    text-align: right;
    direction: rtl;
}

.ExamplesGallery_difficultyRow__53yM4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ExamplesGallery_levelChip__CKWzO {
    color: white;
    font-weight: bold;
}

.ExamplesGallery_stars__7YYiu {
    font-size: 14px;
    color: #ffd700;
}

.ExamplesGallery_time__TLyhQ {
    color: #666;
    margin-bottom: 12px;
}

.ExamplesGallery_dark__-8diV .ExamplesGallery_time__TLyhQ {
    color: #a0aec0;
}

.ExamplesGallery_shortDesc__ng73i {
    margin-bottom: 12px;
    min-height: 60px;
    font-size: 14px;
    color: #555;
    text-align: right;
    direction: rtl;
    line-height: 1.6;
}

.ExamplesGallery_dark__-8diV .ExamplesGallery_shortDesc__ng73i {
    color: #cbd5e0;
}

.ExamplesGallery_tags__cq3d2 {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
    min-height: 32px;
}

.ExamplesGallery_tagChip__GaVRz {
    font-size: 11px;
}

.ExamplesGallery_loadBtn__mDKb- {
    margin-top: auto;
    background: #1976d2;
    color: white;
}

.ExamplesGallery_loadBtn__mDKb-:hover {
    background: #1565c0;
}

/* Modal جزئیات */
.ExamplesGallery_detailsModal__727Ob {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px;
    direction: rtl;
    text-align: right;
}

.ExamplesGallery_dark__-8diV .ExamplesGallery_detailsModal__727Ob {
    background: #2d3748;
    color: white;
}

.ExamplesGallery_detailsHeader__gHtF2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e0e0e0;
}

.ExamplesGallery_dark__-8diV .ExamplesGallery_detailsHeader__gHtF2 {
    border-bottom-color: #4a5568;
}

.ExamplesGallery_detailsContent__P-3jw {
    line-height: 1.8;
}

.ExamplesGallery_section__MP2OO {
    margin-bottom: 24px;
}

.ExamplesGallery_section__MP2OO h6 {
    font-weight: bold;
    margin-bottom: 12px;
    color: #1976d2;
}

.ExamplesGallery_dark__-8diV .ExamplesGallery_section__MP2OO h6 {
    color: #90cdf4;
}

.ExamplesGallery_section__MP2OO ul, .ExamplesGallery_section__MP2OO ol {
    padding-right: 24px;
    padding-left: 0;
    text-align: right;
}

.ExamplesGallery_section__MP2OO li {
    margin-bottom: 8px;
    text-align: right;
    direction: rtl;
}

.ExamplesGallery_codeBlock__0c9cW {
    background: #f5f5f5;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    border-right: 4px solid #1976d2;
    border-left: none;
    direction: ltr;
    text-align: left;
}

.ExamplesGallery_dark__-8diV .ExamplesGallery_codeBlock__0c9cW {
    background: #1a202c;
    color: #e2e8f0;
}

.ExamplesGallery_detailsActions__eRPFZ {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.ExamplesGallery_dark__-8diV .ExamplesGallery_detailsActions__eRPFZ {
    border-top-color: #4a5568;
}

/* Responsive */
@media (max-width: 768px) {
    .ExamplesGallery_galleryContainer__y5qZ2 {
        max-width: 95%;
        padding: 16px;
    }
    
    .ExamplesGallery_cardTitle__NJ6Og {
        font-size: 14px;
        min-height: 40px;
    }
    
    .ExamplesGallery_shortDesc__ng73i {
        font-size: 12px;
        min-height: 50px;
    }
}


/* موقعیت‌های مختلف */
.sync-toast, .sync-widget {
  position: fixed;
  z-index: 9999;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.bottom-right {
  bottom: 20px;
  right: 20px;
}

.bottom-left {
  bottom: 20px;
  left: 20px;
}

.top-right {
  top: 20px;
  right: 20px;
}

.top-left {
  top: 20px;
  left: 20px;
}

/* نوتیفیکیشن موقت (Toast) */
.sync-toast {
  background: rgba(0, 0, 0, 0.9);
  color: white;
  border-radius: 8px;
  padding: 0;
  min-width: 300px;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideInToast 0.3s ease-out;
}

.sync-toast.success {
  border-left: 4px solid #4CAF50;
}

.sync-toast.error {
  border-left: 4px solid #F44336;
}

.sync-toast.warning {
  border-left: 4px solid #FF9800;
}

.sync-toast.info {
  border-left: 4px solid #2196F3;
}

.toast-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.toast-message {
  flex: 1 1;
  font-size: 14px;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

@keyframes slideInToast {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ویجت همگام‌سازی */
.sync-widget {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.sync-widget:not(.expanded) {
  width: 60px;
  height: 60px;
}

.sync-widget.expanded {
  width: 280px;
  min-height: 200px;
  cursor: default;
}

/* نمایش فشرده */
.widget-compact {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px;
}

.sync-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
}

.pending-badge {
  background: #FF9800;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  animation: pulse 2s infinite;
}

.synced-icon {
  color: #4CAF50;
  font-size: 18px;
  font-weight: bold;
}

.spinner-small {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.connection-dot {
  position: absolute;
  top: 8px;
  right: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}

.dot.online {
  background: #4CAF50;
  animation: pulse 2s infinite;
}

.dot.offline {
  background: #F44336;
}

/* نمایش کامل */
.widget-expanded {
  padding: 15px;
  color: white;
  display: none;
}

.sync-widget.expanded .widget-expanded {
  display: block;
}

.sync-widget.expanded .widget-compact {
  display: none;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.widget-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* آمار کوچک */
.sync-stats-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 8px;
  gap: 8px;
  margin-bottom: 12px;
}

.stat {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 6px;
  text-align: center;
  font-size: 12px;
}

.stat .label {
  display: block;
  opacity: 0.8;
  margin-bottom: 2px;
}

.stat .value {
  display: block;
  font-weight: bold;
  font-size: 14px;
}

.stat .value.synced {
  color: #4CAF50;
}

.stat .value.pending {
  color: #FF9800;
}

.stat .value.uploaded {
  color: #2196F3;
}

/* وضعیت اتصال کوچک */
.connection-status-mini {
  text-align: center;
  margin-bottom: 10px;
  font-size: 12px;
}

.status.online {
  color: #4CAF50;
}

.status.offline {
  color: #F44336;
}

/* آخرین همگام‌سازی کوچک */
.last-sync-mini {
  text-align: center;
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 12px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

/* دکمه همگام‌سازی کوچک */
.sync-btn-mini {
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.sync-btn-mini:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.3);
}

.sync-btn-mini:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.spinner-mini {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* هشدار کوچک */
.warning-mini {
  background: rgba(255, 152, 0, 0.2);
  border: 1px solid rgba(255, 152, 0, 0.3);
  color: #FFE0B2;
  padding: 8px;
  border-radius: 4px;
  text-align: center;
  font-size: 11px;
  animation: glow 2s ease-in-out infinite alternate;
}

/* انیمیشن‌ها */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes glow {
  from { box-shadow: 0 0 3px rgba(255, 152, 0, 0.3); }
  to { box-shadow: 0 0 8px rgba(255, 152, 0, 0.6); }
}

/* ریسپانسیو */
@media (max-width: 480px) {
  .sync-widget.expanded {
    width: 260px;
    right: 10px !important;
    left: 10px !important;
  }
  
  .sync-toast {
    min-width: 280px;
    right: 10px !important;
    left: 10px !important;
  }
  
  .sync-stats-mini {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
}

/* حالت تاریک */
@media (prefers-color-scheme: dark) {
  .sync-widget {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
  }
  
  .sync-toast {
    background: rgba(20, 20, 20, 0.95);
  }
}

/* انیمیشن ورود ویجت */
.sync-widget {
  animation: slideInWidget 0.4s ease-out;
}

@keyframes slideInWidget {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* انیمیشن گسترش */
.sync-widget.expanded {
  animation: expandWidget 0.3s ease-out;
}

@keyframes expandWidget {
  from {
    width: 60px;
    height: 60px;
  }
  to {
    width: 280px;
    min-height: 200px;
  }
}

/* هاور افکت برای حالت فشرده */
.sync-widget:not(.expanded):hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* نمایش tooltip برای حالت فشرده */
.widget-compact::after {
  content: 'کلیک برای نمایش جزئیات';
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10000;
}

.sync-widget:not(.expanded):hover .widget-compact::after {
  opacity: 1;
}
