/* Registration page — layout aligned with design mockup */

.f-userregister-page {
  --userregister-accent: #ed7b66;
  --userregister-accent-hover: #f18d78;
}

.s-margin-bottom-s {
  margin-bottom: 16px;
}
@media (min-width: 640px) {
  .s-margin-bottom-s {
    margin-bottom: 24px;
  }
}

.f-userregister-page .registration-part.part-login {
  align-items: center;
  padding-top: 0;
}

.f-userregister-page .login-box-container {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 0 16px 56px;
}

.f-userregister-page .login-box-msg {
  margin-bottom: 32px;
}

.f-userregister-page .login-box-header {
  margin-bottom: 0;
}

.f-userregister-page .login-box__form .form-group {
  margin-bottom: 0;
}

.f-userregister-page .login-box__form .c-form-item {
  position: relative;
}

.f-userregister-page .login-box__form .c-form-item.c-form-item--with-status {
  padding-top: 24px;
}

.f-userregister-page .login-box__form .c-form-item.c-form-item--with-status .c-form-item__status {
  position: absolute;
  top: 0;
  left: 0;
}

.f-userregister-page .login-box__form .c-form-item .c-form-item__input {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 48px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 48px 0 20px;
  color: #1a3d51;
  border: 1px solid #c4c4c4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.f-userregister-page .login-box__form .c-form-item .c-form-item__input:focus {
  border-color: var(--userregister-accent);
  outline: none;
  box-shadow: none;
}

.f-userregister-page .login-box__form .c-form-item .login-box__icon {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 0;
  width: 48px;
  height: 48px;
  pointer-events: none;
}

.f-userregister-page .login-box__form .c-form-item.login-box__input-email .login-box__icon {
  background: transparent url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxOCAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE2LjIgMC4xNTQxNzVIMS44QzAuODEgMC4xNTQxNzUgMC4wMDg5OTk5OSAwLjk1NzAzOCAwLjAwODk5OTk5IDEuOTM4MzJMMCAxMi42NDMyQzAgMTMuNjI0NCAwLjgxIDE0LjQyNzMgMS44IDE0LjQyNzNIMTYuMkMxNy4xOSAxNC40MjczIDE4IDEzLjYyNDQgMTggMTIuNjQzMlYxLjkzODMyQzE4IDAuOTU3MDM4IDE3LjE5IDAuMTU0MTc1IDE2LjIgMC4xNTQxNzVaTTE2LjIgMy43MjI0Nkw5IDguMTgyODFMMS44IDMuNzIyNDZWMS45MzgzMkw5IDYuMzk4NjdMMTYuMiAxLjkzODMyVjMuNzIyNDZaIiBmaWxsPSIjQzRDNEM0Ii8+Cjwvc3ZnPgo=') right 16px center no-repeat;
}

.f-userregister-page .login-box__form .c-form-item__status {
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  margin-bottom: 8px;
  text-align: left;
}

.f-userregister-page .login-box__form .c-form-item__status.c-form-item__status--error {
  color: rgb(255, 93, 122);
}

.f-userregister-page .login-box__form .f-button-salmon.login-box__button-login {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  color: #ffffff;
  border: none;
  border-radius: 100px;
  background-color: var(--userregister-accent);
  box-sizing: border-box;
  cursor: pointer;
}

.f-userregister-page .login-box__form .f-button-salmon.login-box__button-login:hover {
  color: #ffffff;
  background-color: var(--userregister-accent-hover);
}

.f-userregister-page .login-box__form .f-button-salmon.login-box__button-login:disabled {
  cursor: not-allowed;
  background-color: #90a4ae;
}

.f-userregister-page .login-box__form .f-button-salmon.login-box__button-login:disabled:hover {
  background-color: #90a4ae;
}

.f-userregister-page .userregister-agreement-notice {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  line-height: 18px;
  margin: 16px 0 24px;
  text-align: center;
  color: #90a4ae;
}

.f-userregister-page .userregister-agreement-notice a {
  text-decoration: underline;
  color: #00a5ff;
}

.f-userregister-page .userregister-agreement-notice a:hover,
.f-userregister-page .userregister-agreement-notice a:focus {
  color: #33b7ff;
}

.f-userregister-page .login-box__socials-header {
  margin-top: 0;
  margin-bottom: 16px;
  padding-top: 32px;
}

.f-userregister-page .login-box__socials {
  margin-bottom: 32px;
}

.f-userregister-page .login-box__registration-link {
  margin-top: 0;
}

/* Full-width split — orange panel to viewport edge */
.f-userregister-page .f-section--registration .container.f-container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.f-userregister-page .f-section--registration .row {
  margin-left: 0;
  margin-right: 0;
}

.f-userregister-page .registration-block__container {
  padding-left: 0;
  padding-right: 0;
}

.f-userregister-page .registration-block {
  width: 100%;
}

@media (min-width: 768px) {
  .f-userregister-page .registration-part.part-login {
    width: 50vw;
    flex: 0 0 50vw;
    max-width: 50vw;
  }

  .f-userregister-page .registration-part.part-orange {
    width: 50vw;
    flex: 0 0 50vw;
    max-width: 50vw;
  }
}

/* Right panel — hero illustration */
.f-userregister-page .registration-part.part-orange {
  background-color: var(--userregister-accent);
  overflow: hidden;
}

.f-userregister-page .registration-part.part-orange:after {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--userregister-accent);
  background-image: url('../images/registration/registration-bg-full.png');
  background-image: image-set(
    url('../images/registration/registration-bg-full.png.webp') type('image/webp'),
    url('../images/registration/registration-bg-full.png') type('image/png')
  );
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
