.fl-table {
    border-radius: 5px !important;
    font-size: 12px !important;
    font-weight: normal !important;
    border: none !important;
    border-collapse: collapse !important;
    /*----*/
    width: 100% !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    background-color: white !important;
}

.fl-table td, .fl-table th {
    text-align: center !important;
    padding: 8px !important;
}

.fl-table td {
    border: 1px solid #f8f8f8 !important;
    font-size: 12px !important;
}
.fl-table th a {
    color: #ffffff !important;
}

.fl-table th {
    color: #ffffff !important;
    background: #d4e3f8 !important;
}


.fl-table th:nth-child(odd) {
    color: #ffffff !important;
    background: #d7e2fa !important;
}

.fl-table tr:nth-child(even) {
    background: #F8F8F8 !important;
}

/* Responsive */

@media (max-width: 767px) {
    .fl-table {
        display: block;
        width: 100%;
    }
    .table-wrapper:before{
        content: "Scroll horizontally >";
        display: block;
        text-align: right;
        font-size: 11px;
        color: white;
        padding: 0 0 10px;
    }
    .fl-table thead, .fl-table tbody, .fl-table thead th {
        display: block;
    }
    
    .fl-table thead th:last-child{
        border-bottom: none;
    }
    .fl-table thead {
        float: left;
    }
    .fl-table tbody {
        width: auto;
        position: relative;
        overflow-x: auto;
    }
    .fl-table td, .fl-table th {
        padding: 20px .625em .625em .625em;
        height: 60px;
        vertical-align: middle;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        width: 120px;
        font-size: 13px;
        text-overflow: ellipsis;
    }
    .fl-table thead th {
        text-align: left;
        border-bottom: 1px solid #f7f7f9;
    }
    .fl-table tbody tr {
        display: table-cell;
    }
    .fl-table tbody tr:nth-child(odd) {
        background: none;
    }
    .fl-table tr:nth-child(even) {
        background: transparent;
    }
    .fl-table tr td:nth-child(odd) {
        background: #F8F8F8;
        border-right: 1px solid #E6E4E4;
    }
    .fl-table tr td:nth-child(even) {
        border-right: 1px solid #E6E4E4;
    }
    .fl-table tbody td {
        display: block;
        text-align: center;
    }
}
.TemplateFanavar div[id$="ViewForm_PanelFormHolder"]:has(.TemplateFanavar) {
    margin-bottom: 30px;
    background-color: #ffffff;
    border-radius: 30px;
    box-shadow: 0 3px 20px -4px rgb(51 74 159 / 25%);
}
.TemplateFanavar .row{
 margin-right: 0px;
    margin-left: 0px; 
}
.TemplateFanavar .EFButtonsHolder {
     border-bottom: solid 0px #fff; 
}
.TemplateFanavar .Header {
	font-weight: 700; 
  	font-size: 16px;
  	color:#d50404;
   
}

div#ViewForm_PanelFormHolder:has(.TemplateFanavar){
 background-color:#000; 
}

