/* 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 */
.db-input[data-hide-label=true] > label, .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;
}

/* Variants for adaptive components like input, select, notification, ... */
@layer variables {}

@layer variables {}

.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid), .db-input:has(input[data-custom-validity=invalid]), .db-input[data-custom-validity=invalid] {
  /* stylelint-disable-next-line at-rule-prelude-no-invalid,layer-name-pattern */
}
@layer variables {
  .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid), .db-input:has(input[data-custom-validity=invalid]), .db-input[data-custom-validity=invalid] {
    --db-adaptive-bg-basic-level-1-default: var(
    	--db-critical-bg-basic-level-1-default
    );
    --db-adaptive-bg-basic-level-1-hovered: var(
    	--db-critical-bg-basic-level-1-hovered
    );
    --db-adaptive-bg-basic-level-1-pressed: var(
    	--db-critical-bg-basic-level-1-pressed
    );
    --db-adaptive-bg-basic-level-2-default: var(
    	--db-critical-bg-basic-level-2-default
    );
    --db-adaptive-bg-basic-level-2-hovered: var(
    	--db-critical-bg-basic-level-2-hovered
    );
    --db-adaptive-bg-basic-level-2-pressed: var(
    	--db-critical-bg-basic-level-2-pressed
    );
    --db-adaptive-bg-basic-level-3-default: var(
    	--db-critical-bg-basic-level-3-default
    );
    --db-adaptive-bg-basic-level-3-hovered: var(
    	--db-critical-bg-basic-level-3-hovered
    );
    --db-adaptive-bg-basic-level-3-pressed: var(
    	--db-critical-bg-basic-level-3-pressed
    );
    --db-adaptive-bg-basic-transparent-full-default: var(
    	--db-critical-bg-basic-transparent-full-default
    );
    --db-adaptive-bg-basic-transparent-semi-default: var(
    	--db-critical-bg-basic-transparent-semi-default
    );
    --db-adaptive-bg-basic-transparent-full-hovered: var(
    	--db-critical-bg-basic-transparent-full-hovered
    );
    --db-adaptive-bg-basic-transparent-full-pressed: var(
    	--db-critical-bg-basic-transparent-full-pressed
    );
    --db-adaptive-bg-basic-transparent-semi-hovered: var(
    	--db-critical-bg-basic-transparent-semi-hovered
    );
    --db-adaptive-bg-basic-transparent-semi-pressed: var(
    	--db-critical-bg-basic-transparent-semi-pressed
    );
    --db-adaptive-on-bg-basic-emphasis-100-default: var(
    	--db-critical-on-bg-basic-emphasis-100-default
    );
    --db-adaptive-on-bg-basic-emphasis-100-hovered: var(
    	--db-critical-on-bg-basic-emphasis-100-hovered
    );
    --db-adaptive-on-bg-basic-emphasis-100-pressed: var(
    	--db-critical-on-bg-basic-emphasis-100-pressed
    );
    --db-adaptive-on-bg-basic-emphasis-90-default: var(
    	--db-critical-on-bg-basic-emphasis-90-default
    );
    --db-adaptive-on-bg-basic-emphasis-90-hovered: var(
    	--db-critical-on-bg-basic-emphasis-90-hovered
    );
    --db-adaptive-on-bg-basic-emphasis-90-pressed: var(
    	--db-critical-on-bg-basic-emphasis-90-pressed
    );
    --db-adaptive-on-bg-basic-emphasis-80-default: var(
    	--db-critical-on-bg-basic-emphasis-80-default
    );
    --db-adaptive-on-bg-basic-emphasis-80-hovered: var(
    	--db-critical-on-bg-basic-emphasis-80-hovered
    );
    --db-adaptive-on-bg-basic-emphasis-80-pressed: var(
    	--db-critical-on-bg-basic-emphasis-80-pressed
    );
    --db-adaptive-on-bg-basic-emphasis-70-default: var(
    	--db-critical-on-bg-basic-emphasis-70-default
    );
    --db-adaptive-on-bg-basic-emphasis-70-hovered: var(
    	--db-critical-on-bg-basic-emphasis-70-hovered
    );
    --db-adaptive-on-bg-basic-emphasis-70-pressed: var(
    	--db-critical-on-bg-basic-emphasis-70-pressed
    );
    --db-adaptive-on-bg-basic-emphasis-60-default: var(
    	--db-critical-on-bg-basic-emphasis-60-default
    );
    --db-adaptive-on-bg-basic-emphasis-50-default: var(
    	--db-critical-on-bg-basic-emphasis-50-default
    );
    --db-adaptive-bg-inverted-contrast-max-default: var(
    	--db-critical-bg-inverted-contrast-max-default
    );
    --db-adaptive-bg-inverted-contrast-max-hovered: var(
    	--db-critical-bg-inverted-contrast-max-hovered
    );
    --db-adaptive-bg-inverted-contrast-max-pressed: var(
    	--db-critical-bg-inverted-contrast-max-pressed
    );
    --db-adaptive-bg-inverted-contrast-high-default: var(
    	--db-critical-bg-inverted-contrast-high-default
    );
    --db-adaptive-bg-inverted-contrast-high-hovered: var(
    	--db-critical-bg-inverted-contrast-high-hovered
    );
    --db-adaptive-bg-inverted-contrast-high-pressed: var(
    	--db-critical-bg-inverted-contrast-high-pressed
    );
    --db-adaptive-bg-inverted-contrast-low-default: var(
    	--db-critical-bg-inverted-contrast-low-default
    );
    --db-adaptive-bg-inverted-contrast-low-hovered: var(
    	--db-critical-bg-inverted-contrast-low-hovered
    );
    --db-adaptive-bg-inverted-contrast-low-pressed: var(
    	--db-critical-bg-inverted-contrast-low-pressed
    );
    --db-adaptive-on-bg-inverted-default: var(
    	--db-critical-on-bg-inverted-default
    );
    --db-adaptive-on-bg-inverted-hovered: var(
    	--db-critical-on-bg-inverted-hovered
    );
    --db-adaptive-on-bg-inverted-pressed: var(
    	--db-critical-on-bg-inverted-pressed
    );
    --db-adaptive-origin-default: var(--db-critical-origin-default);
    --db-adaptive-origin-hovered: var(--db-critical-origin-hovered);
    --db-adaptive-origin-pressed: var(--db-critical-origin-pressed);
    --db-adaptive-on-origin-default: var(
    	--db-critical-on-origin-default
    );
    --db-adaptive-bg-vibrant-default: var(
    	--db-critical-bg-vibrant-default
    );
    --db-adaptive-bg-vibrant-hovered: var(
    	--db-critical-bg-vibrant-hovered
    );
    --db-adaptive-bg-vibrant-pressed: var(
    	--db-critical-bg-vibrant-pressed
    );
    --db-adaptive-on-bg-vibrant-default: var(
    	--db-critical-on-bg-vibrant-default
    );
    --db-adaptive-on-bg-vibrant-hovered: var(
    	--db-critical-on-bg-vibrant-hovered
    );
    --db-adaptive-on-bg-vibrant-pressed: var(
    	--db-critical-on-bg-vibrant-pressed
    );
  }
}

