/* Login page — one password, nothing else to decide. */
.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 32px 20px;
  background: linear-gradient(160deg, #dbe7f5 0%, #eef1f7 55%, #f6ecef 100%);
}

.login-card {
  width: min(620px, 100%);
  padding: 44px 48px 36px;
  text-align: center;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(22, 32, 56, .18);
}

.greeting {
  margin: 0;
  font-family: var(--display-font);
  font-size: 76px;
  line-height: 1.05;
  color: var(--accent-dark);
}

/* Mom's own verse. It greets her; it must not shout over "Hi Mom!". */
.login-verse {
  margin: 18px 0 26px;
  font-family: var(--display-font);
  font-size: 21px;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: balance;
}

.subtitle {
  margin: 0 0 30px;
  font-size: 21px;
  color: var(--ink-soft);
}

.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
  text-align: left;
}

.password-row {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}
.password-row input {
  flex: 1;
  height: 62px;
  min-height: 62px;
  font-size: 26px;
  letter-spacing: 2px;
}
.show-hide { min-width: 104px; }

.open-button { width: 100%; }

.message {
  min-height: 30px;
  margin: 18px 0 6px;
  font-size: 21px;
  font-weight: 700;
  color: var(--bad);
}
.message.message-good { color: var(--good); }

.link-button {
  margin-top: 6px;
  padding: 10px 4px;
  font-family: var(--ui-font);
  font-size: 19px;
  color: var(--accent-dark);
  text-decoration: underline;
  background: none;
  border: 0;
  cursor: pointer;
}

.change-panel {
  margin-top: 22px;
  padding: 22px 24px;
  text-align: left;
  background: var(--chrome);
  border: 2px solid var(--line);
  border-radius: 14px;
}
.change-panel h2 { margin-top: 0; font-size: 26px; }
.change-panel input { width: 100%; margin-bottom: 16px; height: 52px; font-size: 21px; }
.change-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.help-line { margin-top: 26px; font-size: 18px; color: var(--ink-soft); }

@media (max-width: 560px) {
  .login-card { padding: 28px 22px; }
  .greeting { font-size: 64px; }
  .login-verse { font-size: 19px; }
}
