.d-only { display: flex !important; }
.m-only { display: none !important; }

.main-container {
  width: 100%;
  height: 100vh;
  display: flex;

  & .quick-login {
    width: calc(100% - 50%);
    display: flex;
    flex-direction: column;

    & > * {
      margin-top: 2rem;
    }

    & .continue-session {
      display: flex;
      justify-content: center;
      align-items: center;
      border: 0.1rem solid #767676 !important;
      padding: 1rem;
      background-color: #F2F2F2;
      cursor: pointer;
      transition: all 0.3s;

      &:hover {
        transform: scale(1.02);
      }

      & .user-data p {
        font-size: 1.1rem;

        &:first-child {
        font-size: 1.4rem;
          font-weight: 600;
        }
      }
    }

    & .new-login {
      display: flex;
      justify-content: center;
      align-items: center;
      border: 0.1rem solid #767676 !important;
      padding: 1rem;
      background-color: #F2F2F2;
      cursor: pointer;
      transition: all 0.3s;

      &:hover {
        transform: scale(1.02);
      }

      & i {
        font-size: 2rem;
        margin-right: 1rem;
      }

      & p {
        font-weight: 600;
      }
    }
  }

  & .abeelity-hexagon {
    width: 6rem;
    height: 6rem;
    background-color: #FFC52C; /* amarelo ouro */
    position: relative;
    margin: 5px 1rem 5px 0;
    clip-path: polygon(
      50% 0%, 100% 25%, 100% 75%,
      50% 100%, 0% 75%, 0% 25%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #2E2C2B;

    & .initials {
      color: #2E2C2B;
      font-size: 2rem;
      font-weight: 800;
      z-index: 1;
      text-transform: uppercase;
    }
  }

  & .form-section {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 10;

    & .content {
      width: 100%;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      & img {
        width: 32rem;
      }

      & form {
        margin-top: 2rem;
        width: calc(100% - 50%);
        display: flex;
        flex-direction: column;

        & input[type="text"], input[type="password"] {
          margin-bottom: 1rem;
          text-align: center;
        }
      }

      & > #formValidation {
        & input[type="text"] {
          font-size: 3rem;
          font-weight: 800;
          text-align: center;
        }

        & .letter-spacing {
          letter-spacing: 1rem;
        }
      }

      & .page-description {
        margin-top: 3rem;
        width: calc(100% - 50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0rem 25%;
      }

      & .page-description h2 {
        text-align: center;
      }

      & .page-description p {
        text-align: center;
      }

      & .form-message {
        margin: 5rem 0rem 2rem;
      }
    }

    .validation-timer {
      margin-top: 1rem;
      font-size: 1.4rem;
    }

    .divider {
      width: calc(100% - 42%);
      margin: 2rem 0;

    }

    .create-account {
      width: calc(100% - 50%);

      & button {
        width: 100%;
      }
    }

    & .copyright {
      & p {
        font-size: 1.1rem;
        font-weight: 300;
        padding: 1rem;
      }
    }
  }

  & .background-section {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    
    background-image: url('../images/abeelity-para-colaboradores.png');
    background-size: cover;
  }
}

/* MOBILE: Adequações mobile */
@media screen and (max-width: 1024px) {
  .d-only { display: none !important; }
  .m-only { display: flex !important; }

  & .form-section {
    width: 100% !important;
    max-height: 100vh;

    & .content {
      width: 100%;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      & img {
        width: 22rem !important;
      }

      & form {
        width: calc(100% - 20%) !important;
      }

      & > #formValidation {
        & input[type="text"] {
          font-size: 3rem;
          font-weight: 800;
          text-align: center;
        }

        & .letter-spacing {
          letter-spacing: 1rem;
        }
      }

      & .page-description {
        width: calc(100% - 20%) !important;
      }
    }
  }

  & .quick-login {
    width: calc(100% - 20%) !important;
  }
}