/* Page connexion — alignement maquette XD */

.login-page {
  --login-bg: #f5f5f5;
  --login-muted: #555555;
  --login-accent: #e30613;

  background: var(--login-bg);
  padding: 2.5rem 1.5rem 3.5rem;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

.login-page__inner {
  max-width: 32rem;
  margin: 0 auto;
}

.login-page__title {
  font-style: italic;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.45;
  margin: 0 0 1.75rem;
  text-align: left;
}

.login-page__title-muted {
  color: var(--login-muted);
}

.login-page__title-accent {
  color: var(--login-accent);
}

.login-page__field {
  margin-bottom: 1rem;
}

.login-page__input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: none;
  border-radius: 47px;
  opacity: 1;
  padding: 1rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-style: normal;
  color: #374151;
  box-shadow: none;
  outline: none;
  transition: box-shadow 0.15s ease;
}

.login-page__input::placeholder {
  text-align: left;
  font: italic normal bold 0.7rem/1.125rem 'Neo Sans Std', 'Exo 2', system-ui, sans-serif;
  letter-spacing: 0;
  color: #c8c8c8;
  opacity: 1;
}

.login-page__input:focus {
  box-shadow: 0 0 0 2px rgba(227, 6, 19, 0.25);
}

.login-page__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.login-page__submit {
  background: transparent linear-gradient(90deg, #e30613 0%, #ee731c 100%) 0% 0%
    no-repeat padding-box;
  color: #ffffff;
  border: none;
  border-radius: 47px;
  padding: 0.7rem 1.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease, filter 0.15s ease;
}

.login-page__submit:hover {
  opacity: 0.92;
  filter: brightness(1.02);
}

.login-page__submit:focus-visible {
  outline: 2px solid #e30613;
  outline-offset: 2px;
}

.login-page__links {
  margin-top: 1.5rem;
  text-align: center;
}

.login-page__links a {
  font-size: 0.875rem;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s ease;
}

.login-page__links a:hover {
  color: #374151;
}

.login-page__legal {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.5;
}

.login-page__legal a {
  color: #6b7280;
  text-decoration: underline;
}

.login-page__legal a:hover {
  color: #374151;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
