:root {
  --app-icon-size-24: 24px;
  --app-icon-size-14: 14px;
  --buttons-height: 48px;
  --buttons-height-md: 42px;
  --buttons-height-sm: 36px;
  --icon-wrapper-height: 48px;
  --icon-wrapper-height-md: 36px;
  --btn-bg-black: #0d0d0e;
  --btn-bg-white: #ffffff;
  --btn-bg-yellow: #ffe608;
  --bg-black: #0d0d0e;
  --bg-white: #ffffff;
  --bg-yellow: #ffe608;
  --bg-grey: #9b9b9b;
  --bg-light-grey: #ececea;
  --bg-grey-rgba: rgba(0, 0, 0, 0.6);
  --text-black: #0d0d0e;
  --text-white: #ffffff;
  --text-yellow: #ffe608;
  --text-error: #ff4f52;
  --text-grey: #9b9b9b;
  --transition-global: background-color 0.3s ease, color 0.3s ease;
  --font-family-onest: 'Onest';
  --font-family-inter: 'Inter';
  --icon-size-small: 16px;
  --icon-size-14: 14px;
  --icon-size-medium: 24px;
  --icon-size-large: 24px;
}

/* HEADER */
.mrba-auth-header__content {
  background-color: var(--bg-white);
  padding: 36px 80px;
  border-bottom: 1px solid var(--bg-black);
  height: 108px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.mrba-auth-header__logo {
  display: block;
  width: 232px;
  height: 36px;
  background-image: url('../img/logo.svg');
  background-repeat: no-repeat;
  background-size: cover;
}

.mrba-auth-header__right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}

.mrba-auth-header__right button {
  border: none;
  border-radius: 40px;
  height: var(--buttons-height);
  background-color: var(--btn-bg-black);
  transition: var(--transition-global);
  font-family: var(--font-family-onest);
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: var(--text-white);
}

.mrba-auth-header__right button:hover {
  background-color: var(--btn-bg-yellow);
  color: var(--text-black);
}

.mrba-auth-header__right button:disabled {
  opacity: 90%;
  color: var(--text-grey);
  background-color: var(--btn-bg-black);
}

