@import '../helpers/helpers';

.marketing-preferences {
  padding-top: 0;

  .globalMessages {
    padding-top: 16px;
    padding-bottom: 8px;

    .notification:last-child {
      margin-bottom: 0;
    }
  }

  .title {
    margin-bottom: 16px;
    text-align: left;
  }

  .form-preferences {
    margin-top: 16px;
  }

  &__information {
    margin-top: 16px;
    display: flex;
    align-items: flex-start;
    background: $ma-white;
    padding: 8px;
    grid-gap: 8px;

    .information {
      font-weight: 700;
      color: $blue-dark;
      margin-bottom: 8px;
    }

    .sub-information {
      margin-bottom: 0;
      font-size: .75rem;
      font-weight: 400;
      line-height: 1rem;
      color: $blue-dark;

      &__tel {
        white-space: nowrap;
        font-weight: 700;
      }
    }
  }

  .icon-wrap {
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;

    .icon-info {
      font-size: 1.25rem;
      color: $blue-satin;
    }
  }
}

@include media-breakpoint-up(sm) {
  .marketing-preferences {
    .btn--save {
      max-width: 120px;
    }
  }
}

@include media-breakpoint-up(md) {
  .marketing-preferences {
    padding-bottom: 72px;

    .form-preferences {
      margin-top: 24px;
    }

    .title {
      font-size: 2.125rem;
      font-weight: 500;
      line-height: 2.875rem;
      margin-bottom: 24px;
    }
  }
}

@include media-breakpoint-up(lg) {
  .marketing-preferences {
    padding-top: 40px;

    .globalMessages {
      padding-top: 0;
      padding-bottom: 0;
    }
  }
}
