@media (max-width: 767px) {
    .main-header .navbar-custom-menu {
        float: none !important;
        display: block !important;
    }
    .main-header .navbar-custom-menu .dropdown-menu {
        left: auto !important;
    }
    .skin-blue-light .main-header .navbar .dropdown-menu li a {
        color: #777;
    }
    .main-header .navbar {
        height: auto;
    }
}

.btn-big {
    padding: 10px 30px;
    font-size: 18px;
    line-height: 1.3333333;
}

.of-visible {
    overflow: visible !important;
}

#online_indicator {
    font-size: 8px;
    vertical-align: middle;
}

.pt-0 {
    padding-top: 0px;
}
.f-right {
    float: right;
}
.mb-10 {
    margin-bottom: 10px;
}
.discount-badge {
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 18px;
    padding: 7px;
}

.discount-badge-small {
    position: absolute;
    top: -2px;
    left: 10px;
    font-size: 12px;
    padding: 6px;
}
.product-info-table td, .product-info-table th {
    font-size: 12px;
}
.catalogue {
    max-height: 127px;
    margin: auto;
    margin-bottom: 18px;
}
.catalogue-title {
    display: inline-block;
    font-size: 18px;
    margin: 0;
    line-height: 1;
    margin-bottom: 10px;
}
.bg-light-gray {
    background-color: #f8f8f8 !important;
}
.p-5-5 {
    padding: 5px 5px !important;
}
.m-4 {
    margin: 4px;
}
.skin-black .main-header, .skin-black-light .main-header {
    color: #525f7f !important;
}
.skin-black .main-header .navbar .nav .open>a {
    color: #999 !important;
}
.skin-black .main-header .navbar .nav>li>a:hover{
    color: #999 !important;
}

.mt-0{
    margin-top: 0 !important;
}
.table-pdf thead tr{
    background-color: #357ca5 !important;
    color: #fff;
}
.table-pdf thead tr th {
    color: #fff !important;
}
.blue-heading {
    background-color: #357ca5;
    color: #fff;
}

.table-pdf .odd {
    background-color: #DCE6F1;
}
.p-4{
    padding: 4px;
}
.p-10{
    padding: 10px !important;
}
.jquery-top-scrollbar{
    height: 6px !important;
}
.jquery-top-scrollbar div {
    height: 6px !important;
}
.scroll-top-bottom {
    width: 100%;
    overflow: scroll;
}
.scroll-top-bottom::-webkit-scrollbar {
    height: 6px;
}

.scrolltop {
    display:none;
    width:100%;
    margin:0 auto;
    position:fixed;
    bottom:20px;
    right:10px;
}
.scroll {
    position:absolute;
    right:20px;
    bottom:20px;
    background:#b2b2b2;
    background:rgba(178,178,178,0.7);
    padding:7px;
    text-align: center;
    margin: 0 0 0 0;
    cursor:pointer;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    border-radius: 6px;
}
.scroll:hover {
    background:rgba(178,178,178,1.0);
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
}
.scroll:hover .fas {
    padding-top:-10px;
}
.scroll .fas {
    font-size:25px;
    margin-top:-5px;
    margin-left:1px;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
}

.f-left {
    float: left;
}
.align-left {
    text-align: left;
}
.align-right {
    text-align: right;
}

.table-pdf {
    border-collapse: collapse;
    width: 100%;
    border-spacing: 8px 10px;
}
.td-border td, .td-border th{
    border-bottom: 1px solid lightgrey;
    padding: 8px 5px;
}

.ws-nowrap {
    white-space:nowrap;
}

.btn-app>.fas, .btn-app>.fab{
    font-size: 20px;
    display: block;
}
.dropdown-menu>li>a>.fas{
    margin-right: 6px;
}
.mt-5 {
    margin-top: 5px !important;
}
.pos-form-actions{
    height: auto;
    padding-top: 12px;
    padding-bottom: 20px;
    position: fixed;
    bottom: 0px;
    background-color: #D1D5DC;
    width: 100%;
    z-index: 1000;
}
.mb-12 {
    margin-bottom: 12px !important;
}
.pb-0{
    padding-bottom: 0px !important;
}
.pr-12{
    padding-right: 12px !important;
}
.main-header .sidebar-toggle:before {
    content: "" !important;
}
.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}
.margin-bottom-20 {
    margin-bottom: 20px !important;
}
.text-white {
    color: #fff;
}
.wizard > .steps > ul > li {
    width: 33.33% !important;
}
.wizard > .content {
    background: #445867 !important;
}
legend {
    color: #fff;
    margin-bottom: 6px;
    border-bottom: none;
}
.left-col {
    background: linear-gradient(0deg,rgba(0, 0, 0, 0.76),rgba(51, 51, 51, 0.32)),url(../img/hands-keyboard.png);
    text-align: center;
    background-size: cover;
    background-position: center;
}
.left-col-content {
    color: #1A7BF9;
    width: 100%;
}
.login-header {
    font-size: 27px;
    font-weight: 600;
}
.login-header a {
    color: #fff;
}
.form-header {
    font-size: 18px;
    margin: 16px 0;
}
.btn-login {
    padding: 6px 52px !important;
}
.right-col {
    background-color: white;
    height: 100%;
    min-height: 100vh;
}

.right-col label {
    color: #fff;
}

.right-col a, .text-white a {
    color: #fff;
    font-weight: 600;
    font-size: 15px
}
.right-col a:hover, .text-white a:hover {
    color: #ccc;
}
.right-col-content {
    padding: 10% 16%;
    padding-bottom: 3%;
}
.right-col-content-register {
    padding: 2% 8%;
}

.input_inline {
    width: 100%;
    display: inline-flex;
}
.input_inline input, .input_inline span {
    width: 50%;
}
.bg-manufacturing {
    background-color: #ff851b;
}
.img-thumbnail {
    position: relative;
    width: 70px;
    height: 70px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    transition: border .2s ease-in-out;
    padding: 4px;
    margin: 3px;
    text-align: center;
}
.img-thumbnail>.badge{
    position: absolute;
    top: -5px;
    right: -7px;
    font-size: 9px;
    font-weight: 400;
    cursor: pointer;
}
.navbar-nav>.notifications-menu>.dropdown-menu>li .menu {
    max-height: 350px;
}
.bg-aqua-lite {
    background-color: #7FFFD4;
}
.navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a {
    white-space: normal;
}
.spacer {
    margin-top: 20px;
}
#product_list_body {
    max-height: 485px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.div-overlay {
    cursor: not-allowed;
    background: #e9e9e9;
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
}

.d-inline-table {
    display: inline-table;
}

.label-round{
    font-size: 8px;
    border-radius: 44%;
}
.table>tbody+tbody{
    border-top: 0;
}
.table-pl-12 td, .table-pl-12 th{
    padding-left: 12px !important;
}
table tbody td.pl-20-td{
    padding-left: 20px !important;
}
table.table-border-center > tbody > tr > td:first-child,
table.table-border-center > thead > tr > th:first-child,
table.table-border-center > tfoot > tr > td:first-child
{
    border-right: 1px solid darkgray;
}
table.table-border-center-col > tbody > tr > td:nth-child(2),
table.table-border-center-col > thead > tr > th:nth-child(2),
table.table-border-center-col > tfoot > tr > td:nth-child(2)
{
    border-right: 1px solid darkgray;
    border-left: 1px solid darkgray;
}
.bg-transparent{
    background-color: transparent !important;
}
.mb-0{
    margin-bottom: 0;
}

