@use 'pix-design-tokens/typography';
@use 'pix-design-tokens/fonts';
@use 'pix-design-tokens/breakpoints';

.join-request {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  background: var(--pix-orga-500);

  a {
    text-decoration: underline;
  }

  &__panel {
    display: flex;
    flex-direction: column;
    padding: 32px 10px 20px;

    @include breakpoints.device-is('tablet') {
      margin: 10px 0;
      padding: 32px 67px 20px;
    }
  }

  &__title {
    @extend %pix-title-m;

    margin: 14px 0;
    text-align: center;
  }

  &__description {
    @extend %pix-body-s;

    max-width: 497px;
    margin: auto;
    text-align: center;
  }

  &__error-message {
    max-width: 497px;
    margin-top: var(--pix-spacing-6x);
    margin-bottom: 24px;
    font-size: 0.875rem;
    text-align: center;
  }

  &__success {
    margin-top: 54px;
    margin-bottom: 24px;
    color: var(--pix-neutral-900);
    letter-spacing: 0.15px;
    text-align: center;
  }

  .pix-button {
    width: 100%;
  }
}
