* {
    padding: 0;
    margin: 0;
    font-family: Vazir;

}

body {

    background-color: #F5F7FF !important;
    font-size: 14px;


}

.bluetextloader {
    color: #00ABE1;
}

/*---------------------- دکمه سبز ----------------------------------*/
.btngreen {
    box-shadow: 0px 2px 8px rgba(55, 56, 58, 0.91);
    background-color: #1abc90 !important;
    color: white !important;
}

/*---------------------- دکمه آبی ----------------------------------*/
.btnblue {
    box-shadow: 0px 2px 8px rgba(55, 56, 58, 0.91);
    background-color: #00ABE1 !important;
    color: white !important;
}

/*---------------------- دکمه قرمز ----------------------------------*/
.btnred {
    box-shadow: 0px 2px 8px rgba(55, 56, 58, 0.91);
    background-color: #FF0065 !important;
    color: white !important;
}

/*---------------------- رنگ سرمه ای متن ----------------------------------*/
.sormeE_coler {
    color: #161f6d !important;
}

.green_color {
    color: #1abc90 !important;
}

.red_color {
    color: #FF0065 !important;
}

.orange_color {
    color: rgba(255, 204, 34, 0.53) !important;
}


/*/--------------------*loading page*--------------------/*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(45deg, #ffffff, #ffffff);
    z-index: 9999999;
}

#preloader #status {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

#preloader #status .d-loader {
    width: 60px;
    height: 60px;
    position: relative;
    margin: 100px auto;
}

/*-----------------end loading page------------------------*/
/*---------------webkit-------------*/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #dadada;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #94ddf6;
}

/*--------------------list of check in notification pane-------------------*/

@media only screen and (max-width: 500px) {
    #list_check {
        width: 100vw;
        height: 100vh;
        font-size: 14px;
        right: 0;
    }
}


@media only screen and (min-width: 501px) {
    #list_check {
        width: 400px;
        font-size: 14px;
    }
}

/*#list_check{*/
/*    width: 300px;*/
/*}*/
br {
    display: block;
    margin-bottom: 0.5em
}

#list_check li button {
    font-size: 12px;
}


#list_check .dropdown-item {
    background-color: transparent !important; /* یا رنگ دلخواه */
    color: inherit; /* رنگ متن را تغییر ندهد */
}

/*#list_check .dropdown-item:hover,*/
#list_check .dropdown-item:focus,
#list_check .dropdown-item:active {
    background-color: transparent !important; /* یا رنگ دلخواه */
    color: inherit !important;
}

/* اگر می‌خوای فقط وقتی کلیک شد همون حالت حفظ شود */
#list_check .dropdown-item:active {
    background-color: transparent !important;
}


/*-----------------end---header-------------------*/
/*-----------------------------------------*/
.side-bar::-webkit-scrollbar {
    display: none;
}

.side-bar {
    width: 0;
    /*position: fixed;*/
    z-index: 1;
    right: 0;
    /*background: linear-gradient(rgba(164, 226, 248, 0.04), rgba(219, 237, 250, 0.9)),url('/static/images/pexels-mitchell-luo-3694711.jpg');*/
    /*  background-repeat: no-repeat;*/
    /*  background-size: cover;*/
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    box-shadow: 2px 3px 4px #565656;
}

.side-bar ul li, .img_div {
    width: 250px;
    visibility: visible;
    background: #FFFFFF;
    color: #131313;
    font-size: 14px;
    transition: 0.3s;
}


.side-bar ul a:hover, .dropdown-btn:hover {
    background-color: rgba(197, 227, 246, 0.77);
}


.bottom-border {
    border-bottom: 2px solid #b4b5b6;

}


#sidebar {
    /*display: block;*/

    top: 60px;
    height: 100vh;
    box-shadow: 0 0 16px #999;

}


.side-bar ul {
    padding-right: 0;
}

