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

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

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

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

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

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

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

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

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

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

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