@import 'moda-themes/themes';

.mo-web-register-page {
  width: 100vw;
  height: auto;

  .mo-web-login-modal {
    margin: 100px auto;
    width: 100%;
    max-width: 900px;
    text-align: center;

    .mo-web-modal-tab {
      display: none;
    }
    .mo-web-authentication-form {
      display: inline-block;
      text-align: left;
      width: calc(50% - 101px);
      vertical-align: top;
      padding: 0px 50px;

      .authentication-opt-out-privacy-policy a {
        display: inline;
      }

      &:first-child {
        border-right: 1px solid color('cashmere');
      }
    }
  }

  @media screen and (max-width: 992px) {
    background: color('noise');
    font-size: 14px;
    min-width: 320px;
    max-width: 992px;

    .mo-web-login-modal {
      width: calc(100% - 40px);
      padding: 20px 0 50px;

      .mo-web-modal-tab {
        display: inline-block;
      }

      .mo-web-login-modal-content {
        padding: 25px;
        background: white;

        .mo-web-authentication-form {
          display: none;
          border: none;

          .authentication-title {
            display: none;
          }

          &[data-active='true'] {
            display: block;
            width: 100%;
            padding: 0px;
          }

          .authentication-name-input {
            display: block;
            width: 100%;
          }

          .authentication-checkbox {
            display: table;
            width: 100%;

            &.authentication-remember-me {
              width: 50%;
            }

            span {
              display: table-cell;
              vertical-align: middle;
            }
          }
        }
      }
    }
  }
}
