/* ============================================================
   dsb.css · Stand 2026-07-04 · v1
   Baseline mit Versionskopf (Inhalt unveraendert)
   ============================================================ */
/* In den assets/-Ordner deiner Dash-App legen (wird automatisch geladen). */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* Navigation: horizontal scrollen ohne sichtbare Scrollbar */
.dsb-nav { scrollbar-width: none; }
.dsb-nav::-webkit-scrollbar { display: none; }

/* dcc.Dropdown als weiße Pill im DSB-Stil */
.dsb-select .Select-control,
.dsb-select .is-focused:not(.is-open) > .Select-control {
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 10px;
    height: 36px;
    box-shadow: none !important;
    cursor: pointer;
}
.dsb-select .Select-value-label,
.dsb-select .Select-placeholder {
    color: #21306e !important;
    font-weight: 600;
    font-size: 13.5px;
    line-height: 34px !important;
}
.dsb-select .Select-arrow { border-color: #21306e transparent transparent; }
.dsb-select .Select-menu-outer {
    border-radius: 10px;
    overflow: hidden;
    font-size: 13.5px;
    color: #21306e;
    border: 1px solid #e6e8f0;
    box-shadow: 0 8px 24px rgba(20,28,66,0.18);
    margin-top: 4px;
}
.dsb-select .VirtualizedSelectFocusedOption { background: #f3f4f8; }

/* ============================================================
   Filter-Radios/Checkboxen: einheitlicher lila DSB-Akzent UND
   einheitliche Optik. Manche Filter sind native Radios (dcc.RadioItems),
   andere Bootstrap-Radios (dbc.RadioItems, .form-check-input). Damit sie
   identisch aussehen, werden die Bootstrap-Radios auf native Optik
   zurueckgesetzt (accent-color statt Bootstrap-SVG/-Groesse).
   Segmented-Controls (.btn-check) sind versteckt -> unberuehrt.
   ============================================================ */
input[type="radio"],
input[type="checkbox"] { accent-color: #7a5cc2; }

/* Feste Radio-Groesse -> identisch, unabhaengig von der Label-Schriftgroesse */
input[type="radio"] { width: 14px; height: 14px; vertical-align: middle; }

/* Bootstrap-Radios -> native Kreise (Form/Groesse wie dcc-Radios) */
.form-check-input[type="radio"] {
    -webkit-appearance: radio !important;
    appearance: auto !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    width: 14px !important;
    height: 14px !important;
    margin-top: 0 !important;
    vertical-align: middle;
}

/* Checkboxen (Bootstrap-Optik behalten) einheitlich lila fuellen */
.form-check-input[type="checkbox"]:checked {
    background-color: #7a5cc2 !important;
    border-color: #7a5cc2 !important;
}
.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(122, 92, 194, 0.25) !important;
}

/* Radio + Label auf einer gemeinsamen Mittellinie (Bootstrap-Inline-Checks) */
.form-check-inline {
    display: inline-flex !important;
    align-items: center;
}
.form-check-inline .form-check-label { line-height: 1; }
