:root {
  --bg: #000;
  --card: #1a1a1a;
  --fg: #fff;
  --muted: #b3b3b3;
  --primary: #ff0000;
  --primary-2: #cc0000;
  --ring: rgba(255,0,0,.25);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Prompt', system-ui, -apple-system, sans-serif;
  background: url('images/Infestation.jpg') center/cover no-repeat;
}

/* BG */
.auth-bg{position:fixed; inset:0; background:url('images/Infestation.jpg') center/cover no-repeat; filter:saturate(105%)}
.auth-overlay{position:absolute; inset:0; background:linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.8))}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.auth-title {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .5px;
  text-align: center;
}

.auth-form { display: grid; gap: 14px; }

.form-group { display: grid; gap: 8px; }
label { font-size: 13px; color: var(--muted); }

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  background: #1a1a1a;
  color: var(--fg);
  border: 1px solid #333;
  border-radius: 10px;
  outline: none;
  transition: .2s;
}
input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--ring);
}

.input-with-toggle {
  position: relative;
}
.input-with-toggle input { padding-right: 42px; }
.input-with-toggle .toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; color: var(--muted); cursor: pointer;
  font-size: 18px; padding: 4px 6px; border-radius: 8px;
}
.input-with-toggle .toggle:hover { color: var(--fg); background: rgba(255,255,255,.06); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}
.btn-primary:hover { background: var(--primary-2); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.auth-footer {
  text-align: center;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.link { color: #fff; text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.25); }
.link:hover { color: var(--primary); border-color: var(--primary); }

@keyframes pop { from { transform: translateY(8px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }
.animate-pop { animation: pop .35s ease-out both; }
