/* ScanFast Paytm — Black + electric cyan scan */
body.gw-scanfast-paytm {
  background: #030712;
  color: #f8fafc;
  min-height: 100dvh;
}

.gw-scanfast-paytm .wrapper {
  max-width: 430px;
  margin: 0 auto;
  padding: calc(12px + env(safe-area-inset-top, 0)) 12px 24px;
}

.gw-scanfast-paytm .top-card {
  background: linear-gradient(135deg, #0f172a, #111827);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 22px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.08);
}

.gw-scanfast-paytm .price {
  font-size: 2.4rem;
  font-weight: 800;
  color: #22d3ee;
  letter-spacing: -0.02em;
}

.gw-scanfast-paytm .time-box {
  margin-top: 12px;
  display: inline-block;
  background: rgba(34, 211, 238, 0.12);
  color: #67e8f9;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.gw-scanfast-paytm .card {
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 22px;
  padding: 20px;
  margin-top: 14px;
}

.gw-scanfast-paytm .gw-step {
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.2);
  color: #a5f3fc;
}

.gw-scanfast-paytm .qr-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.gw-scanfast-paytm .qr-sub {
  margin-top: 6px;
  color: #94a3b8;
  font-size: 0.88rem;
}

.gw-scanfast-paytm .qr-box {
  margin-top: 16px;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gw-scanfast-paytm .qr-box::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
  animation: gw-scan 2.2s ease-in-out infinite;
  pointer-events: none;
}

.gw-scanfast-paytm .qr-box img {
  width: min(220px, 64vw);
  position: relative;
  z-index: 1;
}

.gw-scanfast-paytm .download-btn {
  width: 100%;
  margin-top: 14px;
  height: 48px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  background: transparent;
  color: #22d3ee;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
}

.gw-scanfast-paytm .section-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #e2e8f0;
}

.gw-scanfast-paytm .app {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  text-decoration: none;
  color: #f8fafc;
  transition: border-color 0.2s;
}

.gw-scanfast-paytm .app:active {
  border-color: rgba(34, 211, 238, 0.45);
}

.gw-scanfast-paytm .app-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gw-scanfast-paytm .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gw-scanfast-paytm .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gw-scanfast-paytm .arrow {
  color: #22d3ee;
  font-weight: 700;
}

.gw-scanfast-paytm .utr-card {
  margin-top: 14px;
  background: linear-gradient(165deg, rgba(6, 78, 99, 0.35), rgba(17, 24, 39, 0.95));
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 22px;
  padding: 20px;
}

.gw-scanfast-paytm .utr-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.gw-scanfast-paytm .utr-card p {
  margin-top: 8px;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
}

.gw-scanfast-paytm .utr-input {
  width: 100%;
  height: 52px;
  margin-top: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  padding: 0 14px;
  font-size: 16px;
  outline: none;
}

.gw-scanfast-paytm .submit-btn {
  width: 100%;
  height: 52px;
  margin-top: 12px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #0891b2, #22d3ee);
  color: #0f172a;
  font-weight: 800;
  cursor: pointer;
}

.gw-scanfast-paytm .notice {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.6);
  font-size: 0.82rem;
  line-height: 1.6;
  color: #94a3b8;
}

.gw-scanfast-paytm .wait-screen,
.gw-scanfast-paytm .success-screen,
.gw-scanfast-paytm .error-screen {
  display: none;
}

.gw-scanfast-paytm .wait-box {
  margin-top: 50px;
  text-align: center;
  padding: 36px 20px;
  background: rgba(17, 24, 39, 0.95);
  border-radius: 22px;
  border: 1px solid rgba(34, 211, 238, 0.15);
}

.gw-scanfast-paytm .loader {
  width: 68px;
  height: 68px;
  border: 4px solid rgba(34, 211, 238, 0.15);
  border-top-color: #22d3ee;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: gw-spin 0.9s linear infinite;
}

.gw-scanfast-paytm .success-card {
  margin-top: 32px;
  border-radius: 22px;
  overflow: hidden;
  background: #111827;
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.gw-scanfast-paytm .success-top {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  padding: 36px 22px;
  text-align: center;
}

.gw-scanfast-paytm .error-top {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
  padding: 36px 22px;
  text-align: center;
}

.gw-scanfast-paytm .check,
.gw-scanfast-paytm .error-check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 2.2rem;
  font-weight: 800;
}

.gw-scanfast-paytm .check {
  color: #0891b2;
}

.gw-scanfast-paytm .error-check {
  color: #dc2626;
}

.gw-scanfast-paytm .success-body {
  padding: 20px;
  text-align: center;
}

.gw-scanfast-paytm .return-btn,
.gw-scanfast-paytm .retry-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #0891b2, #22d3ee);
  color: #0f172a;
  text-decoration: none;
  padding: 14px;
  border-radius: 14px;
  margin-top: 16px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-align: center;
}

.gw-scanfast-paytm .retry-btn {
  background: #334155;
  color: #fff;
}

.gw-scanfast-paytm .redirect {
  margin-top: 10px;
  color: #94a3b8;
  font-size: 0.88rem;
}
