/* Toast Notification */
:root {
  --popupbgcolor: #12023e;
}

#toastBox {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 20px;
  z-index: 10030;
}
.toast {
  width: 400px;
  min-height: 70px;
  background: #fff;
  font-weight: 500;
  margin: 15px 0;
  padding: 10px 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  position: relative;
  transform: translatex(100%);
  animation: moveleft 0.5s linear forwards;
  color: var(--e-global-color-text);
  font-family: var(--e-global-typography-accent-font-family);
  font-size: 15px;
}
@keyframes moveleft {
  100% {
    transform: translatex(0);
  }
}
.toast i {
  color: red;
  cursor: pointer;
  font-size: 20px;
}
.toast i:hover {
  transform: scale(1.1);
}
.toast::before {
  content: "";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  padding-right: 14px;
}
.toast::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  animation: anim 3s linear forwards;
}

.success.toast::after {
  background: green;
}
.success.toast::before {
  content: "\f058";
  color: green;
}

.error.toast::after {
  background: red;
}
.error.toast::before {
  content: "\f071";
  color: red;
}

/* Popup  */
.confirm_box {
  width: 100%;
  height: 100%;
  background: #00000054;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  display: grid;
  align-items: center;
  justify-content: center;
}
.loader::before {
  content: "";
  width: 50px;
  height: 50px;
  border: 5px solid #fff;
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: popupLoader 1s linear infinite;
  position: absolute;
  background: var(--e-global-color-accent);
}

@keyframes popupLoader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.popup-container {
  max-width: 370px;
  min-height: 300px;
  text-align: center;
  vertical-align: middle;
  padding: 8% 4%;
  background-color: var(--popupbgcolor);
  color: white;
}
.close-food-popup {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  z-index: 10;
}
.mike-col-6 .popup-product-design {
  min-width: 143px;
  max-width: 143px;
  cursor: pointer;
}
.product-loop {
  overflow: auto;
  padding: 0 20px;
}
.product-loop::-webkit-scrollbar {
  width: 0.1rem;
}
.product-loop::-webkit-scrollbar-track {
  background: transparent;
}
.choose-one {
  font-size: 15px;
}
.popup-product-design img {
  border-radius: 50%;
}

.single-lunch-item.pending {
  animation: borderAnimation 2s infinite;
}

/* Single Lottery Page */
.gradient-background {
  background-image: linear-gradient(70deg, #ec1379 0%, #6c0092 100%);
  color: white;
}
.success-background {
  background: linear-gradient(90deg, #53a453 50%, #6c0092 100%);
  color: white;
}
#lottery_countdown {
  margin: 20px 0;
}
.lotter_meta_info {
  border: 1px solid gray;
  padding: 10px;
  text-align: center;
  margin-bottom: 20px;
}
.single-ticket {
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50px;
  position: relative;
  border: 1px solid rgb(183 183 183 / 70%);
}

.single-ticket:hover,
.single-ticket.selected {
  cursor: pointer;
  background-image: linear-gradient(70deg, #ec1379 0%, #6c0092 100%);
  color: white;
  border: none;
}
.locked {
  pointer-events: none;
}
.locked::before {
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  width: 70px;
  height: 70px;
}
.qty-input {
  width: 50px;
  text-align: center;
}

.timediv {
  padding: 10px;
  border-radius: 50px;
  width: 50px;
  height: 50px;
  line-height: 35px;
  color: white;
  text-align: center;
}

/* Floating button  */
.floating {
  position: fixed;
  left: 30px;
  bottom: 30px;
}
.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  line-height: 55px;
  text-align: center;
}
input.lottery_qty {
  width: 61px;
  padding: 0 9px;
}
table.selected_table {
  margin: 0;
}
.selected_lottery_container {
  background: white;
  padding: 23px;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 0 4px 6px #0000001a;
  max-width: 340px;
}
.selected_table th,
.selected_table td {
  padding: 7px 10px;
  text-align: left;
  border-color: #bdbdbd4d;
}
.remove-icon {
  border-radius: 50px;
  padding: 5px 7px;
  color: white;
  font-size: 12px;
}

.selected_table_outer {
  max-height: 300px;
  overflow-y: scroll;
  position: relative;
}
.lottery_btn {
  padding: 12px 25px;
  font-size: 15px;
}
.purchase_container {
  position: sticky;
  bottom: 0;
  background: white;
  box-shadow: 0 0 2px 0px #00000061;
  padding: 10px;
  text-align: end;
}

/* Button loading */
.btn_loading {
  position: relative;
  pointer-events: none;
}
.btn_loading:after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin-left: 5px;
  border: 2px solid white;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