.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]), .db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]), .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) {
  /* stylelint-disable-next-line at-rule-prelude-no-invalid,layer-name-pattern */
}
@layer variables {
  .db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
  > db-infotext > .db-infotext[data-semantic=successful]), .db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
  > db-infotext > .db-infotext[data-semantic=successful]), .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
  > db-infotext > .db-infotext[data-semantic=successful]) {
    --db-adaptive-bg-basic-level-1-default: var(
    	--db-successful-bg-basic-level-1-default
    );
    --db-adaptive-bg-basic-level-1-hovered: var(
    	--db-successful-bg-basic-level-1-hovered
    );
    --db-adaptive-bg-basic-level-1-pressed: var(
    	--db-successful-bg-basic-level-1-pressed
    );
    --db-adaptive-bg-basic-level-2-default: var(
    	--db-successful-bg-basic-level-2-default
    );
    --db-adaptive-bg-basic-level-2-hovered: var(
    	--db-successful-bg-basic-level-2-hovered
    );
    --db-adaptive-bg-basic-level-2-pressed: var(
    	--db-successful-bg-basic-level-2-pressed
    );
    --db-adaptive-bg-basic-level-3-default: var(
    	--db-successful-bg-basic-level-3-default
    );
    --db-adaptive-bg-basic-level-3-hovered: var(
    	--db-successful-bg-basic-level-3-hovered
    );
    --db-adaptive-bg-basic-level-3-pressed: var(
    	--db-successful-bg-basic-level-3-pressed
    );
    --db-adaptive-bg-basic-transparent-full-default: var(
    	--db-successful-bg-basic-transparent-full-default
    );
    --db-adaptive-bg-basic-transparent-semi-default: var(
    	--db-successful-bg-basic-transparent-semi-default
    );
    --db-adaptive-bg-basic-transparent-full-hovered: var(
    	--db-successful-bg-basic-transparent-full-hovered
    );
    --db-adaptive-bg-basic-transparent-full-pressed: var(
    	--db-successful-bg-basic-transparent-full-pressed
    );
    --db-adaptive-bg-basic-transparent-semi-hovered: var(
    	--db-successful-bg-basic-transparent-semi-hovered
    );
    --db-adaptive-bg-basic-transparent-semi-pressed: var(
    	--db-successful-bg-basic-transparent-semi-pressed
    );
    --db-adaptive-on-bg-basic-emphasis-100-default: var(
    	--db-successful-on-bg-basic-emphasis-100-default
    );
    --db-adaptive-on-bg-basic-emphasis-100-hovered: var(
    	--db-successful-on-bg-basic-emphasis-100-hovered
    );
    --db-adaptive-on-bg-basic-emphasis-100-pressed: var(
    	--db-successful-on-bg-basic-emphasis-100-pressed
    );
    --db-adaptive-on-bg-basic-emphasis-90-default: var(
    	--db-successful-on-bg-basic-emphasis-90-default
    );
    --db-adaptive-on-bg-basic-emphasis-90-hovered: var(
    	--db-successful-on-bg-basic-emphasis-90-hovered
    );
    --db-adaptive-on-bg-basic-emphasis-90-pressed: var(
    	--db-successful-on-bg-basic-emphasis-90-pressed
    );
    --db-adaptive-on-bg-basic-emphasis-80-default: var(
    	--db-successful-on-bg-basic-emphasis-80-default
    );
    --db-adaptive-on-bg-basic-emphasis-80-hovered: var(
    	--db-successful-on-bg-basic-emphasis-80-hovered
    );
    --db-adaptive-on-bg-basic-emphasis-80-pressed: var(
    	--db-successful-on-bg-basic-emphasis-80-pressed
    );
    --db-adaptive-on-bg-basic-emphasis-70-default: var(
    	--db-successful-on-bg-basic-emphasis-70-default
    );
    --db-adaptive-on-bg-basic-emphasis-70-hovered: var(
    	--db-successful-on-bg-basic-emphasis-70-hovered
    );
    --db-adaptive-on-bg-basic-emphasis-70-pressed: var(
    	--db-successful-on-bg-basic-emphasis-70-pressed
    );
    --db-adaptive-on-bg-basic-emphasis-60-default: var(
    	--db-successful-on-bg-basic-emphasis-60-default
    );
    --db-adaptive-on-bg-basic-emphasis-50-default: var(
    	--db-successful-on-bg-basic-emphasis-50-default
    );
    --db-adaptive-bg-inverted-contrast-max-default: var(
    	--db-successful-bg-inverted-contrast-max-default
    );
    --db-adaptive-bg-inverted-contrast-max-hovered: var(
    	--db-successful-bg-inverted-contrast-max-hovered
    );
    --db-adaptive-bg-inverted-contrast-max-pressed: var(
    	--db-successful-bg-inverted-contrast-max-pressed
    );
    --db-adaptive-bg-inverted-contrast-high-default: var(
    	--db-successful-bg-inverted-contrast-high-default
    );
    --db-adaptive-bg-inverted-contrast-high-hovered: var(
    	--db-successful-bg-inverted-contrast-high-hovered
    );
    --db-adaptive-bg-inverted-contrast-high-pressed: var(
    	--db-successful-bg-inverted-contrast-high-pressed
    );
    --db-adaptive-bg-inverted-contrast-low-default: var(
    	--db-successful-bg-inverted-contrast-low-default
    );
    --db-adaptive-bg-inverted-contrast-low-hovered: var(
    	--db-successful-bg-inverted-contrast-low-hovered
    );
    --db-adaptive-bg-inverted-contrast-low-pressed: var(
    	--db-successful-bg-inverted-contrast-low-pressed
    );
    --db-adaptive-on-bg-inverted-default: var(
    	--db-successful-on-bg-inverted-default
    );
    --db-adaptive-on-bg-inverted-hovered: var(
    	--db-successful-on-bg-inverted-hovered
    );
    --db-adaptive-on-bg-inverted-pressed: var(
    	--db-successful-on-bg-inverted-pressed
    );
    --db-adaptive-origin-default: var(--db-successful-origin-default);
    --db-adaptive-origin-hovered: var(--db-successful-origin-hovered);
    --db-adaptive-origin-pressed: var(--db-successful-origin-pressed);
    --db-adaptive-on-origin-default: var(
    	--db-successful-on-origin-default
    );
    --db-adaptive-bg-vibrant-default: var(
    	--db-successful-bg-vibrant-default
    );
    --db-adaptive-bg-vibrant-hovered: var(
    	--db-successful-bg-vibrant-hovered
    );
    --db-adaptive-bg-vibrant-pressed: var(
    	--db-successful-bg-vibrant-pressed
    );
    --db-adaptive-on-bg-vibrant-default: var(
    	--db-successful-on-bg-vibrant-default
    );
    --db-adaptive-on-bg-vibrant-hovered: var(
    	--db-successful-on-bg-vibrant-hovered
    );
    --db-adaptive-on-bg-vibrant-pressed: var(
    	--db-successful-on-bg-vibrant-pressed
    );
  }
}

