﻿@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 900;
    src: url( '../fonts/IRANSans/eot/IRANSansWeb(FaNum)_Black.eot' );
    src: url( '../fonts/IRANSans/eot/IRANSansWeb(FaNum)_Black.eot?#iefix' ) format( 'embedded-opentype' ), /* IE6-8 */ url( '../fonts/IRANSans/woff2/IRANSansWeb(FaNum)_Black.woff2' ) format( 'woff2' ), /* FF39+,Chrome36+, Opera24+*/ url( '../fonts/IRANSans/woff/IRANSansWeb(FaNum)_Black.woff' ) format( 'woff' ), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url( '../fonts/IRANSans/ttf/IRANSansWeb(FaNum)_Black.ttf' ) format( 'truetype' );
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url( '../fonts/IRANSans/eot/IRANSansWeb(FaNum)_Bold.eot' );
    src: url( '../fonts/IRANSans/eot/IRANSansWeb(FaNum)_Bold.eot?#iefix' ) format( 'embedded-opentype' ), /* IE6-8 */ url( '../fonts/IRANSans/woff2/IRANSansWeb(FaNum)_Bold.woff2' ) format( 'woff2' ), /* FF39+,Chrome36+, Opera24+*/ url( '../fonts/IRANSans/woff/IRANSansWeb(FaNum)_Bold.woff' ) format( 'woff' ), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url( '../fonts/IRANSans/ttf/IRANSansWeb(FaNum)_Bold.ttf' ) format( 'truetype' );
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url( '../fonts/IRANSans/eot/IRANSansWeb(FaNum)_Medium.eot' );
    src: url( '../fonts/IRANSans/eot/IRANSansWeb(FaNum)_Medium.eot?#iefix' ) format( 'embedded-opentype' ), /* IE6-8 */ url( '../fonts/IRANSans/woff2/IRANSansWeb(FaNum)_Medium.woff2' ) format( 'woff2' ), /* FF39+,Chrome36+, Opera24+*/ url( '../fonts/IRANSans/woff/IRANSansWeb(FaNum)_Medium.woff' ) format( 'woff' ), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url( '../fonts/IRANSans/ttf/IRANSansWeb(FaNum)_Medium.ttf' ) format( 'truetype' );
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url( '../fonts/IRANSans/eot/IRANSansWeb(FaNum)_Light.eot' );
    src: url( '../fonts/IRANSans/eot/IRANSansWeb(FaNum)_Light.eot?#iefix' ) format( 'embedded-opentype' ), /* IE6-8 */ url( '../fonts/IRANSans/woff2/IRANSansWeb(FaNum)_Light.woff2' ) format( 'woff2' ), /* FF39+,Chrome36+, Opera24+*/ url( '../fonts/IRANSans/woff/IRANSansWeb(FaNum)_Light.woff' ) format( 'woff' ), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url( '../fonts/IRANSans/ttf/IRANSansWeb(FaNum)_Light.ttf' ) format( 'truetype' );
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url( '../fonts/IRANSans/eot/IRANSansWeb(FaNum)_UltraLight.eot' );
    src: url( '../fonts/IRANSans/eot/IRANSansWeb(FaNum)_UltraLight.eot?#iefix' ) format( 'embedded-opentype' ), /* IE6-8 */ url( '../fonts/IRANSans/woff2/IRANSansWeb(FaNum)_UltraLight.woff2' ) format( 'woff2' ), /* FF39+,Chrome36+, Opera24+*/ url( '../fonts/IRANSans/woff/IRANSansWeb(FaNum)_UltraLight.woff' ) format( 'woff' ), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url( '../fonts/IRANSans/ttf/IRANSansWeb(FaNum)_UltraLight.ttf' ) format( 'truetype' );
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url( '../fonts/IRANSans/eot/IRANSansWeb(FaNum).eot' );
    src: url( '../fonts/IRANSans/eot/IRANSansWeb(FaNum).eot?#iefix' ) format( 'embedded-opentype' ), /* IE6-8 */ url( '../fonts/IRANSans/woff2/IRANSansWeb(FaNum).woff2' ) format( 'woff2' ), /* FF39+,Chrome36+, Opera24+*/ url( '../fonts/IRANSans/woff/IRANSansWeb(FaNum).woff' ) format( 'woff' ), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url( '../fonts/IRANSans/ttf/IRANSansWeb(FaNum).ttf' ) format( 'truetype' );
}

body {
    margin: 0px;
    direction: rtl;
    font-family: IRANSans,Tahoma;
    font-size: 9pt;
    background-color: #f5f5f5;
    line-height: 170%;
}

button, textarea, input ,select{
    font-family: IRANSans,Tahoma;
}

#Body {
    float: right;
    width: 100%;
    overflow: auto;
}

/* هدر اصلی */
#Header {
    width: 100%;
    float: right;
    background: linear-gradient(135deg, #3aa2e0, #104695); /* گرادیان آبی روشن تا پررنگ */
    align-items: center;
    text-align: right;
    border-bottom: 3px solid #0d387a;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.HeaderBox {
    width: 1480px;
    max-width: 98%;
}

.Logo {
    float: right;
    width: 288px;
    height: 54px;
    background-image: url(../Administrator/Images/Logo.png);
    margin-top: 20px;
    background-repeat: no-repeat;
}

.Logo2 {
    float: left;
    width: 180px;
    height: 48px;
    background-image: url(../Administrator/Images/Logo2.png);
}

.HeaderDown {
    float: right;
    width: 100%;
    padding-top: 4px;
    font-weight: bold;
    color: #fff;
}

    .HeaderDown a {
        color: #fff;
    }

        .HeaderDown a:hover {
            color: #ffff00;
        }

    .HeaderDown img {
        float: right;
        margin-left: 5px;
        margin-top: 2px;
    }
/* فوتر */
#Footer {
    width: 100%;
    background: linear-gradient(135deg, #357ABD, #104695); /* گرادینت آبی تیره‌تر */
    float: right;
    height: 70px;
    padding-top: 20px;
    border-top: solid 3px #b2b2b2;
    text-align: center;
    color: #fff;
    font-family: IRANSans;
    font-size: 10pt;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.15);
}

#Content {
    width: 100%;
    float: right;
}

.ContentBox {
    width: 1600px;
    max-width: 99%;
}


/* باکس بالای صفحه (عنوان) */
#Body #Content .Top {
    margin-top: 5px;
    width: calc(100% - 2px);
    height: 50px;
    background: linear-gradient(135deg, #4a90e2, #357ABD);
    border: 1px solid #357ABD;
    border-radius: 8px 8px 0 0;
    float: right;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    position: relative; /* برای ایمنی */
    text-align: center; /* وسط چین کردن تیتر */
    line-height: 50px; /* عمودی وسط برای H2 */
}

    #Body #Content .Top h2 {
        margin: 0;
        color: #fff;
        font-family: IRANSans;
        font-weight: bold;
        font-size: 13pt;
        display: inline-block; /* برای ایمنی وسط‌چین */
        vertical-align: middle;
    }
