/* Background */
:root { --indigo: #6366f1; --ink: #0b1020; --panel: rgba(255,255,255,0.06); --line: rgba(255,255,255,0.12); --text: #e5e7eb; --muted:#a3a3a3; --danger:#fca5a5; }
*{box-sizing:border-box} html,body{height:100%}
body.auth-bg{
  margin:0; color:var(--text); background:
    radial-gradient(1200px 600px at 100% 0%, rgba(99,102,241,.15), transparent 40%),
    radial-gradient(900px 500px at 0% 100%, rgba(16,185,129,.12), transparent 40%),
    linear-gradient(180deg, #0b1020 0%, #0b1224 60%, #0e1329 100%);
  font: 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
}

/* Layout */
.auth-wrap{min-height:100%;display:grid;place-items:center;padding:40px}
.auth-card{width:100%;max-width:420px;background:var(--panel);border:1px solid var(--line);border-radius:16px;backdrop-filter: blur(10px);padding:24px 22px 20px;box-shadow:0 20px 60px rgba(0,0,0,.35)}

/* Brand */
.auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.auth-logo{height:40px;width:40px;border-radius:12px;background:rgba(99,102,241,.18);border:1px solid rgba(99,102,241,.35);display:grid;place-items:center;font-weight:700;color:#c7d2fe}
.auth-title{font-weight:600;letter-spacing:.3px}

/* Headings */
.auth-heading{margin:6px 0 2px;font-size:18px;font-weight:600}
.auth-sub{margin:0 0 14px;color:var(--muted)}

/* Alerts & errors */
.auth-alert{background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.4);color:#fecaca;padding:8px 10px;border-radius:10px;margin-bottom:10px}
.auth-field-err{color:var(--danger);margin:6px 2px 0;font-size:12px}

/* Form */
.auth-form{display:flex;flex-direction:column;gap:10px}
.auth-label{font-size:13px;color:#cbd5e1;margin-bottom:5px;display:block}
.auth-input{
  width:100%;padding:12px 12px;border-radius:12px;border:1px solid var(--line);
  background:rgba(255,255,255,.06); color:var(--text); outline:none;
}
.auth-input:focus{border-color:#9aa2ff; box-shadow:0 0 0 3px rgba(99,102,241,.25)}
.auth-row{display:flex;justify-content:space-between;align-items:center;margin-top:4px}
.auth-link{color:#c7d2fe;text-decoration:none}
.auth-link:hover{text-decoration:underline}

/* Password eye */
.auth-pass-wrap{position:relative}
.auth-eye{position:absolute; right:8px; top:50%; transform:translateY(-50%); background:transparent; border:0; color:#cbd5e1; cursor:pointer; font-size:16px}

/* Remember */
.auth-remember{display:flex;justify-content:space-between;align-items:center;margin-top:2px}
.auth-checkbox{display:flex;gap:8px;align-items:center}

/* Button */
.auth-btn{
  margin-top:6px; width:100%; padding:12px 14px; border:0; border-radius:12px;
  background:linear-gradient(180deg, #6366f1, #4f46e5);
  color:white; font-weight:600; cursor:pointer; box-shadow:0 10px 30px rgba(79,70,229,.35)
}
.auth-btn:hover{filter:brightness(1.05)}
.auth-btn:active{transform:translateY(1px)}

/* Footer */
.auth-foot{margin-top:12px;text-align:center;color:#9ca3af}


.progress{height:10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--line);overflow:hidden}
.progress .bar{height:100%;background:linear-gradient(90deg,#6366f1,#22c55e)}
