/* Import Google Font */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap");

/* Reset styles for consistency */
* {
  margin: 0;
  padding: 0;
  font-family: "SF Pro Display", "Inter", sans-serif;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}

input {
  outline: none;
  border: none;
}

.form-control {
  outline: none !important;
}

.form-control:focus {
  color: inherit !important;
  background-color: inherit !important;
  border-color: inherit !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Headings styles */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  color: #002855;
}

/* Buttons */
button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 3px 11px;
  cursor: pointer;
  font-size: 16px;
}

.active2 {
  color: var(--primary-color) !important;
  border-bottom: 2px solid var(--primary-color) !important;
}

.btn i {
  color: var(--primary-color);
}

.Required {
  font-size: 12px;
  float: right;
  padding: 3px;
  border-radius: 23px;
  background-color: var(--primary-color);
}
/* ======= Base Footer Styles ======= */
.footer {
  position: sticky;
 /* Stick to the bottom */
  bottom: 0;
  width: 100%;
  left: 0;
  height: 65px; /* Default height */
  background-color: #fff;
  border-top: 1px solid #ddd;
  padding: 10px 5px;
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: nowrap;
}

/* Footer Items */
.footer-item {
  flex: 1;
  text-align: center;
  font-size: 14px;
  text-decoration: none;
  color: #888;
}

/* Active & Hover State */
.footer-item.active,
.footer-item:hover {
  color: var(--primary-color);
  font-weight: bold;
}

/* Footer Icons */
.footer-item i {
  display: block;
  font-size: 1.5rem;
}

/* ======= Floating Rewards Button (Center) ======= */
.reward-container {
  position: relative;
  transform: translateY(-15px);
}

.rewards-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-bottom: 22px;
}

.rewards-circle .rewards-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.reward-container span {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: -12px;
}

.reward-container:hover span {
  color: var(--primary-color);
  font-weight: bold;
}

/* ======= Responsive Footer Adjustments ======= */

/* 📱 Small Screens (iPhone SE, small Androids) */
@media (max-width: 375px) {
  .footer {
    height: 55px;
    padding: 5px 0;
  }
  .footer-item i {
    font-size: 1rem;
  }
  .rewards-circle {
    width: 55px;
    height: 55px;
  }
  .rewards-circle .rewards-logo {
    width: 28px;
    height: 28px;
  }
  .reward-container span {
    font-size: 10px;
    margin-top: -8px;
  }
  .google-btn{
    padding: 10px 100px;
  }

}

/* 📱 Medium Phones (iPhone XR, 11, 12, 14 Pro, Android Phones) */
@media (max-width: 414px) {
  .footer {
    height: 60px;
    padding: 8px 0;
  }
  .footer-item i {
    font-size: 1.2rem;
  }
  .rewards-circle {
    width: 60px;
    height: 60px;
  }
  .rewards-circle .rewards-logo {
    width: 30px;
    height: 30px;
  }
  .reward-container span {
    font-size: 11px;
    margin-top: -10px;
  }
  .google-btn{
    padding: 10px 128px;
  }
}

/* 📱 Larger Phones & Small Tablets */
@media (max-width: 576px) {
  .footer {
    margin-top: 27px;
    height: 65px;
    padding: 10px 0;
  }
  .footer-item i {
    font-size: 1.4rem;
  }
  .rewards-circle {
    width: 65px;
    height: 65px;
  }
  .rewards-circle .rewards-logo {
    width: 35px;
    height: 35px;
  }
  .reward-container span {
    font-size: 11px;
    margin-top: -11px;
  }
  .google-btn{
    padding: 10px 135px;
  }
}

/* 📱 Tablets (iPads, Large Androids) */
@media (max-width: 768px) {
  .footer {
    height: 70px;
    padding: 10px 0;
  }
  .footer-item i {
    font-size: 1.6rem;
  }
  .rewards-circle {
    width: 70px;
    height: 70px;
  }
  .rewards-circle .rewards-logo {
    width: 40px;
    height: 40px;
  }
  .reward-container span {
    font-size: 12px;
    margin-top: -12px;
  }
  .scroll-wrapper{
    max-height: 100vh;
  }
}

/* 💻 Larger Screens (Desktops & Large Tablets) */
@media (min-width: 992px) {
  .footer {
    height: 75px;
    padding: 12px 0;
  }
  .footer-item i {
    font-size: 1.8rem;
  }
  .rewards-circle {
    width: 75px;
    height: 75px;
  }
  .rewards-circle .rewards-logo {
    width: 50px;
    height: 50px;
  }
  .reward-container span {
    font-size: 14px;
    margin-top: -14px;
  }
}

