/* Mobile-first app style */

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
  color: #2d2d2d;
  min-height: 100vh;
  overflow-x: hidden;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.container {
  max-width: 1200;
  margin: 0 auto;
  padding: 18px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.homeContainer {
  padding-top: 42px;
  position: relative;
}

.homeContainer::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.6), transparent 60%);
  filter: blur(30px);
  opacity: 0.8;
}

.homeContainer::after {
  content: "";
  position: absolute;
  bottom: -90px;
  right: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 70%, rgba(34, 197, 94, 0.55), transparent 60%);
  filter: blur(30px);
  opacity: 0.8;
}

.homeHeader {
  text-align: center;
  padding: 18px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.homeHeader h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0.02em;
}

.homeHeader p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.homeCards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.homeCard {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  color: #f7fafc;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  backdrop-filter: blur(16px);
}

.homeCard:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.homeCard::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(56, 189, 248, 0.12));
  opacity: 0;
  transition: opacity 180ms ease;
}

.homeCard:hover::before {
  opacity: 1;
}

.homeCardIcon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 18px;
}

.homeCard h3 {
  margin: 0;
  font-size: 1.1rem;
}

.homeCard p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.homeFooter {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  padding: 12px 0;
}

.topBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.topActions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topBar h1 {
  font-size: 1.25rem;
  margin: 0;
}

.backBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #3191e8;
  background: #3191e8;
  color: #2d2d2d;
  text-decoration: none;
  font-weight: 600;
  transition: transform 120ms ease, background 120ms ease;
}
.downloadQrBtn, .shareQrBtn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 14px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: ease-in-out .4s;
}
.downloadQrBtn{
    border: 1px solid #3191e8;
    background: #3191e8;
    color: #fafafa;
}
.shareQrBtn{
    border: 1px solid #3191e8;
    background: #fafafa;
    color: #3191e8;
}
.backBtn:hover, .shareQrBtn:hover, .downloadQrBtn:hover {
  color: #fff;
  background: #055bac;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.tabBtn {
  flex: 1;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #3191e8;
  background: #bcdbf9;
  color: #3191e8;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease;
}

.tabBtn:hover {
  color: #fff;
  transform: translateY(-1px);
  background: #3191e8;
}

.tabBtn.active {
  background: rgba(56, 189, 248, 0.25);
  border-color: rgba(56, 189, 248, 0.4);
}

