.page-create-business-account {
  .account-heading__title {
    text-transform: none;
  }
}

.page-create-business-account,
.page-edit-business-account,
.page_my-account_new,
.account-hub {
  .globalMessages {
    width: 100%;

    .container {
      padding-left: 0;
      padding-right: 0;
    }
  }
}

.page-create-business-account,
.page-edit-business-account,
.account-hub {
  .account-heading__content {
    border: 0;
  }
}

.page-create-business-account,
.page-edit-business-account {
  .content {
    padding-left: 0;
    padding-right: 0;
  }
}

.account-form {
  &__top-action {
    margin: 0 15px 40px;
  }

  &__section {
    margin-bottom: 40px;
    padding: 15px;
    border-radius: $ac-border-radius;
    background: $blue-transparent10;
  }

  &__group {
    padding: 15px 0;
    border-radius: $ac-border-radius;
    background: $white;
  }

  [data-finder] + [data-manually] {
    padding-top: 10px;
  }

  .form-row {
    margin-bottom: 10px;

    .tbx {
      &:read-only {
        background: $blue-transparent10;
        border-color: transparent;
      }
    }

    &:last-of-type {
      margin-bottom: 0;
    }
  }

  &__warning {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 400;
  }

  &__title {
    margin: 20px 0;
    font-size: 1.25rem;
    color: $blue-dark;

    &:first-child {
      margin-top: 0;
    }
  }

  &__actions {
    padding: 0 15px;

    .btn {
      margin-bottom: 10px;

      &:last-child {
        margin-bottom: 0;
      }
    }
  }
}

@include media-breakpoint-up(sm) {
  .page-create-business-account,
  .page-edit-business-account {
    .account-heading {
      padding-left: 0;
    }
  }

  .page-create-business-account,
  .page-edit-business-account,
  .page_my-account_new,
  .account-hub {
    .container {
      padding-left: 0;
      padding-right: 0;
    }
  }

  .account-form {
    .form-row {
      margin-left: 0;
      margin-right: 0;
      padding-left: 0;
      padding-right: 0;
    }

    &__actions {
      padding: 0;
    }

    &__top-action {
      margin-left: 0;
      margin-right: 0;
    }
  }
}

@include media-breakpoint-up(md) {
  .page-create-business-account {
    .account-heading__content {
      margin-bottom: 15px;
    }
  }

  .account-form {
    &__top-action {
      margin-left: 15px;
      margin-right: 15px;
    }

    &__actions {
      display: flex;
      flex-direction: row-reverse;
      column-gap: 10px;

      .btn {
        margin-bottom: 0;
      }
    }
  }
}

@include media-breakpoint-up(lg) {
  .page-create-business-account,
  .page-edit-business-account,
  .account-hub {
    .content {
      padding-left: 15px;
      padding-right: 15px;
    }
  }

  .page-create-business-account {
    .account-heading__content {
      margin-bottom: 10px;
    }
  }

  .account-form {
    &__actions {
      padding: 0;
    }

    &__top-action {
      margin-left: 0;
      margin-right: 0;
    }
  }
}