/* Fix for Footer Text on All Screens */
.footer-item span {
  font-size: 12px;
}


#categoryContainer a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.category-item {
  display: inline-block;
  flex: 0 0 auto;
  padding: 5px 35px;
  margin: 0px 5px;
  color: #0d1b2a;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* Active Category */
.category-item.active2 {
  color: var(--primary-color); /* Orange */
  position: relative;
}

.category-item.active2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0; /* Align to the beginning of the text */
  width: 100%; /* Matches the width of the parent text */
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

footer {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center; /* Default layout */
  align-items: center;
}

footer a {
  display: flex;
  flex-direction: column;
  text-align: center;
  color: gray;
  margin-bottom: 15px;
}

.d-flex.flex-column.g-0.align-items-center {
  color: white;
  padding: -64px;
}

i.bi.bi-gift.fs-4.\.rewards-icon {
  margin-top: 0px;
}

.reward-container {
  position: absolute;
  /* top: 54px; */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 41px;
  bottom: 30px;
  height: 81px;
  width: 0%;
  border-radius: 50%;
  background: var(--primary-color);
}

#toprightnavbaricon {
  height: 60px;
  width: 60px;
}

#topleftnavbaricon {
  height: 40px;
  width: 40px;
}

/* On smaller screens (xs, sm), the links are in normal order */
@media (max-width: 767px) {
  .reward-container {
    border-radius: 50%;
    width: 12%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  footer {
    flex-direction: row;
    align-items: center;
  }
  footer a {
    margin-bottom: 15px;
  }
  .scroll-wrapper{
    max-height: 100vh;
  }
}

/* Center the reward container only on larger screens (md and above) */
@media (min-width: 768px) {
  .reward-container {
    border-radius: 50%;
    width: 12%;
    position: absolute;
    left: 50%;
    padding: 10px 250px;
    transform: translateX(-50%);
  }
}

/* Ensure layout is flexible on large screens */
@media (min-width: 1200px) {
  .reward-container {
    width: 12%;
    position: absolute;
    left: 50%;
    padding: 10px 324px;
    transform: translateX(-50%);
  }
  footer {
    justify-content: space-evenly; /* Evenly spaced layout for larger screens */
  }
}


::-webkit-scrollbar {
  display: none;
}

.scroll-wrapper {
  max-height: 81vh;
  overflow-y: auto; /* Ensures content is still scrollable */
  overflow-x: hidden;
}

.scroll-wrapper section {
  scroll-margin-top: 200px;
}

/* Hide scrollbar for webkit browsers */
.scroll-wrapper::-webkit-scrollbar {
  display: visible;
}

/* Header */
/* ====== Base Navbar Styles ====== */
.navbar {
  background-color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 100vw;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Navbar Brand (Logo) */
.navbar-brand img {
  height: 40px;
  max-width: 150px; /* Prevents oversized logo */
}

/* Left & Right Icon Buttons */
.navbar .btn {
  background: none;
  border: none;
  padding: 5px;
}

/* Make Sure Icons Adjust Well */
.navbar svg {
  width: 30px;
  height: 30px;
}

/* ====== Responsive Adjustments ====== */

/* 📱 Small Screens (iPhone SE, small Androids) */
@media (max-width: 375px) {
  .navbar {
      padding: 8px 10px;
  }
  .navbar-brand img {
      height: 35px;
      max-width: 120px;
  }
  .navbar svg {
      width: 25px;
      height: 25px;
  }
  .scroll-wrapper{
    height: 100vh;
  }
}

/* 📱 Medium Phones (iPhone XR, 11, 12, 14 Pro, Android Phones) */
@media (max-width: 414px) {
  .navbar {
      padding: 10px 15px;
  }
  .navbar-brand img {
      height: 38px;
      max-width: 140px;
  }
  .navbar svg {
      width: 28px;
      height: 28px;
  }
  .scroll-wrapper{
    height: 100vh;
  }
}

/* 📱 Larger Phones & Small Tablets */
@media (max-width: 576px) {
  .navbar {
      padding: 12px 18px;
  }
  .navbar-brand img {
      height: 40px;
      max-width: 150px;
  }
  .scroll-wrapper{
    height: 100vh;
  }
}

/* 📱 Tablets (iPads, Large Androids) */
@media (max-width: 768px) {
  .navbar {
      padding: 12px 20px;
  }
  .navbar-brand img {
      height: 45px;
      max-width: 160px;
  }
  .scroll-wrapper{
    height: 100vh;
  }
}

/* 💻 Large Screens (Desktops & Large Tablets) */
@media (min-width: 992px) {
  .navbar {
      padding: 15px 25px;
  }
  .navbar-brand img {
      height: 50px;
      max-width: 180px;
  }
  .navbar svg {
      width: 35px;
      height: 35px;
  }
}


.main-container {
  border: 1px solid rgb(185, 185, 185);
}

.branch-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px; /* Adjust margin as needed */
}

.branch-btn {
  border: none;
  border-radius: 10px; /* Rounded corners */
  padding: 10px 25px; /* Adjust padding */
  display: flex;
  align-items: center;
  font-size: 16px; /* Font size */
  cursor: pointer;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  gap: 10px; /* Space between texts and arrow */
  transition: background-color 0.2s ease;
}

.branch-btn span {
  margin-right: 5px; /* Space between texts */
}

.branch-btn .dropdown-arrow {
  font-size: 12px; /* Adjust arrow size */
  font-weight: normal;
}

.order-section {
  margin: 20px;
}

.order-title {
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50; /* Dark blue */
  margin-bottom: 20px;
  text-align: left; /* Align text to the left */
}

.search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: #f9f9f9; /* Light grey background */
  border: 1px solid #e0e0e0; /* Light border */
  border-radius: 15px;
  padding: 10px 22px;
  text-align: center;
}

