
/* Header Container */
.main-header {
    transition: all .12s ease-out;
    margin-top: -2px;
}
.container-header{
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
}
.logo-container{
    width: 186px;
    height: 54px;
}
.logo-container-sales{
    width: 80px;
}
.logo-img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.bg-container{
    /*background-image: url('../images/bg.png'); !* Replace with your image URL *!*/
    background-image: url('../images/adwa_bg.png'); /* Replace with your image URL */

    background-size: cover;
    /*background-position: 15% 65%;*/
    width: 100%;
    overflow-y: auto;
}

.custom-container{
    min-height: 614px;
}
#message{
    position: absolute;
    z-index: 999999;
    width: 100%;
}
/*End Header Container*/

/*Navigation bar style*/
#navigation{
    width: 100%;
    min-height: 43px;
    /*background: #ef4035;*/
    background: #ef4035;
    display: flex;
    align-items: center;
}
#navigation a, #navigation i{
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}
#navigation button {
    background-color: #ffffff;
}

.navigation-bar{
    max-width: 1200px;
    margin: auto;
}
.nav-link{
    font-weight: 600;
}

.dropdown-menu{
    z-index: 9999;
}
.activeNavbar{
    background-color: white;
    color: #ef4035!important;
    border-radius: 5px;
}
/*End Navigation Style*/

/* Index Style */

.dt-info{
    border-radius:5px;
    padding:8px;
}
.newButton, .buttons-page-length , .dt-info{
    color: #ef4035;
    border: 1px solid #ef4035;
    font-weight: 600;
    background-color: white;
}
.buttons-page-length:hover,.newButton:hover{
    background-color: #ef4035;
    color: white;
    border: 1px solid #ef4035;
}
.select2-container--default .select2-selection--single {
    border: 1px solid #ef4035;
    /*height: 38px;*/
    /*padding: 5px;*/
}
.placeOrder{
    background-color: #ef4035;
    color: white;
    border: 1px solid #ef4035;
}
.placeOrder:hover{
    background-color: #f1847d;
    color: white;
    border: 1px solid #ee8882;
}
/*.select2-container--default .select2-selection--single .select2-selection__arrow {*/
/*    height: 38px;*/
/*    right: 8px;*/
/*}*/

/*End index style*/

/*Tables Style*/
table thead tr th{
    background-color: #ef4035!important;
    color: white!important;
    align-items: baseline;
    vertical-align: middle;
    text-align: center!important;
}
table tbody td {
    vertical-align: middle;
}
textarea{
    border-color: #ef4035!important;
}

div.dt-search{
    width: fit-content;
    float: right;
    margin-top: 6px ;
}
input#dt-search-0, #dt-search-1 {
    padding: 8px;
}
div#productsTable_info, div#cartTable_info {
    width: fit-content;
    float: left;
}
ul.pagination {
    float: right;
}
.truncate {
    cursor: pointer;
    white-space: nowrap;       /* Prevents text from wrapping */
    overflow: hidden;          /* Hides the overflow */
    text-overflow: ellipsis;   /* Adds the ellipsis */
    max-width: 300px;          /* Adjust this to fit your column width */
}
.tooltip {
    pointer-events: none;
}
.tooltip .tooltip-inner {
    max-width: 400px; /* Set tooltip size */
    max-height: 400px;
    padding: 0;
}
.tooltip .tooltip-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills as cover */
}
.tooltip.show {
    opacity: 1;
}

button.buttons-page-length{
    padding: 6px 10px !important;
    top: 27px !important;
    font-size: 15px;
    position: absolute!important;
}
.cartCode{
    width: 200px;
}
.cartDescription{
    width: 300px;
}
.cartPrice{
    width: 150px;
}
#cartFooterRow{
    background-color: white;
}
@media screen and (max-width: 500px) {
    .cartCode{
        width: 180px;
    }
}
/*End Tables Styles*/


