:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #1f2933;
  --muted: #667085;
  --line: #d9dee7;
  --blue: #0066cc;
  --green: #147d64;
  --yellow-bg: #fff7d6;
  --yellow-text: #7a4e00;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 48px 16px;
}

.panel {
  width: min(560px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 16px 45px rgb(31 41 51 / 8%);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.back {
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
}

h1 {
  margin: 28px 0 8px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

.muted {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 24px;
}

.badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 650;
}

.badge.live {
  color: var(--green);
  border-color: rgb(20 125 100 / 35%);
}

.badge.sandbox {
  color: var(--yellow-text);
  background: var(--yellow-bg);
  border-color: #f3d46b;
}

.notice {
  background: var(--yellow-bg);
  color: var(--yellow-text);
  border: 1px solid #f3d46b;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-weight: 600;
}

.hidden {
  display: none;
}

.field {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  font-weight: 650;
}

.amountRow {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}

input {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
}

#currency {
  min-width: 46px;
  color: var(--muted);
  font-weight: 700;
}

.paypal {
  min-height: 48px;
}

.message {
  min-height: 22px;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.45;
}

.message.error {
  color: #b42318;
}

.message.success {
  color: var(--green);
}

.status {
  overflow: auto;
  background: #111827;
  color: #d1d5db;
  border-radius: 8px;
  padding: 14px;
  margin-top: 16px;
  font-size: 12px;
}
