@use '@carbon/layout';
@use '@openmrs/esm-styleguide/src/vars' as *;

.tabList {
  padding: 0;
  background-color: $ui-background;
}

.tab {
  min-width: 8.875rem;

  &:active,
  &:focus {
    outline: 2px solid var(--brand-03) !important;
  }

  &[aria-selected='true'] {
    box-shadow: inset 0 2px 0 0 var(--brand-03) !important;
  }
}

.tabPanel {
  padding: layout.$spacing-05 0 0;
}

.tabPanel > *:first-child {
  margin-top: 0;
}