.nav-tabs>li>a{
    font-size: 18px;
    font-weight: 600;
}
.table-transparent, .table-transparent th {
    background-color: transparent !important;
    color: #000 !important;
}
.td-full-width {
    white-space:nowrap;
}
.font-17{
    font-size: 17px !important;
}
table.dataTable tbody>tr.selected{
    background-color: #B0BED9;
}
tr.footer-total > td {
    vertical-align: middle !important;
}
.error{
    color: red !important;
}
/*  pos tab */
div.pos-tab-container{
    z-index: 10;
    background-color: #ffffff;
    padding: 0 !important;
    border-radius: 4px;
    -moz-border-radius: 4px;
    border:1px solid #ddd;
    margin-bottom: 28px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    -moz-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    background-clip: padding-box;
}
div.pos-tab-menu{
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
}
div.pos-tab-menu div.list-group{
    margin-bottom: 0;
}
div.pos-tab-menu div.list-group>a{
    margin-bottom: 0;
}
div.pos-tab-menu div.list-group>a .glyphicon,
div.pos-tab-menu div.list-group>a .fa {
    color: #5A55A3;
}
div.pos-tab-menu div.list-group>a:first-child{
    border-top-right-radius: 0;
    -moz-border-top-right-radius: 0;
}
div.pos-tab-menu div.list-group>a:last-child{
    border-bottom-right-radius: 0;
    -moz-border-bottom-right-radius: 0;
}
div.pos-tab-menu div.list-group>a.active,
div.pos-tab-menu div.list-group>a.active .glyphicon,
div.pos-tab-menu div.list-group>a.active .fa{
    background-color: #3c8dbc;
    color: #ffffff;
    border-color: #3c8dbc;
}
div.pos-tab-menu div.list-group>a.active:after{
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    margin-top: -13px;
    border-left: 0;
    border-bottom: 13px solid transparent;
    border-top: 13px solid transparent;
    border-left: 10px solid #3c8dbc;
}

div.pos-tab-content{
    background-color: #ffffff;
    /* border: 1px solid #eeeeee; */
    padding-left: 20px;
    padding-top: 20px;
}

div.pos-tab div.pos-tab-content:not(.active){
    display: none;
}

.add-product-price-table th{
    /* background-color: #5cb85c; */
    color: black;
    text-align: center;
}
.blue-header th {
    background-color: #3c8dbc;
    color: white;
}
.table-th-green th{
    background-color: #5cb85c;
    color: white;
}

.table-th-blue th{
    background-color: #70C6C1;
    color: white;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}
.active-cell {
    border: 2px dotted #3c8dbc !important;
}
.cursor-pointer{
    cursor: pointer !important;
}
.pos_product_div,
.selected-products-container{
    min-height: 47vh;
    max-height: 57vh;
    overflow-y: auto;
    margin-bottom: 20px;
}
.bg-lightgray{
    background-color: #F0EDED !important;
}
.balance_due_box >li{
    padding: 11px 5px 0px 5px;
}
.option-div {
    padding: 15px;
    background-color: #d2d6de;
    color: #333;
    border:1px solid #d2d6de;
    cursor: pointer;
}
.option-div input[type="radio"]{
    display: none;
}
.option-div-group .icon {
    color: #d33724;
    display: none;
}
.option-div-group .option-div:hover{
    border:1px solid gray;
}
.option-div-group .active .icon{
    display: block;
}
.margin-left-10 {
    margin-left: 10px;
}
.margin-bottom-12{
    margin-bottom: 12px;
}
.bg-info{
    background-color: #00c0ef !important;
}
.bg-info > a{
    color: #FFFFFF !important;
}
.bg-info>a:hover{
    background-color: #337ab7 !important;
}
ul.dt-button-collection{
    background-color: #00c0ef;
}
td.details-control {
    background: url('/img/details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.details td.details-control {
    background: url('/img/details_close.png') no-repeat center center;
}
.icheckbox_square-blue, .iradio_square-blue{
    margin-right: 10px;
}
.header-right-div{
    right: 10px;
    float: right;
    position: absolute;
    top: 15px;
}
.header-left-div{
    margin-top: 15px;
    display: inline-flex;
}
.m-8 {
    margin: 8px;
}
.mt-10{
    margin-top: 10px;
}
.mt-15{
    margin-top: 15px;
}
.m-5 {
    margin: 5px;
}
.icon-link{
    text-align:center;
    display:block;
    margin-bottom: 18px;
}
.icon-link > a {
    display:grid;
}
.icon-link > .badge{
    position: absolute;
    top: 20px;
    right: 67px;
}
.link-des {
    display: inline-block;
    text-align: left;
}

.navbar-nav>.user-menu>.dropdown-menu>li.user-header>img {
    border: none;
    height: auto;
    max-height: 150px;
}
.bg-light-green{
    background-color: #98D973 !important;
    color: #fff !important
}
.hover-q {
    font-size: 16px;
    margin-left: 3px;
    cursor: help;
}
.input-group-addon .hover-q{
    margin-left: 0px;
}
.input-group-addon {
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc !important;
}

.text-bold{
    font-weight: bold;
}
.tour .popover-content{
    padding: 18px 14px;
}
.table-slim>tbody>tr>td, .table-slim>tbody>tr>th, .table-slim>tfoot>tr>td, .table-slim>tfoot>tr>th, .table-slim>thead>tr>td, .table-slim>thead>tr>th{
    padding: 1px;
}

/* Custom scroll bar start*/

/* width */
::-webkit-scrollbar {
    width: 7px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Custom scroll bar end*/

/* Fix for DataTables header and footer width issue */
table.dataTable.display {
    width: 100% !important;
}
.dataTables_scrollHeadInner {
    width: 100% !important;
}
.dataTables_scrollHeadInner table {
    width: 100% !important;
}
.dataTables_scrollFootInner {
    width: 100% !important;
}
.dataTables_scrollFootInner table {
    width: 100% !important;
}

.product_cell{
    height: 100px;
    padding: 1%;
}
.product_cell_div{
    height: 100% !important;
    width: 100% !important;
    text-align: center;
    vertical-align: middle;
    padding-top: 5px;
    cursor: pointer;
    overflow: hidden;
}

/*CSS to print receipts*/
.print_section{
    display: none;
}
@media print{
    .print_section{
        display: inline !important;
    }
    .modal-xl{
        width: 100% !important;
    }
    ::-webkit-scrollbar{
        display: none !important;
    }
    #toast-container {
        display: none;
    }
}

.input-number .btn-default{
    background-color: white;
    padding: 6px 9px;
}

.width-50{
    width: 50% !important;
}
.width-40{
    width: 40% !important;
}
.width-60{
    width: 60% !important;
}
.width-100{
    width: 100% !important;
}

.font-30{
    font-size: 30px !important;
}

.font-23{
    font-size: 23px !important;
}
.padding-5{
    padding: 5px !important;
}
.padding-10{
    padding: 10px !important;
}
.padding-side-15{
    /*padding-left: 15px !important;
    padding-right: 15px !important;*/
}
.text-muted-imp{
    color: #A3A3A3 !important;
}

.table-no-top-cell-border td{
    border-top: 0px !important;
    border-bottom: 0px !important;
}
.table-no-top-cell-border th{
    border-top: 0px !important;
    border-bottom: 0px !important;
}

.table-no-side-cell-border td{
    border-left: 0px !important;
    border-right: 0px !important;
}
.table-no-side-cell-border th{
    border-left: 0px !important;
    border-right: 0px !important;
}

.color-555 {
    color: #555555 !important;
}
.color-555 *{
    color: #555555 !important;
}
.color-white {
    color: white !important;
}
.col-no-padding{
    padding-left: 0px;
    padding-right: 0px;
}
.col-2px-padding{
    padding: 2px;
}

.pos-express-btn{
    font-size: 23px !important;
    overflow: hidden !important;
    height: 73px !important;
    white-space: normal;
}
.word-wrap{
    word-wrap: break-word !important;
}

.modal-xl{
    width: 90%; /* respsonsive width */
    margin-left: auto !important;
    margin-right: auto !important;
}
table.ajax_view tbody tr{
    cursor: pointer;
}
.bg-white{
    background-color: #fff;
}

.product-thumbnail-small{
    height: 50px;
    width: 50px;
}
.table thead tr th     {
        color: #000 !important;
    }
table.table-text-center td, table.table-text-center th{
    vertical-align: middle !important;
}
.product_list{
    padding-left: 8px;
    padding-right: 8px;
}
.product_box{
    width: 100%;
    /*padding-top: 5px;
    padding-bottom: 2px;*/
    margin-bottom: 10px;
    text-align: center;
    cursor: pointer;
    /*border: 1px solid darkgray;*/
    font-weight: 600;
    background-color: #fff;
    border-radius: 2px;
    padding-top: 3px;
}
.product_box .image-container{
    /*width: 95%;*/
    height: 100px;
    width: 100px;
    margin: auto;
    /*padding-top: 5px;*/

}
.product_box .image-container img{
    height: 45px;
    /*width: 45px*/
}
.eq-height-row{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}
.eq-height-col{
    display: flex;

}

.product_box .text_div{
    margin-top: 3px;
}
.product_box .text{
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1; /* number of lines to show */
    line-height: 14px;        /* fallback */
    max-height: 14px;       /* fallback */
}
.small-box.bg-gray:hover{
    color: #000;
    text-decoration: none;
}

#calendar table tbody td {
    cursor: pointer;
}