/* باکس بدنه اصلی */
#Body #Content .Down {
    width: calc(100% - 2px);
    text-align: center;
    border-left: 1px solid #e0e6ef;
    border-right: 1px solid #e0e6ef;
    background-color: #f7f9fe; /* پس‌زمینه روشن آبی */
    min-height: 300px;
    float: right;
    padding: 20px 0;
    border-radius: 0 0 8px 8px; /* گوشه پایین گرد برای هماهنگی با بالا */
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}


/*------------------------------------Field-----------------------------*/
/* متن راهنما بالای فرم‌ها */
.SpanHelp {
    width: calc(98% - 26px);
    margin-top: 5px;
    margin-bottom: 10px;
    margin-right: 1%;
    margin-left: 1%;
    float: right;
    font-family: IRANSans;
    font-size: 9pt;
    color: #666; /* خاکستری ملایم برای متن راهنما */
    background: #f2f6fa; /* پس‌زمینه روشن آبی-خاکستری */
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px dashed #cbd6e2; /* خط‌چین ملایم */
}

/* ستون راست فرم */
.DivFormTextBoxRight {
    float: right;
    margin-right: 10px;
    width: 420px;
    background: #ffffff; /* پس‌زمینه سفید */
    border: 1px solid #e0e6ef; /* مرز ملایم */
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 10px 0;
}

/* ستون چپ فرم */
.DivFormTextBoxLeft {
    float: right;
    margin-right: 10px;
    width: calc(100% - 450px);
    background: #ffffff;
    border: 1px solid #e0e6ef;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 10px 0;
}

/* استایل فیلدست */
fieldset {
    border: 1px solid #357ABD; /* قاب آبی هماهنگ */
    border-radius: 10px; /* گوشه گرد */
    padding: 15px 20px 20px 20px;
    margin: 15px 0;
    background: #f8fbff; /* پس‌زمینه آبی خیلی روشن */
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    text-align: right;
}

    /* افکت هاور روی فیلدست */
    fieldset:hover {
        box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    }

/* استایل لِجند */
legend {
    font-family: IRANSans;
    font-size: 11pt;
    font-weight: bold;
    color: #357ABD; /* آبی هماهنگ با دکمه و تکست‌باکس */
    padding: 0 10px; /* فاصله برای جدا شدن از خط */
    text-align: right;
}


.SpanNormalLeft {
    float: right;
    margin-top: 5px;
    margin-right: 5px;
}

.SpanNormalLogin {
    width: 100px;
    float: right;
    text-align: right;
    margin-top: 2px;
    color: #121212;
}

    .SpanNormalLogin img {
        float: right;
        margin-left: 10px;
    }

.SpanNormal {
    width: 120px;
    float: right;
    text-align: left;
    margin-left: 5px;
    margin-top: 11px;
}

.SpanNormalOneLine {
    width: 120px;
    float: right;
    text-align: left;
    margin-left: 5px;
    margin-top: 0px;
}

.LabelButton {
    color: Red;
}


/* رادیو با تم آبی */
.RadioNormal {
    float: right;
    margin-right: 160px;
    font-size: 9pt;
    font-family: IRANSans;
    margin-top: 5px;
    color: #357ABD; /* آبی هماهنگ با تم */
}

    .RadioNormal input[type="radio"] {
        accent-color: #4a90e2; /* رنگ آبی دایره رادیو */
        cursor: pointer;
        margin-left: 5px;
        margin-right: 0px;
    }

.TextBoxNormalLogin {
    float: right;
    width: 270px;
    font-size: 9pt;
    font-family: IRANSans;
    border: solid 1px #515151;
    border-radius: 3px;
}
/* تکست‌باکس کوچک */
.TextBoxNormal {
    float: right;
    width: 200px;
    font-size: 9pt;
    font-family: IRANSans;
    margin-top: 5px;
    padding: 6px 8px;
    border: 1px solid #357ABD;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

    .TextBoxNormal:focus {
        border-color: #4a90e2;
        box-shadow: 0 0 5px rgba(74,144,226,0.5) inset;
        outline: none;
    }

/* تکست‌باکس بزرگ */
.TextBoxNormalLeft {
    float: right;
    width: 370px;
    font-size: 9pt;
    font-family: IRANSans;
    margin-top: 5px;
    padding: 6px 8px;
    border: 1px solid #357ABD;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

    .TextBoxNormalLeft:focus {
        border-color: #4a90e2;
        box-shadow: 0 0 5px rgba(74,144,226,0.5) inset;
        outline: none;
    }

/* اسپن نمایش */
.SpanNormalShow {
    width: 150px;
    padding-top: 5px;
    margin-right: 5px;
    text-align: right;
    float: right;
    font-weight: bold;
    color: #357ABD;
    font-family: IRANSans;
}

/* دراپ‌دان لیست */
.DropDownListNormal {
    width: 155px;
    font-size: 12px;
    margin-top: 3px;
    font-family: IRANSans;
    padding: 5px 8px;
    border: 1px solid #357ABD;
    border-radius: 5px;
    background-color: #f0f4f8;
    color: #000;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

    .DropDownListNormal:focus {
        border-color: #4a90e2;
        box-shadow: 0 0 5px rgba(74,144,226,0.5);
        outline: none;
    }

.ButtonNormalLogin {
    float: right;
    width: 372px;
    height: 25px;
    border: 0;
    background-color: Transparent;
    cursor: pointer;
    font-size: 8pt;
    font-family: IRANSans;
    background-image: url(../Administrator/Images/LoginButton.png);
    color: #7a3f00;
    font-weight: bold;
}

    .ButtonNormalLogin:hover {
        color: #391e01;
    }

.ButtonNormal {
    float: right;
    min-width: 80px; /* اندازه استاندارد */
    height: 35px; /* راحت برای کلیک */
    border: none; /* بدون حاشیه خشک */
    border-radius: 10px; /* گوشه‌های گرد */
    background: linear-gradient(135deg, #4a90e2, #357ABD); /* گرادینت آبی جذاب */
    cursor: pointer;
    font-size: 9pt;
    font-family: IRANSans;
    margin-right: 5px;
    margin-top: 10px;
    color: #fff; /* متن سفید */
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* سایه ملایم */
    transition: all 0.3s ease; /* افکت نرم تغییر */
}

    .ButtonNormal:hover {
        transform: translateY(-2px) scale(1.05); /* افکت هاور جذاب */
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);
        background: linear-gradient(135deg, #357ABD, #4a90e2); /* تغییر گرادینت روی هاور */
    }

.ValidationNormal {
    margin-top: 5px;
    float: right;
    color: Red;
}

.EditorStyle {
    margin-top: 10px;
    float: right;
    margin-right: 15px;
}

hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #4a90e2, #357ABD);
    margin: 20px 0;
    border-radius: 2px;
}
/*------------------------------GridStyle----------------------------------- */
.Grid {
    margin-right: 10px;
    width: calc(100% - 22px);
    border: #93a2d6 1px solid;
    float: right;
}

.GridHeader {
    background-color: #BFCDDB;
}

.GridPaging {
    background-color: #BFCDDB;
    text-align: center;
}

.GridEmpty {
    border: #93a2d6 1px solid;
    text-align: center;
}

.GridEditing {
    background-color: #ffff00 !important;
}

.GridSelecting {
    background-color: #ccc !important;
}
/*----------*/
.GridRow {
    background-color: #EFF3FB;
}

    .GridRow:hover {
        background-color: #ffff00;
    }

.GridRowAlternating {
    background-color: #ffffff;
}

    .GridRowAlternating:hover {
        background-color: #ffff00;
    }
/*----------*/

.GridItemNormal {
    text-align: right;
}

.GridItemButton {
    width: 25px;
}

.ImageMosbat {
    margin-left: 5px;
    margin-right: 5px;
}


/*------------------------------Factor----------------------------------- */
.FactorRegisterCalcRow {
    width: 1100px;
    float: right;
    margin-bottom: 20px;
}

.FactorRegisterCalcField {
    float: left;
    width: 100px;
    text-align: center;
    color: Red;
    font-weight: bold;
}

.FactorRegisterCalcTitle {
    float: left;
    width: 100px;
    text-align: left;
    margin-left: 5px;
}
/*------------------------------Login----------------------------------- */
.LoginBox {
    width: 442px;
}

#Login {
    width: 442px;
    border: solid 4px #ffb300;
    background-color: #efefef;
    margin-top: 170px;
    float: right;
    color: #6c6c6c;
    font-size: 9pt;
}

    #Login .Top {
        width: 100%;
        height: 36px;
        background-image: url(../Administrator/Images/BgTop.png);
        float: right;
    }

    #Login .Down {
        width: 380px;
        padding: 20px 31px 0 31px;
        height: 236px;
        text-align: justify;
        float: right;
        background-image: url(../Administrator/Images/LoginBox.jpg);
        background-position: top left;
        background-repeat: no-repeat;
    }

    #Login .TopForget {
        width: 290px;
        height: 20px;
        margin-top: 15px;
        text-align: right;
        border-top: #93a2d6 1px solid;
        border-left: #93a2d6 1px solid;
        border-right: #93a2d6 1px solid;
        background-image: url(../Images/BgTop.gif);
        padding-right: 10px;
        padding-top: 5px;
    }

    #Login .DownForget {
        width: 290px;
        height: 90px;
        padding-right: 10px;
        padding-top: 15px;
        border: #93a2d6 1px solid;
        text-align: center;
        background-color: #e3ffff;
    }

