.hover-highlight:hover {
    background-color: #f2f2f2;
}

.is-invalid {
    border-color: #dc3545;
    /* Bootstrap's default invalid color */
}

#notfound {
    position: relative;
    height: 100vh;
}

#notfound .notfound {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.notfound {
    max-width: 710px;
    width: 100%;
    text-align: center;
    padding: 0px 15px;
    line-height: 1.4;
}

.notfound .notfound-404 {
    height: 200px;
    line-height: 200px;
}

.notfound .notfound-404 h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 87px;
    margin: 0px;
    color: #ff508e;
    text-transform: uppercase;
}

.notfound h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    color: #222;
    line-height: 30px;
    margin: 0;
}

.notfound-search {
    position: relative;
    padding-right: 123px;
    max-width: 420px;
    width: 100%;
    margin: 30px auto 22px;
}

.notfound-search input {
    font-family: 'Raleway', sans-serif;
    width: 100%;
    height: 40px;
    padding: 3px 15px;
    color: #222;
    font-size: 18px;
    background: #f8fafb;
    border: 1px solid rgba(34, 34, 34, 0.2);
    border-radius: 3px;
}

.notfound-search button {
    font-family: 'Raleway', sans-serif;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 120px;
    height: 40px;
    text-align: center;
    border: none;
    background: #ff508e;
    cursor: pointer;
    padding: 0;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    border-radius: 3px;
}

.notfound a {
    font-family: 'Raleway', sans-serif;
    display: inline-block;
    font-weight: 700;
    border-radius: 15px;
    text-decoration: none;
    color: #39b1cb;
}

.notfound a>.arrow {
    position: relative;
    top: -1px;
    border: solid #39b1cb;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    margin-right: 1rem;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}

@media only screen and (max-width: 767px) {
    .notfound .notfound-404 {
        height: 122px;
        line-height: 122px;
    }

    .notfound .notfound-404 h1 {
        font-size: 122px;
    }
}


/************************************* search *****************************/

.customer-search-container {
  position: relative;
  width: 300px; /* Adjust as needed */
}

.search-box {
  width: 100%;
  padding: 10px;
  font-size: 16px;
}

.results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  z-index: 1000;
}

.result-item {
  padding: 10px;
  cursor: pointer;
}

.result-item:hover {
  background: #f0f0f0;
}

/************** Slider Subs***************************************************/

.toggle-switch-sub {
    position: relative;
    display: inline-block;
    width: 40px;  /* Reduced width */
    height: 20px; /* Reduced height */
  }
  
  /* Hide the default checkbox */
  .toggle-switch-sub input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider (round) */
  .slider-sub {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px; /* Adjusted for new height */
  }
  
  /* Rounded sliders (the thumb) */
  .slider-sub.round-sub {
    border-radius: 20px; /* Adjusted for new height */
  }
  
  /* When checked, change background-color of slider */
  .toggle-switch-sub input:checked + .slider-sub {
    background-color: #2196F3;
  }
  
  /* Add a shadow to the thumb */
  .slider-sub::before {
    position: absolute;
    content: "";
    height: 16px;  /* Reduced height */
    width: 16px;   /* Reduced width */
    left: 2px;     /* Adjusted left */
    bottom: 2px;   /* Adjusted bottom */
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
  }
  
  /* When the slider is checked, add a shadow to the thumb */
  .toggle-switch-sub input:checked + .slider-sub:before {
    transform: translateX(20px); /* Adjusted for new width */
  }
  .dispatchdata,.datastock{
    margin-top: 20px!important;
  }
  .btn-close{
    font-size: 16px!important;
  }

  .data-label .card .card-title{
    font-size: 15px!important;
  }
  .data-label label{
    font-size: 14px!important;
    font-weight: 600!important;
  }