/* jslautomation.com account pages: a centred card over the site's black-and-amber look,
   laid out like fnvault's login (logo and tagline above, labelled fields, inline error, one button). */
:root {
  --bg: #000;
  --card: rgba(13, 13, 13, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.6);
  --faint: rgba(255, 255, 255, 0.4);
  --amber: #F9AB00;
  --pip: #A3E635;
  --danger: #f87171;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
body {
  min-height: 100vh; min-height: 100dvh; background: var(--bg); color: var(--text);
  font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; overflow-x: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 15% 10%, rgba(249, 171, 0, 0.22), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(163, 230, 53, 0.12), transparent 40%);
}
a { color: var(--amber); }
.top { padding: 20px 24px; }
.top img { height: 36px; display: block; }
main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 24px 16px 64px; }
.col { width: 100%; max-width: 400px; }
.col.wide { max-width: 640px; }
.intro { text-align: center; margin: 12px 0 24px; }
.intro h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.intro p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.card + .card { margin-top: 16px; }
.card h2 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.card .sub { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 18px; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row a { font-size: 13px; font-weight: 500; text-decoration: none; }
input[type=email], input[type=password], input[type=text] {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04); color: #fff; font: 500 15px Inter, sans-serif; outline: none;
  transition: border-color 0.2s;
}
input:focus { border-color: var(--pip); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--muted); line-height: 1.45; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--pip); flex: none; }
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: 100%;
  padding: 13px 20px; border: 0; border-radius: 999px; background: var(--amber); color: #000;
  font: 700 15px Inter, sans-serif; cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: #ffbc1f; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.07); }
.btn.danger { background: transparent; color: var(--danger); border: 1px solid rgba(248, 113, 113, 0.4); }
.btn.small { width: auto; padding: 9px 16px; font-size: 14px; }
.error {
  display: none; padding: 11px 14px; border-radius: 12px; font-size: 14px; line-height: 1.45;
  background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.35); color: #fecaca;
}
.error.show { display: block; }
.note {
  padding: 11px 14px; border-radius: 12px; font-size: 14px; line-height: 1.45;
  background: rgba(163, 230, 53, 0.08); border: 1px solid rgba(163, 230, 53, 0.3); color: #d9f99d;
}
.alt { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.alt a { font-weight: 600; text-decoration: none; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge.ok { background: rgba(163, 230, 53, 0.12); color: var(--pip); }
.badge.warn { background: rgba(249, 171, 0, 0.12); color: var(--amber); }
.facts { list-style: none; display: grid; gap: 8px; }
.facts li { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.chat { display: grid; gap: 10px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.msg.you { justify-self: end; background: rgba(249, 171, 0, 0.16); border-bottom-right-radius: 4px; }
.msg.pip { justify-self: start; background: rgba(163, 230, 53, 0.12); border-bottom-left-radius: 4px; }
.msg time { display: block; margin-top: 4px; font-size: 11px; color: var(--faint); }
.empty { color: var(--faint); font-size: 14px; }
.legal { color: var(--muted); font-size: 15px; line-height: 1.7; }
.legal h2 { color: #fff; font-size: 18px; margin: 24px 0 8px; }
.legal ul { padding-left: 20px; }
footer { text-align: center; padding: 24px 16px; color: var(--faint); font-size: 12px; }
footer a { color: var(--faint); }
@media (max-width: 480px) { .card { padding: 22px 18px; } .intro h1 { font-size: 26px; } }
