:root{
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --primary: #1976d2;
  --primary-hover: #1565c0;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.wrap{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.card{
  width: 420px;
  max-width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  padding: 28px;
}

h1{
  font-size: 22px;
  margin: 0 0 6px 0;
  font-weight: 700;
}

.sub{
  margin: 0 0 18px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.field{ margin-bottom: 14px; }

label{
  display:block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

input{
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  background: #fff;
}

input:focus{
  border-color: rgba(25,118,210,.55);
  box-shadow: 0 0 0 3px rgba(25,118,210,.15);
}

.btn{
  width:100%;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 650;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
}

.btn:hover{ background: var(--primary-hover); }

.footer{
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  text-align:center;
}

.smalllink{
  color: var(--primary);
  text-decoration: none;
}
.smalllink:hover{ text-decoration: underline; }

.note{
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.hr{
  height:1px;
  background: var(--border);
  margin: 16px 0;
}
