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

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

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

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

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

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

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

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

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

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

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