table.EFFormBody.dnnFormItem.TemplateFanavar tr td table tbody tr td table tbody tr td img{
    width: 3em;
    margin-bottom: 12% !important;
}
.TextBoxCustom {
    /*background-color: #f0f4f7 !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    color: #000 !important;
    font-weight: 200;*/
    height: 42px;
    padding: 0 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background-color: #f8fafc !important;
    font-size: 13.5px !important;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
    font-family: inherit;
}
.LableCustom
{
    font-size: 13px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  min-width: 130px;
  text-align: right;
}
.SubHead {
    color: #000000 !important;
}
.TemplateFanavar .row:first-child {
    border-radius: 30px 30px 0 0;
    background: linear-gradient(to top, #334a9f00, #334a9f4d);
}
#Body, html, body, .Head, .SubTitle, .SubSubTitle, .Normal {
    font-family: IRANSans;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #000000;
}
.SubHead {
    color: #000000 !important;
}
.BgDescription {
    background-color: #f2f6f9;
    border: 1px solid #21296812;
    padding: 3em 0;
    margin-bottom: 1em;
    border-radius: 15px;
}
.btn-darkblue
{  
  color: #fff;
    background-color: #212950;
    border-color: #212950;
    padding: 1em 2em;
    font-size: 1.3em;
}
.btn-darkblue:hover
{
    color: #fff;
    background-color: #212950;
    border-color: #212950;
    padding: 1em 2em;
    font-size: 1.3em;
}
.chosen-container-multi .chosen-choices {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0 5px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    padding: 0.8em 1em;
    border: none !important;
    background-color: #f2f6f9;
    background-image:none;
    background-image:none;
    background-image:none;
    background-image:none;
    background-image:none;
}
.chosen-container-multi .chosen-choices li.search-choice {
    position: relative;
    margin: 3px 5px 3px 0;
    padding: 8px 15px 8px 19px;
    border: 1px solid #2129504f;
    max-width: 100%;
    border-radius: 10px !important;
    border-radius: 3px;
    background-color: #dfebf2;
    /* background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee)); */
    /* background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); */
    background-image: none;
    background-image: none;
    background-image: none;
    background-size: 100% 19px;
    background-repeat: none;
    background-clip: padding-box;
    box-shadow: none;
    color: #333;
    line-height: 15px;
    cursor: default;
}

.validation {
    border-right: 3px solid #23285282 !important;
}
.bgReport
{
    background-color: #eeeff3;
    margin: 0.5em 0em;
    border-radius: 10px;
}
.faradidActionBut.ActionCustom .CommandButton {
    background-color: #334a9f !important;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 40px;
    border-bottom: 5px solid #364da0;
    border-bottom-color: #8193d3 !important;
}
A.CommandButton:hover {
    background-color: #243a89 !important;
    text-decoration: none !important;
}
.faradidActionBut.ActionCustom .CommandButton {
    color: white !important;
    font-size: 14px !important;
    font-weight: bold !important;
}
.EFButtonsHolder td {
    padding: 10px;
    max-width: 300px !important;
}
.CommandButton, A.CommandButton:link, A.CommandButton:visited, A.CommandButton:active {
    font-size: 12px;
    color: #973939;
    color: #fff !important;
    text-decoration: none;
    font-weight: normal;
}
.CheckboxCustom td{
width: 12vw !important;
}
#dnn_ctr383_EditForm_tdUpdate,#dnn_ctr383_EditForm_lnkUpdate,#dnn_ctr383_EditForm_hypLocalization,
#dnn_ctr383_EditForm_hypPreview,#dnn_ctr383_EditForm_urlReturn
{
    color: #000 !important;
}
span#dnn_ctr383_EditForm_LabelPaging a {
    color: #000 !important;
}
td.DevGridFont.dxgv {
    overflow-wrap: anywhere;
}
.RadioCustom input[type=radio] {
    float: right;
}
.ModFaradidConsoleC div div div{
    display: flex;
    flex-wrap: wrap;
}
.validation
 {
    border-right: 3px solid #ff0000 !important;
}

.faradidActionBut.ActionCustom .CommandButton:hover {
 background-color: #425ec9  !important; border-bottom-color: #a1b2ed!important; 
}

/*--------------------------login--------------------------*/

.rtl .LoginPanel {
    box-shadow: 0px 5px 10px 0px #cccccc;
    border-radius: 20px;
    padding-top: 45px;
    padding-left: inherit;
    padding-right: 20px;
    width: 100%;
}

.dnnFormItem input[type="text"]:active, .dnnFormItem input[type="text"]:focus, .dnnFormItem input[type="password"]:focus, .dnnFormItem input[type="password"]:active, .dnnFormItem input[type="email"]:active, .dnnFormItem input[type="email"]:focus, .dnnFormItem select:active, .dnnFormItem select:focus, .dnnFormItem textarea:active, .dnnFormItem textarea:focus, .dnnFormItem input[type="search"]:active, .dnnFormItem input[type="search"]:focus
 {
    background: #fff;
    border: 1px solid rgba(2, 139, 255, 0.5);
    -webkit-box-shadow: 0px 0px 3px 0px rgba(2, 139, 255, 0.4);
    box-shadow: 0px 0px 3px 0px rgba(2, 139, 255, 0.4);
    color: #334a9f;
    border-radius: 8px;
    border-color:#334a9f;
}

