@use '../utils/size_variables';

/**
 * Copyright IBM Corp. 2016, 2025
 * SPDX-License-Identifier: BUSL-1.1
 */

.regex-label-wrapper {
  display: flex;
  align-items: flex-end;
}
.regex-label {
  flex: 1 0 auto;
}
.regex-toggle {
  flex: 0 1 auto;
}
.regex-group {
  font-family: var(--token-typography-font-stack-code);
  font-size: var(--token-typography-body-200-font-size);
  color: var(--token-color-foreground-faint);
}
.regex-group-position {
  background-color: var(--token-color-palette-neutral-200);
  border-radius: var(--token-border-radius-x-small);
  padding-top: 5px;
  padding-bottom: 4px;
  margin-right: 4px;
  span {
    margin-left: 6px;
  }
}
.regex-group-value {
  margin-right: size_variables.$spacing-16;
}
