// ==========================================================================
// Alert
// ==========================================================================

.alert {
  margin: $pad auto;
  border: $border;
  border-radius: $border-radius-lg;
  background: $off-white;
  padding: $pad $pad-lg;

  p {
    margin: 0;
  }

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

  //- Alert States
  &.alert-error {
    color: $tw-red-700;
    background: $tw-red-100;
    border-color: $tw-red-400;
  }

  &.alert-valid,
  &.alert-success {
    color: $tw-green-700;
    background: $tw-green-100;
    border-color: $tw-green-400;
  }

  &.alert-warning {
    color: $tw-orange-700;
    background: $tw-orange-100;
    border-color: $tw-orange-400;
  }
}