.header {
    background: #FFFFFF;
    height: 60px;
    margin: 0 !important;
    box-shadow: 0px 0px 16px #999;
    /*z-index: 100000;*/
}


/*--------------------dropdown sidebar-----------------------*/
.side-bar a, .dropdown-btn {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    color: #818181;
    display: block;
    border: none;
    background: none;
    width: 100%;
    text-align: right;
    cursor: pointer;
    outline: none;
}

/* On mouse-over */
/*.side-bar a:hover, .dropdown-btn:hover {*/
/*  color: #444343;*/
/*}*/

.dropdown-container {
    display: none;
    /*background-color: #eae9e9;*/
    /*width: 80%;*/

}

.dropdown-container a {
    padding: 16px;
}

.border-right-style {
    margin-right: 5px;
    border-right: 3px groove rgba(202, 214, 245, 0.78);
    transition: all 1s;
}

/*------icon dropdown------*/
.fa-caret-down {
    float: left;
    padding-right: 8px;
}

/* Add an active class to the active dropdown button */
.active {
    background-color: #94ccef;
    /*color: white;*/
    transition: background-color 300ms;
}

/*.animat{*/
/*     animation: rotateX 300ms ease-in-out forwards*/
/*}*/

/*@keyframes rotateX {*/
/*    0% {*/
/*        opacity: 0;*/
/*        transform: rotateX(-90deg);*/
/*    }*/
/*    50% {*/
/*        transform: rotateX(-20deg);*/
/*    }*/
/*    100% {*/
/*        opacity: 1;*/
/*        transform: rotateX(0deg);*/
/*    }*/
/*}*/


/*.icon-parent {*/
/*        position: relative;*/
/*    }*/

/*.icon-bullet::after {*/
/*        content: '';*/
/*        position: absolute;*/
/*        top: 6px;*/
/*        right: 7px;*/
/*        width: 10px;*/
/*        height: 10px;*/
/*        background-color: #f44336;*/
/*        border-radius: 50%;*/
/*}*/
/*{#------------------------------#}*/
/*.line1, .line2, .line3 {*/
/*    width: 12px;*/
/*    height: 2px;*/
/*    !*margin: 5px;*!*/
/*    transition: all 0.4s;*/
/*}*/

/*!* کلاسchang برای script است *!*/
/*!* برای تبدیل ضربدر به خط *!*/
/*.change .line1 {*/
/*    transform: rotate(-45deg) translate(-5px, 6px);*/
/*}*/

/*.change .line2 {*/
/*    opacity: 0;*/
/*}*/

/*.change .line3 {*/
/*    transform: rotate(45deg) translate(-5px, -6px);*/
/*}*/

/*.content {*/
/*    padding-top: 60px;*/
/*    padding-right: 200px;*/

/*}*/

/*{#------------------------#}*/


.body {
    top: 0;
    height: 100vh;
}

.bg-header div {
    padding: 0;
}

.nav-logo-list {
    list-style-type: none;
    margin: 0 35px 0 0;
    padding: 0;
}

.logo-type {
    list-style-type: none;
    justify-content: end;
    margin: 0 0 0 35px;
    padding: 0;
}

#main {
    background-color: white;
    transition: margin-right .5s;


}

.body-main {
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-top: 56px !important;
    background-color: white;
}

#ptable th {
    text-align: center;

}

.new-sherkat {
    left: 0;
}

.textarea {
    width: 100%;
    height: 150px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-size: 16px;
    resize: none;
}

/*.form-control{*/
/*    font-size: 0.8rem;*/
/*}*/
/*---------------------------sodure_check-------------------------*/
/*.tasvie_false_btn:active{*/
/*    background-color: #000;*/
/*}*/
/*.count_row .th1{*/
/*    display: none;*/

/*}*/
/*=================================== supplier list=======================================*/
.holder {
    height: 150px;
    width: 150px;
    border: 1px solid black;
}

