@use '@carbon/styles/scss/type';
@use '@carbon/styles/scss/spacing';
@use '@carbon/colors';
@use '@carbon/layout';
@use '~@openmrs/esm-styleguide/src/vars' as *;

.bodyContainer {
  margin: spacing.$spacing-03;
  border: 1px solid colors.$cool-gray-20;
}

.desktopHeading {
  h4 {
    @include type.type-style('heading-compact-02');
    color: $text-02;
  }
}

.tabletHeading {
  h4 {
    @include type.type-style('heading-03');
    color: $text-02;
  }
}

.desktopHeading,
.tabletHeading {
  display: flex;
  justify-content: space-between;
  text-transform: capitalize;
  margin-bottom: spacing.$spacing-02;
  margin-top: spacing.$spacing-02;

  h4:after {
    content: '';
    display: block;
    width: 2rem;
    padding-top: 0.188rem;
    border-bottom: 0.375rem solid var(--brand-03);
  }
}

.heading:after {
  content: '';
  display: block;
  width: 2rem;
  padding-top: 0.188rem;
  border-bottom: 0.375rem solid var(--brand-03);
}

.card {
  background-color: $ui-02;
  padding: spacing.$spacing-04;
}

.value {
  @include type.type-style('body-02');
  color: colors.$gray-100;
  margin-top: spacing.$spacing-03;
}

.label {
  @include type.type-style('label-02');
  color: colors.$gray-70;
}

.container {
  display: flex;
  flex-direction: row;
  padding-left: 1rem;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-start;
  gap: layout.$spacing-04;
}

.content {
  display: flex;
  flex-direction: column;
  gap: spacing.$spacing-01;
  width: calc(33.333% - layout.$spacing-04);
  min-width: 0;
  margin-top: spacing.$spacing-03;
}

.btnHidden {
  visibility: hidden;
}

.btnShow {
  visibility: visible;
}

.divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 1rem 0;
  width: 100%;
}
