/* ==========================================================================
   Auth forms — логін / реєстрація / відновлення пароля
   BEM · під вигляд сторінки логіна CSI (сірі інпути, червона кнопка)
   ========================================================================== */

   :root {
    --auth-red:       #ce1f2d;
    --auth-red-hover: #b31a26;
    --auth-blue:      #0073b2;
    --auth-input-bg:  #efefef;
    --auth-text:      #1a1a1a;
    --auth-muted:     #6b7280;
    --auth-max:       620px;   /* ширина колонки форми; підганяй під макет */
  }

  .auth-form {
    max-width: var(--auth-max);
    margin: 0 auto;
    text-align: left;
  }

  .auth-form__intro {
    max-width: var(--auth-max);
    margin: 0 auto 28px;
    text-align: center;
    line-height: 1.5;
    color: var(--auth-text);
  }

  .auth-form__row {
    margin-bottom: 18px;
  }

/* Лейбли ховаємо візуально (лишаються для скрінрідерів),
   текст-підказку дає placeholder — як на макеті. */
   .auth-form__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .auth-form__input {
    width: 100%;
    border: 0;
    border-radius: 0;
    background: var(--auth-input-bg);
    color: var(--auth-text);
    font: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 18px 20px;
  }
  .auth-form__input::placeholder {
    color: var(--auth-muted);
    font-weight: 700;
    opacity: 1;
  }
  .auth-form__input:focus {
    outline: 2px solid var(--auth-blue);
    outline-offset: 0;
  }

  .auth-form__remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 22px;
    font-size: .95rem;
    color: var(--auth-text);
    cursor: pointer;
  }

  .auth-form__submit {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border: 0;
    border-radius: 0;
    background: var(--auth-red);
    color: #fff;
    font: inherit;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: .02em;
    padding: 16px 24px;
    cursor: pointer;
    transition: background .15s ease;
  }
  .auth-form__submit:hover {
    background: var(--auth-red-hover);
  }
  .auth-form__submit:focus-visible {
    outline: 3px solid var(--auth-blue);
    outline-offset: 3px;
  }

  .auth-form__links {
    margin: 16px 0 0;
    text-align: center;
  }
  .auth-form__links a {
    color: var(--auth-red);
    font-weight: 700;
    text-decoration: none;
  }
  .auth-form__links a:hover {
    text-decoration: underline;
  }

/* Повідомлення (помилка / успіх) */
.auth-form__notice {
  max-width: var(--auth-max);
  margin: 0 auto 16px;
  padding: 12px 16px;
  font-size: .95rem;
  text-align: center;
}
.auth-form__notice a {
  color: inherit;
  font-weight: 700;
}
.auth-form__notice--error {
  background: rgba(206, 31, 45, .1);
  color: var(--auth-red);
}
.auth-form__notice--success {
  background: rgba(0, 115, 178, .1);
  color: var(--auth-blue);
}


.login-page{
  padding: 20px 0;
}

.login-page h1{
  text-align: center;
}

.login-page p{
  text-align: center;
}
