* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(72, 147, 246, .2), transparent 32%),
    radial-gradient(circle at 84% 76%, rgba(32, 200, 99, .22), transparent 34%),
    #11100e;
  color: #f4f1ea;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: 24px;
}

.login-card {
  width: min(390px, 100%);
  border: 1px solid rgba(244, 241, 234, .14);
  border-radius: 28px;
  background: rgba(25, 24, 21, .88);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
  padding: 34px;
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

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

.password-field,
.enter-button {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  font: inherit;
}

.password-field {
  border: 1px solid rgba(244, 241, 234, .16);
  outline: none;
  background: rgba(255, 255, 255, .06);
  color: #f4f1ea;
  font-size: 16px;
  padding: 12px 14px;
  text-align: center;
}

.password-field:focus-visible {
  border-color: #20c863;
  box-shadow: 0 0 0 4px rgba(32, 200, 99, .16);
}

.enter-button {
  border: 0;
  background: #20c863;
  color: #092f18;
  cursor: pointer;
  font-weight: 800;
}

.error {
  min-height: 18px;
  margin: 2px 0 0;
  color: #ff8b89;
  font-size: 13px;
  font-weight: 700;
}

.error:empty {
  display: none;
}
