body{
  margin: 0;
  padding: 0;
  background: #eee8f4;
  color: #2f2340;
}

.receipt-page {
  max-width: 430px;
  margin: 0 auto;
  padding: 24px 14px 40px;
}

.receipt-card {
  background: #fcfbfe;
  border-radius: 34px;
  box-shadow: 0 12px 35px rgba(46, 32, 54, 0.10);
  padding: 28px 18px 24px;
  overflow: hidden;
}

.logo-wrap {
  text-align: center;
  margin-bottom: 2px;
}

.logo-wrap img {
  width: 180px;
  max-width: 100%;
}

.thankyou {
  text-align: center;
  font-size: 15px;
  color: #6d5b84;
  margin-top: 8px;
  margin-bottom: 18px;
  font-style: italic;
}

.invoice-badge {
  background: #f1eaf7;
  color: #5d3b86;
  border-radius: 10px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 10px;
  max-width: 200px;
  text-align: left;
}

.invoice-badge .icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #e4d8f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.invoice-badge .label {
  font-size: 14px;
  color: #6a5a7f;
  line-height: 1.2;
}

.invoice-badge .value {
  font-size: 11px;
  font-weight: 700;
  color: #4a2d70;
  line-height: 1.2;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.info-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #f3edf8;
  color: #7a5aa6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.info-text .title {
  font-size: 13px;
  color: #7f7390;
  margin-bottom: 2px;
}

.info-text .value {
  font-size: 15px;
  font-weight: 600;
  color: #2f2340;
  line-height: 1.35;
  word-break: break-word;
}

.divider {
  height: 1px;
  background: #e7dfef;
  margin: 18px 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f2ebf7;
  color: #5c3b84;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}

.section-title .circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #6a428f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.service-list {
  margin-bottom: 8px;
}

.service-row,
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 5px 0;
}

.service-row {
  border-bottom: 1px dashed #e5dff0;
}

.service-row:last-child {
  border-bottom: none;
}

.service-name {
  font-size: 14px;
  color: #2f2340;
  line-height: 1.4;
  flex: 1;
}

.service-amount {
  font-size: 14px;
  font-weight: 600;
  color: #2f2340;
  white-space: nowrap;
}

.summary {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e9e1f0;
}

.summary-row {
  padding: 2px 0;
}

.summary-label {
  color: #5a4d68;
  font-size: 15px;
}

.summary-value {
  color: #43305e;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.summary-value.discount {
  color: #e94d7a;
}

.total-box {
  margin-top: 16px;
  background: linear-gradient(135deg, #5fac84, #44775d);
  color: #fff;
  border-radius: 12px;
  padding: 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 25px rgba(85, 48, 122, 0.22);
}

.total-box .small, .confirm-box .small, .checkin-box .small, .expired-box .small {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  margin-bottom: 2px;
}

.total-box .amount, .confirm-box .amount, .checkin-box .amount, .expired-box .amount {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.total-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f8d79a;
  color: #5d3b86;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.35);
}

.confirm-box {
  margin-top: 16px;
  background: linear-gradient(135deg, #5fac84, #44775d);
  color: #fff;
  border-radius: 12px;
  padding: 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 25px rgba(85, 48, 122, 0.22);
}

.checkin-box {
  margin-top: 16px;
  background: linear-gradient(135deg, #e69c4e, #d57917);
  color: #fff;
  border-radius: 12px;
  padding: 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 25px rgba(85, 48, 122, 0.22);
}

.expired-box {
  margin-top: 16px;
  background: linear-gradient(135deg, #e64e4e, #ba2222);
  color: #fff;
  border-radius: 12px;
  padding: 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 25px rgba(85, 48, 122, 0.22);
}

.feedback-box {
  margin-top: 12px;
  background: #fff4ec;
  border: 1px solid #f5d8c2;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.feedback-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}

.feedback-star {
  width: 24px;
  height: 24px;
  border-radius: 2px;
  color: #ffdc2f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feedback-text strong {
  display: block;
  font-size: 14px;
  color: #3d2b52;
  margin-bottom: 2px;
}

.feedback-text span {
  font-size: 10px;
  color: #7f6d92;
}

.feedback-btn {
  background: #ff9828;
  color: #fff !important;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
}

.footer {
  margin-top: 22px;
  text-align: center;
}

.store-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f2ebf7;
  color: #6c498e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
}

.footer h4 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #4b316d;
  font-weight: 700;
}

.footer p {
  margin: 4px 0;
  color: #5f546f;
  font-size: 14px;
  line-height: 1.5;
}

.footer-bottom {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e7dfef;
}

.brand-name {
  font-weight: 700;
  font-size: 17px;
  color: #4f2f73;
  margin-bottom: 2px;
}

.brand-sub {
  font-size: 13px;
  color: #7c6e8f;
}

.brand-powered {
  margin-top: 10px;
  font-size: 13px;
  color: #7c6e8f;
}

.website-pill {
  display: inline-block;
  margin-top: 12px;
  background: #f1eaf7;
  color: #5d3b86;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.reward-points {
  margin-top: 12px;
  text-align: center;
  color: #7b6c8f;
  font-size: 13px;
}

@media (max-width:420px) {
  .receipt-page {
    padding: 14px 10px 28px;
  }

  .receipt-card {
    padding: 22px 14px 20px;
    border-radius: 28px;
  }

  .invoice-badge .value {
    font-size: 19px;
  }

  .total-box .amount {
    font-size: 30px;
  }

  .feedback-box {
    flex-direction: column;
    align-items: stretch;
  }

  .feedback-btn {
    width: 100%;
  }
}


.big-amount{
  font-size: 30px !important;
  font-weight: 800 !important;
}

.check-wrapper {
  perspective: 800px;
  display: inline-block;
}

.check-animate {
  display: inline-block;
  transform-origin: center;
  animation: flipBounce 1.8s ease-in-out infinite;
  width: 25px;
}

@keyframes flipBounce {

  0% {
    transform: translateY(0px) scaleX(1) scaleY(1) rotateY(0deg);
  }

  15% {
    transform: translateY(-12px) scaleX(0.85) scaleY(1.12) rotateY(45deg);
  }

  30% {
    transform: translateY(0px) scaleX(1.05) scaleY(0.95) rotateY(90deg);
  }

  45% {
    transform: translateY(-8px) scaleX(0.8) scaleY(1.15) rotateY(180deg);
  }

  60% {
    transform: translateY(0px) scaleX(1.05) scaleY(0.95) rotateY(270deg);
  }

  75% {
    transform: translateY(-6px) scaleX(0.9) scaleY(1.08) rotateY(320deg);
  }

  100% {
    transform: translateY(0px) scaleX(1) scaleY(1) rotateY(360deg);
  }
}