@use "_theme.scss";

.ng-thankyou-page-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 60px;
  &.loader-background {
    width: 100%;
    height: 100%;
    background-color: #767676;
    opacity: .6;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  @media (max-width: theme.$md) {
    padding: 30px 30px 40px;
  }

  .thankyou-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 30px;
    @media (max-width: theme.$md) {
      margin-bottom: 20px;
    }
  }

  .thankyou-page-main-text {
    font-size: var(--ordercompletepage-main-text);
    color: var(--text-color-ultra-dark);
    margin-bottom: 10px;
    @media (max-width: theme.$md) {
      font-size: var(--text-size-h2);
    }
  }

  .thankyou-page-sub-text, .approval-message {
    text-align: center;
    font-size: var(--ordercompletepage-sub-text);
    color: var(--text-color-ultra-dark);
    @media (max-width: theme.$md) {
      font-size: var(--text-size-label);
    }
  }

  .order-number-block {
    margin: 40px auto 10px;
    font-size: var(--text-size-h3);
    color: var(--text-color-ultra-dark);
    display: flex;
    @media (max-width: theme.$md) {
      margin: 30px auto 10px;
      font-size: var(--text-size-label);
    }
    .order-number {
      font-weight: bold;
    }
  }

  .approval-message {
    margin-top: 20px;
  }

  .link-block {
    display: flex;
    margin-bottom: 40px;
    color: var(--color-highlight);
    font-size: var(--text-size-h3);
    .link {
      display: block;
      text-decoration: none;
      padding: 0 5px;
    }
    @media (max-width: theme.$md) {
      margin-bottom: 30px;
      font-size: var(--text-size-label);
    }
  }
  .action-button {
    padding: 11px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
  }
  a {
    text-decoration: none;
  }
}