.dnnLoginService input[type="text"], .dnnLoginService input[type="password"]
 {
    width: 200px;
    min-width: 200px;
    margin-bottom: 5px;
    border-radius: 8px;
    border-color: #374faa;
    border-bottom-width: initial;
}

.dnnForm .dnnPrimaryAction
 {
    font-size: 16px;
    color: #FFF;
    background: #37519d;
    border: none;
    font-weight: normal;
    width: 100px;
    border-radius: 5px;
}

.dnnForm .dnnPrimaryAction:hover {
    color: #FFF;
    background: #37519de3;
}

.dnnForm .dnnSecondaryAction {
    font-size: 16px;
    color: #FFF;
    background: #d62f38;
    border: none;
    font-weight: normal;
    width: 100px;
    border-radius: 5px;
}

.dnnForm .dnnSecondaryAction:hover
 {
    color: #FFF;
    background: #d62f38e0;
}

.mark, mark
 {
    padding: .2em;
    background-color: inherit;
}

.dnnBoxLabel {
    display: inline-block;
    color: gray;
    font-size: 14px;
}

@media only screen and (max-width: 767px) {
    .rtl .loginContent .dnnFormLabel {
        text-align: right !important;
        width: 100px;
    }
}


.dnnPrimaryAction, .dnnFormItem input[type="submit"], a.dnnPrimaryAction {
    width: 100%;
    font-size: 14px;
    background: none;
    border: none;
    border-color: none;
    text-shadow: none !important;
    color: #d62f38;
    box-shadow: none;
}

.dnnPrimaryAction:hover, .dnnFormItem input[type="submit"]:hover, a.dnnPrimaryAction:hover
 {
    background: none;
    color: #37519d;
    box-shadow: none;
}

.dnnPrimaryAction:active, .dnnFormItem input[type="submit"]:active, a.dnnPrimaryAction:active
 {
    background: none;
    color: #d62f38;
    box-shadow: none;
 }

.rtl .am-info-18 {
    min-height: 110px !important;
}

.am-info-18 .icon img{
    width: 50px;
    height: 50px;
}

A.CommandButton:hover {
    background-color: #d1deff !important;
}

.CommandButton, A.CommandButton:link, A.CommandButton:visited, A.CommandButton:active
 {
    color: #022fb5 !important;
 }


 .dng-column col-sm-4 justify-content-center {
    max-width: 400px;     
    width: 100%;     
    margin: 40px auto;    
    padding: 20px;
    box-sizing: border-box;
}
.am-info-18::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 110px;
    height: 90px;
    border-radius: 0 0 100%;
    -webkit-transition: all cubic-bezier(0.420, 0.000, 1.000, 1.000) 300ms;
    transition: all cubic-bezier(0.420, 0.000, 1.000, 1.000) 300ms;
}


.FaradidLoginLogo img{
    margin-bottom: 50px;
    height: 100px;
}

.rtl .LoginPanel {
    background-color: white;
}
a:hover {
    color: #0b49ff;
}

.am-info-07:hover{
    transform: translateY(-5px);
    transition: .2s;
}
.userMenu .userNotifications , .userMenu .userMessages
, .userMenu .userSettings , .userMenu .userProfilename
{
display: none;
}




.am-info-07 {
    text-align: center;
}


.am-info-07 img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: transform .2s ease;
}

.am-info-07 img:hover {
    transform: scale(1.08);
}

.am-info-07 h5 {
    font-size: 15px;
    margin-top: 10px;
    line-height: 1.6;
    font-weight: 600;
}

