/* Variants for adaptive components like input, select, notification, ... */
/* Palette colors */
/* Note: In general you don't need this file. Use this only if you really know what you do! */
/* Palette for additional colors */
/* Note: In general you don't need this file. Use this only if you really know what you do! */
[data-color=neutral-contrast-high],
.db-neutral-contrast-high, [data-color=neutral-contrast-high-interactive],
.db-neutral-contrast-high-interactive {
  --db-current-color-border: var(
  	--db-neutral-contrast-high-enabled
  );
  background-color: var(--db-neutral-contrast-high-enabled);
  color: var(--db-neutral-on-contrast-enabled);
}
[data-color=neutral-contrast-high]::before,
.db-neutral-contrast-high::before, [data-color=neutral-contrast-high-interactive]::before,
.db-neutral-contrast-high-interactive::before, [data-color=neutral-contrast-high]::after,
.db-neutral-contrast-high::after, [data-color=neutral-contrast-high-interactive]::after,
.db-neutral-contrast-high-interactive::after {
  --db-icon-color: $on;
}

[data-color=neutral-contrast-high-interactive],
.db-neutral-contrast-high-interactive {
  /* stylelint-disable-next-line scss/percent-placeholder-pattern */
  /* stylelint-disable-next-line scss/percent-placeholder-pattern */
}
[data-color=neutral-contrast-high-interactive]:is(:hover, :focus),
.db-neutral-contrast-high-interactive:is(:hover, :focus) {
  background: var(--db-neutral-contrast-high-hover);
}
[data-color=neutral-contrast-high-interactive]:active,
.db-neutral-contrast-high-interactive:active {
  background: var(--db-neutral-contrast-high-pressed);
}

[data-color=neutral-contrast-low],
.db-neutral-contrast-low, [data-color=neutral-contrast-low-interactive],
.db-neutral-contrast-low-interactive {
  --db-current-color-border: var(
  	--db-neutral-contrast-low-enabled
  );
  background-color: var(--db-neutral-contrast-low-enabled);
  color: var(--db-neutral-on-contrast-enabled);
}
[data-color=neutral-contrast-low]::before,
.db-neutral-contrast-low::before, [data-color=neutral-contrast-low-interactive]::before,
.db-neutral-contrast-low-interactive::before, [data-color=neutral-contrast-low]::after,
.db-neutral-contrast-low::after, [data-color=neutral-contrast-low-interactive]::after,
.db-neutral-contrast-low-interactive::after {
  --db-icon-color: $on;
}

[data-color=neutral-contrast-low-interactive],
.db-neutral-contrast-low-interactive {
  /* stylelint-disable-next-line scss/percent-placeholder-pattern */
  /* stylelint-disable-next-line scss/percent-placeholder-pattern */
}
[data-color=neutral-contrast-low-interactive]:is(:hover, :focus),
.db-neutral-contrast-low-interactive:is(:hover, :focus) {
  background: var(--db-neutral-contrast-low-hover);
}
[data-color=neutral-contrast-low-interactive]:active,
.db-neutral-contrast-low-interactive:active {
  background: var(--db-neutral-contrast-low-pressed);
}

