@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --gold: #f3bb45;
  --track: #f3f2ee;
  --ink: #313131;
  --muted: rgba(0, 0, 0, 0.45);
  --line: #e7e7e7;
  --card: #e5e7eb;
  --green: #198754;
  --danger: #dc3545;
}

* { box-sizing: border-box; }

html, body {
  background: #fff;
  color: var(--ink);
  font-family: Quicksand, "Segoe UI", sans-serif;
  font-size: 15.2px;
  line-height: 1.5;
  margin: 0;
  min-height: 100%;
}

button, input { font-family: inherit; }

.pay-wrap {
  margin: 0 auto;
  max-width: 900px;
  padding: 8px 12px 48px;
}

.wizard {
  height: 120px;
  position: relative;
}

.wizard-track {
  background: var(--track);
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 40px;
}

.wizard-bar {
  background: var(--gold);
  height: 100%;
  transition: width 0.3s ease;
  width: 16%;
}

.wizard ol {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.wizard li {
  color: rgba(0, 0, 0, 0.2);
  flex: 1;
  font-weight: 600;
  text-align: center;
}

.wizard .wiz-ico {
  align-items: center;
  background: #fff;
  border: 3px solid var(--track);
  border-radius: 50%;
  display: flex;
  height: 70px;
  justify-content: center;
  margin: 3px auto 6px;
  width: 70px;
}

.wizard .wiz-ico svg {
  display: block;
  height: 26px;
  width: 26px;
}

.wizard li.is-on { color: var(--gold); }

.wizard li.is-on .wiz-ico {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.wizard li.is-on .wiz-ico svg { stroke: #fff; }
.wizard li:not(.is-on) .wiz-ico svg { stroke: rgba(0, 0, 0, 0.2); }

.pay-intro {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-evenly;
  margin-bottom: 18px;
  text-align: center;
}

.pay-logo { height: auto; width: 120px; }

.pay-hello {
  color: var(--danger);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 4px;
}

.pay-hello small { font-size: 0.8em; font-weight: 500; }

.pay-limits {
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}

.pay-label {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
}

.pay-amount {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 22px;
  min-height: 40px;
  outline: none;
  padding: 9px 5px;
  width: 100%;
}

.bank-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.bank-grid button {
  background: #fff;
  border: 1px solid var(--card);
  border-radius: 16px;
  cursor: pointer;
  margin: 8px;
  padding: 10px 14px;
}

.bank-grid img {
  display: block;
  height: auto;
  width: 140px;
}

.bank-grid button.is-on { border-color: darkred; }

.pay-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.pay-btn {
  background: var(--green);
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 16px;
  text-decoration: none;
}

.pay-btn:hover { background: #157347; }
.pay-btn:disabled { cursor: default; opacity: 0.65; }

.pay-alert {
  background: #fff1f1;
  border-radius: 8px;
  color: #b42318;
  margin: 0 0 14px;
  padding: 10px 12px;
}

.pay-detail {
  margin: 0 auto;
  max-width: 460px;
  text-align: center;
}

.pay-detail .pay-picked {
  height: auto;
  margin-bottom: 8px;
  width: 160px;
}

.pay-line {
  font-size: 20px;
  font-weight: 400;
  margin: 10px 0;
}

.pay-line strong { font-weight: 700; }

.pay-copy {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 0 0 0 6px;
  vertical-align: middle;
}

.pay-warn {
  color: var(--danger);
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-top: 6px;
}

.pay-chip {
  background: var(--danger);
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  padding: 2px 6px;
}

.pay-detail .pay-btn { margin-top: 8px; }

.pay-accounts { margin: 0 0 8px; }

.pay-account {
  background: #f8f9fa;
  border: 1px solid var(--card);
  border-radius: 10px;
  cursor: pointer;
  display: block;
  font: inherit;
  margin: 0 auto 8px;
  padding: 8px 12px;
  width: 100%;
}

.pay-account.is-on { border-color: var(--green); }

@media (max-width: 768px) {
  .pay-intro {
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
}

@media (max-width: 360px) {
  .bank-grid img { width: 110px; }
}