@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-input:has(input[type=search]):not([data-show-icon-leading=false])::before, .db-input:has(input[type=search]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=date]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=week]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=datetime-local]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=month]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=time]):not([data-show-icon-trailing=false])::after, .db-input:not([data-show-icon-trailing=false]):has(datalist)::after {
  color: var(--db-icon-color, inherit);
  display: inline-block;
  /*** icon - placeholder ***/
  font-family: var(--db-icon-font-family, var(--db-icon-default-font-family, "db-ux-default", "icon-font-fallback")) !important;
  font-size: var(--db-icon-font-size, 1.5rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  font-variant: normal;
  font-weight: var(--db-icon-font-weight, normal);
  line-height: 1;
  /* stylelint-disable-next-line declaration-property-value-no-unknown */
  speak: none;
  /* stylelint-disable-next-line declaration-property-value-no-unknown */
  speak: never;
  text-transform: none;
  overflow: clip;
  vertical-align: var(--db-icon-vertical-align, middle);
  block-size: var(--db-icon-font-size, 1.5rem);
  aspect-ratio: 1;
  flex-shrink: 0;
  content: var(--db-icon, attr(data-icon));
}
@supports (content: ""/"") {
  .db-input:has(input[type=search]):not([data-show-icon-leading=false])::before, .db-input:has(input[type=search]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=date]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=week]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=datetime-local]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=month]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=time]):not([data-show-icon-trailing=false])::after, .db-input:not([data-show-icon-trailing=false]):has(datalist)::after {
    content: var(--db-icon, attr(data-icon))/"";
  }
}
@media aural {
  .db-input:has(input[type=search]):not([data-show-icon-leading=false])::before, .db-input:has(input[type=search]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=date]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=week]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=datetime-local]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=month]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=time]):not([data-show-icon-trailing=false])::after, .db-input:not([data-show-icon-trailing=false]):has(datalist)::after {
    content: none;
  }
}
@media speech {
  .db-input:has(input[type=search]):not([data-show-icon-leading=false])::before, .db-input:has(input[type=search]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=date]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=week]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=datetime-local]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=month]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=time]):not([data-show-icon-trailing=false])::after, .db-input:not([data-show-icon-trailing=false]):has(datalist)::after {
    content: none;
  }
}

