*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f7f7f8;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 18px 28px;
  padding-top: max(12px, env(safe-area-inset-top));
  padding-bottom: max(28px, env(safe-area-inset-bottom));
}

.top-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.page-brand {
  text-align: center;
  margin-bottom: 22px;
}

.page-brand-logo {
  display: inline-block;
  max-width: min(280px, 88vw);
  width: auto;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: #9e9e9e;
  padding: 6px 2px;
  cursor: pointer;
}

.lang-btn.is-active {
  color: #1565c0;
}

.page-title {
  font-size: clamp(1.35rem, 4.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #111;
}

.page-subtitle {
  font-size: 15px;
  line-height: 1.4;
  color: #757575;
  margin-bottom: 22px;
}

.bank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.bank-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 14px 12px;
  border: 1px solid #e6e6e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}

.bank-card:active {
  border-color: #d0d0d4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03);
}

a.bank-card {
  text-decoration: none;
  color: inherit;
}

.bank-logo {
  display: block;
  max-width: 88%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.bank-logo--addiko {
  max-height: 46px;
  max-width: 94%;
}

.bank-logo--unicredit {
  max-height: 24px;
  max-width: 80%;
}

.bank-logo--nlb {
  max-height: 38px;
  max-width: 90%;
}

.bank-logo--otp {
  max-height: 30px;
  max-width: 78%;
}

.bank-logo--sparkasse {
  max-height: 22px;
  max-width: 78%;
}

.bank-logo--gb {
  max-height: 26px;
  max-width: 92%;
}

.bank-logo--intesa {
  max-height: 36px;
  max-width: 98%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.bank-logo--dh {
  max-height: 28px;
  max-width: 84%;
  object-fit: contain;
}

.help-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  min-height: 78px;
  padding: 16px 18px;
  border: 1px solid #e6e6e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  cursor: pointer;
}

.help-card:active {
  border-color: #d0d0d4;
}

.help-muted {
  font-size: 14px;
  color: #757575;
  line-height: 1.35;
}

.help-link {
  font-size: 15px;
  font-weight: 500;
  color: #1565c0;
  line-height: 1.35;
}

@media (min-width: 520px) {
  .page {
    padding-left: 24px;
    padding-right: 24px;
  }

  .bank-card,
  .help-card {
    min-height: 84px;
  }

}