@media (max-width: 576px) {
    .am-info-07 img {
        width: 75px; 
        height: 75px;
    }

    .am-info-07 h5 {
        font-size: 13px;
    }

    .col-6 {
        padding-left: 6px;
        padding-right: 6px;
    }
}

/* تبلت */
@media (min-width: 576px) and (max-width: 992px) {
    .am-info-07 img {
        width: 90px;
        height: 90px;
    }

    .am-info-07 h5 {
        font-size: 14px;
    }
}




@media (min-width: 992px) {
    .five-col {
        flex: 0 0 20%;
        max-width: 20%;
    }
}


@media (min-width: 992px) {
    .five-col {
        flex: 0 0 20%;
        max-width: 20%;
        padding-left: 8px;
        padding-right: 8px;
    }
}

.am-info-07 {
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 14px;
    padding: 28px 15px;  
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    transition: all .25s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.10);
}


.am-info-07:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}


.am-info-07 img {
    width: 115px;
    height: 115px;
    object-fit: contain;
    margin-bottom: 15px;
}


.am-info-07 h5 {
    font-size: 16px;
    line-height: 1.7;
    font-weight: 600;
    margin: 0;
}


@media (max-width: 576px) {
    .am-info-07 {
        padding: 18px 10px;
    }
    .am-info-07 img {
        width: 80px;
        height: 80px;
    }
    .am-info-07 h5 {
        font-size: 14px;
    }
}


@media (min-width: 992px) {
    #dnn_content {
        padding-top: 0px;
        padding-bottom: 0px;
    }
}


#dnn_content {
    padding-top: 0px;
    padding-bottom: 0px;
}


/*----------------مشخصات من--------------*/


.profile-container {
  background: #fff;
  padding: 28px 32px;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  border: 1px solid #eee;
  margin-top: 25px;
}


.profile-item {
  background: #fafafa;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid #f0f0f0;
  transition: 0.25s ease;
}

.profile-item:hover {
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}


.profile-item strong {
  color: #555;
  font-size: 14px;
  font-weight: 600;
}

.profile-item span {
  font-size: 15px;
  font-weight: 700;
  color: #000;
}


.profile-container .btn-primary {
  background: #d9e6ff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.25s ease;
}

.profile-container .btn-primary:hover {
  background: #0033ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(184, 227, 255, 0.25);
}

.profile-container .col-md-6 {
  margin-bottom: 22px;
  padding-right: 16px;
  padding-left: 16px;
}


.profile-container .col-md-6 {
  margin-bottom: 18px;
}

.profile-container .col-md-6:nth-child(odd) {
  padding-left: 20px;
}

.profile-container .col-md-6:nth-child(even) {
  padding-right: 20px;
}

.profile-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 25px; 
}

.profile-container .col-md-6 {
  flex: 0 0 calc(50% - 25px); 
}
.SelectWithOutText>.chosen-search
{
display:none !important;
}
.SelectWithOutText .chosen-search {
    display: none !important;
}
.faradid-btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #00407d !important;
    border-color: #00407d !important;
    opacity: 1;
}



/* =========================
دکمه علت خرابی 
========================= */
.bpmc-fault-cause {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 5px 10px !important;
    background: #2563eb !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.18);
    transition: all 0.2s ease;
}

/* آیکون افزودن */
.bpmc-fault-cause::before {
    content: "\f055";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 13px;
    line-height: 1;
}

/* Hover */
.bpmc-fault-cause:hover {
    background: #1d4ed8 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.25);
}

/* کلیک */
.bpmc-fault-cause:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}











.bpmc-save-fault {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    padding: 6px 13px !important;

    background: #16a34a !important;
    color: #ffffff !important;

    border: 1px solid #16a34a !important;
    border-radius: 6px !important;

    font-size: 12px !important;
    font-weight: 600 !important;

    cursor: pointer;
    text-decoration: none !important;

    box-shadow: 0 2px 5px rgba(22, 163, 74, 0.20);

    transition: all 0.2s ease;
}

