.login-page {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f6fc;
  padding: 2rem 1rem 3rem;
}

.login-shell {
  width: 100%;
  max-width: 400px;
}

.login-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(70, 40, 120, 0.12);
  padding: 2rem 1.75rem 1.75rem;
}

.login-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.login-brand .brand-logo {
  max-width: 159px;
  height: auto;
}

.login-label {
  display: block;
  margin: 0.85rem 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a738a;
  font-weight: 600;
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-icon {
  position: absolute;
  left: 0.9rem;
  width: 1.1rem;
  height: 1.1rem;
  color: #9a92a8;
}

.login-input {
  width: 100%;
  border: 1px solid #ddd6e8;
  border-radius: 12px;
  padding: 0.85rem 2.5rem 0.85rem 2.5rem;
  font-size: 0.95rem;
  outline: none;
}

.login-input:focus {
  border-color: #6c4dff;
  box-shadow: 0 0 0 3px rgba(108, 77, 255, 0.12);
}

.login-toggle {
  position: absolute;
  right: 0.55rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.login-submit {
  width: 100%;
  margin-top: 1.25rem;
  border: 0;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font-weight: 700;
}

.login-status {
  min-height: 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  text-align: center;
}

.login-status.is-error {
  color: #c0392b;
}

.login-status.is-ok {
  color: #1e8e3e;
}

.login-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.9rem;
}

.login-links a {
  color: #6c4dff;
  text-decoration: none;
}

.field-status {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
}

.field-status.is-ok {
  color: #1e8e3e;
}

.field-status.is-error {
  color: #c0392b;
}

.field-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #7a738a;
}
