/**
 * src/styles/settings.scss
 *
 * Configures SASS variables and Vuetify overwrites
 */
@layer vuetify-components {
  .v-autocomplete--chips.v-input--density-compact .v-field--variant-solo .v-label.v-field-label--floating,
  .v-autocomplete--chips.v-input--density-compact .v-field--variant-solo-inverted .v-label.v-field-label--floating,
  .v-autocomplete--chips.v-input--density-compact .v-field--variant-filled .v-label.v-field-label--floating,
  .v-autocomplete--chips.v-input--density-compact .v-field--variant-solo-filled .v-label.v-field-label--floating {
    top: 0px;
  }
  .v-autocomplete .v-field .v-text-field__prefix,
  .v-autocomplete .v-field .v-text-field__suffix,
  .v-autocomplete .v-field .v-field__input,
  .v-autocomplete .v-field .v-field__input > input, .v-autocomplete .v-field.v-field {
    cursor: text;
  }
  .v-autocomplete .v-field .v-field__input > input {
    flex: 1 1;
  }
  .v-autocomplete .v-field input {
    min-width: 64px;
  }
  .v-autocomplete .v-field:not(.v-field--focused) input {
    min-width: 0;
  }
  .v-autocomplete .v-field--dirty .v-autocomplete__selection {
    margin-inline-end: 2px;
  }
  .v-autocomplete .v-autocomplete__selection-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .v-autocomplete__content {
    overflow: hidden;
  }
  .v-autocomplete__content {
    box-shadow: 0px 1px 2px 0px rgba(var(--v-shadow-color), var(--v-shadow-key-opacity, 0.3)), 0px 2px 6px 2px rgba(var(--v-shadow-color), var(--v-shadow-ambient-opacity, 0.15));
    --v-elevation-overlay: color-mix(in srgb, var(--v-elevation-overlay-color) 4%, transparent);
  }
  .v-menu > .v-overlay__content.v-autocomplete__content {
    border-radius: 4px;
  }
  .v-autocomplete__content > .v-sheet {
    display: flex;
    flex-direction: column;
  }
  .v-autocomplete__mask {
    background: rgb(var(--v-theme-surface-light));
  }
  .v-autocomplete__selection {
    display: inline-flex;
    align-items: center;
    height: 1.5rem;
    letter-spacing: inherit;
    line-height: inherit;
    max-width: calc(100% - 2px - 2px);
  }
  .v-autocomplete__selection:first-child {
    margin-inline-start: 0;
  }
  .v-autocomplete--selecting-index .v-autocomplete__selection {
    opacity: var(--v-medium-emphasis-opacity);
  }
  .v-autocomplete--selecting-index .v-autocomplete__selection--selected {
    opacity: 1;
  }
  .v-autocomplete--selecting-index .v-field__input > input {
    caret-color: transparent;
  }
  .v-autocomplete--single:not(.v-autocomplete--selection-slot).v-text-field input {
    flex: 1 1;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    padding-inline: inherit;
  }
  .v-autocomplete--single:not(.v-autocomplete--selection-slot) .v-field--active input {
    transition: none;
  }
  .v-autocomplete--single:not(.v-autocomplete--selection-slot) .v-field--dirty:not(.v-field--focused) input {
    opacity: 0;
  }
  .v-autocomplete--single:not(.v-autocomplete--selection-slot) .v-field--focused .v-autocomplete__selection {
    opacity: 0;
  }
  .v-autocomplete__menu-icon {
    margin-inline-start: 4px;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .v-autocomplete--active-menu .v-autocomplete__menu-icon {
    transform: rotate(180deg);
  }
}
.ddHeader,
.ddItem {
  width: 100%;
  margin: auto;
  text-overflow: ellipsis;
  overflow: hidden;
}
.ddHeader {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  font-weight: bold;
  text-align: left;
  height: 24px;
  padding: 0;
  font-size: 12px !important;

  font-family:
    Roboto,
    "Segoe UI",
    GeezaPro,
    "DejaVu Serif",
    sans-serif,
    -apple-system,
    BlinkMacSystemFont;
  border-bottom: 2px solid black;
}
.ddItem {
  display: flex; /* sorgt dafür, dass alle Zellen nebeneinander bleiben */
  align-items: center; /* vertikal mittig */
  white-space: nowrap; /* verhindert Zeilenumbruch */
  overflow: hidden; /* falls der Inhalt zu lang ist */
  text-overflow: ellipsis; /* optional: "…" am Ende */
}
.ddItemCell {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: none;
  white-space: nowrap;
  line-break: initial;
  text-align: left;
  padding: 0;
}
.ddHeaderCell {
  font-weight: bold;
}
.ddItemCellFav {
  cursor: pointer;
  text-align: right;
  margin-left: auto;
  flex: 0 0 32px;
  width: 32px;
  min-width: 32px;
  max-width: 32px;
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  padding-left: 0;
}
