:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #173d2b;
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; width: 100%; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfffc 43%, #e5f5e9 100%);
}
button { font: inherit; }
.page {
  width: min(100% - 36px, 640px);
  margin: 0 auto;
  padding: clamp(42px, 8vh, 76px) 0 48px;
}
.hero { text-align: center; margin-bottom: 34px; }
.eyebrow {
  margin: 0 0 13px;
  color: #648171;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .19em;
}
h1 {
  margin: 0;
  color: #174b30;
  font-size: clamp(27px, 6vw, 42px);
  line-height: 1.12;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.subtitle {
  margin: 13px 0 0;
  color: #71877a;
  font-size: 14px;
}
.details { display: grid; gap: 15px; }
.info-card {
  min-width: 0;
  padding: 21px 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid #e2eee5;
  border-radius: 17px;
  box-shadow: 0 7px 22px rgba(30, 77, 47, .055);
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.field-label {
  display: block;
  color: #668071;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.field-value {
  margin: 13px 0 0;
  color: #193e2b;
  font-size: clamp(16px, 3.8vw, 19px);
  font-weight: 750;
  letter-spacing: .025em;
  overflow-wrap: anywhere;
}
.currency-mark {
  color: #286442;
  font-size: 21px;
  font-weight: 700;
}
.copy-button, .confirm-button {
  border: 0;
  border-radius: 10px;
  background: #e3f5e8;
  color: #1c6038;
  font-size: 13px;
  font-weight: 750;
  padding: 10px 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}
.copy-button:hover, .confirm-button:hover { background: #d4eedc; }
.copy-button:active, .confirm-button:active { transform: scale(.98); }
.copy-button:focus-visible, .confirm-button:focus-visible {
  outline: 3px solid #79bd8e;
  outline-offset: 3px;
}
.copy-icon { display: inline-block; margin-right: 5px; font-size: 15px; line-height: 0; }
.iban-card { padding-bottom: 17px; }
.iban-value {
  margin: 15px 0 14px;
  color: #193e2b;
  font-weight: 800;
  letter-spacing: .035em;
  white-space: nowrap;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: clamp(11px, 3.25vw, 18px);
}
.iban-actions { display: flex; justify-content: flex-end; }
.helper-text {
  margin: 23px 0 0;
  color: #829489;
  text-align: center;
  font-size: 12px;
}
.error-message {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid #f0c7c2;
  border-radius: 11px;
  background: #fff7f6;
  color: #9a342b;
  text-align: center;
  font-size: 13px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(13, 30, 20, .42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal-backdrop[hidden] { display: none; }
.modal {
  width: min(100%, 390px);
  padding: 30px 25px 25px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0,0,0,.2);
  text-align: center;
  animation: appear .18s ease-out;
}
.success-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e1f5e7;
  color: #23934b;
  font-size: 30px;
  font-weight: 800;
}
.modal h2 { margin: 0 0 11px; color: #194b30; font-size: 21px; }
.modal p { margin: 0; color: #64796c; font-size: 14px; line-height: 1.65; }
.confirm-button { width: 100%; margin-top: 23px; padding: 13px 16px; }
@keyframes appear {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 360px) {
  .page { width: calc(100% - 24px); }
  .info-card { padding-left: 15px; padding-right: 15px; }
  .iban-value { letter-spacing: .015em; font-size: clamp(10px, 3.1vw, 12px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