/*------------------------------TAG----------------------------------- */

A:hover {
    color: Red;
}

A {
    color: blue;
    text-decoration: none;
}


H1 {
    font-weight: bold;
    font-size: 18pt;
    color: Highlight;
    padding: 0px;
    margin: 0px;
}



H6 {
    font-weight: normal;
    font-size: 8pt;
    color: GrayText;
    padding: 0px;
    margin: 0px;
    margin-top: 5px;
}

.RowMarginTen {
    float: right;
    width: 100%;
    margin-top: 10px;
}

.RowMarginFive {
    float: right;
    width: 100%;
    margin-top: 5px;
}

.Row, .DivLine, .DivRow {
    float: right;
    width: 100%;
}

.Panel {
    float: right;
    margin-right: 15px;
    width: calc(100% - 30px);
    margin-top: 15px;
    margin-bottom: 5px;
}

.Panel2 {
}

.PanelStyle {
    padding: 10px;
}

.divcls {
    border: 0;
    padding: 0;
    margin: 0;
}

    .divcls img {
        float: right;
        margin-top: 6px;
        margin-right: 6px;
        padding: 0;
        border: 0;
    }


/*------------------------------FactorRegister----------------------------------- */
.FactorRegisterRow {
    float: right;
    width: 100%;
    margin-top: 10px;
}

.FactorRegisterRowButton {
    float: left;
    margin-left: 0px;
}

.FactorRegisterDivGrid {
    float: right;
    border: solid 5px #DED6CB;
    background-color: #F6F5F1;
    width: 885px;
}

.FactorRegisterGridImage {
    float: right;
    width: 70px;
}

.FactorRegisterGridTitle {
    float: right;
    margin-top: 10px;
    width: 166px;
    margin-right: 10px;
    text-align: right;
}

.FactorRegisterGridPrice {
    float: right;
    width: 97px;
    text-align: center;
    margin-top: 10px;
}

.FactorRegisterGridCount {
    float: right;
    width: 35px;
    font-size: 9pt;
    font-family: IRANSans;
    margin-top: 10px;
    border: solid 1px #ccc;
}

.FactorRegisterCalc {
    float: right;
    border-bottom: solid 5px #DED6CB;
    border-left: solid 5px #DED6CB;
    border-right: solid 5px #DED6CB;
    background-color: #F6F5F1;
    width: 885px;
}

.FactorRegisterCalcRow2 {
    float: left;
    width: 320px;
}

.FactorRegisterCalcRow {
    float: left;
    width: 396px;
    margin-top: 10px;
    font-size: 9pt;
    margin-left: 5px;
}

.FactorRegisterCalcField {
    float: left;
    width: 100px;
    text-align: center;
    color: Red;
    font-weight: bold;
    font-size: 9pt;
}

.FactorRegisterCalcTitle {
    float: left;
    text-align: left;
    margin-left: 5px;
    font-size: 8pt;
}

    .FactorRegisterCalcTitle input {
        float: right;
        margin-top: 3px;
    }

.FactorRegisterWarning {
    float: right;
    width: 450px;
    margin-top: 5px;
    text-align: right;
}

.FactorRegisterCodeDiscountBox {
    float: right;
    width: 200px;
}

.FactorRegisterCodeDiscount {
    margin-bottom: 10px;
    width: 440px;
    float: right;
    margin-top: 55px;
    background-image: url(../Administrator/Files/Design/DiscountPic.jpg);
    height: 130px;
    margin-right: 6px;
}

    .FactorRegisterCodeDiscount .Title {
        float: right;
        width: 150px;
        text-align: left;
    }

    .FactorRegisterCodeDiscount .TextBox {
        text-align: center;
        direction: ltr;
        float: right;
        margin-right: 5px;
        font-size: 9pt;
        margin-top: 2px;
        border: solid 1px gray;
        width: 150px;
    }

    .FactorRegisterCodeDiscount .Button {
        margin-top: 0;
        font-size: 9pt;
        height: 23px;
        border: solid 1px gray;
        width: 50px;
        cursor: pointer;
        float: right;
        margin-right: 10px;
    }

        .FactorRegisterCodeDiscount .Button:hover {
            background-color: #ccc;
        }

    .FactorRegisterCodeDiscount .Val {
        float: right;
        color: Red;
        margin-right: 3px;
        margin-top: 3px;
    }

    .FactorRegisterCodeDiscount .FormCaptcha {
        float: right;
        margin-right: 10px;
    }

.InsertAlert {
    margin-right: 10px;
    color: Red;
    font-size: 9pt;
    margin-top: 25px;
    float: right;
}

/*------------------------------------------FactorPrint-----------------------------*/
.FactorPrint {
    float: right;
    border: solid 1px #333;
    width: 700px;
    padding: 4px;
    color: #000;
    font-size: 8pt;
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: right;
}

.FactorPrintHeader {
    float: right;
    width: 698px;
    background-image: url(../Administrator/Files/Design/FactorPrintHeader.jpg);
    border: solid 1px #999;
    height: 85px;
    background-repeat: no-repeat;
    background-position: right center;
}

    .FactorPrintHeader .Left {
        float: right;
        margin-right: 3px;
        width: 300px;
        line-height: 180%;
    }