.bpmc-save-fault:hover {
    background: #15803d !important;
    border-color: #15803d !important;
    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow: 0 4px 9px rgba(22, 163, 74, 0.28);
}

.bpmc-save-fault:active {
    transform: translateY(0);
}











.bpms-card-container {
    direction: rtl;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    width: 100%;
    margin: 10px 0;
}


/* کارت اصلی */

.bpms-card-container .bpms-blue-card {
    position: relative;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;

    min-height: 145px;
    padding: 20px !important;

    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 18px !important;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07) !important;

    text-decoration: none !important;

    overflow: hidden;

    transition: all 0.25s ease;
}


/* نوار بالای کارت */

.bpms-card-container .bpms-blue-card::before {
    content: "";
    position: absolute;

    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    background: #334a9f;
}


/* آیکون */

.bpms-card-container .bpms-blue-card i {
    width: 45px;
    height: 45px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    border-radius: 12px;

    background: #eef2ff;

    color: #334a9f;

    font-size: 20px;
}


/* عنوان */

.bpms-card-container .bpms-blue-card span {
    display: block;

    margin-bottom: 7px;

    color: #64748b !important;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.5;
}


/* عدد */

.bpms-card-container .bpms-blue-card strong {
    display: block;

    color: #1e293b !important;

    font-size: 27px;

    font-weight: 800;

    line-height: 1.2;

    direction: ltr;
}


/* Hover */

.bpms-card-container .bpms-blue-card:hover {
    transform: translateY(-5px);

    background: #ffffff !important;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}


/* =========================
   کارت اول
========================= */

.bpms-card-container .bpms-blue-card:nth-child(1)::before {
    background: #dc2626;
}

.bpms-card-container .bpms-blue-card:nth-child(1) i {
    background: #fee2e2;
    color: #dc2626;
}

.bpms-card-container .bpms-blue-card:nth-child(1) strong {
    color: #b91c1c !important;
}


/* =========================
   کارت دوم
========================= */

.bpms-card-container .bpms-blue-card:nth-child(2)::before {
    background: #16a34a;
}

.bpms-card-container .bpms-blue-card:nth-child(2) i {
    background: #dcfce7;
    color: #16a34a;
}

.bpms-card-container .bpms-blue-card:nth-child(2) strong {
    color: #15803d !important;
}


/* =========================
   کارت سوم
========================= */

.bpms-card-container .bpms-blue-card:nth-child(3)::before {
    background: #ea580c;
}

.bpms-card-container .bpms-blue-card:nth-child(3) i {
    background: #ffedd5;
    color: #ea580c;
}

.bpms-card-container .bpms-blue-card:nth-child(3) strong {
    color: #c2410c !important;
}


/* =========================
   کارت چهارم
========================= */

.bpms-card-container .bpms-blue-card:nth-child(4)::before {
    background: #2563eb;
}

.bpms-card-container .bpms-blue-card:nth-child(4) i {
    background: #dbeafe;
    color: #2563eb;
}

.bpms-card-container .bpms-blue-card:nth-child(4) strong {
    color: #1d4ed8 !important;
}


/* =========================
   کارت پنجم
========================= */

.bpms-card-container .bpms-blue-card:nth-child(5)::before {
    background: #9333ea;
}

.bpms-card-container .bpms-blue-card:nth-child(5) i {
    background: #f3e8ff;
    color: #9333ea;
}

.bpms-card-container .bpms-blue-card:nth-child(5) strong {
    color: #7e22ce !important;
}


/* =========================
   Responsive
========================= */

@media (max-width: 1200px) {

    .bpms-card-container {
        grid-template-columns: repeat(3, 1fr);
    }

}


@media (max-width: 768px) {

    .bpms-card-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 480px) {

    .bpms-card-container {
        grid-template-columns: 1fr;
    }

}









.kpi-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.kpi-header > span {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
}

.kpi-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;
}

