/* Login page. Shares the gallery's dark palette. */

:root {
  --bg: #101214;
  --bg-raised: #1a1d20;
  --border: #26292d;
  --text: #e8eaed;
  --text-dim: #9aa0a6;
  --accent: #34a561;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.login form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(20rem, 90vw);
  padding: 2.2rem 1.8rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.lock {
  align-self: center;
  color: var(--accent);
}

h1 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

input {
  font: inherit;
  color: inherit;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
}

input:focus {
  outline: none;
  border-color: var(--accent);
}

button {
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  padding: 0.65rem;
  margin-top: 0.4rem;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.1);
}
