/* 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=informational-contrast-high],
.db-informational-contrast-high, [data-color=informational-contrast-high-interactive],
.db-informational-contrast-high-interactive {
  --db-current-color-border: var(
  	--db-informational-contrast-high-enabled
  );
  background-color: var(--db-informational-contrast-high-enabled);
  color: var(--db-informational-on-contrast-enabled);
}
[data-color=informational-contrast-high]::before,
.db-informational-contrast-high::before, [data-color=informational-contrast-high-interactive]::before,
.db-informational-contrast-high-interactive::before, [data-color=informational-contrast-high]::after,
.db-informational-contrast-high::after, [data-color=informational-contrast-high-interactive]::after,
.db-informational-contrast-high-interactive::after {
  --db-icon-color: $on;
}

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

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

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

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

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

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

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

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

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

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