/* static/css/password_reset.css */
/* Minimal, modern card + gradient theme for password reset pages */

:root{
  --bg: #0f172a;
  --card: #0b1220;
  --accent1: #6d28d9;
  --accent2: #ec4899;
  --glass: rgba(255,255,255,0.04);
  --text: #e6eef8;
  --muted: #94a3b8;
  --danger: #ef4444;
  --radius: 12px;
  --maxw: 520px;
}

*{box-sizing:border-box}
body.pr-body{
  min-height:100vh;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg,#071224 0%, #071a2e 100%);
  color:var(--text);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding:24px;
}

.pr-card{
  width:100%;
  max-width:var(--maxw);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:var(--radius);
  padding:28px;
  box-shadow: 0 8px 40px rgba(2,6,23,0.6);
  border: 1px solid rgba(255,255,255,0.04);
}

.pr-title{
  margin:0 0 6px 0;
  font-size:20px;
  letter-spacing:-0.2px;
}

.pr-sub{
  margin:0 0 18px 0;
  color:var(--muted);
  font-size:14px;
}

/* Inputs */
.input{
  display:block;
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  background: rgba(255,255,255,0.02);
  border:1px solid rgba(255,255,255,0.04);
  color:var(--text);
  margin-top:6px;
  margin-bottom:8px;
  font-size:14px;
}

.form-row{margin-bottom:12px}
.pr-error{
  color:var(--danger);
  font-size:13px;
  margin-top:6px;
}

/* Buttons */
.pr-btn{
  display:inline-block;
  background: linear-gradient(90deg,var(--accent1),var(--accent2));
  color:white;
  padding:10px 16px;
  border-radius:10px;
  text-decoration:none;
  border:none;
  cursor:pointer;
  font-weight:600;
  box-shadow: 0 6px 18px rgba(109,40,217,0.12);
}

.pr-btn:disabled{opacity:0.6;cursor:not-allowed}

.pr-btn-ghost{
  background:transparent;
  color:var(--accent1);
  border:1px solid rgba(255,255,255,0.04);
  box-shadow:none;
  margin-left:8px;
}

/* Actions */
.form-actions{margin-top:16px;display:flex;gap:10px;align-items:center}

/* Footer small link */
.pr-foot{margin-top:18px;color:var(--muted);font-size:13px}
.pr-foot a{color:inherit;text-decoration:underline}

/* Mobile */
@media (max-width:520px){
  .pr-card{padding:18px}
}
