@use '@/styles/variables' as *;
@use '@/styles/mixins' as *;

.card {
  @include card-base;

  &--noPadding {
    .card__body {
      padding: 0;
    }
  }

  &--noShadow {
    box-shadow: none;
    border: 1px solid $border-color;
  }

  &__header {
    @include flex-between;
    padding: $padding-card;
    padding-bottom: $spacing-base;
    border-bottom: 1px solid $border-color;
  }

  &__title {
    font-size: $font-size-md;
    font-weight: $font-weight-semibold;
    color: $text-primary;
    margin: 0;
  }

  &__extra {
    @include flex-start;
    gap: $spacing-sm;
  }

  &__body {
    padding: $padding-card;
  }
}
