.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}

.button-container {
  display: flex;
  gap: 10px; /* Space between buttons */
  justify-content: space-between; /* Align buttons to have space between them */
}

.button-container button {
  width: 48%; /* Ensure buttons are close to each other but not too wide */
  padding: 8px 12px; /* Reduced padding for smaller size */
  font-size: 14px; /* Smaller font size */
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-align: center;
  border-radius: 8px;
  height: 40px; /* Adjust button height */
  transition: background-color 0.3s ease;
  box-sizing: border-box; /* Ensure padding doesn't cause overflow */
}

/* Outline button style */
.btn-outline {
  background-color: transparent;
  color: #007bff; /* Blue text color */
  border: 2px solid #007bff; /* Blue border */
  font-weight: 500; /* Slightly reduce the weight of the font */
}

button:hover {
  opacity: 0.9; /* Slight opacity effect on hover */
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .button-container button {
    width: 100%; /* Make buttons full-width on smaller screens */
    padding: 10px; /* Adjust padding */
    font-size: 14px; /* Ensure consistent font size */
    text-wrap: nowrap;
    height: 40px; /* Maintain button height */
  }
}

.back-icon {
  font-size: 22px;
  font-weight: bold;
  color: #002855; /* Navy blue color */
  cursor: pointer;
}

.header h5 {
  font-size: 22px;
  font-weight: bold;
  color: #002855; /* Navy blue color */
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.back-icon:hover {
  color: #0056b3; /* Slightly lighter blue on hover */
}

.cart-container {
  background-color: #fff;
  max-width: 650px;
  margin: 0px auto;
  height: 100vh;
  overflow-y: auto;
  padding: 13px 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.product-card img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

.product-info {
  flex-grow: 1;
  margin-left: 10px;
}

.product-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 2px;
}

.product-price {
  font-size: 14px;
  color: #555;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-btn {
  background-color: #f97316;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trash-btn {
  background-color: transparent;
  color: #ff4d4d;
  border: none;
  font-size: 18px;
}

.instruction-box {
  height: 100px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 15px;
  font-size: 14px;
  outline: none;
  color: grey;
}

.instructions-heading {
  margin: 26px 0px 11px;
  font-weight: bold;
  font-size: 17px;
}

.btn-orange {
  border-radius: 10px;
  border: none;
  padding: 10px;
  width: 100%;
  font-weight: bold;
}

.table-btn {
  border: none;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.tab-button {
  background: none;
  border: none;
  padding: 0px 60px;
  font-size: 1rem;
  color: gray;
  cursor: pointer;
}

.modal-content {
  position: fixed;
  top: 60%;
  left: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 600px;
  height: 100vh;
  overflow-y: auto;
  background: white !important;
  border-top: 1px solid #ddd;
  border-radius: 45px 45px 0 0 !important;
  padding: 1rem;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}
.modal-content::-webkit-scrollbar {
  display: none; /* Hides the scrollbar in WebKit browsers (Chrome, Safari, Edge) */
}

/* Adjust for smaller screens */
@media screen and (max-width: 768px) {
  .modal-content {
    width: 95%; /* Take up more width on smaller screens */
    max-height: 85vh; /* Increase max-height for smaller devices */
  }
}

/* Optional: Adjust for very large screens */
@media screen and (min-width: 1200px) {
  .modal-content {
    width: 70%; /* Slightly larger width for larger screens */
    max-width: 800px; /* Allow larger max width */
  }
}

/* Modal header adjustments */
/* Modal Header Styling */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none;
  margin-left: -7px;
  padding: 1rem -5.5rem;
}

.tab-container {
  display: flex;
  position: relative;
  width: 100%;
}

.tab-button {
  background: none;
  border: none;
  font-size: 1rem;
  color: #6c757d; /* Gray for inactive tabs */
  cursor: pointer;
  position: relative;
}

button.btn-close {
  position: relative;
  top: -27px;
  display: none;
  /* right: 12px; */
  /* margin-bottom: 20px; */
}

/* Orange underline for the active tab */
.tab-button.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.tab-button:not(.active)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #dcdcdc; /* Light gray line for inactive tabs */
  border-radius: 2px;
}

.cart3-products .food-card{
  margin: 12px 0px;
}

/* Modal body adjustments */
.modal-body {
  padding: 1rem;
  text-align: center;
}

.modal-title {
  font-size: 1.5rem;
  /* font-weight: bold; */
  color: black;
  text-align: left;
}

.modal-body p {
  font-size: 0.9rem;
  color: #6c757d;
  text-align: left;
}

/* Form styles */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 5px;
  font-size: 0.9rem;
  outline: none;
  background: #f9f9f9;
}

.form-control:focus {
  border-color: orange;
  box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.25);
}

.input-wrapper {
  position: relative;
}

.toggle-password-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: gray;
}

/* Forgot password link */
.forgot-password-link {
  display: block;
  text-align: right;
  margin-top: 0.5rem;
  color: var(--primary-color);
  font-size: 0.85rem;
  text-decoration: none;
}

/* Button styles */
.btn-orange {
  background: var(--primary-color) !important;
  color: white !important;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  margin-top: 1rem;
}


/* Google login styles */
.google-login {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 9px;
  padding: 0.7rem 1rem;
  background-color: blue;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 1rem;
}

.google-login img {
  margin-right: 0.5rem;
}

#payButton {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 3px 28px;
  font-size: 16px;
  margin-top: 7px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  gap: 10px;
}

#continueBtn {
  color: black;
  border: 2px solid var(--primary-color);
  margin-top: 16px;
}

#continueBtn i {
  color: var(--primary-color);
  padding: 0px 5px;
}

i.bi.bi-box-arrow-in-right {
  margin-right: 5px;
}

#payButton .arrow-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -24px;
  background-color: white;
  color: var(--primary-color);
  font-size: -13px;
  width: 42px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

#payButton .arrow {
  font-size: 26px;
}

#payButton .text {
  margin: 0;
  font-size: 18px;
}

#payButton .price {
  font-size: 24px;
  margin-left: 5px;
}

.input-container {
  margin-bottom: 20px;
  display: flex;
  border: 1px solid #dcdcdc;
  padding: 10px;
  margin: 14px 0px;
  border-radius: 8px;
  flex-direction: column;
}

.input-label {
  font-size: 14px;
  color: #7a7a7a;
  margin-bottom: 5px;
}

.input-field {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  font-size: 14px;
  color: #7a7a7a;
  background-color: #f9f9f9;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-field::placeholder {
  color: #c0c0c0;
}

.input-field:focus {
  border-color: #ff7f1d;
  box-shadow: 0 0 5px rgba(255, 127, 29, 0.3);
}

.or-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0; /* Vertical spacing */
  color: #555; /* Text color */
  font-size: 14px; /* Text size */
}

.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #ccc; /* Line color */
  margin: 0 15px; /* Space between the text and the lines */
}

