@charset "UTF-8";
/* Переменные */
:root {
  --be-primary-color: rgba(31, 29, 76, 1);
  --be-primary-hover: rgba(60, 57, 146, 1);
  --be-text-color: rgba(26, 39, 69, 1);
  --be-border-color: #ddd;
  --be-bg-color: #ffffff;
  --be-transition: all 0.3s ease;
  /* Дополнительные переменные */
  --be-secondary-color: rgba(121, 119, 148, 1);
  --be-link-color: rgba(76, 73, 179, 1);
  --be-field-bg: rgba(245, 245, 245, 1);
  --be-field-border: rgba(207, 207, 207, 1);
  --be-toggle-color: #666;
  --be-error-color: #dc3232;
}

.page-id-1190 .page-header,
.page-id-4444 .page-header,
.page-id-576423 .page-header {
  display: none;
}

/* Базовые стили модуля авторизации */
.be-auth {
  font-family: "Roboto", sans-serif;
  color: var(--be-text-color);
  text-align: center;
  /* Форма */
}
.be-auth__container {
  width: 460px;
  margin: 0 auto;
  padding: 46px;
  background: var(--be-bg-color);
  border-radius: 24px;
  box-shadow: 0 0 16px rgba(31, 29, 76, 0.1);
  display: grid;
  gap: 32px;
  justify-items: center;
}
.be-auth__header {
  display: grid;
  gap: 8px;
}
.be-auth .be-auth__logo {
  max-width: 220px;
  height: auto;
  border: unset;
  margin-bottom: unset;
  margin-top: unset;
}
.be-auth .be-auth__header-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0;
  margin-top: 0;
}
.be-auth .be-auth__header-description {
  font-size: 16px;
  margin-bottom: 0;
  margin-top: 0;
}
.be-auth .be-auth__header-description a {
  color: var(--be-link-color);
  text-decoration: underline !important;
  transition: 2ms;
}
.be-auth .be-auth__header-description a:hover {
  color: rgb(60, 57, 146);
}
.be-auth__body {
  width: 100%;
  display: grid;
  gap: 24px;
}
.be-auth__form {
  display: grid;
  gap: 16px;
}
.be-auth__form-title {
  font-size: 16px;
  color: var(--be-secondary-color);
  margin-bottom: 4px;
  margin-top: 0;
}
.be-auth__form-group {
  display: grid;
  gap: 8px;
}
.be-auth__form .be-auth__form-note {
  font-size: 14px;
  font-weight: 300;
  text-align: left;
  color: var(--be-secondary-color);
  margin-left: 8px;
  margin-top: 0;
  margin-bottom: 0;
}
.be-auth__form .be-auth__form-note a {
  font-size: 14px;
  color: var(--be-link-color);
  text-decoration: underline !important;
  transition: 2ms;
}
.be-auth__form .be-auth__form-note a:hover {
  color: rgb(60, 57, 146);
}
.be-auth__form-floating {
  position: relative;
}
.be-auth__form-label {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 400;
  color: var(--be-secondary-color);
  pointer-events: none;
  transform-origin: left center;
  transition: all 0.2s ease;
}
.be-auth__form-floating .be-auth__form-input:focus ~ .be-auth__form-label, .be-auth__form-floating .be-auth__form-input:not(:placeholder-shown) ~ .be-auth__form-label, .be-auth__form-floating.has-value .be-auth__form-label, .be-auth__form-floating .be-auth__form-input:not(:focus):not(:placeholder-shown) ~ .be-auth__form-label, .be-auth__form-floating .be-auth__form-input:-webkit-autofill ~ .be-auth__form-label, .be-auth__form-floating .be-auth__form-input:autofill ~ .be-auth__form-label {
  transform: translateY(-130%);
  font-size: 14px;
  font-weight: 300;
}
.be-auth__form .be-auth__form-input {
  width: 100%;
  padding: 26px 24px 6px 24px;
  min-height: 58px;
  border: 1px solid var(--be-field-bg);
  border-radius: 16px;
  font-size: 16px;
  transition: var(--be-transition);
  background-color: var(--be-field-bg);
  box-sizing: border-box;
}
.be-auth__form .be-auth__form-input:focus {
  outline: none;
  border-color: var(--be-field-border);
}
.be-auth__form .be-auth__form-input.has-error {
  border-color: var(--be-error-color) !important;
}
.be-auth__form .be-auth__form-input.has-error:focus {
  border-color: var(--be-error-color) !important;
}
.be-auth__form .be-auth__form-label.has-error {
  color: var(--be-error-color) !important;
}
.be-auth__form-password-wrapper {
  position: relative;
}
.be-auth__form-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: var(--be-toggle-color);
  transition: var(--be-transition);
}
.be-auth__form-password-toggle:hover {
  color: var(--be-primary-color);
  background-color: unset;
}
.be-auth__form-password-toggle img {
  border: unset;
  width: 20px;
  height: 20px;
}
.be-auth__form .be-auth__form-submit {
  width: 100%;
  height: 58px;
  background: var(--be-primary-color);
  border: 1px solid var(--be-primary-hover);
  color: white;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--be-transition);
}
.be-auth__form .be-auth__form-submit:hover {
  background: var(--be-primary-hover);
}
.be-auth__form .be-auth__form-submit--second {
  background: var(--be-bg-color);
  border: 1px solid var(--be-primary-color);
  color: var(--be-primary-color);
}
.be-auth__form .be-auth__form-submit--second:hover {
  background: var(--be-bg-color);
  border: 1px solid var(--be-primary-hover);
  color: var(--be-primary-hover);
}
.be-auth.fancybox__content {
  background: none;
  padding: 0;
}

@media (max-width: 667px) {
  .be-auth {
    padding: 0;
  }
  .be-auth__container {
    width: 100%;
    padding: 24px 16px;
    border-radius: 16px;
    gap: 20px;
    box-shadow: 0 0 12px rgba(31, 29, 76, 0.08);
  }
  .be-auth .be-auth__logo {
    max-width: 180px;
  }
  .be-auth .be-auth__header-title {
    font-size: 18px;
  }
  .be-auth .be-auth__header-description {
    font-size: 14px;
  }
  .be-auth__body {
    gap: 16px;
  }
  .be-auth__form {
    gap: 12px;
  }
  .be-auth__form-group {
    gap: 8px;
  }
  .be-auth__form .be-auth__form-input {
    min-height: 52px;
    padding: 22px 16px 6px 16px;
    border-radius: 14px;
    font-size: 15px;
  }
  .be-auth__form-label {
    left: 16px;
    font-size: 15px;
  }
  .be-auth__form-floating .be-auth__form-input:focus ~ .be-auth__form-label, .be-auth__form-floating .be-auth__form-input:not(:placeholder-shown) ~ .be-auth__form-label, .be-auth__form-floating.has-value .be-auth__form-label, .be-auth__form-floating .be-auth__form-input:not(:focus):not(:placeholder-shown) ~ .be-auth__form-label {
    font-size: 12px;
  }
  .be-auth__form .be-auth__form-submit {
    height: 52px;
    border-radius: 14px;
    font-size: 16px;
  }
  .be-auth__form-password-toggle {
    right: 8px;
  }
  .be-auth__form .be-auth__form-note {
    font-size: 12px;
    margin-left: 0;
  }
  .be-auth__form .be-auth__form-note a {
    font-size: 12px;
  }
  .be-auth.fancybox__content {
    width: calc(100% - 32px);
    padding: 0;
  }
  .be-auth .f-button.is-close-btn {
    width: 20px;
    height: 20px;
  }
}

/*# sourceMappingURL=style.css.map */