/**
	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-input[data-variant=floating] > label, .db-input input {
  font: var(--db-type-body-md);
  /* stylelint-disable-next-line at-rule-prelude-no-invalid,layer-name-pattern */
}
@layer variables {
  .db-input[data-variant=floating] > label, .db-input input {
    /* 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 {}

.db-input, .db-input[data-variant=floating] [id$=-placeholder], .db-input[data-variant=floating] input, .db-input:has(input[type=file]) input, .db-input input::-webkit-calendar-picker-indicator, .db-input input::-webkit-search-cancel-button, .db-input input::file-selector-button {
  font: var(--db-type-body-sm);
  /* stylelint-disable-next-line at-rule-prelude-no-invalid,layer-name-pattern */
}
@layer variables {
  .db-input, .db-input[data-variant=floating] [id$=-placeholder], .db-input[data-variant=floating] input, .db-input:has(input[type=file]) input, .db-input input::-webkit-calendar-picker-indicator, .db-input input::-webkit-search-cancel-button, .db-input input::file-selector-button {
    /* Those variables are only for components to calculate heights and change icons */
    --db-icon-font-weight: var(--db-base-body-icon-weight-sm);
    --db-icon-font-size: var(--db-base-body-icon-font-size-sm);
  }
}

@layer variables {}

@layer variables {}

.db-input > label, .db-input:has(input[type=file])[data-variant=floating] input, .db-input:has(input[type=file])[data-variant=floating] input::file-selector-button {
  font: var(--db-type-body-xs);
  /* stylelint-disable-next-line at-rule-prelude-no-invalid,layer-name-pattern */
}
@layer variables {
  .db-input > label, .db-input:has(input[type=file])[data-variant=floating] input, .db-input:has(input[type=file])[data-variant=floating] input::file-selector-button {
    /* Those variables are only for components to calculate heights and change icons */
    --db-icon-font-weight: var(--db-base-body-icon-weight-xs);
    --db-icon-font-size: var(--db-base-body-icon-font-size-xs);
  }
}

@layer variables {}

@layer variables {}

.db-input[data-variant=floating]:has(input:focus-within,
input:is(input, textarea):not(:placeholder-shown),
> select option:checked:not(.placeholder),
input[type=checkbox]:checked,
input[type=radio]:checked) > label {
  font: var(--db-type-body-2xs);
  /* stylelint-disable-next-line at-rule-prelude-no-invalid,layer-name-pattern */
}
@layer variables {
  .db-input[data-variant=floating]:has(input:focus-within,
  input:is(input, textarea):not(:placeholder-shown),
  > select option:checked:not(.placeholder),
  input[type=checkbox]:checked,
  input[type=radio]:checked) > label {
    /* Those variables are only for components to calculate heights and change icons */
    --db-icon-font-weight: var(--db-base-body-icon-weight-2xs);
    --db-icon-font-size: var(--db-base-body-icon-font-size-2xs);
  }
}

@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-input input, .db-input input::file-selector-button {
  border: var(--db-border-width-3xs) solid var(--db-adaptive-on-bg-basic-emphasis-100-default);
}

.db-input input {
  border: var(--db-border-width-3xs) solid var(--db-adaptive-on-bg-basic-emphasis-70-default);
}

.db-input input, .db-input input::file-selector-button {
  border-radius: var(--db-border-radius-xs);
}

.db-input:not([data-show-icon-trailing=false]):has(datalist)::after {
  --db-icon-trailing: "chevron_down";
  margin-inline-start: var(--db-icon-margin-start, var(--db-spacing-fixed-xs));
  content: var(--db-icon-trailing, attr(data-icon-trailing));
}
@supports (content: ""/"") {
  .db-input:not([data-show-icon-trailing=false]):has(datalist)::after {
    content: var(--db-icon-trailing, attr(data-icon-trailing))/"";
  }
}
.db-input:has(datalist)::after {
  pointer-events: none;
}
@media screen and (prefers-reduced-motion: no-preference) {
  .db-input:has(datalist)::after {
    transition: transform var(--db-transition-straight-emotional);
  }
}

.db-input > db-infotext > .db-infotext,
.db-input > .db-infotext {
  margin-block-start: var(--db-spacing-fixed-2xs);
}
.db-input > db-infotext > .db-infotext:is([data-semantic=successful], [data-semantic=critical]):not([hidden]),
.db-input > .db-infotext:is([data-semantic=successful], [data-semantic=critical]):not([hidden]) {
  display: none;
}

.db-input input::file-selector-button {
  font-weight: 700;
  overflow-wrap: break-word;
  white-space: pre-line;
  justify-content: center;
  text-align: center;
  align-items: center;
  vertical-align: top;
}
.db-input input:not([hidden])::file-selector-button {
  display: inline-flex;
}

.db-input {
  min-inline-size: var(--db-form-component-min-inline-size, var(--db-sizing-lg));
  /* stylelint-disable-next-line block-no-redundant-nested-style-rules */
}
.db-input {
  --db-form-has-before: 0;
  position: relative;
  flex-direction: column;
}
.db-input:not([hidden]) {
  display: flex;
}
.db-input[data-variant=floating], .db-input[data-hide-label=true] {
  --db-label-visible-above: 0;
}
.db-input:not([data-hide-asterisk=true]):has(input:required):is(label)::after,
.db-input:not([data-hide-asterisk=true]):has(input:required) > label::after, .db-input:not([data-hide-asterisk=true])[data-required=true]:is(label)::after,
.db-input:not([data-hide-asterisk=true])[data-required=true] > label::after {
  /* stylelint-disable-next-line db-ux/use-spacings */
  padding-inline-start: 1px;
  content: "*";
}
@supports (content: ""/"") {
  .db-input:not([data-hide-asterisk=true]):has(input:required):is(label)::after,
  .db-input:not([data-hide-asterisk=true]):has(input:required) > label::after, .db-input:not([data-hide-asterisk=true])[data-required=true]:is(label)::after,
  .db-input:not([data-hide-asterisk=true])[data-required=true] > label::after {
    content: "*"/"";
  }
}
.db-input[data-variant=floating]:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid) label {
  color: var(--db-successful-on-bg-basic-emphasis-80-default);
}
.db-input[data-variant=floating]:has(input[data-custom-validity=valid]) label, .db-input[data-variant=floating][data-custom-validity=valid] label {
  color: var(--db-successful-on-bg-basic-emphasis-80-default);
}
.db-input[data-variant=floating]:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) label {
  color: var(--db-critical-on-bg-basic-emphasis-80-default);
}
.db-input[data-variant=floating]:has(input[data-custom-validity=invalid]) label, .db-input[data-variant=floating][data-custom-validity=invalid] label {
  color: var(--db-critical-on-bg-basic-emphasis-80-default);
}
.db-input[data-variant=floating] > label {
  opacity: var(--db-opacity-xl);
  position: absolute;
  z-index: 2;
  inset-block-start: calc((var(--db-sizing-md) - var(--db-icon-font-size)) / 2);
  inset-inline: var(--db-form-component-padding-inline-start, var(--db-spacing-fixed-sm)) var(--db-form-component-padding-inline-end, var(--db-spacing-fixed-sm));
  pointer-events: none;
  font-style: italic;
}
.db-input[data-variant=floating] [id$=-placeholder] {
  inset-block-start: calc(50% - 0.5em + var(--db-spacing-fixed-3xs));
}
.db-input[data-variant=floating] input::placeholder,
.db-input[data-variant=floating] [id$=-placeholder] {
  transition: none;
  opacity: 0;
}
.db-input[data-variant=floating] input:is([type=date],
[type=datetime-local],
[type=month],
[type=week],
[type=time]):not(:user-valid,
[value*="1"],
[value*="2"],
[value*="3"],
[value*="4"],
[value*="5"],
[value*="6"],
[value*="7"],
[value*="8"],
[value*="9"],
[value*="0"])::-webkit-datetime-edit {
  transition: none;
  opacity: 0;
}
.db-input[data-variant=floating] input {
  /* stylelint-disable-next-line db-ux/use-spacings */
  padding-block-start: var(--db-base-body-icon-font-size-2xs);
}
.db-input[data-variant=floating]:has(input:focus-within,
input:is(input, textarea):not(:placeholder-shown),
> select option:checked:not(.placeholder),
input[type=checkbox]:checked,
input[type=radio]:checked) > label {
  inset-block-start: var(--db-spacing-fixed-2xs);
  opacity: 1;
  font-style: normal;
}
.db-input[data-variant=floating]:has(input:focus-within,
input:is(input, textarea):not(:placeholder-shown),
> select option:checked:not(.placeholder),
input[type=checkbox]:checked,
input[type=radio]:checked) input::placeholder,
.db-input[data-variant=floating]:has(input:focus-within,
input:is(input, textarea):not(:placeholder-shown),
> select option:checked:not(.placeholder),
input[type=checkbox]:checked,
input[type=radio]:checked) [id$=-placeholder] {
  opacity: var(--db-opacity-xl);
  font-family: var(--db-font-family-sans);
  font-style: italic;
}
@media screen and (prefers-reduced-motion: no-preference) {
  .db-input[data-variant=floating]:has(input:focus-within,
  input:is(input, textarea):not(:placeholder-shown),
  > select option:checked:not(.placeholder),
  input[type=checkbox]:checked,
  input[type=radio]:checked) input::placeholder,
  .db-input[data-variant=floating]:has(input:focus-within,
  input:is(input, textarea):not(:placeholder-shown),
  > select option:checked:not(.placeholder),
  input[type=checkbox]:checked,
  input[type=radio]:checked) [id$=-placeholder] {
    transition: opacity var(--db-transition-straight-emotional);
  }
}
.db-input[data-variant=floating]:has(input:focus-within,
input:is(input, textarea):not(:placeholder-shown),
> select option:checked:not(.placeholder),
input[type=checkbox]:checked,
input[type=radio]:checked) input:is([type=date],
[type=datetime-local],
[type=month],
[type=week],
[type=time]):not(:user-valid,
[value*="1"],
[value*="2"],
[value*="3"],
[value*="4"],
[value*="5"],
[value*="6"],
[value*="7"],
[value*="8"],
[value*="9"],
[value*="0"])::-webkit-datetime-edit {
  opacity: var(--db-opacity-xl);
  font-family: var(--db-font-family-sans);
  font-style: italic;
}
@media screen and (prefers-reduced-motion: no-preference) {
  .db-input[data-variant=floating]:has(input:focus-within,
  input:is(input, textarea):not(:placeholder-shown),
  > select option:checked:not(.placeholder),
  input[type=checkbox]:checked,
  input[type=radio]:checked) input:is([type=date],
  [type=datetime-local],
  [type=month],
  [type=week],
  [type=time]):not(:user-valid,
  [value*="1"],
  [value*="2"],
  [value*="3"],
  [value*="4"],
  [value*="5"],
  [value*="6"],
  [value*="7"],
  [value*="8"],
  [value*="9"],
  [value*="0"])::-webkit-datetime-edit {
    transition: opacity var(--db-transition-straight-emotional);
  }
}
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) {
  /* stylelint-disable-next-line at-rule-empty-line-before */
}
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) input,
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) [id$=-placeholder] {
  color: var(--db-successful-on-bg-basic-emphasis-100-default);
  caret-color: var(--db-successful-on-bg-basic-emphasis-100-default);
}
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) input {
  border-color: var(--db-successful-on-bg-basic-emphasis-70-default);
}
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext,
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext {
  /* stylelint-disable-next-line at-rule-empty-line-before */
}
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext[data-semantic=successful]:not([hidden]),
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext[data-semantic=successful]:not([hidden]) {
  display: flex;
}
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext:not([data-semantic]):not([hidden]),
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-valid):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext:not([data-semantic]):not([hidden]) {
  display: none;
}
.db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]), .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) {
  /* stylelint-disable-next-line at-rule-empty-line-before */
}
.db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) input,
.db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) [id$=-placeholder], .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) input,
.db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) [id$=-placeholder] {
  color: var(--db-successful-on-bg-basic-emphasis-100-default);
  caret-color: var(--db-successful-on-bg-basic-emphasis-100-default);
}
.db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) input, .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) input {
  border-color: var(--db-successful-on-bg-basic-emphasis-70-default);
}
.db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext,
.db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext, .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext,
.db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext {
  /* stylelint-disable-next-line at-rule-empty-line-before */
}
.db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext[data-semantic=successful]:not([hidden]),
.db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext[data-semantic=successful]:not([hidden]), .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext[data-semantic=successful]:not([hidden]),
.db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext[data-semantic=successful]:not([hidden]) {
  display: flex;
}
.db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext:not([data-semantic]):not([hidden]),
.db-input:has(input[data-custom-validity=valid]):has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext:not([data-semantic]):not([hidden]), .db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > db-infotext > .db-infotext:not([data-semantic]):not([hidden]),
.db-input[data-custom-validity=valid]:has(> .db-infotext[data-semantic=successful],
> db-infotext > .db-infotext[data-semantic=successful]) > .db-infotext:not([data-semantic]):not([hidden]) {
  display: none;
}
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) {
  /* stylelint-disable-next-line at-rule-empty-line-before */
}
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) input,
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) [id$=-placeholder] {
  color: var(--db-critical-on-bg-basic-emphasis-100-default);
  caret-color: var(--db-critical-on-bg-basic-emphasis-100-default);
}
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) input {
  border-color: var(--db-critical-on-bg-basic-emphasis-70-default);
}
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) > db-infotext > .db-infotext[data-semantic=critical]:not([hidden]),
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) > .db-infotext[data-semantic=critical]:not([hidden]) {
  display: flex;
}
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) > db-infotext > .db-infotext:not([data-semantic]):not([hidden]),
.db-input:has(input:not([data-custom-validity]):is(:required, [minlength], [maxlength], [pattern], [type=color], [type=date], [type=datetime-local], [type=email], [type=file], [type=hidden], [type=month], [type=number], [type=range], [type=tel], [type=time], [type=url], [type=week]):user-invalid) > .db-infotext:not([data-semantic]):not([hidden]) {
  display: none;
}
.db-input:has(input[data-custom-validity=invalid]), .db-input[data-custom-validity=invalid] {
  /* stylelint-disable-next-line at-rule-empty-line-before */
}
.db-input:has(input[data-custom-validity=invalid]) input,
.db-input:has(input[data-custom-validity=invalid]) [id$=-placeholder], .db-input[data-custom-validity=invalid] input,
.db-input[data-custom-validity=invalid] [id$=-placeholder] {
  color: var(--db-critical-on-bg-basic-emphasis-100-default);
  caret-color: var(--db-critical-on-bg-basic-emphasis-100-default);
}
.db-input:has(input[data-custom-validity=invalid]) input, .db-input[data-custom-validity=invalid] input {
  border-color: var(--db-critical-on-bg-basic-emphasis-70-default);
}
.db-input:has(input[data-custom-validity=invalid]) > db-infotext > .db-infotext[data-semantic=critical]:not([hidden]),
.db-input:has(input[data-custom-validity=invalid]) > .db-infotext[data-semantic=critical]:not([hidden]), .db-input[data-custom-validity=invalid] > db-infotext > .db-infotext[data-semantic=critical]:not([hidden]),
.db-input[data-custom-validity=invalid] > .db-infotext[data-semantic=critical]:not([hidden]) {
  display: flex;
}
.db-input:has(input[data-custom-validity=invalid]) > db-infotext > .db-infotext:not([data-semantic]):not([hidden]),
.db-input:has(input[data-custom-validity=invalid]) > .db-infotext:not([data-semantic]):not([hidden]), .db-input[data-custom-validity=invalid] > db-infotext > .db-infotext:not([data-semantic]):not([hidden]),
.db-input[data-custom-validity=invalid] > .db-infotext:not([data-semantic]):not([hidden]) {
  display: none;
}
.db-input input::placeholder,
.db-input [id$=-placeholder] {
  opacity: var(--db-opacity-xl);
  font-family: var(--db-font-family-sans);
  font-style: italic;
}
.db-input input:is([type=date],
[type=datetime-local],
[type=month],
[type=week],
[type=time]):not(:user-valid,
[value*="1"],
[value*="2"],
[value*="3"],
[value*="4"],
[value*="5"],
[value*="6"],
[value*="7"],
[value*="8"],
[value*="9"],
[value*="0"])::-webkit-datetime-edit {
  opacity: var(--db-opacity-xl);
  font-family: var(--db-font-family-sans);
  font-style: italic;
}
.db-input input {
  background-color: var(--db-adaptive-bg-basic-transparent-semi-default);
  caret-color: var(--db-adaptive-on-bg-basic-emphasis-100-default);
  appearance: none;
  max-inline-size: 100%;
  inline-size: 100%;
  min-inline-size: var(--db-form-component-min-inline-size, var(--db-sizing-lg));
  /* stylelint-disable-next-line db-ux/use-spacings */
  padding-inline: var(--db-form-component-padding-inline-start, var(--db-spacing-fixed-sm)) var(--db-form-component-padding-inline-end, var(--db-spacing-fixed-sm));
  /* stylelint-disable-next-line a11y/selector-pseudo-class-focus */
  /* see https://developer.mozilla.org/en-US/docs/Web/CSS/field-sizing */
}
.db-input input:hover:not(:disabled, [aria-disabled=true]) {
  cursor: var(--db-overwrite-cursor, pointer);
  background-color: var(--db-adaptive-bg-basic-transparent-semi-hovered);
}
.db-input input:hover:not(:disabled, [aria-disabled=true]):is(textarea), .db-input input:hover:not(:disabled, [aria-disabled=true]):is(input) {
  cursor: initial;
}
.db-input input:hover:not(:disabled, [aria-disabled=true]):is(input[type=checkbox]), .db-input input:hover:not(:disabled, [aria-disabled=true]):is(input[type=radio]:not(:checked)) {
  cursor: pointer;
}
.db-input input[data-field-sizing=content] {
  field-sizing: content;
}
.db-input input[data-field-sizing=fixed] {
  field-sizing: fixed;
}
.db-input input:not(:disabled):read-only {
  background-color: var(--db-input-read-only, var(--db-adaptive-bg-basic-transparent-full-default)) !important;
}
.db-input > label {
  padding-block-end: var(--db-spacing-fixed-xs);
  max-inline-size: 25ch;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
@media screen and (prefers-reduced-motion: no-preference) {
  .db-input > label {
    transition: font-size var(--db-transition-straight-emotional);
  }
}
.db-input[data-hide-label=true] > label {
  padding: 0;
}
.db-input:has(input:disabled,
input[data-disabled=true],
input[aria-disabled=true]) {
  opacity: var(--db-opacity-md);
  pointer-events: none;
}
.db-input::after, .db-input::before {
  position: absolute;
  pointer-events: none;
  inset-block-start: calc((var(--db-spacing-fixed-xs) + var(--db-base-body-icon-font-size-xs)) * var(--db-label-visible-above, 1) + var(--db-sizing-md) / 2);
  color: var(--db-adaptive-on-bg-basic-emphasis-100-default);
  transform: translateY(-50%);
  z-index: 1;
}
.db-input::before {
  margin-inline-end: var(--db-spacing-fixed-sm);
  inset-inline-start: var(--db-spacing-fixed-sm);
}
.db-input::after {
  margin-inline-start: var(--db-spacing-fixed-sm);
  inset-inline-end: var(--db-spacing-fixed-sm);
}
.db-input input {
  block-size: var(--db-sizing-md);
  text-overflow: ellipsis;
}
.db-input:is([data-icon], [data-icon-trailing]):not([data-show-icon=false]), .db-input:has(input[type=search],
input[type=date],
input[type=month],
input[type=week],
input[type=datetime-local],
input[type=time]) {
  --db-form-component-min-inline-size: var(--db-sizing-xl);
}
.db-input[data-icon][data-icon-trailing] {
  --db-form-component-min-inline-size: var(--db-sizing-2xl);
}
.db-input[data-icon]:not([data-show-icon=false]), .db-input:has(input[type=search]) {
  --db-form-component-padding-inline-start: calc(var(--db-icon-font-size) + var(--db-spacing-fixed-sm) + var(--db-spacing-fixed-xs));
}
.db-input[data-icon-trailing]:not([data-show-icon-trailing=false]), .db-input:has(input[type=search]), .db-input:has(datalist) {
  --db-form-component-padding-inline-end: calc(var(--db-icon-font-size) + var(--db-spacing-fixed-sm) + var(--db-spacing-fixed-xs));
}
.db-input:has(input[type=search]):not([data-show-icon-leading=false])::before {
  --db-icon: "magnifying_glass";
  margin-inline-end: var(--db-icon-margin-end, var(--db-spacing-fixed-xs));
}
.db-input:has(input[type=search]):not([data-show-icon-trailing=false])::after {
  --db-icon-trailing: "cross";
  margin-inline-start: var(--db-icon-margin-start, var(--db-spacing-fixed-xs));
  content: var(--db-icon-trailing, attr(data-icon-trailing));
}
@supports (content: ""/"") {
  .db-input:has(input[type=search]):not([data-show-icon-trailing=false])::after {
    content: var(--db-icon-trailing, attr(data-icon-trailing))/"";
  }
}
.db-input:has(input[type=search])::after {
  opacity: 0;
}
@media screen and (prefers-reduced-motion: no-preference) {
  .db-input:has(input[type=search])::after {
    transition: opacity var(--db-transition-duration-fast);
  }
}
.db-input:has(input[type=search]):has(input:not(:placeholder-shown)):has(input:hover,
input:focus-visible)::after {
  opacity: 1;
}
@supports selector(::-webkit-calendar-picker-indicator) {
  .db-input:has(input[type=date]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=week]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=datetime-local]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=month]):not([data-show-icon-trailing=false])::after {
    --db-icon-trailing: "calendar";
    margin-inline-start: var(--db-icon-margin-start, var(--db-spacing-fixed-xs));
    content: var(--db-icon-trailing, attr(data-icon-trailing));
  }
  @supports (content: ""/"") {
    .db-input:has(input[type=date]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=week]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=datetime-local]):not([data-show-icon-trailing=false])::after, .db-input:has(input[type=month]):not([data-show-icon-trailing=false])::after {
      content: var(--db-icon-trailing, attr(data-icon-trailing))/"";
    }
  }
  .db-input:has(input[type=time]):not([data-show-icon-trailing=false])::after {
    --db-icon-trailing: "clock";
    margin-inline-start: var(--db-icon-margin-start, var(--db-spacing-fixed-xs));
    content: var(--db-icon-trailing, attr(data-icon-trailing));
  }
  @supports (content: ""/"") {
    .db-input:has(input[type=time]):not([data-show-icon-trailing=false])::after {
      content: var(--db-icon-trailing, attr(data-icon-trailing))/"";
    }
  }
}
.db-input:has(input[type=file]) input {
  padding-block-start: var(--db-spacing-fixed-xs);
}
.db-input:has(input[type=file])[data-variant=floating] input {
  padding-block-start: calc(var(--db-spacing-fixed-md) + var(--db-spacing-fixed-3xs));
}
.db-input:has(input[type=file])[data-variant=floating] input::file-selector-button {
  block-size: var(--db-sizing-xs);
  padding: 0 var(--db-spacing-fixed-xs);
  margin-inline-end: var(--db-spacing-fixed-xs);
}
.db-input[data-variant=floating] input::-webkit-calendar-picker-indicator, .db-input[data-variant=floating] input::-webkit-search-cancel-button {
  /* stylelint-disable-next-line db-ux/use-spacings */
  margin-block-end: var(--db-base-body-icon-font-size-2xs);
}
.db-input input {
  position: relative;
}
.db-input input::-webkit-calendar-picker-indicator, .db-input input::-webkit-search-cancel-button {
  background-image: none;
  inline-size: var(--db-icon-font-size, 1.5rem);
  block-size: var(--db-icon-font-size, 1.5rem);
  padding: 0;
  cursor: pointer;
  /* stylelint-disable-next-line db-ux/use-spacings */
  margin-block-start: var(--db-border-width-3xs);
  border-radius: var(--db-border-radius-xs);
}
.db-input input::-webkit-calendar-picker-indicator:focus-visible, .db-input input::-webkit-search-cancel-button: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-input input::-webkit-calendar-picker-indicator:focus-visible, .db-input input::-webkit-search-cancel-button:focus-visible {
    transition: outline var(--db-transition-duration-extra-fast), box-shadow var(--db-transition-duration-extra-fast);
  }
}
.db-input input::-webkit-search-cancel-button {
  appearance: none;
  position: absolute;
  inset-inline-end: calc(var(--db-spacing-fixed-sm) + var(--db-border-width-3xs));
}
.db-input input::file-selector-button {
  color: var(--db-adaptive-on-bg-basic-emphasis-100-default);
  block-size: var(--db-sizing-sm);
  padding: var(--db-spacing-fixed-3xs) var(--db-spacing-fixed-sm);
  margin-inline-end: var(--db-spacing-fixed-sm);
}
.db-input input::file-selector-button:hover, .db-input input::file-selector-button:focus {
  background-color: var(--db-adaptive-bg-basic-transparent-full-hovered);
}
.db-input input::file-selector-button:active {
  background-color: var(--db-adaptive-bg-basic-transparent-full-pressed);
}
.db-input:has(datalist) input::-webkit-calendar-picker-indicator {
  display: none !important;
}
