tds-checkbox {
  --tds-checkbox-text: var(--component-checkbox-text-default);
  --tds-checkbox-text-hover: var(--component-checkbox-text-hover);
  --tds-checkbox-background: var(--component-checkbox-background-standard-default);
  --tds-checkbox-background-hover: var(--component-checkbox-background-standard-hover);
  --tds-checkbox-background-selected: var(--component-checkbox-background-selected-default);
  --tds-checkbox-background-selected-hover: var(--component-checkbox-background-selected-hover);
  --tds-checkbox-background-indeterminate: var(--component-checkbox-background-indeterminate-default);
  --tds-checkbox-background-indeterminate-hover: var(--component-checkbox-background-indeterminate-hover);
  --tds-checkbox-border: var(--component-checkbox-border-standard-default);
  --tds-checkbox-border-hover: var(--component-checkbox-border-standard-hover);
  --tds-checkbox-border-selected: var(--component-checkbox-border-selected-default);
  --tds-checkbox-border-selected-hover: var(--component-checkbox-border-selected-hover);
  --tds-checkbox-border-indeterminate: var(--component-checkbox-border-indeterminate-default);
  --tds-checkbox-border-indeterminate-hover: var(--component-checkbox-border-indeterminate-hover);
  --tds-checkbox-indicator: var(--component-checkbox-border-indicator-default);
  --tds-checkbox-indicator-hover: var(--component-checkbox-border-indicator-hover);
  --tds-checkbox-icon-selected: var(--component-checkbox-icon-selected-default);
  --tds-checkbox-icon-selected-hover: var(--component-checkbox-icon-selected-hover);
  --tds-checkbox-icon-indeterminate: var(--component-checkbox-icon-indeterminate-default);
  --tds-checkbox-icon-indeterminate-hover: var(--component-checkbox-icon-indeterminate-hover);
  --tds-checkbox-border-radius: calc(var(--component-checkbox-border-radius-default) * 1px);
  --tds-checkbox-focus-ring-radius: calc(var(--component-checkbox-focus-ring-radius-default) * 1px);
  --tds-checkbox-opacity-disabled: calc(var(--component-checkbox-opacity-disabled) / 100);
  --tds-checkbox-icon-mask: url("data:image/svg+xml;utf8,<svg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M1 2.33333L3.4 5C4.80589 3.4379 5.59411 2.5621 7 1' stroke='%23000' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  --tds-checkbox-icon-mask-indeterminate: url("data:image/svg+xml;utf8,<svg width='8' height='2' viewBox='0 0 8 2' fill='none' xmlns='http://www.w3.org/2000/svg'><rect y='0.5' width='8' height='1' rx='0.5' fill='%23000'/></svg>");
}

/* Component consuming other components inside shadowDOM needs to import its variables to display correctly */
/* Mixins */
:host {
  box-sizing: border-box;
  display: table-header-group;
}
:host * {
  box-sizing: border-box;
}
:host .tds-table__header-cell--checkbox {
  font: var(--tds-headline-07);
  letter-spacing: var(--tds-headline-07-ls);
  display: table-cell;
  text-align: left;
  color: var(--tds-table-color);
  background-color: var(--tds-table-header-background);
  border-bottom: 1px solid var(--tds-table-divider);
  height: 48px;
  box-sizing: border-box;
  overflow: hidden;
  transition: background-color 200ms ease;
  min-width: unset;
  width: 48px;
  padding: 0;
  border-top-left-radius: 4px;
}
:host .tds-form-label--table {
  width: 100%;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
:host .tds-table__expand-control-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 48px;
  cursor: pointer;
}
:host .tds-table__expand-control-container .tds-table__expand-input {
  display: none;
}
:host .tds-table__expand-control-container .tds-expandable-row-icon {
  height: 20px;
  width: 20px;
  transition: transform 200ms ease;
  transform: rotate(0);
}
:host .tds-table__expand-control-container .tds-expandable-row-icon--opened {
  transform: rotate(180deg);
}

:host(.tds-table--compact) .tds-table__header-cell--checkbox {
  height: 32px;
}
:host(.tds-table--compact) .tds-form-label--table {
  height: 32px;
}

:host(.tds-table--divider) .tds-table__header-cell--checkbox {
  border-right: 1px solid var(--tds-table-divider);
}

:host(.tds-table--toolbar-available) .tds-table__header-cell--checkbox {
  border-top-left-radius: 0;
}