/* VibeCodingSecure — auth screens. Matches the approved mockups (400px column,
   dark theme). Real pages: responsive, centered in the viewport. */
:root {
  --bg: #0a0b0e;
  --surface: #14161b;
  --border: #2b2f37;
  --border-soft: #1b1e24;
  --text: #e9e8e4;
  --muted: #8b9099;
  --muted-2: #6b7079;
  --placeholder: #565b66;
  --lime: #cdf24e;
  --lime-hover: #d9f877;
  --red: #ff5c66;
  --amber: #f5b83d;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--lime-hover); }
::placeholder { color: var(--placeholder); }

.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}
.auth-card {
  width: 400px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* brand */
.brand { display: flex; align-items: center; gap: 10px; }
.brand-badge { width: 28px; height: 28px; background: transparent; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-name {
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
  font-size: 16px; letter-spacing: -0.2px;
}

/* heading block */
.head { display: flex; flex-direction: column; gap: 7px; }
.eyebrow {
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  letter-spacing: 1.5px; color: var(--lime); text-transform: uppercase;
}
.title {
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: 29px; line-height: 1.12; margin: 0; letter-spacing: -0.6px;
}
.sub { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* icon badge (forgot) */
.icon-badge {
  width: 56px; height: 56px; border-radius: 15px;
  background: rgba(205,242,78,0.10); border: 1px solid rgba(205,242,78,0.28);
  display: flex; align-items: center; justify-content: center;
}

/* buttons */
.btn {
  height: 48px; border: 0; border-radius: 12px; cursor: pointer;
  font-size: 15px; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-primary {
  background: var(--lime); color: var(--bg);
  font-family: "Space Grotesk", sans-serif; font-weight: 600;
}
.btn-primary:hover:not(:disabled) { background: var(--lime-hover); }
.btn-google {
  background: #ffffff; color: #1f1f1f;
  font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-size: 14.5px;
  text-decoration: none;
}
.btn-google:hover { color: #1f1f1f; background: #f2f2f2; }

/* divider */
.divider { display: flex; align-items: center; gap: 12px; color: var(--placeholder); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex-grow: 1; height: 1px; background: var(--border-soft); }

/* fields */
.fields { display: flex; flex-direction: column; gap: 12px; }
.field { font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.field-row { display: flex; justify-content: space-between; align-items: center; }
.input {
  width: 100%; background: var(--surface); border: 1px solid var(--border);
  border-radius: 11px; height: 46px; padding: 0 14px; color: var(--text);
  font-size: 15px; font-family: inherit; outline: none;
}
.input:focus { border-color: #3f4653; }
.input-wrap {
  display: flex; align-items: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: 11px; height: 46px;
  padding: 0 14px; gap: 10px;
}
.input-wrap:focus-within { border-color: #3f4653; }
.input-wrap input {
  flex-grow: 1; background: transparent; border: 0; color: var(--text);
  font-size: 15px; font-family: inherit; outline: none;
}
.toggle-eye { background: transparent; border: 0; padding: 0; cursor: pointer; display: flex; }

/* password strength */
.strength { display: flex; flex-direction: column; gap: 7px; margin-top: -2px; }
.strength-bars { display: flex; gap: 6px; }
.strength-bar { flex-grow: 1; height: 4px; border-radius: 999px; background: var(--border-soft); transition: background 0.2s; }
.strength-label { font-size: 11.5px; color: var(--muted); }
.strength-label .hint { color: var(--muted-2); }

/* fineprint + footer */
.fineprint {
  display: flex; align-items: flex-start; gap: 8px;
  color: var(--muted-2); font-size: 11.5px; line-height: 1.5;
}
.fineprint svg { flex-shrink: 0; margin-top: 1px; }
.footer {
  border-top: 1px solid var(--border-soft); padding-top: 16px;
  font-size: 13.5px; color: var(--muted);
}
.footer.with-icon { display: flex; align-items: center; gap: 7px; }
.footer a { font-weight: 600; }

/* error / notice */
.error {
  display: none; background: rgba(255,92,102,0.08); border: 1px solid rgba(255,92,102,0.30);
  color: #ffb3b8; font-size: 13px; line-height: 1.45; border-radius: 10px; padding: 10px 12px;
}
.error.show { display: block; }
.notice {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(205,242,78,0.07); border: 1px solid rgba(205,242,78,0.28);
  border-radius: 12px; padding: 14px; font-size: 13.5px; line-height: 1.5; color: var(--text);
}
.notice svg { flex-shrink: 0; margin-top: 1px; }

@media (max-width: 440px) {
  .title { font-size: 25px; }
}
