/* USDT BEP20 — Crypto vault */
body.gw-usdt-bep20 {
  background: radial-gradient(ellipse 90% 50% at 50% -10%, #064e3b 0%, #022c22 35%, #020617 100%);
  color: #ecfdf5;
  min-height: 100dvh;
}

.gw-usdt-bep20 .container {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0));
}

.gw-usdt-bep20 .top {
  background: linear-gradient(160deg, rgba(6, 95, 70, 0.95), rgba(4, 47, 46, 0.98));
  padding: calc(28px + env(safe-area-inset-top, 0)) 20px 26px;
  border-radius: 0 0 28px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(52, 211, 153, 0.2);
}

.gw-usdt-bep20 .top::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.08);
  right: -60px;
  top: -60px;
}

.gw-usdt-bep20 .coin {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gw-usdt-bep20 .coin img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(16, 185, 129, 0.35));
}

.gw-usdt-bep20 .pay-text {
  margin-top: 14px;
  font-size: 0.9rem;
  opacity: 0.85;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gw-usdt-bep20 .amount {
  margin-top: 8px;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #6ee7b7;
}

.gw-usdt-bep20 .network {
  margin-top: 12px;
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #a7f3d0;
}

.gw-usdt-bep20 .warning {
  margin: 16px;
  background: rgba(6, 78, 59, 0.6);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 16px;
  padding: 14px;
  color: #a7f3d0;
  line-height: 1.6;
  font-size: 0.85rem;
}

.gw-usdt-bep20 .address-card,
.gw-usdt-bep20 .hash-card,
.gw-usdt-bep20 .tips,
.gw-usdt-bep20 .timer-card {
  margin: 14px 16px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 20px;
  padding: 18px;
  backdrop-filter: blur(8px);
}

.gw-usdt-bep20 .address-title,
.gw-usdt-bep20 .hash-card h3,
.gw-usdt-bep20 .tips h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ecfdf5;
}

.gw-usdt-bep20 .address-flex {
  margin-top: 14px;
}

.gw-usdt-bep20 .qr-frame {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  display: inline-block;
}

.gw-usdt-bep20 .qr-frame img {
  width: min(200px, 58vw);
  display: block;
}

.gw-usdt-bep20 .actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.gw-usdt-bep20 .action-btn {
  height: 46px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
}

.gw-usdt-bep20 .action-btn.secondary {
  background: transparent;
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6ee7b7;
}

.gw-usdt-bep20 .wallet-box {
  margin-top: 14px;
  padding: 14px;
  background: rgba(2, 6, 23, 0.5);
  border-radius: 14px;
  border: 1px solid rgba(52, 211, 153, 0.15);
}

.gw-usdt-bep20 .wallet-box small {
  color: #6ee7b7;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gw-usdt-bep20 .wallet {
  margin-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  word-break: break-all;
  color: #d1fae5;
}

.gw-usdt-bep20 .channel-note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.45;
}

.gw-usdt-bep20 .timer-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gw-usdt-bep20 .clock {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.gw-usdt-bep20 .expire {
  color: #a7f3d0;
  font-size: 0.88rem;
  font-weight: 700;
}

.gw-usdt-bep20 .timer {
  font-size: 2rem;
  font-weight: 800;
  color: #6ee7b7;
  font-variant-numeric: tabular-nums;
}

.gw-usdt-bep20 .hash-card p {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

.gw-usdt-bep20 .hash-input {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 14px;
  margin-top: 14px;
  padding: 0 14px;
  font-size: 0.9rem;
  background: rgba(2, 6, 23, 0.5);
  color: #ecfdf5;
  outline: none;
  font-family: ui-monospace, monospace;
}

.gw-usdt-bep20 .submit-btn,
.gw-usdt-bep20 .return-btn {
  width: 100%;
  height: 52px;
  margin-top: 14px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #047857, #10b981);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gw-usdt-bep20 .retry-btn {
  width: 100%;
  height: 50px;
  margin-top: 12px;
  border: none;
  border-radius: 14px;
  background: #334155;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.gw-usdt-bep20 .tips {
  line-height: 1.65;
  font-size: 0.85rem;
  color: #94a3b8;
}

.gw-usdt-bep20 .wait-screen,
.gw-usdt-bep20 .success-screen,
.gw-usdt-bep20 .error-screen {
  display: none;
  padding: 16px;
}

.gw-usdt-bep20 .wait-card,
.gw-usdt-bep20 .success-card,
.gw-usdt-bep20 .error-card {
  text-align: center;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 22px;
  padding: 36px 20px;
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.gw-usdt-bep20 .loader {
  width: 72px;
  height: 72px;
  border: 4px solid rgba(52, 211, 153, 0.2);
  border-top-color: #10b981;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: gw-spin 0.9s linear infinite;
}

.gw-usdt-bep20 .check,
.gw-usdt-bep20 .error-mark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.75rem;
  font-weight: 800;
}

.gw-usdt-bep20 .check {
  background: #10b981;
  color: #fff;
}

.gw-usdt-bep20 .error-mark {
  background: #ef4444;
  color: #fff;
}

.gw-usdt-bep20 .wait-card h2,
.gw-usdt-bep20 .success-card h2,
.gw-usdt-bep20 .error-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

.gw-usdt-bep20 .success-body p,
.gw-usdt-bep20 .error-body p {
  margin-top: 10px;
  color: #94a3b8;
  line-height: 1.6;
}

.gw-usdt-bep20 .redirect {
  margin-top: 12px;
  color: #64748b;
  font-size: 0.88rem;
}

@media (max-width: 520px) {
  .gw-usdt-bep20 .actions {
    grid-template-columns: 1fr;
  }
}