.min-height-90hv{
    min-height: 90vh !important;
}

/* Grow Shadow */
.hvr-grow-shadow {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: box-shadow, transform;
    transition-property: box-shadow, transform;
}
.hvr-grow-shadow:hover, .hvr-grow-shadow:focus, .hvr-grow-shadow:active {
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.text-link{
    cursor: pointer;
}

.text-link:hover{
    text-decoration: underline;
}

.v-center{
    vertical-align: middle !important;
}

.bg-woocommerce{
    background-color: #9E458B !important;
}

/*.box, .info-box, .nav-tabs-custom, .external-event{
  box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.2) !important;
}*/

.user_avatar {
    border-radius: 50%;
    width: 25px;
    height: 25px;
    margin: 1px;
}

.fs-10 {
    font-size: 10px;
}

.timeline-lode-more-btn {
    margin-left: 50px;
    margin-top: 25px;
    padding-right: 12px;
    padding-left: 12px;
}

.pa-0 {
    padding: 0px !important;
}

.mt-56{
    margin-top: 56px !important;
}

.m-2{
    margin: 2px !important;
}

.treeview-menu i{
    display: none !important;
}
.treeview-menu a{
    padding-left: 25px !important;
    font-size: 95% !important;
}
/* .treeview-menu a::before{
    content: "\2192 ";
} */

@media only screen and (max-width: 600px) {
    .pos-form-actions{
        position: absolute;
    }
}
.mr-8 {
    margin-right: 8px !important;
}

@media (max-width: 1024px) {
    .pos_form_totals{
        margin-bottom: 40px;
    }
}

.swal-modal .swal-text {
    text-align: center;
}


.mb-40 {
    margin-bottom: 40px ;
}




.user_avatar {
    border-radius: 50%;
    width: 25px;
    height: 25px;
    margin: 1px;
}

.fs-10 {
    font-size: 10px;
}

.timeline-lode-more-btn {
    margin-left: 50px;
    margin-top: 25px;
    padding-right: 12px;
    padding-left: 12px;
}

.pa-0 {
    padding: 0px ;
}

.mt-56{
    margin-top: 56px ;
}

.m-2{
    margin: 2px ;
}

.treeview-menu i{
    display: none ;
}
.treeview-menu a{
    padding-left: 25px ;
    font-size: 95% ;
}
/* .treeview-menu a::before{
    content: "\2192 ";
} */

@media only screen and (max-width: 600px) {
    .pos-form-actions{
        position: absolute;
    }
}
.mr-8 {
    margin-right: 8px ;
}

@media (max-width: 1024px) {
    .pos_form_totals{
        margin-bottom: 40px;
    }
}

.swal-modal .swal-text {
    text-align: center;
}


.mb-40 {
    margin-bottom: 40px ;
}
/* new-app.css */

/* Modal Styles */
.modal {
    overflow: hidden;
  }

  body.modal-open {
    padding-right: 0;
    overflow: auto;
  }

  .modal-content {
    border-radius: 30px;
  }

  .modal-dialog.modal-lg {
    max-width: 650px;
    margin: 20px auto;
  }

  .model-x {
    border-radius: 24px;
    font-family: 'Inter', sans-serif;
    background-color: #f9fbfa;
    padding: 0;
    max-height: 100vh;
    overflow-y: auto;
    /* text-align: left; */
  }

  .modal-header,
  .custom-header,
  .pos-header {
    background-color: #00796b;
    color: #fff;
    padding: 24px 30px;
    /* border-top-left-radius: 24px;
    border-top-right-radius: 24px; */
    text-align: center;
    position: relative;
  }

  .modal-header .modal-title,
  .custom-header .modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
  }
  .pos-header{
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #018979;
  }
  .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
  }

  .modal-body {
    padding: 30px;
  }

  .modal-footer {
    padding: 20px 30px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    background-color: transparent;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
  }

  /* Form Styles */
  .form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .closing_stock {
    margin: 20px !important;
}