.FactorPrintCenter {
    float: right;
    width: 630px;
    border: solid 1px #999;
    margin-top: 5px;
    padding: 10px 34px 10px 34px;
    background-color: #eee;
}

    .FactorPrintCenter .FactorTitle {
        float: right;
        width: 100%;
        font-weight: bold;
        text-align: right;
        border-bottom: dotted 1px #ccc;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

        .FactorPrintCenter .FactorTitle a {
            float: left;
            color: #000;
            font-weight: normal;
        }

            .FactorPrintCenter .FactorTitle a:hover {
                color: Red;
            }

    .FactorPrintCenter .FactorTitleFooter {
        float: right;
        width: 100%;
        text-align: center;
        font-size: 9pt;
    }

.Darsad {
    width: 50%;
}

.FactorPrintCalcField {
    float: left;
    width: 100px;
    text-align: center;
    font-weight: bold;
}

.FactorPrintCalcTitle {
    float: left;
    text-align: left;
    margin-left: 5px;
}

.FactorPrintPriceUnit {
    float: left;
    width: 25px;
}


/*---------------------------------*/
.FactorPrint2 {
    display: inline-block;
    width: calc(100% - 4px);
    max-width: 696px;
    border: solid 2px #000;
}

    .FactorPrint2 .Title {
        float: right;
        width: 100%;
        background-color: #000;
        color: #fff;
        padding: 10px 0 13px 0;
        font-size: 10pt;
        font-weight: bold;
    }

    .FactorPrint2 .ImageAddress {
        float: right;
        width: 100%;
    }

    .FactorPrint2 .ItemDarsad {
        float: right;
        width: 25%;
        border-left: solid 1px #000;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .FactorPrint2 .ItemDarsad2 {
        float: right;
        width: calc(25% - 3px);
        border-left: 0;
    }

    .FactorPrint2 .RowMargin5 {
        float: right;
        width: 100%;
        border-bottom: solid 1px #000;
    }

    .FactorPrint2 .AddressDarsad {
        float: right;
        width: calc(50% - 19px);
        border-left: solid 1px #000;
        padding-top: 5px;
        padding-bottom: 5px;
        min-height: 91px;
        padding: 5px 10px;
    }

    .FactorPrint2 .AddressDarsad2 {
        float: right;
        width: calc(50% - 2px);
    }

    .FactorPrint2 .ItemDarsad3 {
        float: right;
        width: calc(50% + 1px);
        border-left: solid 1px #000;
        border-bottom: solid 1px #000;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .FactorPrint2 .ItemDarsad4 {
        float: right;
        width: calc(50% - 2px);
        padding-top: 5px;
        padding-bottom: 5px;
        border-bottom: solid 1px #000;
    }

    .FactorPrint2 .ItemDarsad5 {
        border-bottom: 0;
    }


/* جدول‌ها داخل div.RowText */
.Down table {
    border-collapse: collapse;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 14px;
    text-align: center;
    background-color: #fdfdfd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    /* ردیف‌ها و سلول‌ها */
    .Down table tr {
        border: 1px solid #3168d6;
    }

    .Down table th, .Down table td {
        padding: 5px 5px;
        border: 1px solid #3168d6;
    }

    .Down table th {
        background-color: #3168d6;
        color: #fff;
        font-weight: 500;
        border: 1px solid #fff;
    }

    .Down table tr:nth-child(even) {
        background-color: #f3f9f5;
    }

    .Down table tr:hover {
        background-color: #e0f2e9;
        transition: background-color 0.3s ease;
    }

/* ریسپانسیو موبایل با اسکرول افقی */
@media screen and (max-width: 768px) {
    .Down table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

        .Down table th,
        .Down table td {
            display: table-cell;
        }
}


.GridEditing {
    background-color: #ffff00 !important;
}

.GridSelecting {
    background-color: #ccc !important;
}





/* ============================================ */
/* AccessDenied - استایل‌های دسترسی غیرمجاز */
/* ============================================ */

.access-denied-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    animation: accessDeniedFadeInUp 0.8s ease-out;
}

.access-denied-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 50px 40px 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .access-denied-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
    }

.access-denied-icon-wrapper {
    display: inline-flex;
    background: #fee2e2;
    padding: 20px;
    border-radius: 50%;
    margin-bottom: 24px;
    transition: background 0.3s ease;
}

    .access-denied-icon-wrapper:hover {
        background: #fecaca;
    }

.access-denied-lock-icon {
    width: 56px;
    height: 56px;
    color: #dc2626;
    stroke-width: 1.8;
}

.access-denied-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.access-denied-message {
    font-size: 18px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
    font-weight: 500;
}

.access-denied-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #f87171);
    margin: 20px auto;
    border-radius: 4px;
}

.access-denied-hint {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

.access-denied-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.access-denied-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 160px;
    text-align: center;
    letter-spacing: 0.3px;
}

.access-denied-btn-primary {
    background: #1e293b;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.3);
}

    .access-denied-btn-primary:hover {
        background: #0f172a;
        transform: scale(1.04);
        box-shadow: 0 8px 20px rgba(30, 41, 59, 0.4);
    }

.access-denied-btn-secondary {
    background: transparent;
    color: #1e293b;
    border: 2px solid #1e293b;
}

    .access-denied-btn-secondary:hover {
        background: #1e293b;
        color: #ffffff;
        transform: scale(1.04);
    }

/* Animation */
@keyframes accessDeniedFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive - موبایل */
@media (max-width: 640px) {
    .access-denied-card {
        padding: 36px 24px 30px;
        border-radius: 24px;
    }

    .access-denied-title {
        font-size: 24px;
    }

    .access-denied-message {
        font-size: 16px;
    }

    .access-denied-lock-icon {
        width: 44px;
        height: 44px;
    }

    .access-denied-icon-wrapper {
        padding: 16px;
    }

    .access-denied-btn {
        padding: 12px 24px;
        font-size: 15px;
        min-width: 140px;
    }

    .access-denied-actions {
        flex-direction: column;
        align-items: center;
    }

    .access-denied-btn {
        width: 100%;
        max-width: 260px;
    }
}

/* Responsive - موبایل کوچک */
@media (max-width: 400px) {
    .access-denied-card {
        padding: 28px 16px 24px;
    }

    .access-denied-title {
        font-size: 20px;
    }

    .access-denied-message {
        font-size: 14px;
    }

    .access-denied-hint {
        font-size: 13px;
    }

    .access-denied-lock-icon {
        width: 36px;
        height: 36px;
    }

    .access-denied-icon-wrapper {
        padding: 12px;
    }
}

/* ============================================ */
/* AccessDenied - پایان استایل‌ها */
/* ============================================ */


/* ============================================ */
/* DashboardLinks - استایل‌های لینک‌های داشبورد */
/* ============================================ */

.dashboard-links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 10px 0;
}

.dashboard-link-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    text-align: center;
    cursor: pointer;
    width: auto;
    white-space: nowrap;
}

    .dashboard-link-btn:hover {
        background: #3b82f6;
        color: #ffffff;
        border-color: #3b82f6;
        transform: translateY(-2px);
    }

    .dashboard-link-btn:active {
        transform: scale(0.96);
    }

