/* /inc/css/login.css */

:root{
  --bg0:#070A10;
  --bg1:#0B1020;
  --stroke: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.64);
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --r16: 16px;
  --accent1:#4F8CFF;
  --accent2:#785BFF;
  --danger:#FF4D6D;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(79,140,255,.22), transparent 55%),
    radial-gradient(900px 500px at 70% 20%, rgba(120,91,255,.18), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.card{
  width:100%;
  max-width:420px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.05);
  border-radius: var(--r16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  overflow:hidden;
}

.hd{padding:18px;border-bottom:1px solid var(--stroke);display:flex;gap:12px;align-items:center}
.hd img{width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);object-fit:contain}
.hd h1{margin:0;font-size:18px;font-weight:1000}
.hd .sub{font-size:12px;color:var(--muted)}

.bd{padding:18px}

.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.label{font-weight:900;color:var(--muted);font-size:12px}

input{
  width:100%;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding:10px;
  outline:none;
}

.btn{
  appearance:none;
  border:none;
  cursor:pointer;
  border-radius:12px;
  padding:10px;
  font-weight:900;
  color:var(--text);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  width:100%;
}

.btn.primary{
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  border:none;
}

.err{
  margin-top:10px;
  color:#ffd1da;
  background: rgba(255,77,109,.12);
  border:1px solid rgba(255,77,109,.30);
  padding:10px;
  border-radius:12px;
  font-size:13px;
}

.foot{
  padding:12px;
  color:var(--muted);
  font-size:12px;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.08)
}