.closing_stock td {
    font-weight: bold;
    font: 100;
}

  .form-group {
    display: flex;
    align-items: center;
  }

  .label-container-v {
    width: 300px;
    text-align: right;
    padding-right: 20px;
  }

  .stock-stats.box-solid {
    background-color: #e3ede9 !important;
    border-radius: 30px !important;
    padding: 20px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
  /* ضبط المظهر العام ليكون متدفقًا */
.content.no-print {
    padding: 0 ;
    margin: 0 ;
}
  .form-label {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    margin-bottom: 0;
  }

  .input-with-btn-container {
    flex: 1;
    max-width: 300px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .custom-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
  }

  .value-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .btn-container,
  .btn-placeholder {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .btn-container {
    background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-icon {
    padding: 0;
    font-size: 16px;
    border: none;
    cursor: pointer;
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  .btn-icon.green {
    background-color: #00796b;
  }

  .btn-icon.red {
    background-color: #e53935;
  }

  /* .btn {
    font-weight: bold;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 15px;
    border: none;
    cursor: pointer;
    min-width: 100px;
  }
   */
  .btn-update {
    background-color: #00796b;
    color: white;
  }

  .btn-cancel {
    background-color: #e53935;
    color: white;
  }

 /* Header and Sidebar Styles */

/* تنسيق الهيدر (افتراضي LTR) */
/* Header and Sidebar Styles */
.main-header .navbar-static-top,
.main-header .navbar {
  background-color: #00796b;
  height: 80px;

  /* Default LTR styles */
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 0;

  /* RTL override */
  [dir="rtl"] & {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 20px;
  }
}

.main-sidebar {
  background-color: rgb(225, 229, 229);

  /* RTL support */
  [dir="rtl"] & {
    left: auto;
    right: 0;
  }
}

.custom-sidebar-toggle {
  position: absolute;
  top: 15px;
  color: #000;
  z-index: 100;
  padding: 5px 10px;
  border-radius: 3px;
  transition: all 0.3s ease;

  /* Default LTR position */
  left: 190px;
  right: auto;

  /* RTL position */
  [dir="rtl"] & {
    left: auto;
    right: 190px;
  }
}

body.sidebar-collapse .custom-sidebar-toggle {
  /* Default LTR collapsed position */
  left: 20px;
  right: auto;

  /* RTL collapsed position */
  [dir="rtl"] & {
    left: auto;
    right: 20px;
  }

  background-color: rgba(0, 0, 0, 0.1);
}

.sidebar-collapse .custom-sidebar-toggle i {
  transform: rotate(180deg);

  /* Adjust rotation for RTL */
  [dir="rtl"] & {
    transform: rotate(0deg);
  }
}

.custom-sidebar-toggle i {
  font-size: 18px;
  display: inline-block;
  vertical-align: middle;

  /* Default rotation for RTL */
  [dir="rtl"] & {
    transform: rotate(180deg);
  }

  /* Adjust rotation when collapsed in RTL */
  [dir="rtl"] .sidebar-collapse & {
    transform: rotate(0deg);
  }
}
  /* Container Styles */
  .purchase-sell-container,
  .over-all,
  .print-button-container,
  .print-labels-container,
  .content-header-container,
  .stock-report-container,
  .inventory-management-container,
  .add_purchase-container ,
  .opening_stock-container,
  .import-opening-stock-container,
  .add-sale-container,
  .profit-loss-container,
  .notification-container,
  .stock_history-container,
  .production-container,
  .repair-container,
  .sale-container,
  .pos-sale-container,
  .user-container,
  .purchases-container,
  .all-container{
    margin: 40px;
    background-color: #ffffff;
    border: 1px solid rgb(211, 239, 233);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }


  .over-all {
    padding: 15px;
  }
  #profit_loss_date_filter{
    background-color: rgb(232, 223, 223)!important ;
    color: #000;
    border-color: rgb(232, 223, 223)!important ;
  }
  .purchase-sell-title,
  .over-all-title,
  .print-labels-title,
  .content-header-title,
  .stock-report-title,
  .inventory-management-title,
  .add_purchase-title,
  .add-opening-stock-title,
  .import-opening-stock-title,
  .add-sale-title,
  .profit-loss-title,
  .notification-title,
  .stock_history-title,
  .production-title,
  .repair-title ,
  .sale-title,
  .pos-sale-title,
  .user-title,
  .purchases-title,
  .all-title,
  .asset-title,
  .essentials-title{
    background-color: #80cbc4;
    padding: 15px;
    margin-bottom: 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    position: relative;
    overflow: visible;
    min-width: 300px;
    display: flex;
  }

  .purchase-sell-title h2,
  .over-all-title h2,
  .print-labels-title h3,
  .content-header-title h2 ,
  .stock-report-title h2,
  .inventory-management-title h3,
  .add_purchase-title h1,
  .import-opening-stock-title h3
  .add-sale-title h3,
  .profit-loss-title h2,
  .notification-title h2,
  .production-title h3,
  .repair-title h3,
  .sale-title h3,
  .pos-sale-title h3,
  .add-opening-stock-title ,
  .user-title h3,
  .purchases-title h3,
  .all-title h3,
  .asset-title h3,
  .essentials-title h3{
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    overflow: visible;
    position: relative;
    z-index: 1;
  }

  .print-button-container .btn {
    margin: 0 15px 0 0;
  }

  /* Table Styles */
  .purchase-sell-container .table-striped tr:nth-child(odd) th {
    background-color: #e3ede9;
    padding: 15px;
  }

  .purchase-sell-container .table-striped tr:nth-child(even) th {
    background-color: #f5f7f6;
    padding: 15px;
  }

  .add_product_for_labels {
    display: flex;
    flex-direction: column;
}
.add_product_for_labels .box-title {
    font-size: 28px ;
    font-family: 'Roboto', sans-serif ;
    font-weight: 500 ;
    color: #333 ;
    letter-spacing: 1px ;
    text-align: center ;
    width: 100%;
    display: block;
}

/* إزالة الحدود والخلفيات لتوحيد الأقسام */
.box, .box-primary, .box-solid {
    border: none ;
    box-shadow: none ;
    background: transparent ;
    margin: 0 ;
    padding: 10px 0 ;
}

  /* Filter Styles */
  .location-filter,
  .date-filter,
  #profit_loss_location_filter {
    margin: 20px;
    border-radius: 8px;
    border: 2px solid #ccc;
  
    overflow: hidden;
  }


  .filter-label {
    margin: 20px;
    padding: 0;
  }

  #dashboard_date_filter,
  #profit_loss_date_filter {
    background-color: #00796b;
    padding: 10px;
    width: 200px;
    border-radius: 10px;
  }

  /* Thumbnail and Image Styles */
  img.product-thumbnail-small {
    width: 30px;
  }

  .thumbnail {
    border: none;
    box-shadow: none;
    background-color: transparent;
    padding: 0;
  }

  .thumbnail img {
    border-radius: 20px;
    border: none;
    background-color: white;
    width: 100%;
  }

  /* Info Box and Test Styles */
  .info-box-new-style {
    border-radius: 20px;
    height: 120px;
  }

  .dashboard_date_filter{
    background-color: #00796b !important;
}

.location-filter, .date-filter {
    margin: 20px !important;
    border-radius: 15px !important;
    height: 30px;

    overflow: hidden;
}

  .test-x {
    width: 1000px;
    height: 320px;
    margin: 15px;
    padding: 20px;
    background-color: #efefef;
    border-radius: 30px;
  }

  .test-x .invoice-col {
    color: rgb(33, 28, 28);
    font-size: large;
    padding: 3px;
  }

  .test-x b {
    display: inline-block;
    margin-top: 20px;
  }



/* تنسيق السايدبار */
.sidebar {

    color: #2c3e50; /* لون النص العام */
    width: 230px;
    /* position: fixed; */
    /* height: 100vh; */
    transition: all 0.3s ease;
    background-color: rgb(225, 229, 229);
    left: 0; /* التأكد من أن السايدبار يبدأ من اليسار */
    top: 0;
    /* box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); */
}

body.sidebar-collapse .sidebar {
    width: 0; /* أو يمكنك جعله 50px لإبقاء جزء صغير مرئي */
    overflow: hidden; /* إخفاء المحتوى عند الطي */
}
/* تنسيق قائمة السايدبار */
.sidebar-menu {
    list-style: none;
    padding: 0;
    /* margin: 20px 0; */

}

.sidebar-menu li {
    position: relative;
    margin: 5px 0;
    border-radius: 10px;
    width: 253px; /* 203px (a width) + 50px (25px margin on each side) */
}

.sidebar-menu li a {
    color: #2c3e50; /* لون النص ليتناسب مع الخلفية الفاتحة */
    padding: 12px 15px;
    display: flex ;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin: 0 25px;
    width: calc(100% - 50px); /* 100% of parent li width minus the margins */
}

.sidebar-menu  a:hover {
    background-color: #34c759; /* لون العنصر عند التحويم (محدث ليطابق الصورة) */
    color: #ffffff;
}

.sidebar-menu li a i {
    font-size: 18px; /* حجم الأيقونات */
    margin-right: 10px;
    width: 20px;
    text-align: center;
}


/* تنسيق القوائم الفرعية */
/* تنسيق القوائم الفرعية */
.sidebar-menu .treeview-menu {
    list-style: none;
    padding: 0 0 0 20px;
    margin: 0;
    display: none;
    position: relative;
    padding-bottom: 15px;
}

.sidebar-menu .treeview-menu li {
    position: relative;
    width: 233px; /* Slightly smaller than parent li (253px) */
}

.sidebar-menu .treeview-menu li a {
    padding: 8px 15px 8px 35px;
    font-size: 14px;
    position: relative;
}

.sidebar-menu .treeview-menu:before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 22px;
    width: 1px;
    background-color: #b0b8bd;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
}

/* خط أفقي صغير يربط الخط الرأسي بالعنصر */
.sidebar-menu .treeview-menu li a:before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    width: 13px;
    height: 1px;
    background-color: #b0b8bd;
    border-top-right-radius: 5px;
}

.sidebar-menu .treeview.active .treeview-menu {
    display: block;
}

