:root {
  --bg: #0f1419;
  --panel: #161d27;
  --border: #2a3544;
  --text: #e8eef4;
  --muted: #8b9aab;
  --accent: #3dd68c;
  --danger: #f07178;
  --radius: 10px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.app {
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.brand {
  text-align: center;
  margin-bottom: 1.75rem;
}

.brand__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 650;
}

.brand__tag {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.field {
  margin-bottom: 1rem;
}

.field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}

input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.btn-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.social-row {
  margin-top: 0.75rem;
}

.btn {
  appearance: none;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #0a0f0c;
}

.btn--primary:hover {
  filter: brightness(1.06);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  color: var(--text);
}

.btn--social-google {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: #fff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  text-decoration: none;
}

.btn--social-google:hover {
  background: #f9fafb;
}

.msg {
  margin-top: 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.msg--err {
  background: rgba(240, 113, 120, 0.12);
  border: 1px solid rgba(240, 113, 120, 0.35);
  color: #ffb4b8;
}

.msg--ok {
  background: rgba(61, 214, 140, 0.12);
  border: 1px solid rgba(61, 214, 140, 0.35);
  color: #9cf0c2;
}

.footer-nav {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.footer-nav a {
  color: var(--accent);
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
