/* ipsr/frontend/app.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --accent: #00d4aa;
  --text: #e8e8f0;
  --muted: #6b6b80;
  --danger: #ff4757;
  --radius: 14px;
  --font: 'Inter', system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  width: min(90vw, 380px);
}

h1 { font-size: 1.6rem; font-weight: 700; color: var(--accent); margin-bottom: 0.25rem; }
p.subtitle { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.75rem; }

.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 0.4rem; }
.field input {
  width: 100%; padding: 0.75rem 1rem;
  background: var(--bg); border: 1px solid #2a2a3a;
  border-radius: 10px; color: var(--text); font-size: 1rem;
}
.field input:focus { outline: none; border-color: var(--accent); }

.btn {
  width: 100%; padding: 0.85rem;
  background: var(--accent); color: #000;
  border: none; border-radius: 10px;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  margin-top: 0.5rem;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); margin-top: 0.75rem; }

.erro { color: var(--danger); font-size: 0.85rem; margin-top: 0.75rem; text-align: center; }
.link { text-align: center; margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }
.link a { color: var(--accent); text-decoration: none; }