.holder img {
    max-width: 150px;
    max-height: 150px;
    min-width: 150px;
    min-height: 150px;
}

input[type="file"] {
    margin-top: 5px;
}

.heading {
    font-family: Montserrat;
    font-size: 45px;
    color: green;
}

.supplyerstyle .card-header {
    /*background-color: rgba(84, 216, 232, 0.92) !important;*/
    color: #161f6d;
}

.btnsabtsherkat {
    box-shadow: 0px 2px 8px rgba(55, 56, 58, 0.91);
    background-color: #1abc90 !important;
    color: white !important;
}

.btnsabtsherkat:focus {
    transform: translateY(3px);
}

/*#Table_Supplier tr:hover{*/
/*    background-color: #badce3;*/
/*}*/
/*========paging=============*/
.dataTables_paginate .current {
    background-color: rgba(84, 216, 232, 0.92) !important;


}

span a {
    font-size: 14px;

}

.dataTables_wrapper .dataTables_length select {
    margin-bottom: 4px;
    font-size: 13px !important;

}

/*=======end=====paging=============*/
.headersuppliyer {
    background-color: rgba(84, 216, 232, 0.92) !important;
    color: #161f6d !important;
    padding: 2px;
}

/*#detail_table_new {*/
/*   border-collapse: collapse;*/
/* }*/
#detail_table_new td {
    border-bottom: 1px solid darkgrey;
    border-right: 0;
    border-left: 0;
    padding: 10px;
    text-align: right;
}

/*input[type="file"] {*/
/*  opacity: 0; !* make transparent *!*/
/*  z-index: -1; !* move under anything else *!*/
/*  position: absolute; !* don't let it take up space *!*/
/*}*/

/*===========edit==============*/
.btn-edit:hover {
    transform: translateY(2px);
}

.btn-del:hover {
    transform: translateY(2px);
}

/*===================================end======= supplier list=======================================*/

/*!*------------dropdown bell*!-----------------------------*/
.dropbtn:link,
.dropbtn:visited {
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.dropbtn:hover {
    transform: translateY(-3px);
}

.dropbtn:active {
    transform: translateY(3px);

}

.drupdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    top: 45px;
    left: 0;
    margin: 5px;
    font-size: 13px;
    display: none;
    position: absolute;
    background-color: white;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    z-index: 1;
}

.dropdown-content li {
    color: black;
    padding: 12px 16px;
    display: block;
    /*border: 1px solid gray;*/
    /*box-shadow: 8px 8px 16px 0px rgba(182, 180, 180, 0.2);*/
    margin: 2px 5px;
    border-bottom: 1px dashed #2098D1;
    /*background-color: #EEEEEE;*/
}

.dropdown-content a:hover {
    background-color: #f1f1f1
}

/*.drupdown:hover .dropdown-content {*/
/*  display: block;*/
/*}*/
/*------------------!*dropdown bell end--------------------------*!*/

#reminder_list button {
    font-size: 8px;
}

/*#reminder_list li:nth-child(odd){*/
/*    background-color: rgba(229, 228, 228, 0.91);*/
/*}*/

#reminder_list li:hover {
    background-color: #e1e8ee;
}

#reminder_list a {
    font-size: 14px;
}

#ttt {
    z-index: 2000;
}


/*------start----- notification success box--------------*/
.notifyjs-bootstrap-success {
    width: 330px !important;
    font-size: 16px !important;
    border: 1px solid #1abc90 !important;
    background-color: rgba(26, 188, 144, 0.8) !important;
    color: white !important;
    padding: 10px 15px !important;
    box-shadow: 0px 2px 8px rgba(55, 56, 58, 0.91) !important;
    margin-left: 10px !important;
}

.notifyjs-bootstrap-base {
    font-weight: normal !important;
}

/*------end----- notification box--------------*/