/* Responsive */
@media (max-width: 640px) {
    .dashboard-links-grid {
        gap: 8px;
        justify-content: center;
    }

    .dashboard-link-btn {
        padding: 8px 18px;
        font-size: 13px;
        border-radius: 8px;
        white-space: nowrap;
    }
}

@media (max-width: 400px) {
    .dashboard-links-grid {
        gap: 6px;
    }

    .dashboard-link-btn {
        padding: 6px 14px;
        font-size: 12px;
        border-radius: 6px;
    }
}

/* ============================================ */
/* DashboardLinks - پایان استایل‌ها */
/* ============================================ */ /* ============================================ */
/* DashboardLinks - استایل‌های لینک‌های داشبورد */
/* ============================================ */

.dashboard-links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 10px 10px;
}

.dashboard-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    text-align: center;
    cursor: pointer;
    flex: 1 1 auto;
    min-width: 100px;
    max-width: 100%;
    gap: 6px;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    height: auto;
}

    .dashboard-link-btn:hover {
        background: #3b82f6;
        color: #ffffff;
        border-color: #3b82f6;
        transform: translateY(-2px);
    }

    .dashboard-link-btn:active {
        transform: scale(0.96);
    }

/* Responsive - تبلت */
@media (max-width: 768px) {
    .dashboard-links-grid {
        gap: 10px;
    }

    .dashboard-link-btn {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 8px;
        min-width: 80px;
        min-height: 40px;
        gap: 5px;
    }
}

/* Responsive - موبایل */
@media (max-width: 480px) {
    .dashboard-links-grid {
        gap: 8px;
        justify-content: center;
    }

    .dashboard-link-btn {
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 6px;
        min-width: 60px;
        min-height: 36px;
        flex: 0 1 auto;
        gap: 4px;
    }
}

/* Responsive - موبایل خیلی کوچک (وقتی متن‌ها نصفه میشن) */
@media (max-width: 380px) {
    .dashboard-links-grid {
        gap: 6px;
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-link-btn {
        flex: 1 1 100%;
        width: 100%;
        padding: 10px 14px;
        font-size: 13px;
        white-space: normal;
        word-wrap: break-word;
        word-break: break-word;
        text-align: center;
        justify-content: center;
        min-height: 44px;
    }
}

/* ============================================ */
/* DashboardLinks - پایان استایل‌ها */
/* ============================================ */



.btn-official-factor {
    background: #8e44ad;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    display: inline-block;
}

    .btn-official-factor:hover {
        background: #732d91;
        color: white;
    }



    /* ===== Picture Manager Container ===== */
.picture-manager-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    direction: rtl;
}

/* ===== Header ===== */
.pm-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 30px 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.pm-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.pm-header-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.pm-header-text h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pm-header-text p {
    margin: 8px 0 0 0;
    font-size: 16px;
    opacity: 0.9;
}

/* ===== Stats ===== */
.pm-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.pm-stat-item {
    background: white;
    border-radius: 12px;
    padding: 20px 30px;
    flex: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f7;
    text-align: center;
    transition: all 0.3s ease;
}

.pm-stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.pm-stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
}

.pm-stat-label {
    display: block;
    font-size: 14px;
    color: #718096;
    margin-top: 5px;
}

/* ===== Category ===== */
.pm-category {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f7;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pm-category:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.pm-category-header {
    padding: 18px 24px;
    background: #f8fafc;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    border-bottom: 1px solid #eef2f7;
}

.pm-category-header:hover {
    background: #f1f4f8;
}

.pm-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-category-icon {
    font-size: 24px;
}

.pm-category-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.pm-category-count {
    background: #667eea;
    color: white;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.pm-category-toggle {
    color: #a0aec0;
    transition: transform 0.3s ease;
}

.pm-category.active .pm-category-toggle {
    transform: rotate(180deg);
}

.pm-category-content {
    padding: 20px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    background: white;
}

/* ===== Image Item ===== */
.pm-image-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    border: 1px solid #eef2f7;
}

.pm-image-item:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #667eea;
}

.pm-image-preview {
    position: relative;
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #edf2f7;
    margin-bottom: 12px;
}

.pm-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pm-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: white;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pm-image-item:hover .pm-image-overlay {
    opacity: 1;
}

.pm-image-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pm-image-title {
    display: flex;
    flex-direction: column;
}

.pm-image-label {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}

.pm-image-filename {
    font-size: 12px;
    color: #a0aec0;
}

.pm-image-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pm-file-upload {
    flex: 1;
    min-width: 120px;
    padding: 6px 10px;
    border: 1px dashed #cbd5e0;
    border-radius: 6px;
    background: white;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pm-file-upload:hover {
    border-color: #667eea;
    background: #f7fafc;
}

/* ===== Buttons ===== */
.pm-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pm-btn svg {
    flex-shrink: 0;
}

.pm-btn-restore {
    background: #edf2f7;
    color: #4a5568;
}

.pm-btn-restore:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.pm-btn-view {
    background: #667eea;
    color: white;
}

.pm-btn-view:hover {
    background: #5a67d8;
    transform: translateY(-1px);
    color: white;
}

.pm-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
}

.pm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.pm-btn-secondary {
    background: #edf2f7;
    color: #4a5568;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
}