.search-icon {
  margin-right: 5px;
  color: #9e9e9e; /* Light grey icon */
}

.search-input {
  width: 100%; /* Input takes up full width */
  border: none;
  outline: none;
  font-size: 14px;
  color: #9e9e9e; /* Light grey placeholder text */
  background: transparent;
}

.search-input::placeholder {
  color: #c0c0c0; /* Placeholder color */
}

.category-wrapper {
  position: -webkit-sticky; /* For Safari */
  position: sticky;
  top: 0; /* Stick to the top of the page when scrolled */
  z-index: 2; /* Ensure it stays on top of other elements */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff; /* White background for better visibility */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
  padding: 10px 0;
  overflow: hidden;
  margin: 12px 0;
}

/* Scrollable container */
.category-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  justify-content: space-around;
}

.category-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar */
}

/* Navigation Arrows */
.scroll-btn {
  border: none;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.scroll-btn i {
  font-size: 18px;
}

/* Left and right button positioning */
.scroll-left {
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.scroll-right {
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 600px;
  margin: auto;
  background: white;
  border-radius: 10px;
  padding: 2rem;
}

.tab-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tab-button {
  flex: 1;
  padding: 0.5rem;
  background: none;
  color: rgb(183, 182, 182);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  border-bottom: 2px solid rgb(183, 182, 182);
  transition: 0.3s;
}

.tab-content {
  display: block;
}

.tab-content.d-none {
  display: none;
}

.food-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.food-card img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.food-price {
  flex-grow: 1;
  margin-left: 5px;
}

.food-title {
  font-weight: bold;
  font-size: 1rem;
}

.quantity-control {
  display: flex;
  align-items: center;
}

.btn-quantity {
  background-color: orange;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
}

.quantity {
  margin: 0 0.5rem;
  font-size: 1rem;
  font-weight: bold;
}

.btn-add {
  background-color: #f97316;
  color: #fff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  border: none;
}

/* Bottom Navigation */

/* Default Styles for Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%; /* Default: Full width for small screens */
  background-color: #fff; /* Background color */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  padding: 10px 0; /* Vertical padding */
  z-index: 1050; /* Keep it above other elements */
}

/* Styling for Navigation Items */
.bottom-nav a {
  color: #777 !important;
  font-size: 14px; /* Default font size */
  text-align: center;
  text-decoration: none;
  margin-top: 12px;
  flex: 1; /* Ensure equal spacing */
}

.bottom-nav a i {
  display: block;
  font-size: 24px; /* Icon size */
  margin-bottom: -24px;
}

.bottom-nav a.active2 {
  color: var(--primary-color); /* Highlight active item */
}

.category-title {
  font-size: 18px;
  font-weight: bold;
  color: #0d1b2a;
  margin-top: 20px;
  margin-bottom: 15px;
}

.btn-quantity-decrease {
  border: 2px solid var(--primary-color) !important;
  background-color: transparent !important;
  color: black;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
  border: none;
  cursor: pointer;
}

.btn-quantity-decrease span {
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
}

.btn-quantity-increase {
  background: var(--primary-color);
  color: white;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
  border: none;
  cursor: pointer;
}

.btn-quantity-increase span {
  font-size: 26px;
  font-weight: 500;
  line-height: 5;
}

.quantity-control {
  padding-top: 44px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.food-card:hover {
  transform: translateY(-3px);
}

/* Food Image */
.food-card img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
}

/* Food Details */
.food-details {
  flex-grow: 1;
}

.food-title {
  font-size: 12px;
  /* font-weight: bold; */
  color: #0d1b2a;
  /* margin-bottom: 5px; */
}

.food-description {
  font-size: 12px;
  color: #777;
  margin-bottom: 5px;
}

.food-price {
  display: flex;
  justify-content: center;
  gap: 29px;
  flex-direction: column;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  color: #0d1b2a;
  margin-bottom: -1px;
  font-size: 16px;
  font-weight: bold;
  color: #0d1b2a;
}

.reward-container {
  position: absolute;
  /* top: 54px; */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 41px;
  bottom: 42px;
  height: 60px;
  width: 16%;
  border-radius: 50%;
  background: var(--primary-color);
}

/* Hide the modal completely before it's shown */
#popupModal {
  display: none; /* Ensure it's hidden initially */
}

