/* Use sizing's for fixed heights/widths e.g. the db-button has always a fixed height */
/* Use fixed spacings for all kind of distances (margin, padding, ...) */
/* The primary use-case for responsive spacings are
paddings/gaps in an application e.g. the <main> should have a responsive padding. */
/* Elevation */
/* Border */
/* Opacity */
/* Transitions */
/* Screen sizes */
/* Container sizes */
/* Variants for adaptive components like input, select, notification, ... */
.db-visually-hidden,
[data-visually-hidden=true] {
  clip: rect(0, 0, 0, 0) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  font-size: 0 !important;
  all: initial;
  inset-block-start: 0 !important;
  block-size: 1px !important;
  position: absolute !important;
  inline-size: 1px !important;
  border-width: 0 !important;
  border-style: initial !important;
  border-color: initial !important;
  border-image: initial !important;
  padding: 0 !important;
  pointer-events: none !important;
}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

.db-custom-select-list-item:not([data-disable-focus=true]):has(> label > input:focus-visible) {
  outline: var(--db-border-width-2xs) solid var(--db-focus-outline-color, var(--db-informational-on-bg-basic-emphasis-70-default));
  outline-offset: var(--db-border-width-xs);
  box-shadow: 0 0 0 var(--db-border-width-xs) var(--db-focus-box-shadow-bg-color, transparent);
}
@media screen and (prefers-reduced-motion: no-preference) {
  .db-custom-select-list-item:not([data-disable-focus=true]):has(> label > input:focus-visible) {
    transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast);
  }
}
.db-custom-select-list-item:not([data-disable-focus=true]):not([type=radio], [role=switch]):has(> label > input:focus-visible) {
  border-radius: var(--db-border-radius-xs);
}

/**
	Generates 3 types of placeholders, e.g:
	- %db-component-variables-md
	- %db-font-size-md
	- %db-overwrite-font-size-md
 */
@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

.db-custom-select-list-item span {
  font: var(--db-type-body-md);
  /* stylelint-disable-next-line at-rule-prelude-no-invalid,layer-name-pattern */
}
@layer variables {
  .db-custom-select-list-item span {
    /* Those variables are only for components to calculate heights and change icons */
    --db-icon-font-weight: var(--db-base-body-icon-weight-md);
    --db-icon-font-size: var(--db-base-body-icon-font-size-md);
  }
}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

@layer variables {}

/* Use for body tags like <p> */
/* Use for headline tags like <h1> */
/**
 * @mixin screen-min-max
 * @param $data an object like (min:"sm", max:"lg") or (min: "sm")
 */
db-custom-select-list-item:not(:last-of-type) .db-custom-select-list-item[data-divider=true] {
  --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
  position: var(--db-tooltip-parent-position, relative);
}
db-custom-select-list-item:not(:last-of-type) .db-custom-select-list-item[data-divider=true][data-emphasis=strong] {
  --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-70-default);
}
db-custom-select-list-item:not(:last-of-type) .db-custom-select-list-item[data-divider=true]::before {
  content: "";
  background-color: var(--db-divider-bg-color);
  position: absolute;
  block-size: var(--db-border-width-3xs);
  inset-block-end: 0;
  inset-inline: 0;
  /* stylelint-disable-next-line at-rule-empty-line-before */
}
@media (forced-colors: active) {
  db-custom-select-list-item:not(:last-of-type) .db-custom-select-list-item[data-divider=true] {
    /* stylelint-disable-next-line no-invalid-position-declaration, db-ux/use-border-color */
    border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
  }
}