/* الأنماط للواجهة العربية (RTL) */
html[dir="rtl"] .sidebar-menu .treeview-menu,
.rtl .sidebar-menu .treeview-menu {
    padding: 0 20px 0 0 !important; /* عكس الحشوة */
}

html[dir="rtl"] .sidebar-menu .treeview-menu li a,
.rtl .sidebar-menu .treeview-menu li a {
    padding: 8px 35px 8px 15px !important; /* عكس حشوة الرابط */
}

html[dir="rtl"] .sidebar-menu .treeview-menu:before,
.rtl .sidebar-menu .treeview-menu:before {
    left: auto !important;
    right: 30px !important; /* نقل الخط الرأسي إلى اليمين */
}

html[dir="rtl"] .sidebar-menu .treeview-menu li a:before,
.rtl .sidebar-menu .treeview-menu li a:before {
    left: auto !important;
    right: -14px !important; /* نقل الخط الأفقي إلى اليمين */
    border-top-right-radius: 0 !important;
    border-top-left-radius: 5px !important; /* عكس الزوايا الدائرية */
}

/* تغيير العلامة إلى < متجهة للأسفل */
/* .sidebar-menu .treeview > a:after {
    content: "\f078"; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    transition: transform 0.3s ease;
    margin-right: 20px;
} */



.sidebar-menu .treeview.active > a:after {
    transform: rotate(-180deg);
}









/* تنسيق العناصر المختارة */
.sidebar-menu li.active > a {
    background-color: #006B5F; /* لون العنصر النشط (محدث) */
    color: #ffffff;
    display: flex;
    width: calc(100% - 50px); /* Match the width of regular anchor tags */
    font-size:small !important;
    font-weight: normal !important;
}
/*.sidebar-menu li a:hover {*/
/*width: 180px; !* Width of a on hover *!*/
/*}*/
/* تباعد العناصر */
.sidebar-menu > li {
    margin-bottom: 5px;
}

/* تنسيق رأس السايدبار */
.sidebar-header {
    padding: 15px;
    background-color: #d5dbde; /* لون خلفية الرأس أغمق قليلاً */
    text-align: center;
    /* border-bottom: 1px solid #b0b8bd; */
}

.sidebar-header h3 {
    color: #2c3e50;
    margin: 0;
    font-size: 18px;
}

.sidebar,
.main-sidebar {
    background-color: rgb(225, 229, 229);
}

.custom-container {
    margin-left: 15px; /* مارجين صغير من اليسار */
    margin-right: 15px; /* مارجين صغير من اليمين */
}

.custom-info-box{
    background-color: #94cfcb;
}

.custom-info-box {
    background-color: #80cbc4; /* اللون السماوي */
    display: flex; /* استخدام flexbox */
    flex-direction: row-reverse; /* عكس الترتيب: الأيقونة يمين، النصوص يسار */
    align-items: center; /* محاذاة العناصر عموديًا */
}

/* لون النصوص أبيض */
.custom-info-box .info-box-content,
.custom-info-box .info-box-content .info-box-text,
.custom-info-box .info-box-content .info-box-number,
.custom-info-box .info-box-content .total_sr,
.custom-info-box .info-box-content .total_srp,
.custom-info-box p,
.custom-info-box .text-muted,
.custom-info-box .fa-sync {
    color: #fff !important; /* لون النص والأيقونة أبيض */
}

/* محاذاة النصوص إلى اليسار */
.custom-info-box .info-box-content {
    text-align: left; /* محاذاة النصوص إلى اليسار */
    flex-grow: 1; /* السماح للنصوص بأخذ المساحة المتبقية */
}

/* ضبط الأيقونة */
.custom-info-box .info-box-icon {
    margin-left: 0; /* إزالة أي مارجين يسار */
    margin-right: 20px; /* إضافة مارجين يمين للفصل */
}

.total_return{
    padding: 25px;
}
.info-box.info-box-new-style {
    display: flex;
    flex-direction: row-reverse; /* عكس الاتجاه */
    align-items: center;
}

/* RTL support for info-box-new-style */
[dir="rtl"] .info-box-new-style {
    padding: 12px !important;
    padding-left: 0px !important;
}

[dir="rtl"] .info-box-new-style .info-box-content {
    padding: 6px 12px 6px 0px;
    margin-right: 64px;
    margin-left: 7px;

}
.info-box-icon {
    margin-right: 15px; /* مسافة من الحافة اليمنى */
    border-radius: 8px; /* اختياري: لو حابب الزوايا تكون ناعمة */
}

.info-box-content {
    text-align: left;
    flex: 1;
}


