.order-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: 0.2s;
  visibility: hidden;
  opacity: 0;
}

.order-popup {
  background-color: #2b2b2b;
  padding: 20px 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  display: flex;
  /* height: 85vh; */
  z-index: 99;
  display: flex;
  flex-direction: column;
}
.select-order-popup {
  background-color: #2b2b2b;
  padding: 15px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  display: flex;
  /* height: 85vh; */
  z-index: 99;
  display: flex;
  flex-direction: column;
}

.order-popup-backdrop {
  height: 100%;
  width: 100%;
  background-color: white;
  opacity: 0.5;
  z-index: 1;
  position: absolute;
}

.order-popup h2 {
  text-align: center;
  margin-bottom: 20px;
  margin: 0;
}

.quantity-select {
  display: flex;
  /* justify-content: space-between; */
  flex-direction: column;
  margin-bottom: 5px;
  /* gap: 10px; */
}

.quantity-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.qty-btn {
  padding: 0;
  margin: 0;
}

/* For Chrome, Safari, Edge, Opera */
#customQuantity::-webkit-outer-spin-button,
#customQuantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* For Firefox */
#customQuantity[type="number"] {
  -moz-appearance: textfield;
}

.quantity-select button {
  flex: 1;
  background: #3a3a3a;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;

  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.quantity-select button.active {
  background-color: #f6c500;
  color: #000;
}

.order-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.order-popup input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  background-color: #444;
  color: #fff;
  margin: 0;
}

.order-popup input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #444 inset !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
}

.inputs-container {
  margin-top: 10px;
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.card-style {
  height: 220px;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #3a3a3a;
  border-radius: 8px;
  cursor: pointer;
  /* padding: 5px; */
}

#orderPopup .order-popup .inputs-container input,
#orderPopup .order-popup .address-group input {
  all: unset; /* Reset all inherited styles */
  display: block;
  width: 100%;
  padding: 10px !important;
  border: none !important;
  border-radius: 6px !important;
  background-color: #444 !important;
  color: #fff !important;
  font-family: "Segoe UI", sans-serif !important;
  box-sizing: border-box;
}

.address-group {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.address-group input {
  flex: 1;
}

.payment-methods {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.payment-methods label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  margin: 0;
  color: white;
}

.order-popup-title {
  color: white;
  font-size: 25px;
  margin-bottom: 10px;
  justify-content: center;
  display: flex;
}

.amount {
  margin: 10px 0;
  font-size: 16px;

  background-color: #444;
  padding: 10px;
  border-radius: 8px;
}
.amount-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
#deliveryDate::placeholder {
  color: #999;
  opacity: 1 !important; /* iOS sometimes ignores opacity < 1 */
}
.submit-btn {
  /* width: 100%; */
  flex: 1;
  background-color: #f6c500;
  color: #000;
  border: none;
  /* padding: 12px; */
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  margin: 0;
  height: 50px;
}

.close-btn {
  /* width: 100%; */
  flex: 1;
  background-color: #f5f5f5;
  color: #000;
  border: none;
  /* padding: 12px; */
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  margin: 0;
  height: 50px;
}

.submit-btn:hover {
  background-color: #ffdb4d;
}
