:root {
  --bg: #040b10;
  --surface: #0f151a;
  --surface-2: #141c22;
  --text: #f5f7f8;
  --text-muted: rgba(245, 247, 248, 0.66);
  --brand: #d0342c;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.22);

  --font-body: "Pathway Extreme", ui-sans-serif, system-ui, -apple-system,
    Segoe UI, Roboto, Helvetica, Arial;
  --font-display: "Lexend Peta", "Pathway Extreme", ui-sans-serif, system-ui,
    -apple-system, Segoe UI, Roboto, Helvetica, Arial;

  --space-sm: 12px;
  --space-md: 18px;
  --space-lg: 26px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

.entry {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  /* background: radial-gradient(
    1200px 900px at 50% -10%,
    var(--surface-2),
    var(--bg) 55%
  ); */
  background: #040b10;
  align-items: center;
  justify-content: flex-start;
}

.entry-header {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.entry-center {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-items: space-around;
  gap: var(--space-md);
  height: auto;
  align-items: center;
  flex-grow: 0;
  margin-top: 18vh;
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(460px, 80vw);
}

.logo-icon {
  width: 45px;
  height: 32px;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.5;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.1em;
}

.login-form {
  width: min(400px, 80vw);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0;
  padding: 3px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.login-form input {
  border: none;
  background: transparent;
  padding: 8px 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #040b10;
  outline: none;
}

.login-form input::placeholder {
  color: rgba(11, 15, 18, 0.7);
}

.login-form button {
  border: none;
  background: transparent;
  padding: 0 14px;
  font-size: 20px;
  color: #0b0f12;
  cursor: pointer;
  line-height: 1;
}

.login-form button:focus-visible {
  outline: 2px solid #0b0f12;
  outline-offset: 2px;
  border-radius: 8px;
}

.hint {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
  color: #ffffff;
}

.error {
  display: none;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.entry-footer {
  display: flex;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 10px;
  line-height: 3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  justify-self: flex-end;
  padding-bottom: var(--space-sm);
  height: auto;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: auto;
  margin-bottom: 14vh;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 600px) {
  .entry {
    padding: 20px;
  }

  .logo-block {
    width: min(360px, 86vw);
  }

  .login-form {
    width: min(360px, 86vw);
  }

  .entry-center {
    margin-top: 14vh;
  }

  .entry-footer {
    margin-bottom: 16vh;
  }
}
