/* Enhanced styles for the login system */
:root{
  --bg:#eef2ff;
  --card:#ffffff;
  --primary-600:#2563eb;
  --primary-500:#3b82f6;
  --muted:#6b7280;
  --danger:#ef4444;
  --glass: rgba(255,255,255,0.6);
}
html,body{height:100%;}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(59,130,246,0.07), transparent 10%),
              linear-gradient(180deg,#f8fafc 0%,var(--bg) 100%);
  color:#0f172a;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2rem;
}
.container{
  width:100%;
  max-width:460px;
}
.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.9), var(--card));
  border-radius:14px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.12);
  padding:2rem;
  border:1px solid rgba(2,6,23,0.04);
  overflow:hidden;
}
.card-header{display:flex;align-items:center;gap:0.75rem;margin-bottom:1rem}
.logo{
  width:48px;height:48px;border-radius:10px;background:linear-gradient(135deg,var(--primary-600),var(--primary-500));
  display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1rem;box-shadow:0 6px 18px rgba(59,130,246,0.18);
}
.brand-name{font-size:1rem;font-weight:700}
.subtitle{font-size:0.9rem;color:var(--muted);margin-top:-2px}
h1{margin:0 0 8px 0;font-size:1.15rem}
.auth-form{display:flex;flex-direction:column;gap:0.75rem}
.label{font-size:0.9rem;color:var(--muted)}
.input, .input[type="email"], .input[type="password"], .input[type="text"]{
  width:100%;
  padding:0.75rem 0.9rem;
  border-radius:10px;
  border:1px solid #e6e9ef;
  background:linear-gradient(180deg,#fff,#fbfdff);
  box-sizing:border-box;
  font-size:0.95rem;
  transition:box-shadow .15s ease, border-color .15s ease, transform .06s ease;
}
.input:focus{outline:none;border-color:var(--primary-500);box-shadow:0 6px 18px rgba(59,130,246,0.12);transform:translateY(-1px)}
.btn{display:inline-block;padding:0.7rem 1rem;border-radius:10px;border:0;font-weight:700;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}
.btn.primary{background:linear-gradient(90deg,var(--primary-600),var(--primary-500));color:#fff;box-shadow:0 8px 20px rgba(59,130,246,0.18)}
.btn.primary:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(59,130,246,0.24)}
.btn.ghost{background:transparent;border:1px solid #e6e9ef;color:var(--muted)}
.form-actions{display:flex;justify-content:space-between;align-items:center;margin-top:0.25rem}
.errors{color:var(--danger);background:rgba(239,68,68,0.06);padding:0.6rem;border-radius:8px;list-style:none;margin:0 0 1rem 0}
.success{color: #065f46; background: rgba(16,185,129,0.06); padding:0.6rem;border-radius:8px;margin:0 0 1rem 0}
.small{font-size:0.9rem;color:var(--muted)}
a{color:var(--primary-600);text-decoration:none}
a:hover{text-decoration:underline}
.footer-note{margin-top:1rem;text-align:center;font-size:0.9rem;color:var(--muted)}
.user-info{margin:1rem 0;padding:1rem;background:rgba(59,130,246,0.05);border-radius:8px;border:1px solid rgba(59,130,246,0.1)}
.info-item{margin-bottom:0.5rem;font-size:0.95rem}
.info-item:last-child{margin-bottom:0}
.info-item strong{color:var(--primary-600)}
@media (max-width:480px){
  .container{padding:0 1rem}
  .card{padding:1rem}
  .logo{width:40px;height:40px}
}
