@use '@styles/variables.module.scss' as *;

// Success Left Side
.description {
  display: flex;
  flex-direction: column;

  h2 {
    color: $color-secondary;
    font-size: 2rem;
  }

  .features {
    list-style: none;
    height: 100%;

    font-size: 1.5rem;
    color: $color-muted;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;

    li {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
  }
}

.note {
  color: $color-secondary;
  font-size: 1.5rem;
}

// Success Right Side
.register {
  width: 47rem;

  .register-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;

    .label {
      margin-bottom: 1rem;

      font-size: 2rem;
      text-align: center;
      color: $color-primary;
    }

    .input-group {
      display: flex;
      gap: 2rem;
    }

    .register-btn {
      margin-top: 1rem;
    }

    .forgot-btn {
      padding: 0;
      align-self: center;
    }

    .line {
      display: flex;
      gap: 1rem;
    }
  }
}

@media (max-width: $bp-medium) {
  .register {
    width: 40rem;
  }
}

@media (max-width: $bp-medium-small) {
  .register {
    width: fit-content;

    .register-form {
      gap: 0.5rem;

      .input-group {
        flex-direction: column;
        gap: 0.5rem;
      }
    }
  }
}

@media (max-width: $bp-small) {
  .register {
    margin: 3rem;
  }
}

// Error page
.page {
  max-width: 100% !important;
  min-width: 30rem;

  .error {
    width: 50%;

    .center {
      padding-block: 2rem;
      color: $color-primary;

      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1.25rem;

      h2 {
        font-size: 2.3rem;
        text-align: center;
      }

      .message {
        font-size: 1.5rem;
        margin-bottom: 1rem;
      }
    }
  }
}