.treeview-link-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 10px;
  }

  .treeview-link-wrapper a {
    flex: 1;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .treeview-link-wrapper .arrow-icon {
    margin-left: 10px;
    color: #2c3e50;
  }

  .sidebar-menu li.active > .treeview-link-wrapper {
    background-color: #006B5F;
    color: white;
  }

  .sidebar-menu li.active > .treeview-link-wrapper a,
  .sidebar-menu li.active > .treeview-link-wrapper .arrow-icon {
    color: white;
  }

  .treeview-link-wrapper:hover {
    background-color: #34c759;
    color: white;
  }

/* تنسيق الخطوط الرأسية المخصصة */
.custom-chart-bars {
    display: flex;
    align-items: flex-end;
    height: 40px;
    gap: 6px;
    margin-left: 15px;

}

/* RTL support for custom-chart-bars */
[dir="rtl"] .custom-chart-bars {
    margin-left: 0;
    margin-right: 15px;
}

.custom-chart-bars .bar {
    width: 6px;
    height: 50px; /* ارتفاع موحد لجميع الخطوط */
    border-radius: 5px;
    background-color: #ffffff; /* اللون الأبيض كخلفية افتراضية */
}

/* ملء كل خط بنسبة معينة باستخدام linear-gradient */
.custom-chart-bars .bar-1 {
    background: linear-gradient(to top, #00796b 80%, #ffffff 80%); /* 50% ملء باللون الأخضر */
}

.custom-chart-bars .bar-2 {
    background: linear-gradient(to top, #00796b 45%, #ffffff 45%); /* 75% ملء */
}

.custom-chart-bars .bar-3 {
    background: linear-gradient(to top, #00796b 65%, #ffffff 65%); /* 25% ملء */
}

.custom-chart-bars .bar-4 {
    background: linear-gradient(to top, #00796b 92%, #ffffff 92%); /* 40% ملء */
}

.custom-chart-bars .bar-5 {
    background: linear-gradient(to top, #00796b 20%, #ffffff 20%); /* 60% ملء */
}

/* ضبط حجم info-box-icon لاستيعاب الخطوط */
.info-box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px !important;
    height: 70px !important;
}

.fa-angle-down{
    color: #333;
    padding-left: 29px;
}

 /* Step Navigation Styles */
 .step-navigation {
    padding: 20px 0;
    width: 100%;
    margin-bottom: 0; /* Remove bottom margin to minimize spacing */
}
.step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Match the typical width of content-header-container */
    margin: 0 auto;
}
.step-item {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
    justify-content: center;
}
.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #9f9b9a;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px; /* Larger font */
    margin-right: 15px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border: 2px solid #9f9b9a;
    position: relative;
}
.step-item.active .step-circle {
    color: #28a745;
    border: 2px solid #28a745;
}
.step-item.active .step-label{
    color: #28a745;
}
.step-item.completed .step-circle {
    background-color: #28a745;
    border: 2px solid #28a745;
    color: transparent; /* Hide the number */
}
.step-item.completed .step-circle::after {
    content: '\2713'; /* Unicode for checkmark */
    color: white;
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.step-label {
    color: #333;
}
.step-connector {
    width: 150px;
    height: 2px;
    background-color: #e0e0e0;
    margin: 0 8px;
}
.step-item.completed + .step-connector {
    background-color: #28a745;
}
.step-item.active + .step-connector {
    background-color: #00c4b4;
}

/* Content Header Styles */
.content-header-container {
    margin-top: 0; /* Remove top margin to minimize spacing */
    padding-top: 0; /* Remove top padding */
}

/* Existing Styles */
.step {
    transition: all 0.3s ease;
}
.error {
    border: 1px solid red !important;
}

.file-upload-area {
    position: relative;
    width: 100%;
    height: 150px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: border 0.3s ease;
}
.file-upload-area:hover {
    border-color: #007bff;
}

.upload-placeholder {
    text-align: center;
    color: #666;
    font-size: 14px;
}
.upload-icon {
    font-size: 24px;
    color: #666;
    margin-top: 8px;
}
.delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
}
.delete-btn i {
    font-size: 18px;
}

.btn-big {
    padding: 10px 20px;
    font-size: 16px;
}
.next-btn {
    background-color: #00c4b4;
    border-color: #00c4b4;
    margin-top: 15px;
}
.next-btn:hover {
    background-color: #009a8c;
    border-color: #009a8c;
}
.back-btn {
    background-color: #e0e0e0;
    border-color: #e0e0e0;
    color: #333;
    margin-top: 15px;
}
.back-btn:hover {
    background-color: #d0d0d0;
    border-color: #d0d0d0;
}

.input-group-inline .form-control.size-input {
    border-radius: 6px !important; /* انحناء الحواف بقيمة 4px */
}

.search-container {
    display: flex !important; /* استخدام flexbox للتوسيط */
    justify-content: center !important; /* توسيط أفقي */
    width: 100% !important; /* الحاوية تأخذ العرض الكامل */
    padding: 0 15px !important; /* إضافة بادينغ لضبط المسافات */
}
.search-input {
    width: 70% !important;
    max-width: 70% !important;
    margin: 0 auto !important;
    height: 45px !important;
    font-size: 16px !important;
    padding: 10px 15px 10px 40px !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23666" d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"/></svg>') !important;
    background-size: 20px !important;
    background-position: 15px center !important;
    background-repeat: no-repeat !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.search-container .form-group {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

/* #product_table{
    background-color: #80cbc4;

} */
th{
    text-align: center;
    color: white;
}

/* ضبط الـ input-group ليكون على نفس السطر */
.input-group-inline {
    display: flex;
    align-items: center;
    gap: 0;
}


/* تصميم علامة الصح بجانب حقل الإدخال كـ checkbox */
.check-addon {
    background-color: #00796b !important;
    color: #ffffff !important;
    font-size: 18px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    border: 2px solid #00796b !important;
    border-radius: 4px !important;
    cursor: pointer;
    margin: 5px;
    transition: background-color 0.3s ease; /* انتقال سلس لتغيير اللون */
}

.check-addon.unchecked {
    background-color: #ffffff !important; /* أبيض عند إلغاء علامة الصح */
    border-color: #ccc !important; /* حدود رمادية */
}

.size-input {
    border: 1px solid #ccc; /* الإطار الافتراضي */
    transition: border 0.3s ease; /* انتقال سلس للإطار */
}

.check-icon {
    display: block; /* يظهر أو يختفي بناءً على JavaScript */
}

.outer-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 10px;
    background-color: #e6f4ee; /* لون خلفية افتراضي أخضر فاتح */
  }

  /* اللون حسب النوع */
  .outer-box.green {
    background-color: #00796b; /* أخضر فاتح */
  }

  .outer-box.red {
    background-color: #d72a3c; /* أحمر فاتح */
  }

  /* الزر الدائري نفسه */
  .circle-btn {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid white;
    font-size: 12px;
    font-weight: bold;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    cursor: pointer;
    background-color: #28a745; /* أخضر كافتراضي */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
  }

  /* اللون الأخضر */
  .circle-btn.green {
    background-color: #00796b;
  }

  /* اللون الأحمر */
  .circle-btn.red {
    background-color: #f30920f0;
  }

  .form-group .select2-container--default .select2-selection--single {
    border-radius: 8px !important; /* انحناء لـ Select2 */
}

.form-group .form-control {
    border-radius: 8px !important; /* انحناء لأي input أو select مباشر */
}

.form-group .input-icheck + .icheckbox_square-blue {
    border-radius: 8px !important; /* انحناء للـ checkbox */
}

.btn-save {
    background-color: #00796b; 
    color: #ffffff; 
    border: none; 
    border-radius: 6px; 
    padding: 10px 20px; 
    font-size: 16px; 
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* margin-top: 30px; */
}

.form-group label {
    color: #000000; 
    font-weight: 500;
    margin-bottom: 8px; 
    display: block; 
}
.input-group-addonn {
    border: 1px solid #ddd;
    border-right: none; 
    background-color: #f7f7f7;
    border-radius: 5px 0 0 5px !important; 
    display: none !important;
}
.input-group {
    width: 75%; 
}

.card {
    background-color: #ffffff; 
    border-radius: 10px; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px; 

 }

 .stock-box{
    margin-top: 20px;
 }

.custom-checkbox {
    display: inline-block;
    position: relative;
    width: 35px;
    height: 35px;
    cursor: pointer;
    margin-left: -20px;
    margin-right: 15px;

}

.custom-checkbox input {
    opacity: 0;
    position: absolute;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox .checkmark {
    background-color: #006B5F !important;
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
    right: 10px;
    height: 35px;
    width: 35px;
}

/* علامة الصح */
.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 10px; /* نقل لليمين */
    top: 7px;
    width: 9px; /* حجم اصغر */
    height: 18px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* إظهار علامة الصح عند التفعيل */
.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

    .file-upload-area {
        position: relative;
        border: 2px dashed #ccc;
        border-radius: 8px;
        padding: 20px;
        text-align: center;
        min-height: 200px; /* الطول السابق */
        max-width: 100%; /* العرض السابق */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .upload-placeholder {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .upload-text {
        font-size: 16px;
        color: #666;
    }

    .upload-icon {
        font-size: 24px;
        color: #007bff;
        margin-top: 10px;
    }

    .delete-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .file-upload-area img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 4px;
    }

    /* Custom Upload Button */
    .custom-upload-btn {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .custom-upload-btn:hover .upload-text,
    .custom-upload-btn:hover .upload-icon {
        color: #0056b3;
    }

    /* Remove cursor pointer from display area */
    #image-display .file-upload-area {
        cursor: default;
    }

    /* Hide default file input to prevent "Browse" */
    .upload-element {
        display: none !important; /* إخفاء إدخال الملف تمامًا */
    }

    /* Hide any potential "Browse" text */
    .file-upload-area::after,
    .file-upload-area input[type="file"]::file-selector-button,
    .file-upload-area input[type="file"]::-webkit-file-upload-button {
        display: none !important; /* إخفاء زر Browse الافتراضي */
    }

    /* Ensure only "Add Image +" is visible */
    .file-upload-area .upload-text:not(.custom-upload-btn .upload-text) {
        display: none; 
    }

    /* Label and Small on Same Line */
    .label-container {
        display: flex;
        align-items: center;
        gap: 10px; 
        margin-bottom: 10px;
        direction: rtl; 
        justify-content: flex-end; 
        width: 100%; 
    }

    .label-container label {
        margin: 0; 
        font-size: 14px; 
    }

    .label-container small {
        margin: 0; 
    }

    .label-container .help-block {
        margin: 0;
        font-size: 12px; 
        color: #666; 
        display: inline; 
        white-space: nowrap; 
    }
.download_template_file,
.import-product{
    padding: 7px;
    background-color: #FFCFE0 ;
    border-radius: 5px ;
    border-color: #FFCFE0 ;
    color: #F93C65;

}
.choose_file{
    /* background-color: #BAD7E2; */
    padding: 6px;
}
.submit{
    background-color: #018979;
    color: white;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 10px;
}
.import-opening-stock-title{
    background-color: #018979;
}
.import-opening-stock .container {
    background-color: #018979;
}

.product_add{
    background-color: #00AE2E;
    border-radius: 10px;
     text-align: center;
      width: 150px;

}
.product_add button{
 color: white;


}
.mousetrap{
    margin-left: 50px;
}

.purchase-table,
.sale-table,
.ingredients-table{
    background-color: #70C6C1;
     margin-top: 20px;
}

.product-manage{
    margin-top: 20px;

}

.select_location{
    margin: 20px;
}

.quantities_in{
    background-color: #E5F5FF;
    margin: 30px;
    border-radius: 10px;
}
.quantities_out{
    background-color: #FFE4DC;
     margin: 30px;
    border-radius: 10px;
}
 #stock_history_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;

}
#stock_history_table th {
    background-color: #018979;
    color: white !important ;
    padding: 12px 15px;
    text-align: left;
    white-space: nowrap;

}
  .blue-th tr th {
    color: blue;
  }
 #stock_history_table td {
    padding: 10px 15px;
    vertical-align: middle;
    border-bottom: 1px solid rgb(222, 226, 230);
	border-right: 1px solid rgb(222, 226, 230);
}
#stock_history_table tr:last-child td {
    border-bottom: none;
}
#stock_history_table th:not(:last-child),
#stock_history_table td:not(:last-child) {
    padding-right: 20px;
}
@media screen and (max-width: 768px) {
    #stock_history_table th,
    #stock_history_table td {
    padding: 8px 10px;
}
}
.table-condensed th,
.table-condensed td,
.table-slim th,
.table-slim td {
	/* color: black !important; */
	text-align: left !important; 
}
.table-condensed th{
    color: black !important;
}
.totals-box {
    min-height: 150px; 
    width: 100%; 
	margin-top: 40px;
    background-color: #F5FAF9;
}
.totals-box .table {
    margin-bottom: 0;
    width: auto;
    color: #000;
    font-weight: bold;

}
.totals-box th,
.totals-box td {
    color: black !important; 
    text-align: left !important;

}