.mrba-auth-header__right span {
  padding: 14px 16px;
  font-family: 'Onest';
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

@media screen and (max-width: 768px) {
  .mrba-auth-header__content {
    padding: 16px 14px;
    height: 68px;
  }

  .mrba-auth-header__logo {
    width: 154px;
    height: 24px;
  }

  .mrba-auth-header__right button {
    height: var(--buttons-height-md);
  }

  .mrba-auth-header__right button span {
    font-size: 12px;
    line-height: 16px;
    padding: 4px;
  }
}

@media screen and (max-width: 480px) {
  .mrba-auth-header__content {
    padding: 12px 16px;
    height: 60px;
  }

  .mrba-auth-header__logo {
    width: 116px;
    height: 18px;
  }

  .mrba-auth-header__right button {
    height: var(--buttons-height-sm);
  }

  .mrba-auth-header__right .icon-sm-hide {
    display: none;
  }
}

/* FOOTER */
.mrba-auth-footer__content {
  background-color: var(--bg-black);
  color: var(--text-white);
  padding: 30px 96px;
  border-top: 1px solid var(--bg-white);
  height: 96px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.mrba-auth-footer__logo {
  display: block;
  width: 232px;
  height: 36px;
  background-image: url('../img/logo-yellow.svg');
  background-repeat: no-repeat;
  background-size: cover;
}

.mrba-auth-footer__left {
  display: flex;
  flex: 3;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.mrba-auth-footer__left a {
  font-family: 'Inter';
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.mrba-auth-footer__right {
  display: flex;
  flex: 1;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

@media screen and (max-width: 768px) {
  .mrba-auth-footer__content {
    padding: 22px 24px;
    height: 68px;
  }

  .mrba-auth-footer__logo {
    width: 154px;
    height: 24px;
  }

  .mrba-auth-footer__left a {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
  }
}

@media screen and (max-width: 480px) {
  .mrba-auth-footer__content {
    padding: 24px 16px;
    height: 178px;
    flex-direction: column;
    align-items: start;
    gap: 16px;
  }

  .mrba-auth-footer__logo {
    width: 116px;
    height: 18px;
  }

  .mrba-auth-footer__left {
    flex-direction: column;
    align-items: start;
  }
}

/* MAIN */
.mrba-auth-layout-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.mrba-auth-layout-container a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  cursor: pointer;
  color: var(--text-white);
}

.mrba-auth-layout-container__main {
  display: flex;
  background-color: var(--bg-black);
  flex: 1;
  overflow: hidden;
}

.mrba-auth-layout-container__main .mrba-auth-layout-content {
  display: flex;
  width: 100%;
}

.mrba-auth-layout-container__main .mrba-auth-layout-content__left {
  flex: 1;
}

.mrba-auth-layout-container__main .mrba-auth-layout-content__left img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mrba-auth-layout-container__main .mrba-auth-layout-content__right {
  flex: 1;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .show-for-desktop {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .mrba-auth-layout-container__main .mrba-auth-layout-content__left {
    display: none;
  }
}

/* ICONS */
.svg-icon {
  display: block;
  width: var(--icon-size-medium);
  height: var(--icon-size-medium);
}

@media screen and (max-width: 768px) {
  .svg-icon {
    width: var(--icon-size-small);
    height: var(--icon-size-small);
  }
}

@media screen and (min-width: 1280px) {
  .svg-icon {
    width: var(--icon-size-large);
    height: var(--icon-size-large);
  }
}

.icon-black-block-wrapper {
  width: var(--icon-wrapper-height);
  height: var(--icon-wrapper-height);
  border-radius: 50%;
  background-color: var(--btn-bg-black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.icon-black-block-wrapper:hover {
  background-color: var(--btn-bg-yellow);
}

.icon-black-block-wrapper:hover svg {
  fill: var(--bg-black);
}

.icon-black-block-wrapper svg {
  fill: var(--bg-white);
}

.icon-white-block-wrapper {
  width: var(--icon-wrapper-height);
  height: var(--icon-wrapper-height);
  border-radius: 50%;
  background-color: var(--btn-bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.icon-white-block-wrapper:hover {
  background-color: var(--btn-bg-yellow);
}

.icon-white-block-wrapper:hover svg {
  fill: var(--bg-black);
}

@media screen and (max-width: 768px) {
  .icon-black-block-wrapper,
  .icon-white-block-wrapper {
    width: var(--icon-wrapper-height-md);
    height: var(--icon-wrapper-height-md);
  }

  .icon-black-block-wrapper svg {
    width: var(--icon-size-small);
    height: var(--icon-size-small);
  }

  .icon-white-block-wrapper svg {
    width: var(--icon-size-14);
    height: var(--icon-size-14);
  }
}

/* FORM */

form {
  color: var(--text-white);
  height: 100%;
  font-family: var(--font-family-inter);
}

.auth-form {
  color: var(--text-white);
  height: 100%;
  font-family: var(--font-family-inter);
}
.auth-form.otp {
  height: fit-content;
}
.auth-form__block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.auth-form__block__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  padding-bottom: 32px;
  text-align: center;
  color: #9b9b9b;
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.auth-form__block__text strong {
  color: var(--text-white);
}

.auth-form__block__field {
  width: 100%;
  padding-bottom: 24px;
}

.auth-form.otp .auth-form__wrapper {
  padding: 40px 64px 0;
}

.auth-form__wrapper {
  height: inherit;
  border-radius: 0%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 64px;
  box-shadow: none;
  overflow-y: auto;
  overflow-x: hidden;
}

.auth-form .auth-form__header {
  padding: 0;
  text-align: center;
}

.auth-form .auth-form__header__title {
  font-family: var(--font-family-onest);
  font-size: 32px;
  line-height: 38px;
  font-weight: 600;
}

.auth-form .auth-form__header__subtitle {
  font-family: var(--font-family-inter);
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.auth-form .auth-form__link {
  font: var(--font-family-inter);
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  color: var(--text-white);
}

.auth-form .auth-form__content {
  padding-top: 32px;
  width: 100%;
}

.auth-form .auth-form__actions {
  width: 100%;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.auth-form .auth-form__actions a {
  font-family: var(--font-family-inter);
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}

.auth-form .auth-form__check-email-text {
  font-family: var(--font-family-inter);
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  text-align: center;
}

.auth-form button {
  border: none;
  border-radius: 40px;
  height: var(--buttons-height);
  width: 100%;
  background-color: var(--btn-bg-yellow);
  color: var(--text-black);
  transition: var(--transition-global);
  font-family: var(--font-family-onest);
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
}

.auth-form button:disabled {
  opacity: 90%;
  color: var(--text-grey);
}

@media screen and (max-width: 768px) {
  .auth-form__wrapper {
    padding: 24px 16px;
  }

  .auth-form button {
    height: var(--buttons-height-md);
    padding: 8px;
  }

  .auth-form .auth-form__actions a {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
  }
}

/* INPUTS */
.auth-input__input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  transition: color 0.2s linear;
  border-bottom: 1px solid var(--bg-grey);
}

.auth-input__prefix {
  color: var(--text-grey);
  padding: 5px 5px 5px 0;
  font-family: var(--font-family-inter);
  font-size: 16px;
  line-height: 18px;
  font-weight: 300;
}

input {
  padding: 5px 25px 5px 0;
  font-size: 16px;
  line-height: 18px;
  font-weight: 400;
  width: 100%;
  background-color: inherit;
  color: var(--text-white);
  outline: none;
  border: none;
  text-transform: uppercase;
}

input[disabled] {
  color: var(--text-grey);
}

input[type='text'][name='password'],
input[type='text'][name='password-confirm'],
input[type='text'][name='password-new'] {
  text-transform: none;
}

input::placeholder {
  color: var(--bg-grey);
  transition: color 0.2s linear;
  text-transform: uppercase;
}

.auth-input-field.interacted .auth-input__prefix,
.auth-input-field.highlighted .auth-input__prefix,
.auth-input-field.highlighted input::placeholder {
  color: var(--bg-white);
}

.auth-input-field.interacted .toggle-visibility,
.auth-input-field.highlighted .toggle-visibility {
  background-color: var(--bg-white);
  transition: background-color 0.2s linear;
  position: absolute;
  right: 0;
}

.auth-input-field.interacted input::placeholder {
  color: var(--bg-grey);
}

.auth-input-field.interacted .auth-input__input-wrapper,
.auth-input-field.highlighted .auth-input__input-wrapper {
  border-bottom: 1px solid var(--bg-white);
  transition: border-bottom 0.2s linear;
}

input:-webkit-autofill {
  color: var(--text-white) !important;
  -webkit-text-fill-color: var(--text-white) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  caret-color: var(--text-white);
}

.auth-input-error {
  font-family: var(--font-family-inter);
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
  color: var(--text-error);
}

/* ICONS */

.visibility {
  width: 18px;
  height: 18px;
  object-fit: cover;
  background-color: var(--bg-grey);
  cursor: pointer;
  mask-image: url('../icons/eye-active.svg');
}

.visibility_off {
  width: 18px;
  height: 18px;
  object-fit: cover;
  background-color: var(--bg-grey);
  cursor: pointer;
  mask-image: url('../icons/eye-inactive.svg');
}

/* CHECKBOX */
.auth-input-checkbox {
  display: block;
  position: relative;
  padding-left: 32px;
  margin: 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: 'Inter';
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  color: var(--text-white);
}

.auth-input-checkbox input:checked ~ .auth-input-checkbox__checkmark {
  background-color: var(--bg-white);
}

.auth-input-checkbox .auth-input-checkbox__checkmark {
  border: 1px solid var(--bg-white);
}

.auth-input-checkbox .auth-input-checkbox__checkmark:after {
  border: solid var(--bg-black);
  border-width: 0 2px 2px 0px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.auth-input-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.auth-input-checkbox input:checked ~ .auth-input-checkbox__checkmark:after {
  display: block;
}

.auth-input-checkbox__checkmark {
  position: absolute;
  top: 50%;
  left: 10px;
  height: 20px;
  width: 20px;
  background-color: transparent;
  transform: translate(-50%, -50%);
}

.auth-input-checkbox__checkmark:after {
  content: '';
  position: absolute;
  display: none;
  left: 6px;
  top: 1px;
  width: 7px;
  height: 12px;
}

@media screen and (max-width: 768px) {
  .auth-input-checkbox {
    font-size: 12px;
    line-height: 14px;
    font-weight: 400;
  }
}

/* RECAPTCHA  */

.auth-form .grecaptcha-badge {
  bottom: 105px !important;
}

@media screen and (max-width: 768px) {
  .auth-form .grecaptcha-badge {
    bottom: 75px !important;
  }
}

@media screen and (max-width: 480px) {
  .auth-form .grecaptcha-badge {
    bottom: 20px !important;
  }
}

/* MODAL */
.privacy-modal {
  background-color: var(--bg-grey-rgba);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  transition-property: visibility, opacity;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-modal.terms-and-conditions ul {
  list-style: disc;
}

.privacy-modal.show-modal {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.privacy-modal-content {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-grey);
  width: 100%;
  max-width: 1088px;
  margin: 0;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.modal-content-header {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bg-black);
  height: 62px;
}
.modal-content-header h2 {
  font-size: 1.5rem;
  line-height: 1.875rem;
  font-family: var(--font-family-onest);
  color: var(--text-black);
  font-weight: 500;
  margin: 0;
}
.modal-content-description {
  font-family: var(--font-family-inter);
  color: var(--text-black);
  font-size: 1rem;
  line-height: 20px;
  font-weight: 400;
  max-height: 610px;
  overflow-y: scroll;
  margin: 24px 24px 24px 0;
  padding: 0 24px;
}

.modal-content-description li,
.modal-content-description p {
  margin-bottom: 20px;
}
.modal-content-description h3,
.modal-content-description h4 {
  font-weight: 700;
  margin-bottom: 24px;
  margin-top: 0;
}
.modal-content-description ul {
  padding-left: 20px;
}
.modal-content-description a {
  color: var(--text-black);
  text-decoration: underline;
}
.modal-content-description::-webkit-scrollbar {
  width: 8px;
}
.modal-content-description::-webkit-scrollbar-thumb {
  background: var(--bg-black);
  border-radius: 10px;
  cursor: pointer;
}
.modal-content-description::-webkit-scrollbar-track {
  background: var(--bg-light-grey);
  border-radius: 10px;
  border: 2px solid var(--bg-white);
}
.close {
  cursor: pointer;
}
.close:hover,
.close:focus {
  color: var(--text-black);
  cursor: pointer;
}
