:root {
  --bg: #0e0f11;
  --panel: #171a1e;
  --text: #f5f1ea;
  --muted: #8a8a8a;
  --accent: #c49a3c;
  --accent-strong: #ddb459;
  --line: rgba(255, 255, 255, 0.12);
  --ok: #7ac89a;
  --danger: #e18b8b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background: #0d0d0d;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(8px);
}

.login-card {
  width: min(430px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1a1a1a;
  border-radius: 0;
  box-shadow: none;
  padding: 32px;
  position: relative;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.lock-icon {
  color: var(--accent);
  flex-shrink: 0;
}

h1 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

label {
  display: none;
}

input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: #111;
  color: #fff;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

input::placeholder {
  color: #8a8a8a;
}

input:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(196, 154, 60, 0.65);
  outline-offset: 2px;
}

button {
  width: 100%;
  border: none;
  border-radius: 0;
  background: #c49a3c;
  color: #0d0d0d;
  font-weight: 600;
  cursor: pointer;
  padding: 11px 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
}

button:hover {
  background: #d4aa4c;
}

.recovery-link {
  display: block;
  margin-top: 10px;
  text-align: right;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.recovery-link:hover {
  color: #fff;
}

.recovery-link:focus-visible {
  outline: 2px solid rgba(196, 154, 60, 0.65);
  outline-offset: 2px;
}

.status {
  margin: 8px 0 0;
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.9rem;
}

.status.ok {
  color: var(--ok);
}

.status.error {
  color: var(--danger);
}