.btn-login{
    background-color: #018979;

    margin-bottom: 10px;
    color: white;
    text-align: center;
    border-radius: 15px;
    height: 50px;

}

.select2-container {
    width: 100% !important;
    background-color: transparent !important;
}

.select2-container .select2-selection--single {
    /*height: 26px;*/
    display: flex;
    align-items: center;
    /*border: none !important;*/
    background-color: #fff !important;
    border-radius: 0 !important;
}



.flag-icon {
    width: 24px;
    height: 20px;
    border-radius: 50% !important; /* جعل العلم دائريًا */
    margin-right: 0 !important; /* إزالة المسافة بين العلم والنص */
    vertical-align: middle;
}

.lang-short {
    font-weight: bold;
    color: #333;
    margin-left: 2px; /* مسافة صغيرة بين العلم والنص */
}




.custom-border {

    border-radius: 8px !important; /* زوايا دائرية أكثر وضوحًا (يمكن تغيير القيمة) */
    padding: 6px 12px; /* ضبط الهوامش الداخلية لتتناسب مع الحافة السميكة */
}

.custom-checkboxx {
    position: relative;
    display: inline-flex; /* محاذاة المربع والنص على نفس السطر */
    align-items: center; /* محاذاة رأسية */
    padding-left: 30px; /* زيادة المسافة لتناسب المربع */
    cursor: pointer;
    font-size: 14px; /* حجم النص */
    font-weight: bold; /* جعل النص bold */
    user-select: none;
    margin-right: 5px;
}

.custom-checkboxx input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 24px; /* حجم المربع */
    width: 24px; /* حجم المربع */
    background-color: #fff !important; /* أبيض عند عدم التحديد */
    border: 1px solid #ccc !important; /* إطار رمادي */
    transition: background-color 0.2s;
}

.custom-checkboxx input:checked ~ .checkmark {
    background-color: #00796b !important; /* أخضر عند التحديد */
    border: none !important;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkboxx input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkboxx .checkmark:after {
    left: 9px; /* تعديل لتوسيط علامة الصح في المربع */
    top: 4px;
    width: 6px; /* حجم علامة الصح */
    height: 12px; /* حجم علامة الصح */
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


/* زيادة المسافة بين المربع والنص */
.custom-checkboxx .checkmark + span {
    margin-left: 10px; /* زيادة المسافة بين المربع والنص */
}

#components_for_unit_breakdown_table,
#ingredients_for_unit_recipe_table {
			width: 100%;
			border-collapse: separate;
			text-align: center;
		}
/* تنسيق حقول الإدخال في ingredient_row_for_production.blade.php */
#components_for_unit_breakdown_table .manufacturing-input,
#ingredients_for_unit_recipe_table   .manufacturing-input
/* #manufacturing .waste_percent ,
#manufacturing .input-group-addon,

#manufacturing.sub_unit,
#manufacturing .row_sub_unit_id  */
{
    border-radius: 20px; /* حواف دائرية */
    text-align: center; /* النص داخل الحقل متمركز */
    display: inline-block; /* لضمان التوسيط داخل الخلية */

    padding: 5px 10px; /* تحسين المسافات الداخلية */
    box-sizing: border-box; /* احتساب padding داخل العرض */

}



/* التأكد من أن الخلايا متمركزة */
#components_for_unit_breakdown_table td ,
#ingredients_for_unit_recipe_table  td{
    text-align: center; /* توسيط أفقي */
    vertical-align: middle; /* توسيط عمودي */
    padding: 20px !important;

}	
#components_for_unit_breakdown_table th,
#components_for_unit_breakdown_table td ,
#ingredients_for_unit_recipe_table th,
#ingredients_for_unit_recipe_table  td{
			border: 1px solid #ffffff;
			padding: 8px;
		}
/* تنسيق input-group و input_inline */
#components_for_unit_breakdown_table .input-group,
#components_for_unit_breakdown_table .input_inline ,
#ingredients_for_unit_recipe_table .input-group ,
#ingredients_for_unit_recipe_table .input_inline {
    display: inline-flex; /* جعل المجموعة مضمنة */
    justify-content: center; /* توسيط المحتوى */
    align-items: center; /* محاذاة عمودية */
    gap: 5px; /* مسافة صغيرة بين العناصر */
}
.production-title ,
.repair-title,
.asset-title,
.essentials-title{
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    position: relative;
    min-height: 100px; 
    background-color: #80cbc4;   
}



.navbar-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0 !important;
    width: auto;

}

.navbar-default {
    margin: 0;
    border: none;

}

.navbar-collapse{
    margin: 0;
    padding: 0;
}

.nav.navbar-nav-x {
    display: flex;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #80cbc4; /* Match production-title background for gaps */
}

.navbar-nav-x > li {
    border-radius: 20px 20px 0 0; /* Top-left, top-right rounded; bottom corners sharp */
    overflow: hidden;
    width: 190px;
    margin-right: -10px; /* Negative margin to overlap the next li on the right */
    position: relative;
    background-color: #F5F5F5;
    height: 50px;
    z-index: 1; /* Ensure each li can overlap the next */
    border: 1px solid rgb(224, 210, 210);
    text-align: center;

}
.navbar-nav-x > li.active {
    background-color: #FFFFFF;
    z-index: 2;
    border-radius: 20px 20px 20px 20px; /* Maintain same corners for active state */
    border-top: 3px solid #01897F;
}
.navbar-nav-x > li:not(:last-child) {
    z-index: 2; /* Higher z-index for all li except the last to overlap the next */
}
.navbar-nav-x > li:last-child {
    z-index: 1; /* Last li has lower z-index to be overlapped */
}
.navbar-nav-x  a {
    color: #000;
}


