/* Gemeinsames Dropdown (dropdown.js) für Seiten ohne Dashboard-Stile – Registrierung usw. (Wunsch des Users 26.10.2026: „ALLE Dropdowns
   in unserem Design, schön und einheitlich, auch bei der Anmeldung beim Geburtstag“). Gleiche Werte wie im Dashboard (frontend-app.css
   „gemeinsames Dropdown“): dunkle Glas-Liste, Eisblau für Fokus und gewählten Eintrag. Die Seite legt nur Größe/Rahmen des Knopfs fest. */
select.dd-nativ { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important;
  pointer-events: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.dd-knopf { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; padding: 6px 10px 6px 12px; border-radius: 10px;
  border: 1px solid rgba(170, 205, 240, .14); background: rgba(3, 8, 16, .55); color: #eef6ff; font: inherit; font-size: 13px;
  line-height: 1.3; cursor: pointer; vertical-align: middle; text-align: left; transition: border-color .18s, box-shadow .18s; }
.dd-knopf:hover { border-color: rgba(170, 205, 240, .28); }
.dd-knopf.offen, .dd-knopf:focus-visible { border-color: rgba(74, 174, 245, .75); box-shadow: 0 0 0 3px rgba(74, 174, 245, .16); outline: none; }
.dd-knopf:disabled { opacity: .45; cursor: not-allowed; }
.dd-titel { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-knopf.dd-platzhalter .dd-titel { color: #7d92aa; }  /* noch nichts gewählt („Tag“, „Land wählen …“) */
.dd-knopf .ico { width: 16px; height: 16px; flex: none; color: #7d92aa; transition: transform .15s; }
.dd-knopf.offen .ico { transform: rotate(180deg); color: #eef6ff; }
.dd-liste { position: fixed; z-index: 10095; box-sizing: border-box; padding: 4px; border-radius: 12px; background: rgba(8, 16, 29, .96);
  border: 1px solid rgba(170, 205, 240, .18); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 3, 10, .65); max-height: calc(6 * 34px + 8px); max-width: min(420px, calc(100vw - 16px));
  overflow-y: auto; overscroll-behavior: contain; font-family: inherit; }
.dd-liste.dd-mit-suche { max-height: calc(7 * 34px + 52px); }
.dd-eintrag { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; width: 100%; height: 34px;
  padding: 0 8px 0 12px; border: 0; border-radius: 8px; background: transparent; color: #eef6ff; font: inherit; font-size: 13px;
  text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-beschriftung { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dd-eintrag:hover, .dd-eintrag:focus-visible { background: rgba(74, 174, 245, .14); outline: none; }
.dd-eintrag.aktiv { background: rgba(74, 174, 245, .14); font-weight: 700; }
.dd-eintrag:disabled { color: #71839a; cursor: not-allowed; }
.dd-suche { position: sticky; top: -4px; z-index: 2; display: block; width: 100%; box-sizing: border-box; height: 36px; margin: 0 0 4px;
  padding: 0 11px; border-radius: 8px; border: 1px solid rgba(170, 205, 240, .16); background: #0b1626; color: #eef6ff; font: inherit;
  font-size: 13px; outline: none; box-shadow: 0 0 0 4px #08101d, 0 8px 12px rgba(0, 3, 10, .45); }
.dd-suche:focus { border-color: rgba(74, 174, 245, .7); }
.dd-leer { padding: 8px 12px; font-size: 12.5px; color: #8a94a6; }
.dd-liste .dd-eintrag[hidden], .dd-liste .dd-leer[hidden] { display: none; }
@media (max-width: 860px), (pointer: coarse) {
  .dd-eintrag { height: auto; min-height: 44px; font-size: 15px; }
  .dd-suche { height: 40px; font-size: 16px; }  /* iOS zoomt sonst beim Antippen */
  .dd-liste.dd-mit-suche { max-height: calc(6 * 44px + 56px); }
}
/* Kompakte Menü-Köpfe: keine leere Farbfläche, X mit eigener Touch-Fläche (05.11.2026). */
.dd-ausgang { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: flex-end;
  gap: 8px; padding: 4px 4px 6px 10px; background: #08101d; }
.dd-kopf-titel { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: inherit; font-size: 11px; font-weight: 600; line-height: 1.35;
  letter-spacing: .02em; color: #8fa7bc; text-align: left; }
.dd-ausgang > button.dlg-schliessen { position: static; display: grid; place-items: center; flex: 0 0 30px; align-self: center;
  width: 30px; height: 30px; min-width: 30px; min-height: 30px; margin: 0; padding: 0; border: 1px solid transparent;
  border-radius: 8px; background: transparent; box-shadow: none; color: #96aec2; font: 400 22px/1 sans-serif;
  cursor: pointer; touch-action: manipulation; }
.dd-ausgang > button.dlg-schliessen:hover { color: #eef6ff; background: rgba(113,190,245,.09); border-color: rgba(113,190,245,.12); }
.dd-ausgang > button.dlg-schliessen:focus-visible { outline: 2px solid #84ceff; outline-offset: -2px; color: #eef6ff; }
.dd-ausgang > button.dlg-schliessen svg, .dd-haken svg { display: block; width: 16px; height: 16px; fill: none;
  stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dd-liste.dd-panel { display: flex; flex-direction: column; box-sizing: border-box; margin: 0; inset: auto; min-width: min(200px, calc(100vw - 16px));
  max-height: calc(6 * 34px + 52px); padding: 6px; overflow: hidden; }
.dd-liste.dd-panel.dd-mit-suche { min-width: min(280px, calc(100vw - 16px)); max-height: calc(7 * 34px + 56px); }
.dd-panel > .dd-ausgang { position: relative; flex: none; min-width: 0; padding: 0 0 6px 8px; background: transparent; }
.dd-panel.dd-mit-suche > .dd-ausgang { padding-left: 0; gap: 6px; }
body .dd-panel.dd-mit-suche .dd-suche { position: static; flex: 1; min-width: 0; width: 0; height: 34px; margin: 0;
  padding: 0 10px; border-radius: 8px; background: rgba(116,177,222,.05); box-shadow: none; }
.dd-optionen { position: relative; flex: 0 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain; scroll-padding-block: 3px; }
.dd-panel .dd-beschriftung { flex: 1; }
.dd-haken { display: grid; place-items: center; flex: none; width: 16px; color: #8fd5ff; visibility: hidden; }
.dd-eintrag.aktiv .dd-haken { visibility: visible; }
:is(.dd-optionen, .sm8-sw-liste, .ki-preset-liste, .ob-wahl-zeilen, .tr-ordnermenue, .ag-sc-pop, .konto-menu) {
  scrollbar-width: thin; scrollbar-color: #2e4555 transparent; }
:is(.dd-optionen, .sm8-sw-liste, .ki-preset-liste, .ob-wahl-zeilen, .tr-ordnermenue, .ag-sc-pop, .konto-menu)::-webkit-scrollbar { width: 4px; height: 4px; }
:is(.dd-optionen, .sm8-sw-liste, .ki-preset-liste, .ob-wahl-zeilen, .tr-ordnermenue, .ag-sc-pop, .konto-menu)::-webkit-scrollbar-track { background: transparent; }
:is(.dd-optionen, .sm8-sw-liste, .ki-preset-liste, .ob-wahl-zeilen, .tr-ordnermenue, .ag-sc-pop, .konto-menu)::-webkit-scrollbar-thumb { background: #2e4555; border-radius: 8px; }
:is(.dd-optionen, .sm8-sw-liste, .ki-preset-liste, .ob-wahl-zeilen, .tr-ordnermenue, .ag-sc-pop, .konto-menu)::-webkit-scrollbar-thumb:hover { background: #466477; }
@media (max-width: 860px), (pointer: coarse) {
  .dd-ausgang > button.dlg-schliessen { flex-basis: 44px; width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .dd-liste.dd-panel { max-height: calc(6 * 44px + 62px); }
  .dd-liste.dd-panel.dd-mit-suche { max-height: calc(6 * 44px + 62px); }
  body .dd-panel.dd-mit-suche .dd-suche { height: 44px; font-size: 16px; }
}
