@use "../auth-common" as auth;
@use "../../../../styles/mixins.scss";

.header {
  @include auth.auth-header;
}

.forgotPasswordCard {
  @include auth.auth-card;

  form {
    @include auth.auth-inputs;
    @include auth.auth-button(0.5rem);
  }

  footer {
    @include auth.auth-footer-link;
  }
}

.successMessage {
  text-align: center;
  padding: 1.5rem;
  background: var(--hi-color-gray);
  border-radius: var(--hi-radius-xl);
  border: 1px solid var(--hi-color-money-green);

  @include mixins.respond-below(sm) {
    padding: 1.25rem;
  }

  .successIcon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--mantine-color-green-0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hi-color-money-green);

    @include mixins.respond-below(sm) {
      width: 44px;
      height: 44px;
    }
  }

  h3 {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--hi-text);

    @include mixins.respond-below(sm) {
      font-size: 1rem;
    }
  }

  p {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--hi-color-gray-dark);

    @include mixins.respond-below(sm) {
      font-size: 0.875rem;
      margin-bottom: 1rem;
    }
  }

  a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--mantine-color-secondary-5);
    font-weight: 600;
    transition: color 0.2s ease;

    &:hover {
      color: var(--mantine-color-secondary-7);
    }
  }
}