.navbar-nav-x > li.active > a,
.navbar-nav-x > li > a:hover {
    background-color: #FFFFFF !important; /* خلفية بيضاء عند التحديد أو التمرير */
    color: #000;
    text-align: center;
    font-weight: bold;
    height: 50px;

}
.navbar-nav-x > li > a:hover {
    color: #00AE2E;
}
.navbar-nav-x > li.active {
    background-color: #FFFFFF;
    z-index: 3; /* Active li has highest z-index to stay on top */
    border-radius: 20px 20px 0 0; /* Maintain active state corners */
    border-top: 3px solid #01897F;
}

.container-fluidx {
    background-color: #F5F5F5;
    padding: 0 ;

}

@media (max-width: 767px) {
    .nav.navbar-nav-x {
        flex-direction: column;
        gap: 5px;
        justify-content: flex-start;
        background-color: #80cbc4; /* Keep background for mobile */
    }

    .navbar-nav-x > li {
        border-radius: 4px; /* Mobile border-radius */
        margin-right: 0; /* Remove overlap in mobile (stacked vertically) */
        z-index: 1; /* Reset z-index for mobile */
    }

    .navbar-nav-x > li:not(:last-child) {
        z-index: 1; /* No overlap needed in mobile */
    }

    .navbar-nav-x > li:last-child {
        z-index: 1; /* Consistent z-index in mobile */
    }

    .navbar-nav-x > li.active {
        border-radius: 4px; /* Mobile active state */
        z-index: 2; /* Active state still on top */
    }
}

.final_total {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.total_cost_box {
    width: 25%;
    background-color: #f5f5f5;
    border-left: 4px solid #28a745;
    padding: 15px;
    min-height: 60px;
}

.total_cost_box strong {
    display: block;
}

.total_cost_box .display_currency {
    font-weight: 900;
    display: block;
    color: #000000;
    margin-top: 4px;
}

#sell_table tr th {
    color: #000;
    background-color: white;
}

/* #manufacturing {
	width: 100%;
	border-collapse: separate;
	text-align: center;
}
#manufacturing th,
#manufacturing td {
	border: 1px solid #ffffff;
	padding: 8px;
} */
    .circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    margin-left: 5px;
}
.circle-icon .fa {
    font-size: 10px;
}
.btn-save:hover .circle-icon {
    border-color: #000;
}

    .pos-form-actions .col-md-12 {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .pos-total {
        background-color: #FD5230;
        width: 350px;
        height: 115px;
        display: inline-block;
        padding: 50px;
        vertical-align: middle;
        margin-left: 5px;
        margin-right: 5px;
        border-radius: 20px;
    }

    .pos-total span.number {
        font-size: 26px;
        vertical-align: middle;
        font-weight: bolder;
    }

    .pos-total span.text {
        font-weight: bolder;
        display: inline-block;
        width: 60px;
        vertical-align: middle;
    }

    .buttons-group {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .vertical-buttons {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

     .vertical-buttons button {
        width: 260px;
        height: 43px;
        border-radius: 10px !important; /* إضافة !important للتأكد من التطبيق */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
        font-size: 14px;
        border: none; /* إزالة أي حدود قد تؤثر على الأنحناء */
    }

    .buttons-group button, 
    .buttons-group a {
        width: 230px;
        height: 43px;
        border-radius: 10px !important; /* إضافة !important للتأكد من التطبيق */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
        font-size: 14px;
        border: none; /* إزالة أي حدود قد تؤثر على الأنحناء */
    }

    .vertical-buttons button:nth-child(1) {
        background-color: #00AE2E;
        color: white;
    }

    .vertical-buttons button:nth-child(2) {
        background-color: #016589;
        color: white;
    }

    .vertical-buttons button:nth-child(3) {
        background-color: #F93C65;
        color: white;
    }

    .payment-group {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    @media (max-width: 768px) {
        .pos-total {
            width: 230px;
            height: 100px;
            padding: 20px;
        }

        .pos-total span.number {
            font-size: 20px;
        }

        .pos-total span.text {
            width: 50px;
            font-size: 14px;
        }

        .vertical-buttons {
            gap: 3px;
        }

        .vertical-buttons button {
            width: 150px;
            height: 32px;
            font-size: 12px;
            padding: 0 8px;
        }

        .buttons-group button, 
        .buttons-group a {
            width: 150px;
            height: 32px;
            font-size: 12px;
            padding: 0 8px;
        }

        .payment-group {
            gap: 5px;
        }
    }

    @media (max-width: 576px) {
        .col-md-12 {
            flex-direction: column;
            align-items: flex-start;
        }

        .payment-group {
            flex-direction: column;
            align-items: flex-end;
            width: 100%;
        }

        .vertical-buttons {
            align-self: flex-start;
        }

        .pos-total {
            align-self: flex-end;
        }

        .buttons-group {
            flex-direction: column;
            align-items: flex-start;
        }
    }
  .recent_trans{
    /* background-color: #00796b; */
     background-color: transparent;
     color: white;
     font-size: large;
     font-weight: bold;


  }
  .recent_trans:hover {
    color: yellow;
  }
    .btn.btn-danger.btn-flat.btn-xs,
  .btn.btn-info.btn-flat.btn-xs {
    border-radius: 10px;
  }
  .product-filters {
    margin-bottom: 20px;
}

.product-filters .form-group {
    margin-bottom: 0;
}

#product_list_body .product-card,
#product_list_body .product-box,
#product_list_body .col-md-3,
#product_list_body .col-sm-3,
#product_list_body .col-md-4,
#product_list_body .col-sm-4 {
    width: 16.6667% !important;
    float: left !important;
    padding: 5px;
}

#product_list_body .product-card,
#product_list_body .product-box {
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 15px;
    background: #fff;
}

#product_list_body .product-card img,
#product_list_body .product-box img {
    width: 100% !important;
    height: 150px !important;
    object-fit: cover !important;
    border-radius: 5px;
}

@media (max-width: 767px) {
    #product_list_body .product-card,
    #product_list_body .product-box,
    #product_list_body .col-md-3,
    #product_list_body .col-sm-3,
    #product_list_body .col-md-4,
    #product_list_body .col-sm-4 {
        width: 33.3333% !important;
    }

    #product_list_body .product-card img,
    #product_list_body .product-box img {
        height: 100px !important;
    }
}

/* للغة العربية - اتجاه النص من اليمين لليسار */
[dir="rtl"] .form-label,
.rtl-label {
  text-align: right;
  display: block;
  width: 100%;
  direction: rtl;
}

/* يمكنك إضافة هذا أيضًا لمحاذاة العناصر الأخرى */
[dir="rtl"] .form-control {
  text-align: right;
}

[dir="rtl"] .col-md-2,
[dir="rtl"] .col-md-5,
[dir="rtl"] .col-md-6,
[dir="rtl"] .col-md-12 {
  float: right;
}


.fa-angle-down{
    padding-right: 5px;
}


.action-btn{
    background-color: #00796b;
    height: 30px;
}

.pay-due{
     margin-bottom: 5px;
}
.import-header{
    color: rgb(73, 73, 147) ;
}
table.dataTable tbody td {
    word-break: break-word;
    white-space: normal;
    max-width: 200px; 
    overflow-wrap: break-word;
}

table.dataTable {
    table-layout: auto;
    width: 100% !important;
}

.sub{
    border: 1px solid #ccc;
	border-radius: 7px;
	height: 35px;
}
.location-pos {
    border-radius: 15px !important;
    margin-inline-start: 10px;
}

.curr_datetime {
    margin-inline-start: 15px; 
}

.fa-keyboard {
     margin-inline-start: 15px; 
}

.blue tr th {
    color: blue !important;
}

