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

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

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

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

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

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

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

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

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

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

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