/*------start----- notification success box--------------*/
.notifyjs-bootstrap-warn {
    width: 380px !important;
    font-size: 14px !important;
    border: 1px solid rgba(255, 165, 0, 0.8) !important;
    background-color: rgba(255, 165, 0, 0.8) !important;
    color: #161f6d !important;
    font-weight: 700;
    padding: 10px 15px !important;
    box-shadow: 0px 2px 8px rgba(55, 56, 58, 0.91) !important;
    margin-left: 10px !important;
}

table.dataTable thead th {
    width: auto;
    font-size: 14px;
}

#Search_check tbody td {
    font-size: 14px;
    padding: 2px 0px;
}

/*-------------bordr input----------------*/
.borderblue {
    border: 1px groove #62C6E7 !important;
    background-color: white !important;
}

/*-------------bordr input----------------*/
.bordererror {
    border: 1px groove #ef0505 !important;
    background-color: #0a58ca;
    /*background-color: white!important;*/
}

/*--------card header-------------------*/
.headerstyle {
    /*height: 15vh;*/
    /*clip-path: polygon(0 0, 100% 0, 100% 7vh, 0 100%);*/
    background-image: linear-gradient(to right bottom, #46acc9, #71D1EC);

}

.dt-buttons {
    display: flex !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.swal2-container {
    display: -webkit-box;
    display: flex;
    position: fixed;
    z-index: 9999999999;
}


.bell {
    display: block;
    /*width: 30px;*/
    /*height: 30px;*/
    font-size: 20px !important;
    margin: 0 auto 0;
    color: #62b8e7;
    -webkit-animation: ring 4s .7s ease-in-out infinite;
    -webkit-transform-origin: 50% 4px;
    -moz-animation: ring 4s .7s ease-in-out infinite;
    -moz-transform-origin: 50% 4px;
    animation: ring 4s .7s ease-in-out infinite;
    transform-origin: 50% 4px;
}

@-webkit-keyframes ring {
    0% {
        -webkit-transform: rotateZ(0);
    }
    1% {
        -webkit-transform: rotateZ(30deg);
    }
    3% {
        -webkit-transform: rotateZ(-28deg);
    }
    5% {
        -webkit-transform: rotateZ(34deg);
    }
    7% {
        -webkit-transform: rotateZ(-32deg);
    }
    9% {
        -webkit-transform: rotateZ(30deg);
    }
    11% {
        -webkit-transform: rotateZ(-28deg);
    }
    13% {
        -webkit-transform: rotateZ(26deg);
    }
    15% {
        -webkit-transform: rotateZ(-24deg);
    }
    17% {
        -webkit-transform: rotateZ(22deg);
    }
    19% {
        -webkit-transform: rotateZ(-20deg);
    }
    21% {
        -webkit-transform: rotateZ(18deg);
    }
    23% {
        -webkit-transform: rotateZ(-16deg);
    }
    25% {
        -webkit-transform: rotateZ(14deg);
    }
    27% {
        -webkit-transform: rotateZ(-12deg);
    }
    29% {
        -webkit-transform: rotateZ(10deg);
    }
    31% {
        -webkit-transform: rotateZ(-8deg);
    }
    33% {
        -webkit-transform: rotateZ(6deg);
    }
    35% {
        -webkit-transform: rotateZ(-4deg);
    }
    37% {
        -webkit-transform: rotateZ(2deg);
    }
    39% {
        -webkit-transform: rotateZ(-1deg);
    }
    41% {
        -webkit-transform: rotateZ(1deg);
    }

    43% {
        -webkit-transform: rotateZ(0);
    }
    100% {
        -webkit-transform: rotateZ(0);
    }
}

@-moz-keyframes ring {
    0% {
        -moz-transform: rotate(0);
    }
    1% {
        -moz-transform: rotate(30deg);
    }
    3% {
        -moz-transform: rotate(-28deg);
    }
    5% {
        -moz-transform: rotate(34deg);
    }
    7% {
        -moz-transform: rotate(-32deg);
    }
    9% {
        -moz-transform: rotate(30deg);
    }
    11% {
        -moz-transform: rotate(-28deg);
    }
    13% {
        -moz-transform: rotate(26deg);
    }
    15% {
        -moz-transform: rotate(-24deg);
    }
    17% {
        -moz-transform: rotate(22deg);
    }
    19% {
        -moz-transform: rotate(-20deg);
    }
    21% {
        -moz-transform: rotate(18deg);
    }
    23% {
        -moz-transform: rotate(-16deg);
    }
    25% {
        -moz-transform: rotate(14deg);
    }
    27% {
        -moz-transform: rotate(-12deg);
    }
    29% {
        -moz-transform: rotate(10deg);
    }
    31% {
        -moz-transform: rotate(-8deg);
    }
    33% {
        -moz-transform: rotate(6deg);
    }
    35% {
        -moz-transform: rotate(-4deg);
    }
    37% {
        -moz-transform: rotate(2deg);
    }
    39% {
        -moz-transform: rotate(-1deg);
    }
    41% {
        -moz-transform: rotate(1deg);
    }

    43% {
        -moz-transform: rotate(0);
    }
    100% {
        -moz-transform: rotate(0);
    }
}

@keyframes ring {
    0% {
        transform: rotate(0);
    }
    1% {
        transform: rotate(30deg);
    }
    3% {
        transform: rotate(-28deg);
    }
    5% {
        transform: rotate(34deg);
    }
    7% {
        transform: rotate(-32deg);
    }
    9% {
        transform: rotate(30deg);
    }
    11% {
        transform: rotate(-28deg);
    }
    13% {
        transform: rotate(26deg);
    }
    15% {
        transform: rotate(-24deg);
    }
    17% {
        transform: rotate(22deg);
    }
    19% {
        transform: rotate(-20deg);
    }
    21% {
        transform: rotate(18deg);
    }
    23% {
        transform: rotate(-16deg);
    }
    25% {
        transform: rotate(14deg);
    }
    27% {
        transform: rotate(-12deg);
    }
    29% {
        transform: rotate(10deg);
    }
    31% {
        transform: rotate(-8deg);
    }
    33% {
        transform: rotate(6deg);
    }
    35% {
        transform: rotate(-4deg);
    }
    37% {
        transform: rotate(2deg);
    }
    39% {
        transform: rotate(-1deg);
    }
    41% {
        transform: rotate(1deg);
    }

    43% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(0);
    }
}

.Bell {
    display: block;
    /*width: 30px;*/
    /*height: 30px;*/
    font-size: 20px !important;
    margin: 0 auto 0;
    color: #62b8e7;

}


.swal2-container{
    justify-content: center;
}

div:where(.swal2-container) h2:where(.swal2-title) {
  font-size: 16px !important;
}

div:where(.swal2-icon).swal2-info {
    font-size: 10px !important;
}

div:where(.swal2-icon).swal2-success {
    font-size: 10px !important;
}

div:where(.swal2-container) .swal2-html-container{
    font-size: 14px !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm{
    font-size: 12px !important;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){
    font-size: 12px !important;
}
div:where(.swal2-container) div:where(.swal2-popup){
    max-width: 500px !important;
}

.input-group{
    flex-direction: row-reverse;
}

.input-group-text{
   font-size: 14px !important;
}


.table thead tr:first-child {
    background-color: #c1c1c1 !important;   /* رنگ الف */
}

/* ردیف دوم THEAD فقط اگر وجود داشته باشد (رنگ ب) */
.table thead tr:nth-child(2) {
    background-color: #e7e7e7;   /* رنگ ب */
}


.detail-wrapper {
    width: 100%;
    padding: 5px 10px;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}

.detail-label {
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
}

.detail-value {
    flex: 1;
    word-wrap: break-word;
    white-space: normal;
    text-align: right;
}
