/* QuickPay Paytm — Purple express lane */
body.gw-quickpay-paytm {
  background: linear-gradient(180deg, #ede9fe 0%, #f5f3ff 40%, #faf5ff 100%);
  color: #3b0764;
  min-height: 100dvh;
}

.gw-quickpay-paytm .container {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
}

.gw-quickpay-paytm .top {
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 55%, #a855f7 100%);
  color: #fff;
  text-align: center;
  padding: calc(32px + env(safe-area-inset-top, 0)) 18px 28px;
  position: relative;
  overflow: hidden;
}

.gw-quickpay-paytm .top::before {
  content: "EXPRESS";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: rgba(255, 255, 255, 0.18);
  padding: 5px 10px;
  border-radius: 999px;
}

.gw-quickpay-paytm .amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.gw-quickpay-paytm .sub {
  margin-top: 6px;
  font-size: 0.95rem;
  opacity: 0.92;
}

.gw-quickpay-paytm .timer {
  margin-top: 18px;
  font-size: 2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.gw-quickpay-paytm .content {
  padding: 18px;
}

.gw-quickpay-paytm .gw-step {
  background: #f3e8ff;
  border-color: #d8b4fe;
  color: #581c87;
}

.gw-quickpay-paytm .qr-box {
  text-align: center;
}

.gw-quickpay-paytm .qr-box img {
  width: min(210px, 62vw);
  background: #fff;
  padding: 12px;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(109, 40, 217, 0.15);
}

.gw-quickpay-paytm .save-btn {
  margin-top: 14px;
  border: 2px solid #a78bfa;
  background: rgba(255, 255, 255, 0.7);
  color: #6d28d9;
  height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
}

.gw-quickpay-paytm .section-title {
  margin-top: 26px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #4c1d95;
}

.gw-quickpay-paytm .apps {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gw-quickpay-paytm .app {
  background: #fff;
  border: 1px solid #ddd6fe;
  border-radius: 16px;
  padding: 12px 6px;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(109, 40, 217, 0.08);
}

.gw-quickpay-paytm .app-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gw-quickpay-paytm .upi-box {
  margin-top: 18px;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e9d5ff;
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.06);
}

.gw-quickpay-paytm .upi-text {
  font-size: 1rem;
  font-weight: 700;
  word-break: break-all;
}

.gw-quickpay-paytm .copy {
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px;
}

.gw-quickpay-paytm .utr-box {
  margin-top: 18px;
}

.gw-quickpay-paytm .utr-input {
  width: 100%;
  height: 54px;
  border: 1px solid #ddd6fe;
  border-radius: 14px;
  padding: 0 16px;
  font-size: 16px;
  background: #fff;
  outline: none;
}

.gw-quickpay-paytm .submit-btn {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 14px;
  margin-top: 14px;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.3);
}

.gw-quickpay-paytm .notice {
  margin-top: 20px;
  line-height: 1.65;
  color: #52525b;
  font-size: 0.88rem;
}

.gw-quickpay-paytm .wait-screen,
.gw-quickpay-paytm .success-screen,
.gw-quickpay-paytm .error-screen {
  display: none;
  padding: 18px;
}

.gw-quickpay-paytm .wait-card {
  margin-top: 60px;
  background: #fff;
  border-radius: 28px;
  padding: 42px 22px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(109, 40, 217, 0.12);
}

.gw-quickpay-paytm .loader {
  width: 72px;
  height: 72px;
  border: 4px solid #ede9fe;
  border-top-color: #7c3aed;
  border-radius: 50%;
  margin: 0 auto 18px;
  animation: gw-spin 0.9s linear infinite;
}

.gw-quickpay-paytm .wait-card h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #6d28d9;
}

.gw-quickpay-paytm .success-card {
  margin-top: 50px;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(109, 40, 217, 0.12);
}

.gw-quickpay-paytm .success-top {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  text-align: center;
  padding: 40px 22px;
}

.gw-quickpay-paytm .error-top {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
  text-align: center;
  padding: 40px 22px;
}

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

.gw-quickpay-paytm .check {
  color: #059669;
}

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

.gw-quickpay-paytm .return-btn,
.gw-quickpay-paytm .retry-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  color: #fff;
  text-decoration: none;
  padding: 15px;
  border-radius: 14px;
  margin-top: 18px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-align: center;
}

.gw-quickpay-paytm .retry-btn {
  background: #1e293b;
}

.gw-quickpay-paytm .redirect {
  margin-top: 12px;
  color: #71717a;
}
