@font-face {
  font-family: Regatto;
  src: url("assets/brand/Regatto.ttf");
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(circle at 82% 12%, rgba(156, 212, 60, .2), transparent 28%),
    linear-gradient(145deg, #061b35 0%, #0b2b45 52%, #071c31 100%);
  color: #fff;
  font-family: Arial, sans-serif;
}

.role-shell {
  width: min(620px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 16px max(22px, env(safe-area-inset-bottom));
  display: grid;
  align-content: center;
  gap: 16px;
}

.brand-card,
.login-card {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  box-shadow: 0 20px 65px rgba(0, 0, 0, .26);
}

.brand-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: linear-gradient(160deg, #fff, #edf5f8);
  color: #061b35;
}

.brand-card img {
  width: min(310px, 74vw);
  max-height: 124px;
  object-fit: contain;
}

.brand-card strong {
  font: 42px Regatto, Georgia, serif;
  line-height: .84;
}

.brand-card span {
  color: #0a5da5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.login-card {
  padding: 22px;
  background: rgba(255, 255, 255, .1);
}

.login-card > span {
  color: #9cd43c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.login-card h1 {
  margin: 7px 0 8px;
  font-size: clamp(32px, 9vw, 56px);
  line-height: .94;
}

.login-card p {
  margin: 0 0 18px;
  color: #c8d7e3;
  line-height: 1.45;
}

.role-form {
  display: grid;
  gap: 12px;
}

.role-form label {
  display: grid;
  gap: 6px;
  color: #dce8f0;
  font-size: 12px;
  font-weight: 900;
}

.role-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 13px;
  background: #fff;
  color: #061b35;
  font: inherit;
  padding: 0 14px;
}

.role-form button,
.secondary-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #9cd43c;
  color: #061b35;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}

.secondary-link {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
}

.role-form output {
  min-height: 20px;
  color: #dce8f0;
  font-size: 12px;
  font-weight: 800;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 520px) {
  .actions {
    grid-template-columns: 1fr;
  }
}