.card {
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.card h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

input,
button {
  width: 100%;
  box-sizing: border-box;
}

input {
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #f7fafc;
  outline: none;
  margin: 10px 0 18px;
  font-size: 1rem;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

button {
  padding: 14px 16px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(110deg, #86efac, #38bdf8);
  color: #0b1220;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.rowActions input {
  width: 255px;
  min-width: 120px;
  margin: 0;
}

.rowActions button {
  width: auto;
}

.hidden {
  display: none !important;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.scannerBtn {
  width: 100%;
  max-width: 320px;
  margin: 6px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(110deg, rgba(56, 189, 248, 0.95), rgba(125, 211, 252, 0.85));
  color: #0b1220;
  font-weight: 700;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.3);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.scannerBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.35);
  background: linear-gradient(110deg, rgba(56, 189, 248, 1), rgba(125, 211, 252, 0.9));
}

.resultBox {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 40px;
}

.success {
  color: #a7f3d0;
  font-weight: 700;
}

.error {
  color: #fecaca;
  font-weight: 700;
}

.note {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.subText {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 12px;
}

.rowBetween {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* align-items: center; */
  gap: 12px;
  margin-bottom: 15px;
}

.rowActions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.rowActions button {
  padding: 10px 12px;
  font-size: 0.85rem;
}

.tokenItem {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tokenItemHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.tokenValue,
.tokenMeals,
.tokenActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tokenActions {
  margin-top: 12px;
}

.tokenEditForm {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.tokenEditForm label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.tokenEditForm input[type="text"] {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #f7fafc;
}

.editCheckboxLabel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.buttonGroup {
  display: flex;
  gap: 5px;
}

.buttonGroup button {
  width: auto;
}

.qrArea {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

#qrcode {
  padding: 18px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 18px;
}

.qrActions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.qrActions a,
.qrActions button {
  flex: 1;
}

.tokenItems {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tokenItem {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tokenItemHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.tokenCustomer {
  font-weight: 700;
  color: #f7fafc;
  font-size: 1rem;
}

.tokenStatus {
  font-size: 0.85rem;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.tokenStatus.active {
  background: rgba(16, 185, 129, 0.25);
  color: #004526;
}

.tokenStatus.used {
  background: rgba(239, 68, 68, 0.25);
  color: #790000;
}

.tokenItemBody {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tokenValue {
  display: flex;
  font-size: 12px;
  color: #2d2d2d;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.createdAt{
  display: flex;
  font-size: 12px;
  color: #2d2d2d;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.tokenCopyBtn {
  width: auto;
  padding: 8px 12px;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #f7fafc;
  cursor: pointer;
  transition: background 120ms ease, transform 120ms ease;
}

.tokenCopyBtn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.tokenMeals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tokenMeal {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.mealSelect {
  display: grid;
  column-gap: 10px;
  row-gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 20px;
}

.mealSelect button {
  transition: ease-in-out 0.4s;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f7fafc;
}

.mealSelect button.selected {
  background-color: rgba(34, 197, 94, 0.25);
  border-color: rgba(34, 197, 94, 0.4);
}

.scannerControls {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.iconBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #f7fafc;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease;
}

.iconBtn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.scannerModal {
  position: fixed;
  inset: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 18px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.scannerModal > * {
  width: 100%;
  max-width: 460px;
}

.scannerHeader {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 14px;
}

.scannerHeader span {
  font-weight: 700;
  color: #f7fafc;
}

.scannerHeaderActions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.scannerReader {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: clamp(360px, 70vh, 560px);
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 25%, rgba(56, 189, 248, 0.35), rgba(0, 0, 0, 0.6) 65%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
}

.scannerReader::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(56, 189, 248, 0.7);
  border-radius: 18px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.scannerReader::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0), rgba(56, 189, 248, 0.9), rgba(56, 189, 248, 0));
  animation: scanLine 2.2s infinite;
  pointer-events: none;
}

@keyframes scanLine {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    top: calc(100% - 12px);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 0;
    opacity: 0;
  }
}
.mealSelector{
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 0 15px;
}
.mealSelector .mealCheck{
  position: relative;
  display: flex;
  align-items: center;
  max-width: 50%;
  flex: 0 0 50%;
}
.mealSelector .mealCheck input[type="radio"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  top: 0;
  left: 0;
  cursor: pointer;
}
.mealSelector .mealCheck label {
    width: 100%;
    line-height: 11px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 3px 0;
    border-radius: 999px;
    color: rgb(255, 255, 255);
    font-size: 14px;
    font-weight: 600;
    transition: ease-in-out 0.4s;
    pointer-events: none;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.mealSelector .mealCheck label span {
    font-size: 28px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    width: 50px;
    height: 50px;
    background-color: rgba(232, 229, 229, 0.1);
    border-radius: 12px;

}
.mealSelector .mealCheck input[type="radio"]:checked + label {
    background-color: rgb(0 117 43);
    border-color: rgba(34, 197, 94, 0.4);
}

@media (min-width: 520px) {
  .container {
    padding: 26px 20px 40px;
  }

  .cardGrid {
    grid-template-columns: 1fr 1fr;
  }
}

/*# sourceMappingURL=style.css.map */


.qrCanvas img,
.qrCanvas canvas {
  width: 50px;
  height: 50px;
  background: #fff;
}

table.dataTable tbody td{
  font-size: 12px;
}

table.dataTable tbody td b{
    font-weight: 600;
    font-size: 14px;
}

.fancybox__backdrop {
    background: rgb(255, 255, 255, 0.92)!important;
}

.fancybox__caption {
    color: #2d2d2d !important;
}