@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

:root{
  --bg:        #0e1324;
  --panel:     #131a2e;
  --accent1:   #5561ff;
  --accent2:   #8f94fb;
  --text:      #e4e6ef;
  --muted:     #aeb3d5;
  --border:    #2a3051;
}

*{box-sizing:border-box;font-family:'Inter',Arial,sans-serif}

body{
  margin:0;
  height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  background:var(--bg);
  color:var(--text);
}

.card{
  width:380px;
  padding:2.5rem 3rem 3rem;
  background:var(--panel);
  border-radius:14px;
  box-shadow:0 12px 28px rgba(0,0,0,.55);
}

h1{
  margin:0 0 2rem;
  text-align:center;
  font-weight:600;
  font-size:1.8rem;
}

label{
  display:block;
  margin-bottom:.35rem;
  font-size:.9rem;
  color:var(--muted);
}

input{
  width:100%;
  padding:.75rem 1rem;
  margin-bottom:1.4rem;
  border:1px solid var(--border);
  border-radius:7px;
  background:#0c1121;
  color:var(--text);
  outline:none;
  transition:border .2s;
}

input:focus{border-color:var(--accent2)}

button{
  width:100%;
  padding:.85rem 1rem;
  border:none;
  border-radius:7px;
  font-size:1rem;
  font-weight:600;
  color:#fff;
  background:linear-gradient(90deg,var(--accent1),var(--accent2));
  cursor:pointer;
  transition:opacity .2s,transform .15s;
}
button:hover{opacity:.9}
button:active{transform:scale(.97)}

#error{
  margin-top:1rem;
  min-height:1.2rem;
  text-align:center;
  color:#ff6c6c;
  font-size:.9rem;
}

.small{
  margin-top:1.8rem;
  text-align:center;
  font-size:.8rem;
  color:var(--muted);
}
