.login {
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-block: 48px;

  flex-direction: column;
  align-items: center;
  gap: 64px;

  .login__container {
    width: 42%;
    height: auto;
    min-width: 320px;
    background-color: var(--white-primary);
    /* box-shadow: 0px 4px 100px 0px #00000029; */
    display: flex;
    border-radius: 2px;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 64px;
    z-index: 1;

    .login__step-title {
      position: relative;
      margin-bottom: 41px;

      h1 {
        text-align: center;
        font-family: "Poppins", serif;
        font-weight: 600;
        font-size: 38px;
        color: var(--dark-80);

        &::after {
          display: none;
        }
      }

      p {
        margin-top: 24px;
        font-family: "Inter", sans-serif;
        color: var(--dark-50);
        text-align: center;
        font-weight: 400;
        font-size: 16px;
      }

      &::after {
        content: "";
        width: 64px;
        height: 1px;
        background-color: var(--green-primary);
        position: absolute;
        top: calc(100% + 24px);
        right: 50%;
        transform: translateX(50%);
      }
    }

    .login__form {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 32px;
      font-family: "Inter", sans-serif;

      .login__form-field-container {
        display: flex;
        flex-direction: column;

        p {
          margin-top: 10px;
          font-weight: 400;
          font-size: 13px;
          color: var(--dark-50);
          opacity: 60%;
        }
      }

      .login__form-field {
        position: relative;

        label {
          position: absolute;
          top: 50%;
          left: 0;
          transform: translateY(-50%);
          pointer-events: none;
          font-weight: 400;
          font-size: 16px;
          color: #000000b2;
          opacity: 1;
        }

        input {
          width: 100%;
          padding-block: 22px;
          background-color: transparent;
          color: var(--dark-100);
          border: none;
          border-bottom: 1px solid var(--dark-80);
          outline: none;
        }

        input:hover,
        input:focus {
          border-bottom: 1px solid #00af4c;
        }

        input:hover + label {
          color: var(--dark-100);
        }

        input:focus + label {
          opacity: 0;
        }

        input:not(:placeholder-shown) + label {
          clip: rect(1px, 1px, 1px, 1px);
        }
      }

      .login__form-verification-code {
        display: flex;
        flex-direction: column;
        gap: 10px;

        span {
          color: #000000b2;
        }

        .verification__container {
          display: flex;
          justify-content: space-between;
          gap: 32px;

          input {
            width: 100%;
            height: 64px;
            outline: none;
            border: none;
            border-bottom: 1px solid var(--dark-80);
            text-align: center;
            font-size: 28px;
            color: var(--dark-80);
          }

          input:focus {
            border-color: var(--green-primary);
          }
        }

        p {
          font-weight: 400;
          font-size: 13px;
          color: var(--dark-50);
          opacity: 60%;
        }
      }

      .login__form-btn-container {
        display: flex;
        gap: 64px;
        justify-content: center;
      }

      .btn-default {
        margin-inline: auto;
        padding-inline: 38px;
        background-color: var(--green-primary);
        color: var(--white-primary);

        &::after {
          filter: invert(1) brightness(2);
        }

        &:hover {
          background-color: var(--white-primary);
          border-color: var(--dark-80);
          color: var(--dark-100);

          &::after {
            filter: none;
          }
        }
      }

      .btn-borderless {
        align-self: center;
      }
    }

    .steps__container {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;

      .step {
        font-family: "Inter", sans-serif;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px;

        .step__number {
          font-weight: 400;
          font-size: 16px;
          width: 32px;
          height: 32px;
          display: flex;
          align-items: center;
          justify-content: center;
          background-color: #cbd5e133;
          border-radius: 50%;
          aspect-ratio: 1;
          text-align: center;
        }

        p {
          font-weight: 500;
          color: var(--dark-50);
        }
      }
    }
  }

  @media (max-width: 1024px) {
    .login__container {
      padding: 32px;
      gap: 16px;

      .login__step-title {
        h1 {
          font-size: 32px;
        }

        p {
          margin-top: 16px;
        }
      }
    }
  }

  @media (max-width: 768px) {
    .login__container {
      padding: 16px;
    }
  }

  @media (max-width: 560px) {
    padding-block: 32px;

    .login__container {
      .login__step-title {
        h1 {
          font-size: 32px;
        }

        p {
          margin-top: 16px;
        }
      }
    }
  }
}
