@import '../../../../scss/settings/color-variables.scss';

.auth-main {
  position: relative;

  .auth-wrapper {
    height: 100%;
    width: 100%;
    min-height: 100vh;

    &.v3 {
      display: flex;
      align-items: center;

      .auth-form {
        flex-direction: column;
        background: url('../../../../assets/images/authentication/img-auth-bg.svg');
        min-height: 100vh;
        padding: 24px;
        background-repeat: no-repeat;
        background-size: auto 82%;
        background-position: left bottom;
        position: relative;
        justify-content: space-between;
        > * {
          position: relative;
          z-index: 5;
        }
        &:after {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: rgba($white, 0.2);
          backdrop-filter: blur(16px);
        }
      }
    }
    .auth-form {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-grow: 1;

      .card,
      .auth-info {
        width: 495px;
        max-width: 100%;
        box-shadow: none;

        @media (max-width: 576px) {
          width: 332px;
        }
      }

      img + span {
        padding-left: 15px;
      }

      h5 {
        span {
          text-decoration: underline;
        }
      }
    }
    .auth-footer,
    .auth-header {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
  }
}
