:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #183d2d;
  background: #f8fcf9;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #fbfefc 38%, #e5f5e9 100%);
}
button { font: inherit; }
.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(34px, 8vh, 76px) 18px 44px;
}
.content { width: 100%; max-width: 640px; margin: 0 auto; }
.eyebrow {
  margin: 0 0 12px;
  text-align: center;
  color: #6d8a79;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .19em;
}
h1 {
  margin: 0;
  text-align: center;
  color: #164a32;
  font-size: clamp(27px, 6vw, 39px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.intro {
  margin: 13px 0 30px;
  text-align: center;
  color: #789084;
  font-size: 14px;
  line-height: 1.5;
}
.info-card {
  padding: 19px 20px;
  margin: 0 0 13px;
  border: 1px solid #e0ebe3;
  border-radius: 17px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 5px 18px rgba(27, 75, 48, .045);
  min-width: 0;
}
.field-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.field-label {
  color: #759080;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}
.field-value {
  margin: 12px 0 0;
  color: #1c4330;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.copy-button {
  border: 0;
  border-radius: 10px;
  padding: 9px 11px;
  min-height: 36px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  background: #e5f5e9;
  color: #205b3b;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.copy-button:hover { background: #d7efde; }
.copy-button:active { transform: scale(.98); }
.copy-button:focus-visible, .confirm-button:focus-visible {
  outline: 3px solid #82c99a;
  outline-offset: 3px;
}
.copy-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.currency {
  color: #3a7954;
  font-size: 22px;
  line-height: 1;
  font-weight: 600;
}
.iban-card { padding-bottom: 15px; }
.iban-value {
  margin: 13px 0 12px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  color: #1c4330;
  font-size: clamp(10px, 2.7vw, 17px);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: .005em;
  line-height: 1.5;
}
.iban-actions { display: flex; justify-content: flex-end; }
.helper {
  margin: 19px 0 0;
  text-align: center;
  color: #81988a;
  font-size: 11px;
  line-height: 1.5;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(13, 35, 23, .38);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.modal-backdrop[hidden], .toast-error[hidden] { display: none; }
.modal {
  width: 100%;
  max-width: 360px;
  padding: 29px 24px 24px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 23px;
  background: #fff;
  text-align: center;
  box-shadow: 0 22px 70px rgba(10, 42, 24, .2);
  animation: pop-in .18s ease-out;
}
.success-icon {
  width: 53px;
  height: 53px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e0f5e6;
  color: #21834a;
}
.success-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.modal h2 { margin: 0; color: #194b30; font-size: 21px; line-height: 1.3; }
.modal p { margin: 12px 0 22px; color: #708478; font-size: 14px; line-height: 1.6; }
.confirm-button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: #1e6a40;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.confirm-button:hover { background: #185833; }
.toast-error {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  width: calc(100% - 36px);
  max-width: 440px;
  transform: translateX(-50%);
  padding: 15px 17px;
  border: 1px solid #f1c6bf;
  border-radius: 14px;
  background: #fff8f6;
  color: #8d2c20;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 10px 30px rgba(60, 20, 10, .12);
}
@keyframes pop-in { from { opacity: 0; transform: translateY(7px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 360px) {
  .page { padding-left: 12px; padding-right: 12px; }
  .info-card { padding: 16px 14px; }
  .iban-value { font-size: clamp(9px, 2.6vw, 12px); letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
