*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: #464d5d;
  background: #f5f6f8;
}

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

.card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 40px 32px 32px;
}

.logo {
  display: block;
  width: 224px;
  height: 50px;
  margin: 0 auto 32px;
}

.form-title {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 600;
  color: #1a1f36;
  text-align: center;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #464d5d;
}

.field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d9dce3;
  border-radius: 6px;
  font-size: 16px;
  color: #1a1f36;
  outline: none;
  transition: border-color 0.15s ease;
}

.field input:focus {
  border-color: #457cff;
  box-shadow: 0 0 0 2px rgba(69, 124, 255, 0.2);
}

.field input::placeholder {
  color: #9aa3b2;
}

.legal {
  margin: 8px 0 20px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: #6b7280;
}

.legal a {
  color: #457cff;
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

.btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 6px;
  background: #457cff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover:not(:disabled) {
  background: #3468e0;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.footer-link {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
}

.footer-link a {
  color: #457cff;
  text-decoration: none;
}

.footer-link a:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}
