@use 'pix-design-tokens/breakpoints';
@use 'pix-design-tokens/typography';
@use "pix-design-tokens/colors";

.update-expired-password-form-page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: colors.$pix-primary-app-gradient;
  background-size: cover;

  abbr {
    text-decoration: none;
  }
}

.update-expired-password-form {
  &__container {
    display: flex;
    flex-direction: column;
    gap: var(--pix-spacing-4x);
    align-items: center;
    justify-content: space-around;
    width: 95%;
    max-width: 609px;
    margin: 10px auto;
    padding-top: 10px;
    background-color: var(--pix-neutral-0);
    border-radius: 10px;

    @include breakpoints.device-is('tablet') {
      width: 609px;
      margin: 20px 0;
      padding-top: 40px;
    }

    @include breakpoints.device-is('mobile') {
      padding-top: 20px;
    }
  }

  &__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 20px;
  }

  &__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 0 20px 30px;

    @include breakpoints.device-is('tablet') {
      padding: 0 80px 40px;
    }
  }

  &__error-notification-message {
    @extend %pix-body-s;

    max-width: 426px;
    color: var(--pix-error-700);
    text-align: center;
  }
}

.update-expired-password-form-body {
  &__input {
    width: 100%;
    max-width: 449px;

    @include breakpoints.device-is('tablet') {
      padding: 0;
    }
  }

  &__bottom-button {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: 100%;
  }
}

// Text Styles

.update-expired-password-form-title {
  @extend %pix-title-s;

  margin: 0;
  color: var(--pix-neutral-800);
  text-align: center;
}

.update-expired-password-form-subtitle {
  @extend %pix-body-m;

  width: 100%;
  margin: 10px 0 0;
  color: var(--pix-neutral-800);
  text-align: center;
}

.update-expired-password-form-text {
  @extend %pix-body-s;

  color: var(--pix-neutral-800);
  text-align: center;
}
