@font-face {
    font-family: "primary-font";
    src: url("./fonts/vazir-700.eot");
    src: url("./fonts/vazir-700.eot?#iefix") format("embedded-opentype"),
    url("./fonts/vazir-700.woff2") format("woff2"),
    url("./fonts/vazir-700.woff") format("woff"),
    url("./fonts/vazir-700.ttf") format("truetype");
    font-weight: 700;
}
*{
    font-family: "primary-font", Tahoma, serif;
}
.main{
    width: 100%;
    height: 100dvh;
    background-repeat: no-repeat;
    background-size: contain;
    background-position-x: right;
}
.main .logo{
    width: 70px;
}
.text-align-justify{
    text-align: justify;
}
.flex-rowi{
    display: flex;
    flex-direction:row;
}
.flex-columni{
    display: flex;
    flex-direction:column;
}
.flex-wrap{
    display: flex;
    flex-wrap: wrap;
}
.flex-space-betweeni{
    display: flex;
    justify-content: space-between;
}
.flex-align-itemsi{
    display: flex;
    flex-direction:column ;
    align-items: center;
}
.flex-centeri{
    display: flex;
    align-content: center;
    align-items: center;
}
.flex-centeri-a{
    display: flex;
    align-items: center;
}
.flex-centeri-aj{
    display: flex;
    align-content: center;
    justify-content: center;
}
.flex-centeri-aaj{
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}
#headerOFP{
    height: 10dvh;
    border-bottom: 1px solid #878686;
}
.btn{
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    gap: 10px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 15px 25px;
    place-content: center;
    color: #464255FF;
    background-color: #ECEAF3FF;
    border: none;
    border-radius: 18px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn1{
    margin: 1px;
    color: #303030 !important;
    border: 2px solid #58CDFFFF !important;
    background-color: rgba(88, 205, 255, 0.5) !important;
}
.btn2{
    margin: 1px;
    color: #303030 !important;
    border: 2px solid #DC936EE8 !important;
    background-color: rgba(220, 147, 110, 0.91) !important;
}
.btn3{
    margin: 1px;
    color: #303030 !important;
    border: 2px solid #ff5885 !important;
    background-color: rgba(255, 79, 167, 0.91) !important;
}
.btn4{
    margin: 1px;
    color: #303030 !important;
    border: 2px solid #82ff58 !important;
    background-color: rgba(138, 255, 79, 0.91) !important;
}
.d-none {
    display: none !important;
}
#bodyOFP{
    z-index: 1;
}
#modalOffline{
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    display: flex;
    position: fixed;
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
#newOrderOffline{
    margin: 2dvh 2%;
    width: 96%;
    height: 96dvh;
    display: flex;
    background-color: #eaeaea;
    border-radius: 15px;
    border: 2px solid rgba(112, 112, 112, 0.53);
}
#headerSelectedNewOrder{
    background-color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin: 10px 0.1rem 0 0.1rem !important;
}
#listPreFactor .itemForCreate {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #58CDFFFF;
    border-radius: 0;
    background: #FDFDFD;
    width: 100%;
}
.formControler{
    border: 2px solid #131313;
    background-color: #fafafa;
    color: #292929;
    padding: 10px;
    border-radius: 15px;
}
.orderCard{
    border: 2px solid rgba(71, 71, 71, 0.68);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 20px;
}
.orderCard h5{
    text-align: center;
}
thead, tbody, tfoot, tr, td, th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}
.table {
    --bs-table-bg: transparent;
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: #212529;
    --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
    --bs-table-active-color: #212529;
    --bs-table-active-bg: rgba(0, 0, 0, 0.1);
    --bs-table-hover-color: #212529;
    --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
    width: 100%;
    margin-bottom: 1rem;
    color: var(--color-dark);
    vertical-align: top;
    border-color: var(--border-color);
    border: 1px solid rgba(128, 128, 128, 0.1);
    caption-side: bottom;
    border-collapse: collapse;
}
.priceDiv div {
    width: 100%;
}
.priceDiv div:last-child {
    border-top: 1px solid #495057;
    font-weight: 600;
}
.order-table {
    direction: rtl;
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}
.order-table th, .order-table td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid #ddd;
}
.order-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}
.order-table tr:hover {
    background-color: #f9f9f9;
}
.status-pending {
    color: #ff9800;
    font-weight: 600;
}
.status-completed {
    color: #4CAF50;
    font-weight: 600;
}
.status-cancelled {
    color: #f44336;
    font-weight: 600;
}
@media (max-width: 768px) {
    .order-table {
        display: block;
        overflow-x: auto;
    }
    .controls {
        flex-direction: column;
    }
}
.newOrderColor{
    background-color: #fbd795;
}
.cancelColor{
    background-color: #fb95d7;
}
.payColor{
    background-color: #befb95;
}
.bf2{
    font-size: 25px;
    margin-left: 10px;
    margin-right: 10px;
    font-weight: 600;
}
.bf3{
    font-size: 15px;
    margin-left: 10px;
    margin-right: 10px;
    font-weight: 600;
}
.green{
    color: #147518;
}
.red{
    color: #75142e;
}
.orange{
    color: #812b08;
}
.selector{
    min-width: 120px;
    padding: 10px;
    border-radius: 15px;
    margin-left: 10px;
}
.adomx-switch {
    position: relative;
    line-height: 0;
    margin: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.adomx-switch input {
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    opacity: 0;
    width: 18px;
    height: 18px;
    visibility: hidden;
}

.adomx-switch input:checked + .lever {
    background-color: rgba(66, 139, 250, 0.3);
}

.adomx-switch input:checked + .lever::before {
    background-color: #428bfa;
    -webkit-box-shadow: 0 0 15px rgba(66, 139, 250, 0.5);
    box-shadow: 0 0 15px rgba(66, 139, 250, 0.5);
    left: 20px;
}

.adomx-switch .lever {
    width: 40px;
    height: 14px;
    display: block;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.15);
    -webkit-transition: background-color 0.3s ease 0s;
    -o-transition: background-color 0.3s ease 0s;
    transition: background-color 0.3s ease 0s;
    margin: 3px 0;
    margin-right: 10px;
    position: relative;
}

.adomx-switch .lever:last-child {
    margin-right: 0;
}

.adomx-switch .lever::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    -webkit-transition: left 0.5s ease 0s, background-color 0.3s ease 0s;
    -o-transition: left 0.5s ease 0s, background-color 0.3s ease 0s;
    transition: left 0.5s ease 0s, background-color 0.3s ease 0s;
}

.adomx-switch .text {
    line-height: 1;
    padding-top: 2px;
    margin-right: 5px;
}

.adomx-switch.primary input:checked + .lever {
    background-color: rgba(66, 139, 250, 0.3);
}

.adomx-switch.primary input:checked + .lever::before {
    background-color: #428bfa;
    -webkit-box-shadow: 0 0 15px rgba(66, 139, 250, 0.5);
    box-shadow: 0 0 15px rgba(66, 139, 250, 0.5);
}