/* Dashboard Style*/
.dashboardNav {
    justify-content: center;
    margin: auto;
    font-size: 20px;
    padding: 10px;
    color: #ef4035;
    flex-wrap: wrap;
    background-color: white;
}
.dashboardNav a {
    text-decoration: none;
    color: #ef4035;
}
.dashboardActive{
    text-decoration: underline;
    text-underline-offset: 5px;
}
.grid-system{
    display: grid;
    grid-template-columns: auto auto auto auto;
    margin: auto;
    width: fit-content;
    gap: 10px;
    padding: 20px;
}
.item-grid{
    width: 200px;
    height: 100px;
    background-color:  #ef4035;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: white;
}
.customInputsWidth{
    width: 300px;
}
.customSelectsWidth{
    width: 170px;
    border-radius: 0 5px 5px 0;
}
label.customLabelCode {
    border: 1px solid #ef4035;
    border-radius: 5px 0 0 5px;
    /*display: grid;*/
    place-content: center;
    /*width: 130px;*/
    background-color: white;
    color: #ef4035;
    font-weight: 600;
    height: 38px;
    padding: 0 20px;
}
select, input{
    border: 1px solid #ef4035!important;
}
.loginContainer{
    width: fit-content;
    margin: 20px auto;
    text-align: center;
}
.loginLabel{
    margin: auto;
}
.buttonColor{
    /*background-color: #ef4035;*/
    background-color: #ef4035;
    border-color: #ef4035;
}
.buttonColor:hover{
    background-color: #ea5c54;
    border-color: #ef4035;
}
.registerButton{
    /*color: #ef4035;*/
    color:#ef4035;
    cursor: pointer;
}
.customItems{
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translate(-50%, 0);
}
.customDIV {
    padding: 20px;
    font-size: 25px;
    text-decoration: none;
    background-color: #ef4035;
    border-radius: 5px;
    width: 220px;
    text-align: center;
    color: white;
}
.customDIV:hover{
    background-color: #ea5c54;
}

.customItems a{
    text-decoration: none;
}
.imageProductContainer{
    width: 200px;
    height: 200px;
}
.imageProductContainer img{
    width: 100%;
}
.tableDiv{
    /*width: 60%;*/
    padding: 20px;
    position:relative;
}
.cartDiv{
    width: 35%;
    padding: 20px;
    position:relative;
}
.cartDiv h3{
    text-align: center;
    background-color: #ef4035;
    color: white;
    height: 39px;
}
.absoluteButton{
    position: absolute;
    margin-left: 138px;
    margin-top: 9px;
}
.dt-scroll{
    margin-top: 25px;
}
.totalPriceClass{
    font-size:25px;
    margin: 10px;
}
.alignText{
    padding-left: 20px!important;
}
.productsButtons{
    padding: 15px 50px;
    font-size: 24px;
}
@media screen and (max-width: 1200px) {

    .item-grid{
        width: 180px;
        height: 80px;
        font-size: 25px;
    }
    .custom-text{
        padding: 0 15px;
    }
    .customMobile{
        padding: 0 15px;
    }
}
@media screen and (max-width: 500px) {
    input#dt-search-0, #dt-search-1 {
        width: 166px;
    }
    .productsButtons {
        padding: 10px 38px;
        font-size: 15px;
        width: 166px;
    }
    .absoluteButton {
        margin-left: 1px;
        margin-top: -16px;
    }
    button.buttons-page-length {
        padding: 8px 10px !important;
        top: 49px !important;
    }
    #productsDiv{
        width: 100%;
    }
    #addAll{
        width: 126px;
    }
    .grid-system{
        grid-template-columns: auto auto;
        padding: 15px;
    }
    .item-grid{
        width: 120px;
        height: 60px;
        font-size: 15px;
    }
    .site-name {
        text-align: center;
        font-size: 2.5rem;
    }

    .tablesButtons{
        padding: 0 15px;
    }
    .customRegion{
        margin-left: 61px;
    }
    .customItems{
        bottom: 20px;
    }
    .customDIV {
        padding: 15px 10px;
        font-size: 10px;
        width: 110px;
    }
    .tableDiv{
        width: 100%;
    }
    .cartDiv{
        width: 100%;
    }
    .mobileWidth{
        width: 100%;
    }
    .customSelectsWidth{
        width: 196px;
    }
}
/* End Dashboard Style*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

::-webkit-scrollbar {
    width: 10px;
}

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

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

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.modal-xl {
    --bs-modal-width: 90%;
}
.valuesClass{
    color: red;
    line-height: 25px;
    font-size: 19px;
    font-weight: bold;
}
.orderDetails{
    font-size: 25px;
    padding: 14px 10px 5px;
}
#searchInput::placeholder {
    color: #ef4035;
    opacity: 1; /* Firefox */
}
.has-search .form-control {
     padding-left: 2.375rem;
 }

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    cursor: pointer;
    color: #aaa;
    top: 5px;
}
.form-group.has-search {
    padding: 0 20px;
}
.contentSearch{
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #1d1d1f;
    border-radius: 5px;
    margin: 10px 20px;
}

.small-select + .select2-container .select2-selection--single {
    height: 38px !important;
    padding: 5px 10px !important;
    display: flex !important;
    align-items: center !important;
}

.small-select + .select2-container .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
    width: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.small-select + .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 38px !important;
    padding-left: 10px !important;
}
#placeOrderButton:disabled {
    background-color: #ef4035; /* Light gray background */
    color: white;            /* Darker gray text */
    cursor: not-allowed;       /* Show disabled cursor */
    opacity: 0.7;              /* Slightly faded */
}