.custom-modal-content {
  position: absolute;
  left: 83px;
  top: 127px;
  height: 454px;
  width: 640px;
  /* z-index: 2003; */
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Ensure the modal appears above all content */
.modal-backdrop {
  z-index: 1040;
}

.modal {
  z-index: 1050;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Light black overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: none; /* Hidden by default */
}

/* Make the modal content transparent and borderless */
.modal-content {
  height: 100vh;
  background-color: transparent !important; /* Remove white background */
  border: none !important; /* Remove border */
  box-shadow: none !important; /* Remove shadow */
}

/* Remove padding and margins to remove the box feel */
.modal-dialog {
  margin: 0;
  padding: 0;
  height: 80vh;
}

/* Optional: Adjust the content style for proper display */
#popupContent {
  background-color: transparent !important; /* Keep content visible */
}

/* Overlay background for the modal */
.modal-backdrop.show {
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
}

/* Modal animation for the inner modal */
.modal-dialog-slideup {
  transform: translateY(100%);
  animation: slideUp 0.4s ease-out forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.modal-content {
  border-radius: 20px 20px 0 0; /* Rounded top corners */
  overflow: hidden;
}

.modal-backdrop.show {
  background-color: rgba(0, 0, 0, 0.5); /* Black overlay */
}

.modal {
  z-index: 1050;
}

#popupContent {
  position: relative;
  overflow: hidden;
}

/* Inner modal styling */
.inner-modal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: 20px 20px 0 0;
  padding: 20px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1051;
}

.inner-modal-backdrop {
  position: fixed;
  top: 97px;
  left: 240px;
  width: 51%;
  height: 70%;
  background-color: rgba(86, 84, 84, 0.7);
  z-index: 100;
}

/* inner modal styles */

/* Modal Styling */
.inner-modal {
  background-color: #fff;
  border-radius: 20px 20px 0 0;
  padding: 20px;
  width: 100%;
  max-width: 500px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

/* Login/Register Tabs */
.login-tabs {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 15px;
}

.tab-btn {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 16px;
  font-weight: bold;
  color: #757575;
  background: none;
  border: none;
  cursor: pointer;
}

.tab-button.active {
  color: var(--primary-color);
  font-weight: bold;
  border-bottom: 2px solid var(--primary-color);
}

.modal-subtitle {
  font-size: 14px;
  color: #757575;
  margin-bottom: 20px;
}

/* Input Fields */
.input-container {
  margin-bottom: 15px;
}

.input-label {
  font-size: 14px;
  color: #757575;
  margin-bottom: 5px;
  display: block;
}

.input-field {
  width: 100%;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 14px;
  background-color: #f9f9f9;
}

.input-field:focus {
  border-color: #f97316;
  outline: none;
}

/* Forgot Password */
.forgot-password {
  display: inline-block;
  color: #f97316;
  font-size: 14px;
  text-align: right;
  width: 100%;
  margin-bottom: 20px;
  text-decoration: none;
}

/* Google Button */
/* Google Button */
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4da8da !important;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 330px;
  font-size: 17px;
  margin-bottom: 48px;
  font-weight: bold;
  cursor: pointer;
  gap: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  width: fit-content;
}

/* Logo inside button */
.google-logo {
  width: 20px;
  height: 20px;
  object-fit: contain; /* Ensure the logo keeps its aspect ratio */
}

.or-text {
  text-align: center;
  font-size: 14px;
  color: #757575;
  margin: 10px 0;
}

.border-2 {
  border: 0.5px solid rgb(193, 193, 193); /* Adds a 2px solid grey border */
}

.container1 {
  padding: 0px;
}
