@import url("https://fonts.googleapis.com/css2?family=Italiana&family=Kanit:wght@300;400;600;700;900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

/* Reset browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #212529 !important;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.5;
  background-color: #f8f9fa;
}

h5 {
  color: #212529 !important;
  font-size: 16px;
  font-weight: normal;
}

.users-list > li {
  width: 20% !important;
}

.square-image {
  width: 100px;
  height: 100px !important;
  object-fit: cover;
  border-radius: 50%;
}

.square-image-half {
  width: 30px;
  height: 30px !important;
  object-fit: cover;
  border-radius: 50%;
}

/* css switch btn */
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/* end - css switch btn */

/* Cart Info popup */
.cart-popup {
  position: fixed;
  right: 20px;
  top: 20%;
  width: 250px;
  background-color: #fff;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.cart-popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cart-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

/* End Cart Info Popup */

/* cart box */
#cartPopup {
  position: fixed;
  bottom: 0%;
  margin: 5px;
  background: lightgreen;
  padding: 15px;
  width: 100%;
  box-shadow: 0px 0px 5px #f0f0f0;
  z-index:9999;
}
#foodOrderForm {
  width: 100%;
  display: flex;
  gap: 5%;
  justify-content: center;
  align-content: center;
}
#cartItemCount,
#cartTotalPrice {
  font-size: 1.5rem;
  font-weight: 700;
}
/* end cart box */

.img-moreinfo {
  width: 100%;
  height: 200px;
  object-fit: cover; /* Adjusts the image to fit the container */
  object-position: center center; /* Centers the image horizontally and vertically */
}

.truncate {
    display: -webkit-box;           /* Enables webkit-based flexbox */
    -webkit-line-clamp: 2;         /* Specifies the number of lines to display */
    -webkit-box-orient: vertical;  /* Sets the box orientation to vertical */
    overflow: hidden;              /* Ensures overflowing content is hidden */
    text-overflow: ellipsis;       /* Adds the ellipsis (...) */
    word-break: break-word;        /* Prevents long words from breaking layout */
}

.star-rating .none {
  color: #ccc; /* Gold */
}
.star-rating .filled {
  color: #f39c12; /* Gold */
}

@media (max-width: 768px) {
  /* Styles for tablets and smaller screens */
}

@media (max-width: 480px) {
  /* Styles for mobile devices */
}
