.menu-item {
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.menu-item a {
    display: block;
    padding: 10px; /* Adjust padding as needed */
    color: white;
    text-decoration: none;
}

.menu-item:hover {
    background-color: white;
}

.menu-item:hover a i {
    color: black; /* Change icon color to black on hover */
}

.menu-item:hover a b {
    color: black; /* Change "DASHBOARD" text color to black on hover */
}

.menu-item .dropdown-toggle:hover #role {
    color: black; /* Change "Admin" text color to black on hover */
}

    .select2-container--default .select2-selection--single{

      border-radius: 0px;

    }

   



    /*SET TOTAL FONT*/

    .tot_qty, .tot_amt, .tot_disc, .tot_grand {

      font-size: 19px;

      color: #023763 ;

    }

    /*CURSOR POINTER CLASS*/

    .pointer{

      cursor:pointer;

    }

    .navbar-nav > .user-menu > .dropdown-width-lg{

      width: 350px;

    }

    .header-custom{

      background-image: -webkit-gradient(linear, left top, right top, from(#20b9ae), to(#006fd6)); color: white;

    }

    .border-custom-bottom{

      border-bottom: 1px solid;

      padding-top: 10px;

      padding-bottom: 5px;

    }

    .custom-font-size{

      font-size: 22px;

    }

    .search_item{

      text-transform: uppercase;

      font-size: 10px;

      color: #000000;

      text-align: center;

      text-overflow: hidden;

      display: -webkit-box;

      -webkit-line-clamp: 3;

      -webkit-box-orient: vertical;

    }

    .item_image{

      min-width: 70px;

      min-height:  70px;

      max-width: 70px;

      max-height:  70px;

    }

    .item_box{

      border-top:none;

    }

    .min_width{

      min-width: 70px;

    }


/*STYLE FOR IMAGES ON RIGHT SIDE*/

.no-records-message {
    text-align: center;
    margin: 20px 0;
}

.no-records-message h3 {
    color: #dc3545; /* Red color for emphasis */
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
    border: 1px solid #dc3545; /* Red border for emphasis */
    border-radius: 5px;
    background-color: #f8d7da; /* Light red background */
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}
/* PROFILE ICON LOADING CSS
/* Ensure the dropdown menu appears below and to the right of the button */
.dropdown-menu {
    position: absolute;
    top: 100%; /* Position it directly below the button */
    right: 0; /* Align it to the right of the button */
    z-index: 1000; /* Ensure it appears above other elements */
    display: none; /* Initially hidden */
}

.dropdown-menu-right {
    right: 0;
}

/* Additional styling for dropdown */
.dropdown-menu > li {
    position: relative;
}

.dropdown-menu .user-header {
    padding: 10px;
    text-align: center;
    color: white;
}

.dropdown-menu .user-footer {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
}

.dropdown-menu .user-footer .btn {
    margin: 0;
}

.dropdown-menu .user-footer .pull-left {
    text-align: left;
}

.dropdown-menu .user-footer .pull-right {
    text-align: right;
}

.dropdown-menu li a {
    color: #333;
    padding: 10px;
    display: block;
    text-align: center;
}

.dropdown-menu li a:hover {
    background-color: #f4f4f4;
}
/* The container must be positioned relative: */
.autocomplete {
  position: relative;
  display: inline-block;
}

input {
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  padding: 10px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  border-radius: 0 0 4px 4px;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.autocomplete-suggestion {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

.autocomplete-suggestion:hover {
  background-color: #e9e9e9;
}

.autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}

input[type="text"]:focus {
  border-color: DodgerBlue;
  box-shadow: 0 0 8px 0 DodgerBlue;
}
/*HOLD MODEL STYLE PART
/* Set a style for all buttons */
.hold_fin {
  background-color: #04AA6D;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.hold_fin:hover {
  opacity: 1;
}

.hold_fin:active {
  background-color: #039e54;
}

/* Float cancel and delete buttons and add an equal width */
.cancel_hold_btn, .hold_btn {
  float: left;
  width: 48%;
  border-radius: 5px;
  font-size: 16px;
}

/* Add a color to the cancel button */
.cancel_hold_btn {
  background-color: #f0f0f0;
  color: #333;
}

/* Add a color to the hold button */
.hold_btn {
  background-color: #f44336;
  color: white;
}

/* Add padding and center-align text to the container */
.container {
  padding: 16px;
  text-align: center;
}

/* The Modal (background) */
.modal_hold_trans {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1050; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  padding-top: 100px;
}

/* Modal Content/Box */
.modal-content_hold {
  background-color: #fff;
  margin: 5% auto;
  border: 1px solid #ddd;
  width: 60%; /* Could be more or less, depending on screen size */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  padding: 20px;
}

/* Style the horizontal ruler */
hr {
  border: 0;
  height: 1px;
  background: #ddd;
  margin-bottom: 25px;
}
 
/* The Modal Close Button (x) */
.close_hold_but {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
}

.close_hold_but:hover,
.close_hold_but:focus {
  color: #f44336;
}