@mixin card {
  background-color: var(--ec-background-color);
  background-clip: padding-box;
  border: var(--ec-border-width) solid var(--ec-border-color-hint);
  border-radius: var(--ec-border-radius-card);
  overflow: auto;
  box-shadow: var(--ec-box-shadow);
}

@mixin card-header {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
}

@mixin card-title {
  @extend .text-heading-2;
  @include truncate;
  cursor: default;
  display: flex;
  align-items: center;
  padding-left: .5rem;
  padding-right: .5rem;
  flex: 1 1;
  min-height: 0;
  min-width: 0;
}

@mixin card-footer {
  @extend .text-caption-1;
  border-top: 1px solid var(--ec-border-color);
  min-height: 2rem;
  padding: .5rem;
}

@mixin card-actions {
  padding: .25rem;
  display: flex;
  margin-left: auto;
}