.kpi-donut {
    --kpi-percent: 0%;
    --kpi-color: #334a9f;

    width: 95px;
    height: 95px;

    margin: 8px auto 0;

    border-radius: 50%;

    background:
        conic-gradient(
            var(--kpi-color) var(--kpi-percent),
            #edf1f5 var(--kpi-percent)
        );

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.kpi-donut::after {
    content: "";

    position: absolute;

    width: 68px;
    height: 68px;

    background: #ffffff;

    border-radius: 50%;
}

.kpi-donut-center {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.kpi-donut-center strong {
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    direction: ltr;
}

.kpi-donut-center small {
    margin-top: 2px;
    font-size: 10px;
    color: #94a3b8;
}


/* رنگ‌ها */

.kpi-card-total {
    --kpi-color: #dc2626;
}

.kpi-card-total .kpi-donut {
    --kpi-color: #dc2626;
}

.kpi-card-total .kpi-icon {
    background: #fee2e2;
    color: #dc2626;
}


.kpi-card-fixed .kpi-donut {
    --kpi-color: #16a34a;
}

.kpi-card-fixed .kpi-icon {
    background: #dcfce7;
    color: #16a34a;
}


.kpi-card-unfixed .kpi-donut {
    --kpi-color: #ea580c;
}

.kpi-card-unfixed .kpi-icon {
    background: #ffedd5;
    color: #ea580c;
}


.kpi-card-approved .kpi-donut {
    --kpi-color: #2563eb;
}

.kpi-card-approved .kpi-icon {
    background: #dbeafe;
    color: #2563eb;
}


.kpi-card-rejected .kpi-donut {
    --kpi-color: #9333ea;
}

.kpi-card-rejected .kpi-icon {
    background: #f3e8ff;
    color: #9333ea;
}



/* ریسک ها داشبورد */

.product-risk-box {
    width: 100%;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    background: #ffffff;
    border: 1px solid #e7eaf0;
    border-radius: 18px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 18px rgba(0,0,0,.05);
}


/* Header */

.product-risk-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.product-risk-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-risk-title-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #eef2ff;
    color: #4357a6;

    font-size: 19px;
}

.product-risk-title h3 {
    margin: 0;
    padding: 0;

    color: #252a36;

    font-size: 16px;
    font-weight: 700;
}

.product-risk-title span {
    display: block;

    margin-top: 5px;

    color: #8b92a2;

    font-size: 11px;
}


/* Badge */

.product-risk-badge {
    padding: 7px 13px;

    border-radius: 20px;

    background: #f4f6fa;

    color: #687181;

    font-size: 11px;
    font-weight: 600;
}


/* Grid */

.product-risk-grid {
    display: grid;

    grid-template-columns:
        minmax(220px, 2fr)
        1fr
        .8fr
        1fr
        1.2fr;

    align-items: center;

    column-gap: 15px;
}


/* Header */

.product-risk-header {
    padding: 0 14px 9px;
    color: #8b92a2;
    font-size: 11px;
    font-weight: 600;
    font-family: 'IRANSans';
}


/* Row */

.product-risk-row {
    padding: 14px;

    margin-bottom: 7px;

    border: 1px solid #edf0f5;
    border-radius: 12px;

    background: #fafbfc;

    transition: all .2s ease;
    font-family: 'IRANSans';
}

.product-risk-row:hover {
    background: #ffffff;

    transform: translateY(-1px);

    box-shadow: 0 5px 15px rgba(0,0,0,.06);
}


/* Product */

.product-name {
    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 0;
}

.product-rank {
    width: 28px;
    height: 28px;

    min-width: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #eef1f7;

    color: #596171;

    font-size: 10px;
    font-weight: 700;
}

.product-name-text {
    color: #292e3a;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Numbers */

.product-number {
    color: #303644;

    font-size: 14px;

    font-weight: 700;
}


/* Priority */

.risk-priority {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 10px;

    border-radius: 20px;

    font-size: 10px;

    font-weight: 700;

    white-space: nowrap;
}

.risk-dot {
    width: 7px;
    height: 7px;

    min-width: 7px;

    border-radius: 50%;
}


/* High */

.priority-high {
    background: #fff4e8;
    color: #e67e22;
}

.priority-high .risk-dot {
    background: #e67e22;
}


/* Critical */

.priority-critical {
    background: #fff0f0;
    color: #d93025;
}

.priority-critical .risk-dot {
    background: #d93025;
}


/* Medium */

.priority-medium {
    background: #fff9df;
    color: #b58900;
}

.priority-medium .risk-dot {
    background: #d6a900;
}


/* Low */

.priority-low {
    background: #eaf8f0;
    color: #279653;
}

.priority-low .risk-dot {
    background: #279653;
}


/* Responsive */

@media (max-width: 900px) {

    .product-risk-grid {
        grid-template-columns:
            2fr
            1fr
            1fr;
    }

    .product-risk-header div:nth-child(4),
    .product-risk-header div:nth-child(5),

    .product-risk-row > div:nth-child(4),
    .product-risk-row > div:nth-child(5) {
        display: none;
    }

}





/* =========================
   Highcharts Responsive
   ========================= */

.highcharts-container {
    width: 100% !important;
    max-width: 100% !important;
}

.highcharts-container svg {
    width: 100% !important;
    max-width: 100% !important;
}

/* پس‌زمینه نمودار */
.highcharts-background {
    width: 100% !important;
    height: 100% !important;
}


/* =========================
   لپ‌تاپ و دسکتاپ
   ========================= */

@media (min-width: 769px) {
    .highcharts-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .highcharts-container svg {
        width: 100% !important;
    }
}


/* =========================
   موبایل
   ========================= */

@media (max-width: 768px) {

    .highcharts-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .highcharts-container svg {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .highcharts-background {
        width: 100% !important;
        height: 100% !important;
    }
}


/* =========================
   موبایل کوچک
   ========================= */

@media (max-width: 480px) {

    .highcharts-container {
        width: 100% !important;
    }

    .highcharts-container svg {
        width: 100% !important;
        height: auto !important;
    }

    .highcharts-background {
        width: 100% !important;
        height: 100% !important;
    }
}


.product-count-field {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;

    padding: 0 !important;
    margin: 0 !important;

    box-sizing: border-box !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: rgba(255, 255, 255, 0.55) !important;

    color: #2f5d36 !important;

    border: 2px solid rgba(55, 95, 51, 0.22) !important;
    border-radius: 50% !important;

    font-family: inherit !important;
    font-size: 17px !important;
    font-weight: 700 !important;

    line-height: 52px !important;
    text-align: center !important;

    outline: none !important;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 6px 18px rgba(55, 95, 51, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* حالت Hover */
.product-count-field:hover {
    background: rgba(255, 255, 255, 0.75) !important;

    border-color: rgba(55, 95, 51, 0.4) !important;

    transform: scale(1.05);

    box-shadow:
        0 8px 22px rgba(55, 95, 51, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}


/* حالت Focus */
.product-count-field:focus {
    background: rgba(255, 255, 255, 0.9) !important;

    color: #375f33 !important;

    border-color: #375f33 !important;

    box-shadow:
        0 0 0 4px rgba(55, 95, 51, 0.10),
        0 8px 24px rgba(55, 95, 51, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);

    transform: scale(1.05);
}


/* حذف فلش‌های input number در صورت استفاده */
.product-count-field::-webkit-outer-spin-button,
.product-count-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-count-field[type="number"] {
    -moz-appearance: textfield;
}



.product-count-red {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;

    padding: 0 !important;
    margin: 0 !important;

    box-sizing: border-box !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: rgba(255, 255, 255, 0.55) !important;

    color: #c62828 !important;

    border: 2px solid rgba(198, 40, 40, 0.22) !important;
    border-radius: 50% !important;

    font-family: inherit !important;
    font-size: 17px !important;
    font-weight: 700 !important;

    line-height: 52px !important;
    text-align: center !important;

    outline: none !important;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 6px 18px rgba(198, 40, 40, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* Hover */
.product-count-red:hover {
    background: rgba(255, 255, 255, 0.75) !important;

    border-color: rgba(198, 40, 40, 0.4) !important;

    transform: scale(1.05);

    box-shadow:
        0 8px 22px rgba(198, 40, 40, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}


/* Focus */
.product-count-red:focus {
    background: rgba(255, 255, 255, 0.9) !important;

    color: #b71c1c !important;

    border-color: #c62828 !important;

    box-shadow:
        0 0 0 4px rgba(198, 40, 40, 0.10),
        0 8px 24px rgba(198, 40, 40, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);

    transform: scale(1.05);
}


/* حذف فلش‌های Input Number */
.product-count-red::-webkit-outer-spin-button,
.product-count-red::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-count-red[type="number"] {
    -moz-appearance: textfield;
}
/**********************************************/
.bpms-gauge-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    direction: rtl;
    font-family: IRANSans, Vazirmatn, Tahoma, sans-serif;
}

.bpms-gauge-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 18px 16px 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,.055);
    min-width: 0;
}

.bpms-gauge-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.bpms-gauge-title i {
    font-size: 16px;
    color: #555;
}

.bpms-gauge {
    position: relative;
    width: 100%;
    max-width: 270px;
    height: 155px;
    margin: 0 auto;
}

.bpms-gauge-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.gauge-track {
    fill: none;
    stroke: #eeeeee;
    stroke-width: 18;
    stroke-linecap: round;
}

.gauge-segment {
    fill: none;
    stroke-width: 18;
    stroke-linecap: round;
}

.gauge-segment.is-red {
    stroke: #e05252;
}

.gauge-segment.is-green {
    stroke: #22a06b;
}

.gauge-needle {
    stroke: #252525;
    stroke-width: 3.5;
    stroke-linecap: round;
}

.gauge-pin {
    fill: #252525;
}

.gauge-center {
    position: absolute;
    left: 50%;
    bottom: 19px;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
    direction: ltr;
}

.gauge-center strong {
    font-size: 23px;
    line-height: 1;
    font-weight: 800;
    color: #222;
}

.gauge-labels {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: -2px;
    padding: 0 4px;
    direction: ltr;
}

.gauge-label {
    width: 45%;
    text-align: center;
    direction: rtl;
}

.gauge-label span {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.gauge-label b {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #333;
}

.gauge-label small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: #777;
}

@media (max-width: 900px) {

    .bpms-gauge-container {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 600px) {

    .bpms-gauge-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .bpms-gauge-card {
        padding: 16px 12px;
    }

    .bpms-gauge {
        max-width: 290px;
        height: 160px;
    }

}



.erfag-table {
    width: 100%;
    direction: rtl;
    font-family: IRANSans, Vazirmatn, Tahoma, sans-serif;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e9f0;
    box-shadow: 0 4px 15px rgba(0, 34, 72, 0.06);
}

.erfag-header,
.erfag-row {
    display: grid;
    grid-template-columns: 1fr 120px;
    align-items: center;
}

.erfag-header {
    background: #002248;
    color: #fff;
    font-weight: 700;
}

.erfag-header > div {
    padding: 13px 16px;
}

.erfag-row {
    transition: 0.2s ease;
}

.erfag-row:hover {
    background: #f5f8fb;
}

.erfag-row > div {
    padding: 12px 16px;
    border-bottom: 1px solid #edf1f5;
}

.erfag-row:last-child > div {
    border-bottom: none;
}

.erfag-name {
    text-align: right;
}

.erfag-count {
    text-align: center;
    font-weight: 700;
    color: #124680;
    border-right: 1px solid #e8edf2;
}

.erfag-header .erfag-count {
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 600px) {

    .erfag-header,
    .erfag-row {
        grid-template-columns: 1fr 75px;
    }

    .erfag-header > div,
    .erfag-row > div {
        padding: 10px 9px;
        font-size: 13px;
    }
}

















































