/*
 * Gitea pages "forgot password" and "recover account" in the look of hofknecht.eu
 * (colors and forms as /design/hofknecht.css). gitea.js sets html.hk only on these two pages.
 */
html.hk {
  --hk-bg: #0c1322;
  --hk-bg-2: #121b2f;
  --hk-bg-3: #1a2540;
  --hk-ink: #f4ecda;
  --hk-ink-dim: #c9bfa8;
  --hk-accent: #4f46e5;
  --hk-accent-2: #6366f1;
  --hk-line: rgba(244, 236, 218, 0.12);
  --hk-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --hk-text: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
html.hk body {
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(79, 70, 229, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(80, 120, 220, 0.12), transparent 60%),
    var(--hk-bg);
  color: var(--hk-ink);
  font: 400 17px/1.65 var(--hk-text);
}
html.hk #navbar, html.hk .page-footer { display: none; }
html.hk .full.height { background: transparent; }

.hk-head { border-bottom: 1px solid var(--hk-line); }
.hk-brand { display: flex; align-items: center; gap: 12px; width: min(1180px, calc(100% - 32px)); min-height: 72px; margin: 0 auto;
  color: var(--hk-ink); text-decoration: none; font: 800 20px/1 var(--hk-display); letter-spacing: -0.01em; }
.hk-brand:hover { color: var(--hk-ink); }

html.hk .page-content { width: min(520px, calc(100% - 32px)); margin: 0 auto; padding: clamp(40px, 6vw, 72px) 0 0; }
html.hk .page-content .ui.grid, html.hk .page-content .column { display: block; width: auto; margin: 0; padding: 0; }
html.hk .page-content .ui.form .ui.header {
  margin: 0 0 28px; padding: 0; background: none; border: 0; color: var(--hk-ink);
  font: 800 clamp(34px, 5.4vw, 62px)/1.05 var(--hk-display); letter-spacing: -0.02em; text-align: left;
}
html.hk .page-content .ui.attached.segment {
  display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; color: var(--hk-ink-dim);
}
html.hk .page-content .ui.form .field { margin: 0; }
html.hk .page-content .ui.form .field > label, html.hk .page-content .ui.form .inline.field > label {
  display: block; margin: 0 0 6px; font: 700 14px/1.2 var(--hk-display); color: var(--hk-ink-dim);
}
html.hk .page-content .ui.form input[type="email"], html.hk .page-content .ui.form input[type="password"],
html.hk .page-content .ui.form input[type="text"] {
  width: 100%; font: inherit; font-size: 17px; color: var(--hk-ink); background: var(--hk-bg-2);
  border: 1px solid var(--hk-line); border-radius: 12px; padding: 12px 14px;
}
html.hk .page-content .ui.form input:focus { outline: 2px solid var(--hk-accent); outline-offset: 1px; border-color: var(--hk-line); }
html.hk .page-content .ui.checkbox label { color: var(--hk-ink-dim); font: 600 15px/1.4 var(--hk-text); }
html.hk .page-content .divider { display: none; }
html.hk .page-content .ui.button {
  font: 800 16px/1 var(--hk-display); color: #ffffff; background: var(--hk-accent); border: 0; border-radius: 12px; padding: 14px 20px; margin: 0;
}
html.hk .page-content .ui.button:hover { background: var(--hk-accent-2); }
html.hk .page-content .ui.message { margin: 0; padding: 12px 14px; border-radius: 12px; border: 0; box-shadow: none; text-align: left; }
html.hk .page-content .flash-message, html.hk .page-content .flash-message p { text-align: left; }
html.hk .page-content .ui.negative.message { background: rgba(255, 90, 90, 0.12); color: #ffb4a8; }
html.hk .page-content .ui.positive.message, html.hk .page-content .ui.success.message { background: rgba(25, 158, 112, 0.14); color: #8fe3c2; }
html.hk .page-content .ui.message a, html.hk .page-content p a { color: #a5b4fc; }
html.hk .page-content p.center { text-align: left; margin: 0; }

.hk-back { display: block; width: min(520px, calc(100% - 32px)); margin: 28px auto 72px; color: var(--hk-ink-dim); font: 700 14px/1.2 var(--hk-display); }
.hk-back:hover { color: var(--hk-ink); }