.db-custom-select-list-item {
  block-size: 100%;
  position: relative;
  padding: var(--db-spacing-fixed-sm);
  background-color: var(--db-adaptive-bg-basic-transparent-full-default);
  border-radius: var(--db-border-radius-xs);
  box-sizing: border-box;
}
.db-custom-select-list-item:not([hidden]) {
  display: flex;
}
.db-custom-select-list-item:has(> label):not(:has(input[type=radio]:checked)) {
  /* stylelint-disable-next-line a11y/selector-pseudo-class-focus */
}
.db-custom-select-list-item:has(> label):not(:has(input[type=radio]:checked)):hover:not(:disabled, [aria-disabled=true]) {
  cursor: var(--db-overwrite-cursor, pointer);
  background-color: var(--db-adaptive-bg-basic-transparent-full-hovered);
}
.db-custom-select-list-item:has(> label):not(:has(input[type=radio]:checked)):hover:not(:disabled, [aria-disabled=true]):is(textarea), .db-custom-select-list-item:has(> label):not(:has(input[type=radio]:checked)):hover:not(:disabled, [aria-disabled=true]):is(input) {
  cursor: initial;
}
.db-custom-select-list-item:has(> label):not(:has(input[type=radio]:checked)):hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-custom-select-list-item:has(> label):not(:has(input[type=radio]:checked)):hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)) {
  cursor: pointer;
}
.db-custom-select-list-item:has(> label):not(:has(input[type=radio]:checked)):active:not(:disabled, [aria-disabled=true]) {
  cursor: var(--db-overwrite-cursor, pointer);
  background-color: var(--db-adaptive-bg-basic-transparent-full-pressed);
}
.db-custom-select-list-item:has(> label):not(:has(input[type=radio]:checked)):active:not(:disabled, [aria-disabled=true]):is(textarea), .db-custom-select-list-item:has(> label):not(:has(input[type=radio]:checked)):active:not(:disabled, [aria-disabled=true]):is(input) {
  cursor: initial;
}
.db-custom-select-list-item:has(> label):not(:has(input[type=radio]:checked)):active:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-custom-select-list-item:has(> label):not(:has(input[type=radio]:checked)):active:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)) {
  cursor: pointer;
}
.db-custom-select-list-item span {
  color: var(--db-adaptive-on-bg-basic-emphasis-80-default);
}
.db-custom-select-list-item[data-divider=true]:not(:last-of-type) {
  --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-60-default);
  position: var(--db-tooltip-parent-position, relative);
}
.db-custom-select-list-item[data-divider=true]:not(:last-of-type)[data-emphasis=strong] {
  --db-divider-bg-color: var(--db-adaptive-on-bg-basic-emphasis-70-default);
}
.db-custom-select-list-item[data-divider=true]:not(:last-of-type)::before {
  content: "";
  background-color: var(--db-divider-bg-color);
  position: absolute;
  block-size: var(--db-border-width-3xs);
  inset-block-end: 0;
  inset-inline: 0;
  /* stylelint-disable-next-line at-rule-empty-line-before */
}
@media (forced-colors: active) {
  .db-custom-select-list-item[data-divider=true]:not(:last-of-type) {
    /* stylelint-disable-next-line no-invalid-position-declaration, db-ux/use-border-color */
    border: var(--db-border-width-3xs) solid var(--db-divider-bg-color);
  }
}
.db-custom-select-list-item > label {
  --db-icon-margin-start: auto;
  --db-check-element-label-color: var(--db-adaptive-on-bg-basic-emphasis-100-default);
  inline-size: 100%;
}
.db-custom-select-list-item > label:has(input:checked) {
  font-weight: 700;
}
.db-custom-select-list-item > label:has(input[type=radio]) {
  --db-icon-trailing: "none";
  gap: 0;
}
.db-custom-select-list-item > label:has(input[type=radio]:checked) {
  --db-overwrite-cursor: default;
  --db-icon-trailing: "check";
}
.db-custom-select-list-item > label > input {
  --db-adaptive-bg-basic-transparent-full-hovered: var(--db-adaptive-bg-basic-transparent-full-default);
  --db-adaptive-bg-basic-transparent-full-pressed: var(--db-adaptive-bg-basic-transparent-full-default);
  /* We set focus on complete list element, we remove it from checkbox with this trick */
  /* stylelint-disable-next-line a11y/no-outline-none */
}
.db-custom-select-list-item > label > input::after {
  position: absolute;
  content: "";
  inset-block: calc(-1 * var(--db-spacing-fixed-xs));
  inset-inline: calc(-1 * var(--db-spacing-fixed-xs));
}
.db-custom-select-list-item > label > input[type=radio] {
  all: unset;
}
.db-custom-select-list-item > label > input:focus-visible {
  outline: none !important;
}
