* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111827;
  background: #f1f2f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 22px; color: #111827; text-decoration: none;
  margin-bottom: 24px;
}
.mark {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: #3b5bfd; color: #fff; font-size: 13px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(59, 91, 253, .35);
}
.card {
  width: 100%; max-width: 400px;
  background: #fff; border-radius: 16px; padding: 32px;
  box-shadow: 0 10px 40px rgba(17, 24, 39, .08);
}
h1 { margin: 0 0 6px; font-size: 24px; }
.sub { margin: 0 0 24px; color: #6b7280; font-size: 14px; }
label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin: 0 0 6px; }
input {
  width: 100%; padding: 12px 14px; margin-bottom: 16px;
  border: 1.5px solid #e5e7eb; border-radius: 10px; font-size: 15px;
  outline: none; transition: border-color .15s;
}
input:focus { border-color: #3b5bfd; }
.error {
  background: #fef2f2; color: #b91c1c; font-size: 13px;
  padding: 10px 12px; border-radius: 8px; margin-bottom: 16px;
}
.btn {
  width: 100%; padding: 13px; border: 0; border-radius: 10px;
  font-size: 15px; font-weight: 600; cursor: pointer;
}
.btn.primary { background: #3b5bfd; color: #fff; }
.btn.primary:hover { background: #2f4ae0; }
.alt { text-align: center; font-size: 14px; color: #6b7280; margin: 20px 0 0; }
.alt a { color: #3b5bfd; font-weight: 600; text-decoration: none; }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 44px; }
.eye {
  position: absolute; right: 6px; top: 6px;
  width: 34px; height: 34px; border: 0; background: none;
  cursor: pointer; font-size: 16px; opacity: .55; border-radius: 6px;
}
.eye:hover { opacity: 1; background: #f3f4f6; }
.forgot {
  display: block; text-align: right; margin: -8px 0 16px;
  font-size: 13px; color: #3b5bfd; text-decoration: none;
}
