:root{
  --bg0:#020617;
  --bg1:#050b1b;
  --card: rgba(255,255,255,.06);
  --border: rgba(148,163,184,.18);
  --text:#e5e7eb;
  --muted:#94a3b8;
  --shadow: 0 18px 45px rgba(0,0,0,.45);

  --green:#22c55e;
  --green2:#16a34a;
  --purple:#a855f7;
  --blue:#38bdf8;
  --danger:#fb7185;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html, body{ height:100%; }

body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
}

/* LOGIN */
body.login{
  background:
    radial-gradient(1200px 600px at 18% 12%, rgba(34,197,94,.14), transparent 60%),
    radial-gradient(900px 520px at 80% 0%, rgba(168,85,247,.16), transparent 55%),
    radial-gradient(900px 520px at 50% 100%, rgba(56,189,248,.12), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
}

.login-shell{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 16px;
}

.login-card{
  width:100%;
  max-width:460px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(14px);
  padding:22px 22px 18px;
  overflow:hidden;
}

/* Marca */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}

.brand-icon{
  width:48px;
  height:48px;
  border-radius:14px;
  border:1px solid rgba(148,163,184,.18);
  background:rgba(2,6,23,.35);
  object-fit:contain;
}

.brand-title{
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:13px;
}

.brand-sub{
  font-size:12px;
  color:var(--muted);
}

/* Texto */
h1{
  font-size:22px;
  margin-bottom:6px;
}

.muted{
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
  margin-bottom:14px;
}

/* Form */
label{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin:10px 0 6px;
}

input{
  width:100%;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(148,163,184,.22);
  background:rgba(2,6,23,.42);
  color:var(--text);
}

input:focus{
  outline:none;
  border-color:rgba(56,189,248,.45);
  box-shadow:0 0 0 4px rgba(56,189,248,.12);
}

button[type="submit"]{
  width:100%;
  margin-top:14px;
  padding:12px;
  border-radius:999px;
  border:1px solid rgba(34,197,94,.35);
  background:linear-gradient(135deg,var(--green),var(--green2));
  color:#062010;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 14px 28px rgba(34,197,94,.20);
}

/* Alert */
.alert{
  border-radius:14px;
  padding:10px 12px;
  font-size:13px;
  margin:10px 0;
}

.alert-error{
  background:rgba(251,113,133,.12);
  border:1px solid rgba(251,113,133,.35);
  color:#ffe4e6;
}

/* Demo */
.demo-box{
  margin-top:14px;
  border-radius:16px;
  border:1px solid rgba(148,163,184,.18);
  background:rgba(2,6,23,.30);
  padding:12px;
}

.demo-title{
  font-weight:900;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.demo-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.demo-label{
  width:70px;
  font-size:12px;
  color:var(--muted);
}

.demo-input{
  flex:1;
  padding:8px 10px;
  border-radius:12px;
  background:rgba(148,163,184,.10);
  border:1px solid rgba(148,163,184,.18);
  font-family:monospace;
  font-size:12px;
  color:var(--text);
}

.mini-btn{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.28);
  background:rgba(2,6,23,.40);
  color:var(--text);
  cursor:pointer;
  font-size:12px;
  font-weight:700;
}

.demo-foot{
  font-size:11px;
  color:var(--muted);
}

/* Footer */
.footer{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(148,163,184,.14);
  font-size:11px;
  color:var(--muted);
  display:flex;
  gap:8px;
  justify-content:center;
}

.dot{ opacity:.6; }