.pm-btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* ===== Actions ===== */
.pm-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 30px 0 10px 0;
    margin-top: 20px;
    border-top: 2px solid #eef2f7;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .pm-header {
        padding: 20px;
    }
    
    .pm-header-text h2 {
        font-size: 22px;
    }
    
    .pm-stats {
        flex-direction: column;
    }
    
    .pm-category-content {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    
    .pm-image-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pm-file-upload {
        width: 100%;
    }
    
    .pm-actions {
        flex-direction: column;
    }
    
    .pm-btn-primary,
    .pm-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}




 /* ===== Mohtava Container ===== */
    .mohtava-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 20px;
        direction: rtl;
    }

    /* ===== Header ===== */
    .mohtava-header {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        border-radius: 16px;
        padding: 30px 40px;
        margin-bottom: 30px;
        box-shadow: 0 10px 40px rgba(245, 87, 108, 0.3);
    }

    .mohtava-header-content {
        display: flex;
        align-items: center;
        gap: 20px;
        color: white;
    }

    .mohtava-header-icon {
        font-size: 40px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        padding: 12px 18px;
        backdrop-filter: blur(10px);
    }

    .mohtava-header-text h2 {
        margin: 0;
        font-size: 28px;
        font-weight: 700;
    }

    .mohtava-header-text p {
        margin: 8px 0 0 0;
        font-size: 16px;
        opacity: 0.9;
    }

    /* ===== Sections ===== */
    .mohtava-section {
        background: white;
        border-radius: 16px;
        padding: 24px;
        margin-bottom: 24px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
        border: 1px solid #eef2f7;
    }

    .mohtava-section-style {
        border: 2px solid #f5576c;
        background: #fff5f7;
    }

    .mohtava-section-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 2px solid #f0f0f0;
        font-size: 18px;
        font-weight: 600;
        color: #2d3748;
    }

    .mohtava-section-sub {
        font-size: 13px;
        font-weight: 400;
        color: #a0aec0;
    }

    /* ===== Editor ===== */
    .mohtava-editor-wrapper {
        direction: ltr;
    }

    .mohtava-editor {
        width: 100%;
        height: 350px;
        direction: ltr;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 12px;
    }

    /* ===== Style Editor ===== */
    .mohtava-style-editor {
        position: relative;
    }

    .mohtava-style-textarea {
        width: calc(100% - 26px);
        height: 100px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 12px;
        font-size: 13px;
        direction: ltr;
        text-align: left;
        resize: vertical;
        transition: border-color 0.3s ease;
        background: #fafbfc;
        color: #2d3748;
        line-height: 1.6;
    }

    .mohtava-style-textarea:focus {
        border-color: #667eea;
        outline: none;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .mohtava-style-helper {
        margin-top: 8px;
        font-size: 12px;
        color: #a0aec0;
    }

    /* ===== Templates Grid ===== */
    .mohtava-templates-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 16px;
        margin-top: 16px;
    }

    .mohtava-template-item {
        background: #f8fafc;
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 3px solid transparent;
        position: relative;
    }

    .mohtava-template-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        border-color: #667eea;
    }

    .mohtava-template-item.selected {
        border-color: #f5576c;
        box-shadow: 0 0 0 3px rgba(245, 87, 108, 0.3);
    }

    .mohtava-template-preview {
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
        transition: all 0.3s ease;
    }

    .mohtava-template-preview-content {
        text-align: center;
        width: 100%;
    }

    .mohtava-template-preview-title {
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 3px;
        color: #2d3748;
    }

    .mohtava-template-preview-text {
        font-size: 10px;
        color: #718096;
        margin-bottom: 3px;
    }

    .mohtava-template-preview-tag {
        display: inline-block;
        font-size: 8px;
        background: rgba(255, 255, 255, 0.8);
        padding: 1px 10px;
        border-radius: 10px;
        color: #2d3748;
        font-weight: 600;
    }

    .mohtava-template-info {
        padding: 10px 14px;
        background: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #eef2f7;
    }

    .mohtava-template-name {
        font-size: 12px;
        font-weight: 600;
        color: #2d3748;
    }

    .mohtava-template-badge {
        font-size: 9px;
        color: white;
        padding: 1px 10px;
        border-radius: 10px;
    }

    .mohtava-badge-hot { background: #f5576c; }
    .mohtava-badge-new { background: #48bb78; }
    .mohtava-badge-popular { background: #ed8936; }
    .mohtava-badge-vip { background: #9f7aea; }
    .mohtava-badge-none { display: none; }

    /* ===== Live Preview ===== */
    .mohtava-preview-wrapper {
        background: #f7fafc;
        border-radius: 12px;
        padding: 20px;
        min-height: 200px;
        border: 2px dashed #e2e8f0;
    }

    .mohtava-live-preview {
        min-height: 180px;
    }

    .mohtava-preview-content {
        min-height: 160px;
    }

    .mohtava-preview-content > div {
        min-height: 100px;
    }

    /* ===== Buttons ===== */
    .mohtava-actions {
        display: flex;
        gap: 16px;
        justify-content: center;
        padding: 20px 0 10px 0;
        margin-top: 20px;
        border-top: 2px solid #eef2f7;
    }

    .mohtava-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 40px;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .mohtava-btn-primary {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        color: white;
        box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
    }

    .mohtava-btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(245, 87, 108, 0.4);
    }

    .mohtava-btn-secondary {
        background: #edf2f7;
        color: #4a5568;
    }

    .mohtava-btn-secondary:hover {
        background: #e2e8f0;
        transform: translateY(-3px);
    }

    /* ===== Responsive ===== */
    @media (max-width: 768px) {
        .mohtava-header {
            padding: 20px;
        }
        
        .mohtava-header-text h2 {
            font-size: 22px;
        }
        
        .mohtava-templates-grid {
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 12px;
        }
        
        .mohtava-actions {
            flex-direction: column;
        }
        
        .mohtava-btn {
            width: 100%;
            justify-content: center;
        }
        
        .mohtava-section-title {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }
    }



    /* ===== Style Grid ===== */
.mohtava-style-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mohtava-style-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.mohtava-style-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 150px;
}

.mohtava-style-group label {
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
}

.mohtava-input {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.mohtava-input:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.mohtava-input-color {
    padding: 4px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 60px;
    height: 40px;
    cursor: pointer;
}

.mohtava-select {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
    background: white;
}

.mohtava-input-small {
    padding: 6px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 12px;
    width: 70px;
    text-align: center;
}

.mohtava-select-small {
    padding: 6px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 12px;
    width: 80px;
    background: white;
}

.mohtava-input-color-small {
    padding: 2px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    width: 40px;
    height: 32px;
    cursor: pointer;
}

.mohtava-sub-group {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.mohtava-style-textarea {
    width: 100%;
    height: 120px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    direction: ltr;
    text-align: left;
    resize: vertical;
    background: #fafbfc;
    color: #2d3748;
    line-height: 1.6;
    box-sizing: border-box;
}

.mohtava-style-textarea:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}



/* ===== BoxRow - نمایش افقی آیتم‌ها ===== */
.BoxRow {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding:0 0 10px 0px !important;
    background: #ffffff !important;
    margin:10px;
}

/* حذف float از همه المان‌های سطح اول داخل BoxRow */
.BoxRow > * {
    float: none !important;
    display: inline-block !important;
    vertical-align: top !important;
    margin: 0 !important;
}

/* اگر میخوای آیتم‌ها یکسان عرض داشته باشن (اختیاری) */
.BoxRow > * {
    flex: 1 !important;
    min-width: 100% !important;
}
/* ===== استایل BoxRowTitle ===== */
.BoxRowTitle {
    background:#e2e8f0;
    padding: 10px 0px !important;
    border-radius: 8px 8px 0 0 !important;
    font-size: 10pt !important;
    font-weight: 600 !important;
    margin: 0 !important;
}


 /* ===== پترن‌های آماده (با SVG) ===== */
.pattern-dots-blue {
    background: #e3f2fd url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%2390caf9" fill-opacity="0.3"%3E%3Ccircle cx="20" cy="20" r="3"/%3E%3C/g%3E%3C/svg%3E') repeat !important;
}

.pattern-dots-pink {
    background: #fce4ec url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23f48fb1" fill-opacity="0.3"%3E%3Ccircle cx="20" cy="20" r="3"/%3E%3C/g%3E%3C/svg%3E') repeat !important;
}

.pattern-lines-green {
    background: #e8f5e9 url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg stroke="%2381c784" stroke-width="1.5" fill="none" opacity="0.3"%3E%3Cpath d="M10 10 L50 50"/%3E%3Cpath d="M10 20 L50 60"/%3E%3Cpath d="M20 10 L60 50"/%3E%3C/g%3E%3C/svg%3E') repeat !important;
}

.pattern-grid-blue {
    background: #bbdefb url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Crect width="20" height="20" fill="%2364b5f6" fill-opacity="0.15"/%3E%3Crect x="20" y="20" width="20" height="20" fill="%2364b5f6" fill-opacity="0.15"/%3E%3C/svg%3E') repeat !important;
}

.pattern-triangle-orange {
    background: #fff3e0 url('data:image/svg+xml,%3Csvg width="50" height="50" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M25 5 L35 30 L15 30 Z" fill="%23ffa726" fill-opacity="0.12"/%3E%3C/svg%3E') repeat !important;
}

.pattern-diamond-purple {
    background: #f3e5f5 url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M20 0 L30 20 L20 40 L10 20 Z" fill="%23ab47bc" fill-opacity="0.12"/%3E%3C/svg%3E') repeat !important;
}

.pattern-dots-lightblue {
    background: #e1f5fe url('data:image/svg+xml,%3Csvg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Ccircle cx="15" cy="15" r="4" fill="%234fc3f7" fill-opacity="0.2"/%3E%3C/svg%3E') repeat !important;
}

.pattern-lines-gold {
    background: #fff8e1 url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cg stroke="%23ffd54f" stroke-width="1.5" fill="none" opacity="0.4"%3E%3Cline x1="0" y1="40" x2="40" y2="0"/%3E%3Cline x1="20" y1="40" x2="60" y2="0"/%3E%3Cline x1="-20" y1="40" x2="20" y2="0"/%3E%3C/g%3E%3C/svg%3E') repeat !important;
}

.pattern-circles-pink {
    background: #fce4ec url('data:image/svg+xml,%3Csvg width="50" height="50" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"%3E%3Ccircle cx="25" cy="25" r="8" stroke="%23f06292" stroke-width="2" fill="none" opacity="0.15"/%3E%3C/svg%3E') repeat !important;
}

.pattern-squares-blue {
    background: #e8eaf6 url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Crect width="20" height="20" fill="%233f51b5" fill-opacity="0.08"/%3E%3C/svg%3E') repeat !important;
}

.pattern-dots-gold {
    background: #fffde7 url('data:image/svg+xml,%3Csvg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Ccircle cx="15" cy="15" r="3" fill="%23ffd54f" fill-opacity="0.3"/%3E%3C/svg%3E') repeat !important;
}

.pattern-circles-blue {
    background: #e3f2fd url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%2390caf9" fill-opacity="0.2"%3E%3Ccircle cx="10" cy="10" r="6"/%3E%3Ccircle cx="50" cy="30" r="8"/%3E%3Ccircle cx="30" cy="55" r="5"/%3E%3Ccircle cx="55" cy="10" r="7"/%3E%3C/g%3E%3C/svg%3E') repeat fixed !important;
    background-size: 120px 120px !important;
}

.pattern-stars-purple {
    background: #f3e5f5 url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M20 0 L24 14 L39 14 L27 23 L31 38 L20 29 L9 38 L13 23 L1 14 L16 14 Z" fill="%23ce93d8" fill-opacity="0.15"/%3E%3C/svg%3E') repeat !important;
}

.pattern-waves-blue {
    background: #e0f7fa url('data:image/svg+xml,%3Csvg width="50" height="30" viewBox="0 0 50 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 20 Q12.5 5 25 20 Q37.5 35 50 20" stroke="%234fc3f7" stroke-width="2" fill="none" opacity="0.25"/%3E%3C/svg%3E') repeat !important;
}

.pattern-dots-color {
    background: #f5f5f5 url('data:image/svg+xml,%3Csvg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Ccircle cx="10" cy="10" r="3" fill="%23ff6b6b" fill-opacity="0.2"/%3E%3Ccircle cx="20" cy="20" r="3" fill="%234ecdc4" fill-opacity="0.2"/%3E%3Ccircle cx="0" cy="20" r="3" fill="%23ffe66d" fill-opacity="0.2"/%3E%3C/svg%3E') repeat !important;
}

.pattern-honeycomb {
    background: #fffde7 url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M30 0 L60 15 L60 45 L30 60 L0 45 L0 15 Z" fill="%23ffd54f" fill-opacity="0.08" stroke="%23ffd54f" stroke-width="0.5"/%3E%3C/svg%3E') repeat !important;
}

.pattern-lines-vertical {
    background: #eceff1 url('data:image/svg+xml,%3Csvg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cline x1="15" y1="0" x2="15" y2="30" stroke="%23b0bec5" stroke-width="1.5" opacity="0.2"/%3E%3C/svg%3E') repeat !important;
}

.pattern-squares-alt {
    background: #f5f5f5 url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Crect x="0" y="0" width="20" height="20" fill="%23e0e0e0" opacity="0.3"/%3E%3Crect x="20" y="20" width="20" height="20" fill="%23e0e0e0" opacity="0.3"/%3E%3C/svg%3E') repeat !important;
}

.pattern-lines-horizontal {
    background: #fafafa url('data:image/svg+xml,%3Csvg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cline x1="0" y1="15" x2="30" y2="15" stroke="%23e0e0e0" stroke-width="1.5" opacity="0.3"/%3E%3C/svg%3E') repeat !important;
}

.pattern-triangles-blue {
    background: #e3f2fd url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cpolygon points="20,5 35,35 5,35" fill="%2364b5f6" fill-opacity="0.08"/%3E%3C/svg%3E') repeat !important;
}

.pattern-circles-purple {
    background: #f3e5f5 url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Ccircle cx="30" cy="30" r="10" fill="%23ab47bc" fill-opacity="0.06"/%3E%3Ccircle cx="0" cy="0" r="10" fill="%23ab47bc" fill-opacity="0.06"/%3E%3Ccircle cx="60" cy="0" r="10" fill="%23ab47bc" fill-opacity="0.06"/%3E%3Ccircle cx="0" cy="60" r="10" fill="%23ab47bc" fill-opacity="0.06"/%3E%3Ccircle cx="60" cy="60" r="10" fill="%23ab47bc" fill-opacity="0.06"/%3E%3C/svg%3E') repeat !important;
}

.pattern-dots-teal {
    background: #e0f2f1 url('data:image/svg+xml,%3Csvg width="35" height="35" viewBox="0 0 35 35" xmlns="http://www.w3.org/2000/svg"%3E%3Ccircle cx="17.5" cy="17.5" r="4" fill="%2326a69a" fill-opacity="0.15"/%3E%3C/svg%3E') repeat !important;
}


/* ===== پترن‌های شرکتی و رسمی ===== */

/* 1. خطوط مورب ظریف - آبی شرکتی */
.pattern-corporate-lines {
    background: #f0f4f8 url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg stroke="%23b0c4de" stroke-width="0.5" fill="none" opacity="0.3"%3E%3Cpath d="M0 60 L60 0"/%3E%3Cpath d="M-20 60 L40 0"/%3E%3Cpath d="M20 60 L80 0"/%3E%3C/g%3E%3C/svg%3E') repeat !important;
}

/* 2. نقطه‌های ظریف - خاکستری اداری */
.pattern-corporate-dots {
    background: #f5f7fa url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23c0c8d4" fill-opacity="0.25"%3E%3Ccircle cx="20" cy="20" r="1.5"/%3E%3C/g%3E%3C/svg%3E') repeat !important;
}

/* 3. خطوط عمودی - آبی ملایم */
.pattern-corporate-vertical {
    background: #eef2f7 url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cline x1="20" y1="0" x2="20" y2="40" stroke="%23d0dce8" stroke-width="0.8" opacity="0.4"/%3E%3C/svg%3E') repeat !important;
}

/* 4. شطرنجی ظریف - خاکستری */
.pattern-corporate-grid {
    background: #f8f9fb url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Crect width="20" height="20" fill="%23e8ecf1" fill-opacity="0.3"/%3E%3Crect x="20" y="20" width="20" height="20" fill="%23e8ecf1" fill-opacity="0.3"/%3E%3C/svg%3E') repeat !important;
}

/* 5. خطوط افقی - آبی بسیار ملایم */
.pattern-corporate-horizontal {
    background: #f2f6fa url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cline x1="0" y1="20" x2="40" y2="20" stroke="%23d5dfe9" stroke-width="0.8" opacity="0.4"/%3E%3C/svg%3E') repeat !important;
}

/* 6. لوزی‌های ظریف - آبی شرکتی */
.pattern-corporate-diamond {
    background: #f0f4fa url('data:image/svg+xml,%3Csvg width="50" height="50" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M25 5 L35 25 L25 45 L15 25 Z" fill="%23b8cce4" fill-opacity="0.15"/%3E%3C/svg%3E') repeat !important;
}

/* 7. خطوط مورب معکوس - آبی آسمانی */
.pattern-corporate-diagonal {
    background: #f0f4f8 url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg stroke="%23c5d5e8" stroke-width="0.5" fill="none" opacity="0.4"%3E%3Cpath d="M60 60 L0 0"/%3E%3Cpath d="M80 60 L20 0"/%3E%3Cpath d="M40 60 L-20 0"/%3E%3C/g%3E%3C/svg%3E') repeat !important;
}

/* 8. مربع‌های توخالی - مدرن */
.pattern-corporate-squares {
    background: #f4f6f9 url('data:image/svg+xml,%3Csvg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Crect x="5" y="5" width="20" height="20" fill="none" stroke="%23c8d6e5" stroke-width="0.8" opacity="0.3"/%3E%3C/svg%3E') repeat !important;
}

/* 9. نقطه‌های ریز - آبی مات */
.pattern-corporate-mini-dots {
    background: #f5f7fb url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23bccbdb" fill-opacity="0.2"%3E%3Ccircle cx="10" cy="10" r="1"/%3E%3C/g%3E%3C/svg%3E') repeat !important;
}

/* 10. خطوط دوتایی - شیک */
.pattern-corporate-double-lines {
    background: #f2f5f9 url('data:image/svg+xml,%3Csvg width="50" height="50" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"%3E%3Cg stroke="%23ccd8e6" stroke-width="0.5" fill="none" opacity="0.3"%3E%3Cline x1="0" y1="15" x2="50" y2="15"/%3E%3Cline x1="0" y1="35" x2="50" y2="35"/%3E%3C/g%3E%3C/svg%3E') repeat !important;
}

/* 11. مثلث‌های ظریف - آبی روشن */
.pattern-corporate-triangle {
    background: #eef3f8 url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cpolygon points="20,2 38,38 2,38" fill="%23b8cfe0" fill-opacity="0.08"/%3E%3C/svg%3E') repeat !important;
}

/* 12. راه‌های عمودی نازک - رسمی */
.pattern-corporate-stripes {
    background: #f4f7fb url('data:image/svg+xml,%3Csvg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Crect width="2" height="30" fill="%23d0dce8" opacity="0.2"/%3E%3C/svg%3E') repeat !important;
}

/* 13. لانه زنبوری ملایم - مدرن شرکتی */
.pattern-corporate-honeycomb {
    background: #f0f4f9 url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M30 0 L60 15 L60 45 L30 60 L0 45 L0 15 Z" fill="%23c5d5e8" fill-opacity="0.06" stroke="%23c5d5e8" stroke-width="0.3"/%3E%3C/svg%3E') repeat !important;
}

/* 14. نقطه‌چین ظریف - آبی آرام */
.pattern-corporate-dash {
    background: #f2f6fb url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cg stroke="%23bdcfe0" stroke-width="1" stroke-dasharray="2 4" fill="none" opacity="0.3"%3E%3Cline x1="0" y1="20" x2="40" y2="20"/%3E%3Cline x1="20" y1="0" x2="20" y2="40"/%3E%3C/g%3E%3C/svg%3E') repeat !important;
}

/* 15. موج‌های ظریف - شرکتی */
.pattern-corporate-wave {
    background: #edf2f7 url('data:image/svg+xml,%3Csvg width="50" height="20" viewBox="0 0 50 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 15 Q12.5 5 25 15 Q37.5 25 50 15" stroke="%23bccfe0" stroke-width="0.8" fill="none" opacity="0.25"/%3E%3C/svg%3E') repeat !important;
}

/* 16. شطرنجی ۳D - مدرن شرکتی */
.pattern-corporate-3d-grid {
    background: #f0f4f8 url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 20 L20 40 L40 20 L20 0 Z" fill="%23c8d8e8" fill-opacity="0.06"/%3E%3C/svg%3E') repeat !important;
}





/* ============================================ */
/* کانتینرها با !important برای override        */
/* ============================================ */

/* ============ کانتینر ۱: راست + چپ ============ */
.container-2 {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
}

.container-2 .DivFormTextBoxRight {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 420px !important;
    max-width: 420px !important;
    width: 420px !important;
    min-width: 420px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e0e6ef !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
    padding: 10px 0 !important;
    box-sizing: border-box !important;
}

.container-2 .DivFormTextBoxLeft {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 calc(100% - 430px) !important;
    max-width: calc(100% - 430px) !important;
    width: calc(100% - 430px) !important;
    min-width: 250px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e0e6ef !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
    padding: 10px 0 !important;
    box-sizing: border-box !important;
}

/* ============ کانتینر ۲: ۳ تا right ============ */
.container-3-right {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
    justify-content:center;
}

.container-3-right .DivFormTextBoxRight {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 calc(33.333% - 10px) !important;
    max-width: calc(33.333% - 10px) !important;
    width: calc(33.333% - 10px) !important;
    min-width: 200px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e0e6ef !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
    padding: 10px 0 !important;
    box-sizing: border-box !important;
}

/* ============ کانتینر ۳: ۲ تا left ============ */
.container-2-left {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
}

.container-2-left .DivFormTextBoxLeft {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    min-width: 200px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e0e6ef !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
    padding: 10px 0 !important;
    box-sizing: border-box !important;
}

/* ============ ریسپانسیو ============ */
@media screen and (max-width: 992px) {
    .container-2 .DivFormTextBoxRight {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: unset !important;
    }
    
    .container-2 .DivFormTextBoxLeft {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: unset !important;
    }
}

@media screen and (max-width: 768px) {
    .container-3-right .DivFormTextBoxRight {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: unset !important;
    }
    
    .container-2-left .DivFormTextBoxLeft {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: unset !important;
    }
}

@media screen and (max-width: 480px) {
    .container-2 .DivFormTextBoxRight,
    .container-2 .DivFormTextBoxLeft,
    .container-3-right .DivFormTextBoxRight,
    .container-2-left .DivFormTextBoxLeft {
        padding: 8px 0 !important;
    }
}