[data-container-color=neutral],
.db-container-color-neutral, [data-color=neutral-bg-transparent-semi],
.db-neutral-bg-transparent-semi, [data-color=neutral-bg-transparent-full],
.db-neutral-bg-transparent-full, [data-color=neutral-bg-lvl-3],
.db-neutral-bg-lvl-3, [data-color=neutral-bg-lvl-2],
.db-neutral-bg-lvl-2, [data-color=neutral-bg-lvl-1],
.db-neutral-bg-lvl-1 {
  /* used for transparent backgrounds */
  --db-current-color-bg-transparent-full-enabled: var(
  	--db-neutral-bg-transparent-full-enabled
  );
  --db-current-color-bg-transparent-semi-enabled: var(
  	--db-neutral-bg-transparent-semi-enabled
  );
  --db-current-color-bg-transparent-hover: var(
  	--db-neutral-bg-transparent-hover
  );
  --db-current-color-bg-transparent-pressed: var(
  	--db-neutral-bg-transparent-pressed
  );
  /* used for backgrounds */
  --db-current-color-bg-lvl-1-enabled: var(
  	--db-neutral-bg-lvl-1-enabled
  );
  --db-current-color-bg-lvl-2-enabled: var(
  	--db-neutral-bg-lvl-2-enabled
  );
  --db-current-color-bg-lvl-3-enabled: var(
  	--db-neutral-bg-lvl-3-enabled
  );
  /* used for icons and borders */
  --db-current-color-contrast-low-enabled: var(
  	--db-neutral-contrast-low-enabled
  );
  --db-current-color-contrast-low-hover: var(
  	--db-neutral-contrast-low-hover
  );
  --db-current-color-contrast-low-pressed: var(
  	--db-neutral-contrast-low-pressed
  );
  --db-current-color-border: var(--db-neutral-border);
  /* used for adaptive tags (interactive) */
  --db-current-color-bg-lvl-1-hover: var(--db-neutral-bg-lvl-1-hover);
  --db-current-color-bg-lvl-1-pressed: var(
  	--db-neutral-bg-lvl-1-pressed
  );
  --db-current-color-bg-lvl-2-hover: var(--db-neutral-bg-lvl-2-hover);
  --db-current-color-bg-lvl-2-pressed: var(
  	--db-neutral-bg-lvl-2-pressed
  );
  --db-current-color-bg-lvl-3-hover: var(--db-neutral-bg-lvl-3-hover);
  --db-current-color-bg-lvl-3-pressed: var(
  	--db-neutral-bg-lvl-3-pressed
  );
  /* used for adaptive tags (strong & interactive) */
  --db-current-color-on-contrast-enabled: var(
  	--db-neutral-on-contrast-enabled
  );
  --db-current-color-contrast-high-enabled: var(
  	--db-neutral-contrast-high-enabled
  );
  --db-current-color-contrast-high-hover: var(
  	--db-neutral-contrast-high-hover
  );
  --db-current-color-contrast-high-pressed: var(
  	--db-neutral-contrast-high-pressed
  );
  /* on-colors */
  --db-current-color-on-bg-enabled: var(--db-neutral-on-bg-enabled);
  --db-current-color-on-bg-hover: var(--db-neutral-on-bg-hover);
  --db-current-color-on-bg-pressed: var(--db-neutral-on-bg-pressed);
  /* weak colors */
  --db-current-color-on-bg-weak-enabled: var(
  	--db-neutral-on-bg-weak-enabled
  );
  --db-current-color-on-bg-weak-hover: var(
  	--db-neutral-on-bg-weak-hover
  );
  --db-current-color-on-bg-weak-pressed: var(
  	--db-neutral-on-bg-weak-pressed
  );
}

[data-color=neutral-bg-lvl-1],
.db-neutral-bg-lvl-1 {
  background-color: var(--db-neutral-bg-lvl-1-enabled);
  color: var(--db-neutral-on-bg-enabled);
}
[data-color=neutral-bg-lvl-1]::before,
.db-neutral-bg-lvl-1::before, [data-color=neutral-bg-lvl-1]::after,
.db-neutral-bg-lvl-1::after {
  --db-icon-color: $on;
}

[data-color=neutral-bg-lvl-2],
.db-neutral-bg-lvl-2 {
  background-color: var(--db-neutral-bg-lvl-2-enabled);
  color: var(--db-neutral-on-bg-enabled);
}
[data-color=neutral-bg-lvl-2]::before,
.db-neutral-bg-lvl-2::before, [data-color=neutral-bg-lvl-2]::after,
.db-neutral-bg-lvl-2::after {
  --db-icon-color: $on;
}

[data-color=neutral-bg-lvl-3],
.db-neutral-bg-lvl-3 {
  background-color: var(--db-neutral-bg-lvl-3-enabled);
  color: var(--db-neutral-on-bg-enabled);
}
[data-color=neutral-bg-lvl-3]::before,
.db-neutral-bg-lvl-3::before, [data-color=neutral-bg-lvl-3]::after,
.db-neutral-bg-lvl-3::after {
  --db-icon-color: $on;
}

[data-color=neutral-bg-transparent-full],
.db-neutral-bg-transparent-full {
  background-color: var(--db-neutral-bg-transparent-full-enabled);
  color: var(--db-neutral-on-bg-enabled);
}
[data-color=neutral-bg-transparent-full]::before,
.db-neutral-bg-transparent-full::before, [data-color=neutral-bg-transparent-full]::after,
.db-neutral-bg-transparent-full::after {
  --db-icon-color: $on;
}

[data-color=neutral-bg-transparent-semi],
.db-neutral-bg-transparent-semi {
  background-color: var(--db-neutral-bg-transparent-semi-enabled);
  color: var(--db-neutral-on-bg-enabled);
}
[data-color=neutral-bg-transparent-semi]::before,
.db-neutral-bg-transparent-semi::before, [data-color=neutral-bg-transparent-semi]::after,
.db-neutral-bg-transparent-semi::after {
  --db-icon-color: $on;
}

[data-container-color=neutral],
.db-container-color-neutral {
  color: var(--db-current-color-on-bg-enabled);
  background-color: var(--db-current-color-bg-lvl-1-enabled);
}
