/**
 * Copyright (c) HashiCorp, Inc.
 * SPDX-License-Identifier: MPL-2.0
 */

.box {
  background-color: $white;
  border-radius: 0;
  box-shadow: 0 0 0 1px rgba($grey-dark, 0.3);
  color: $ui-gray-900;
  display: block;
  padding: $size-5;

  &:not(:last-child) {
    margin-bottom: 1.5rem;
  }

  &.is-fullwidth {
    padding-left: 0;
    padding-right: 0;
  }

  &.no-padding-top {
    padding-top: 0;
  }

  &.has-slim-padding {
    padding: 9px 0;
  }

  &.no-top-shadow {
    box-shadow: inset 0 -1px 0 0 rgba($black, 0.1);
  }

  &.has-container {
    box-shadow: 0 4px 4px rgba($black, 0.25);
    border: $base-border;
    padding: $spacing-l;
  }
}
