/*
 * FlyMonitor Clean
 * Eigenständiges helles Design.
 * Wird erst durch den späteren Template-Switcher aktiviert.
 */

body.flymonitor-unified.fm-theme-clean {
    --fm-clean-bg: #f5f7fa;
    --fm-clean-card: #ffffff;
    --fm-clean-text: #183047;
    --fm-clean-muted: #526579;
    --fm-clean-border: #dce5ec;
    --fm-clean-accent: #35c9be;

    background: var(--fm-clean-bg) !important;
    color: var(--fm-clean-text) !important;
    -webkit-text-fill-color: var(--fm-clean-text);
}

body.flymonitor-unified.fm-theme-clean .fm-section {
    color: var(--fm-clean-text);
}

body.flymonitor-unified.fm-theme-clean .fm-section .fm-card {
    background: var(--fm-clean-card) !important;
    border-color: var(--fm-clean-border) !important;
    color: var(--fm-clean-text) !important;
}

body.flymonitor-unified.fm-theme-clean .fm-section h1,
body.flymonitor-unified.fm-theme-clean .fm-section h2,
body.flymonitor-unified.fm-theme-clean .fm-section h3,
body.flymonitor-unified.fm-theme-clean .fm-section h4,
body.flymonitor-unified.fm-theme-clean .fm-section h5 {
    color: var(--fm-clean-text) !important;
    -webkit-text-fill-color: var(--fm-clean-text) !important;
}

body.flymonitor-unified.fm-theme-clean .fm-section input:not([type="checkbox"]):not([type="radio"]),
body.flymonitor-unified.fm-theme-clean .fm-section select,
body.flymonitor-unified.fm-theme-clean .fm-section textarea {
    background: #ffffff !important;
    color: #183047 !important;
    border-color: #cbd7e2 !important;
    -webkit-text-fill-color: #183047 !important;
}

body.flymonitor-unified.fm-theme-clean .fm-section .fm-small,
body.flymonitor-unified.fm-theme-clean .fm-section .text-muted {
    color: #526579 !important;
    -webkit-text-fill-color: #526579 !important;
}

body.flymonitor-unified.fm-theme-clean .fm-section .btn-primary {
    background: #168f98 !important;
    border-color: #168f98 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}


/* FlyMonitor Clean Dashboard v2 */

/* Grundfläche */
body.flymonitor-unified.fm-theme-clean,
body.flymonitor-unified.fm-theme-clean main {
    background-color: #f5f7fb !important;
    color: #183047 !important;
}

/* Navigation */
body.flymonitor-unified.fm-theme-clean header.primary,
body.flymonitor-unified.fm-theme-clean header.primary .container,
body.flymonitor-unified.fm-theme-clean header.primary .container-fluid {
    background: #ffffff !important;
    color: #183047 !important;
}

body.flymonitor-unified.fm-theme-clean header.primary a:not(.btn),
body.flymonitor-unified.fm-theme-clean header.primary .nav-link {
    color: #183047 !important;
    -webkit-text-fill-color: #183047 !important;
}

/* Modulhintergründe */
body.flymonitor-unified.fm-theme-clean .fm-section {
    background-color: transparent !important;
    color: #183047 !important;
}

/* Karten, Panels und Dashboard-Kacheln */
body.flymonitor-unified.fm-theme-clean .fm-section .card,
body.flymonitor-unified.fm-theme-clean .fm-section .fm-card,
body.flymonitor-unified.fm-theme-clean .fm-section .fm-panel,
body.flymonitor-unified.fm-theme-clean .fm-section .fm-dash2-kpi,
body.flymonitor-unified.fm-theme-clean #dashboard > .fm-card {
    background: #ffffff !important;
    border-color: #dce5ec !important;
    color: #183047 !important;
    box-shadow: 0 5px 18px rgba(20, 45, 67, .06) !important;
}

/* Überschriften und normaler Kartentext */
body.flymonitor-unified.fm-theme-clean .fm-section h1,
body.flymonitor-unified.fm-theme-clean .fm-section h2,
body.flymonitor-unified.fm-theme-clean .fm-section h3,
body.flymonitor-unified.fm-theme-clean .fm-section h4,
body.flymonitor-unified.fm-theme-clean .fm-section h5,
body.flymonitor-unified.fm-theme-clean .fm-section .card-title,
body.flymonitor-unified.fm-theme-clean .fm-section .form-label,
body.flymonitor-unified.fm-theme-clean .fm-section label,
body.flymonitor-unified.fm-theme-clean .fm-section .fm-dash2-kpi,
body.flymonitor-unified.fm-theme-clean .fm-section .fm-dash2-kpi * {
    color: #183047 !important;
    -webkit-text-fill-color: #183047 !important;
}

/* Nebentexte */
body.flymonitor-unified.fm-theme-clean .fm-section .fm-small,
body.flymonitor-unified.fm-theme-clean .fm-section .text-muted {
    color: #526579 !important;
    -webkit-text-fill-color: #526579 !important;
}

/* Formularfelder */
body.flymonitor-unified.fm-theme-clean .fm-section .form-control,
body.flymonitor-unified.fm-theme-clean .fm-section .form-select {
    background-color: #ffffff !important;
    border-color: #cbd7e2 !important;
    color: #183047 !important;
    -webkit-text-fill-color: #183047 !important;
}

/* Primäre Buttons */
body.flymonitor-unified.fm-theme-clean .fm-section .btn-primary {
    background-color: #168f98 !important;
    border-color: #168f98 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Helle Tabellen */
body.flymonitor-unified.fm-theme-clean .fm-section .table {
    --bs-table-bg: #ffffff;
    --bs-table-color: #183047;
    --bs-table-border-color: #dce5ec;
}


/* FlyMonitor Clean v3 Hero und Navigation */

/* Großer Titelbereich */
body.flymonitor-unified.fm-theme-clean .flymonitor-wrap {
    background: #f5f7fb !important;
    background-image: none !important;
    color: #183047 !important;
}

body.flymonitor-unified.fm-theme-clean .flymonitor-wrap h1,
body.flymonitor-unified.fm-theme-clean .flymonitor-wrap .lead {
    color: #183047 !important;
    -webkit-text-fill-color: #183047 !important;
}

body.flymonitor-unified.fm-theme-clean .flymonitor-wrap .lead {
    color: #526579 !important;
    -webkit-text-fill-color: #526579 !important;
}

/* Statistik-Kacheln im Titelbereich */
body.flymonitor-unified.fm-theme-clean .flymonitor-wrap .fm-grid > * {
    background: #ffffff !important;
    border-color: #dce5ec !important;
    color: #183047 !important;
}

body.flymonitor-unified.fm-theme-clean .flymonitor-wrap .fm-grid > * * {
    color: #183047 !important;
    -webkit-text-fill-color: #183047 !important;
}

/* Modulnavigation */
body.flymonitor-unified.fm-theme-clean .fm-tabs {
    background: #ffffff !important;
    border: 1px solid #dce5ec !important;
    box-shadow: 0 4px 18px rgba(20,45,67,.06) !important;
}

body.flymonitor-unified.fm-theme-clean .fm-tabs .fm-tab {
    background: #f1f5f9 !important;
    border: 1px solid #dce5ec !important;
    color: #183047 !important;
    -webkit-text-fill-color: #183047 !important;
}

body.flymonitor-unified.fm-theme-clean .fm-tabs .fm-tab.active {
    background: #35c9be !important;
    border-color: #35c9be !important;
    color: #092d35 !important;
    -webkit-text-fill-color: #092d35 !important;
}

/* Kopfzeile und Navigation */
body.flymonitor-unified.fm-theme-clean header.primary {
    background: #ffffff !important;
    background-image: none !important;
    border-bottom: 1px solid #dce5ec !important;
}

body.flymonitor-unified.fm-theme-clean .fm-unified-nav a {
    color: #183047 !important;
    -webkit-text-fill-color: #183047 !important;
}


/* FlyMonitor Clean Neutral v4 */

/* =========================================================
   NEUTRALE PALETTE – weiss / beige / grau
   ========================================================= */

body.flymonitor-unified.fm-theme-clean {
    --fm-clean-bg: #f6f3ee;
    --fm-clean-surface: #ffffff;
    --fm-clean-surface-2: #f3eee6;
    --fm-clean-panel: #fcfaf7;
    --fm-clean-border: #ddd4c7;
    --fm-clean-border-strong: #cfc2b0;
    --fm-clean-text: #243240;
    --fm-clean-text-soft: #5f6b76;
    --fm-clean-heading: #1a2733;
    --fm-clean-button: #e7dfd2;
    --fm-clean-button-hover: #ddd2c1;
    --fm-clean-badge: #efe7da;
    --fm-clean-shadow: 0 10px 28px rgba(38, 39, 41, 0.08);

    background: var(--fm-clean-bg) !important;
    color: var(--fm-clean-text) !important;
    -webkit-text-fill-color: var(--fm-clean-text);
}

/* Seite allgemein */
body.flymonitor-unified.fm-theme-clean,
body.flymonitor-unified.fm-theme-clean main,
body.flymonitor-unified.fm-theme-clean .fm-section,
body.flymonitor-unified.fm-theme-clean .container,
body.flymonitor-unified.fm-theme-clean .container-fluid {
    background-color: var(--fm-clean-bg) !important;
    color: var(--fm-clean-text) !important;
}

/* Hero / Kopfbereich */
body.flymonitor-unified.fm-theme-clean .flymonitor-wrap {
    background: linear-gradient(180deg, #fffdfa 0%, #f5f1ea 100%) !important;
    color: var(--fm-clean-text) !important;
    border-bottom: 1px solid var(--fm-clean-border) !important;
}

body.flymonitor-unified.fm-theme-clean .flymonitor-wrap h1,
body.flymonitor-unified.fm-theme-clean .flymonitor-wrap h2,
body.flymonitor-unified.fm-theme-clean .flymonitor-wrap h3,
body.flymonitor-unified.fm-theme-clean .flymonitor-wrap .lead,
body.flymonitor-unified.fm-theme-clean .flymonitor-wrap p,
body.flymonitor-unified.fm-theme-clean .flymonitor-wrap span {
    color: var(--fm-clean-heading) !important;
    -webkit-text-fill-color: var(--fm-clean-heading) !important;
}

/* Oberes Menü / Navigation */
body.flymonitor-unified.fm-theme-clean header.primary,
body.flymonitor-unified.fm-theme-clean .primary,
body.flymonitor-unified.fm-theme-clean .fm-unified-nav {
    background: #ffffff !important;
    border-bottom: 1px solid var(--fm-clean-border) !important;
}

body.flymonitor-unified.fm-theme-clean .fm-unified-nav a,
body.flymonitor-unified.fm-theme-clean .fm-unified-nav .fm-unified-admin-link,
body.flymonitor-unified.fm-theme-clean header.primary a,
body.flymonitor-unified.fm-theme-clean .primary a {
    color: var(--fm-clean-heading) !important;
    -webkit-text-fill-color: var(--fm-clean-heading) !important;
    border-color: var(--fm-clean-border-strong) !important;
}

body.flymonitor-unified.fm-theme-clean .fm-unified-nav a:hover,
body.flymonitor-unified.fm-theme-clean .fm-unified-nav .fm-unified-admin-link:hover,
body.flymonitor-unified.fm-theme-clean header.primary a:hover {
    background: var(--fm-clean-surface-2) !important;
    color: var(--fm-clean-heading) !important;
}

/* Cockpit / Karten / Panels */
body.flymonitor-unified.fm-theme-clean .fm-card,
body.flymonitor-unified.fm-theme-clean .fm-panel,
body.flymonitor-unified.fm-theme-clean .card,
body.flymonitor-unified.fm-theme-clean .fm-section .card,
body.flymonitor-unified.fm-theme-clean .fm-section .fm-card,
body.flymonitor-unified.fm-theme-clean .fm-section .fm-panel,
body.flymonitor-unified.fm-theme-clean #dashboard > .fm-card,
body.flymonitor-unified.fm-theme-clean .fm-dash2-kpi {
    background: var(--fm-clean-surface) !important;
    color: var(--fm-clean-text) !important;
    border: 1px solid var(--fm-clean-border) !important;
    box-shadow: var(--fm-clean-shadow) !important;
}

/* Überschriften und Standardtexte */
body.flymonitor-unified.fm-theme-clean h1,
body.flymonitor-unified.fm-theme-clean h2,
body.flymonitor-unified.fm-theme-clean h3,
body.flymonitor-unified.fm-theme-clean h4,
body.flymonitor-unified.fm-theme-clean h5,
body.flymonitor-unified.fm-theme-clean h6,
body.flymonitor-unified.fm-theme-clean strong,
body.flymonitor-unified.fm-theme-clean b {
    color: var(--fm-clean-heading) !important;
    -webkit-text-fill-color: var(--fm-clean-heading) !important;
}

body.flymonitor-unified.fm-theme-clean p,
body.flymonitor-unified.fm-theme-clean span,
body.flymonitor-unified.fm-theme-clean div,
body.flymonitor-unified.fm-theme-clean label,
body.flymonitor-unified.fm-theme-clean li,
body.flymonitor-unified.fm-theme-clean td,
body.flymonitor-unified.fm-theme-clean th,
body.flymonitor-unified.fm-theme-clean .fm-small,
body.flymonitor-unified.fm-theme-clean .text-muted {
    color: var(--fm-clean-text) !important;
    -webkit-text-fill-color: var(--fm-clean-text) !important;
}

body.flymonitor-unified.fm-theme-clean .text-muted,
body.flymonitor-unified.fm-theme-clean .fm-small {
    color: var(--fm-clean-text-soft) !important;
    -webkit-text-fill-color: var(--fm-clean-text-soft) !important;
}

/* Tabs / Modulleiste */
body.flymonitor-unified.fm-theme-clean .fm-tabs {
    background: var(--fm-clean-surface) !important;
    border: 1px solid var(--fm-clean-border) !important;
    box-shadow: var(--fm-clean-shadow) !important;
}

body.flymonitor-unified.fm-theme-clean .fm-tabs .fm-tab,
body.flymonitor-unified.fm-theme-clean .fm-tab {
    background: #ffffff !important;
    color: var(--fm-clean-heading) !important;
    border: 1px solid var(--fm-clean-border) !important;
}

body.flymonitor-unified.fm-theme-clean .fm-tabs .fm-tab.active,
body.flymonitor-unified.fm-theme-clean .fm-tab.active {
    background: var(--fm-clean-badge) !important;
    color: var(--fm-clean-heading) !important;
    border-color: var(--fm-clean-border-strong) !important;
}

/* Buttons – kein grün mehr */
body.flymonitor-unified.fm-theme-clean .btn,
body.flymonitor-unified.fm-theme-clean button,
body.flymonitor-unified.fm-theme-clean .btn-primary,
body.flymonitor-unified.fm-theme-clean .btn-success,
body.flymonitor-unified.fm-theme-clean .btn-outline-primary,
body.flymonitor-unified.fm-theme-clean .btn-outline-success {
    background: var(--fm-clean-button) !important;
    color: var(--fm-clean-heading) !important;
    border: 1px solid var(--fm-clean-border-strong) !important;
    -webkit-text-fill-color: var(--fm-clean-heading) !important;
    box-shadow: none !important;
}

body.flymonitor-unified.fm-theme-clean .btn:hover,
body.flymonitor-unified.fm-theme-clean button:hover,
body.flymonitor-unified.fm-theme-clean .btn-primary:hover,
body.flymonitor-unified.fm-theme-clean .btn-success:hover,
body.flymonitor-unified.fm-theme-clean .btn-outline-primary:hover,
body.flymonitor-unified.fm-theme-clean .btn-outline-success:hover {
    background: var(--fm-clean-button-hover) !important;
    color: var(--fm-clean-heading) !important;
    border-color: #bda98f !important;
}

/* Formulare */
body.flymonitor-unified.fm-theme-clean input:not([type="checkbox"]):not([type="radio"]),
body.flymonitor-unified.fm-theme-clean select,
body.flymonitor-unified.fm-theme-clean textarea,
body.flymonitor-unified.fm-theme-clean .form-control,
body.flymonitor-unified.fm-theme-clean .form-select {
    background: #ffffff !important;
    color: var(--fm-clean-heading) !important;
    border: 1px solid var(--fm-clean-border-strong) !important;
    -webkit-text-fill-color: var(--fm-clean-heading) !important;
}

body.flymonitor-unified.fm-theme-clean input::placeholder,
body.flymonitor-unified.fm-theme-clean textarea::placeholder {
    color: #7b8792 !important;
    -webkit-text-fill-color: #7b8792 !important;
}

body.flymonitor-unified.fm-theme-clean input:focus,
body.flymonitor-unified.fm-theme-clean select:focus,
body.flymonitor-unified.fm-theme-clean textarea:focus,
body.flymonitor-unified.fm-theme-clean .form-control:focus,
body.flymonitor-unified.fm-theme-clean .form-select:focus {
    border-color: #bda98f !important;
    box-shadow: 0 0 0 0.2rem rgba(189, 169, 143, 0.18) !important;
}

/* Warnboxen / Statusfelder neutraler */
body.flymonitor-unified.fm-theme-clean .alert,
body.flymonitor-unified.fm-theme-clean .alert-info,
body.flymonitor-unified.fm-theme-clean .alert-warning,
body.flymonitor-unified.fm-theme-clean .alert-success {
    background: #f8f4ee !important;
    color: var(--fm-clean-heading) !important;
    border: 1px solid var(--fm-clean-border) !important;
}

body.flymonitor-unified.fm-theme-clean .badge,
body.flymonitor-unified.fm-theme-clean .fm-pill,
body.flymonitor-unified.fm-theme-clean .label,
body.flymonitor-unified.fm-theme-clean .tag {
    background: var(--fm-clean-badge) !important;
    color: var(--fm-clean-heading) !important;
    border: 1px solid var(--fm-clean-border) !important;
}

/* Tabellen */
body.flymonitor-unified.fm-theme-clean table,
body.flymonitor-unified.fm-theme-clean .table {
    background: #ffffff !important;
    color: var(--fm-clean-heading) !important;
}

body.flymonitor-unified.fm-theme-clean .table th {
    background: #f4efe8 !important;
    color: var(--fm-clean-heading) !important;
}

body.flymonitor-unified.fm-theme-clean .table td,
body.flymonitor-unified.fm-theme-clean .table th {
    border-color: var(--fm-clean-border) !important;
}

/* Template-Vorschaubox unten rechts */
body.flymonitor-unified.fm-theme-clean #fmThemePreviewBox,
body.flymonitor-unified.fm-theme-clean .fm-theme-preview,
body.flymonitor-unified.fm-theme-clean .fm-theme-switcher {
    background: #ffffff !important;
    border: 1px solid var(--fm-clean-border) !important;
    color: var(--fm-clean-heading) !important;
}

body.flymonitor-unified.fm-theme-clean #fmThemePreviewBox *,
body.flymonitor-unified.fm-theme-clean .fm-theme-preview *,
body.flymonitor-unified.fm-theme-clean .fm-theme-switcher * {
    color: var(--fm-clean-heading) !important;
    -webkit-text-fill-color: var(--fm-clean-heading) !important;
}

/* Links */
body.flymonitor-unified.fm-theme-clean a {
    color: #5e6d78 !important;
    -webkit-text-fill-color: #5e6d78 !important;
}

body.flymonitor-unified.fm-theme-clean a:hover {
    color: #243240 !important;
    -webkit-text-fill-color: #243240 !important;
}

/* FlyMonitor Clean Neutral Accent Fix v5 */

/* =========================================================
   TÜRKIS / GRÜN IM CLEAN-THEME NEUTRALISIEREN
   ========================================================= */

body.flymonitor-unified.fm-theme-clean {
    --fm-clean-neutral-1: #f7f3ee;
    --fm-clean-neutral-2: #ebe3d8;
    --fm-clean-neutral-3: #d8ccbc;
    --fm-clean-neutral-4: #c7b8a4;
    --fm-clean-neutral-text: #213547;
    --fm-clean-neutral-muted: #5c6b78;
}

/* Standard-Buttons neutral */
body.flymonitor-unified.fm-theme-clean .btn-primary,
body.flymonitor-unified.fm-theme-clean .btn-success,
body.flymonitor-unified.fm-theme-clean .btn-info,
body.flymonitor-unified.fm-theme-clean .btn-warning,
body.flymonitor-unified.fm-theme-clean .btn.btn-primary,
body.flymonitor-unified.fm-theme-clean .btn.btn-success,
body.flymonitor-unified.fm-theme-clean .btn.btn-info,
body.flymonitor-unified.fm-theme-clean button.btn-primary,
body.flymonitor-unified.fm-theme-clean button.btn-success,
body.flymonitor-unified.fm-theme-clean button.btn-info,
body.flymonitor-unified.fm-theme-clean input[type="submit"].btn-primary,
body.flymonitor-unified.fm-theme-clean input[type="submit"].btn-success,
body.flymonitor-unified.fm-theme-clean a.btn-primary,
body.flymonitor-unified.fm-theme-clean a.btn-success {
    background: var(--fm-clean-neutral-2) !important;
    color: var(--fm-clean-neutral-text) !important;
    border-color: var(--fm-clean-neutral-3) !important;
    -webkit-text-fill-color: var(--fm-clean-neutral-text) !important;
    box-shadow: none !important;
}

/* Hover / Fokus */
body.flymonitor-unified.fm-theme-clean .btn-primary:hover,
body.flymonitor-unified.fm-theme-clean .btn-success:hover,
body.flymonitor-unified.fm-theme-clean .btn-info:hover,
body.flymonitor-unified.fm-theme-clean .btn-warning:hover,
body.flymonitor-unified.fm-theme-clean .btn-primary:focus,
body.flymonitor-unified.fm-theme-clean .btn-success:focus,
body.flymonitor-unified.fm-theme-clean .btn-info:focus,
body.flymonitor-unified.fm-theme-clean .btn-warning:focus,
body.flymonitor-unified.fm-theme-clean a.btn-primary:hover,
body.flymonitor-unified.fm-theme-clean a.btn-success:hover {
    background: var(--fm-clean-neutral-3) !important;
    color: var(--fm-clean-neutral-text) !important;
    border-color: var(--fm-clean-neutral-4) !important;
    -webkit-text-fill-color: var(--fm-clean-neutral-text) !important;
    box-shadow: none !important;
}

/* Outline-Buttons neutral */
body.flymonitor-unified.fm-theme-clean .btn-outline-primary,
body.flymonitor-unified.fm-theme-clean .btn-outline-success,
body.flymonitor-unified.fm-theme-clean .btn-outline-info,
body.flymonitor-unified.fm-theme-clean .btn-outline-warning {
    background: #ffffff !important;
    color: var(--fm-clean-neutral-text) !important;
    border-color: var(--fm-clean-neutral-3) !important;
    -webkit-text-fill-color: var(--fm-clean-neutral-text) !important;
}

body.flymonitor-unified.fm-theme-clean .btn-outline-primary:hover,
body.flymonitor-unified.fm-theme-clean .btn-outline-success:hover,
body.flymonitor-unified.fm-theme-clean .btn-outline-info:hover,
body.flymonitor-unified.fm-theme-clean .btn-outline-warning:hover {
    background: var(--fm-clean-neutral-1) !important;
    color: var(--fm-clean-neutral-text) !important;
    border-color: var(--fm-clean-neutral-4) !important;
    -webkit-text-fill-color: var(--fm-clean-neutral-text) !important;
}

/* Aktive Tabs / Pills / Badges neutral */
body.flymonitor-unified.fm-theme-clean .fm-pill,
body.flymonitor-unified.fm-theme-clean .badge,
body.flymonitor-unified.fm-theme-clean .fm-tabs .fm-tab.active,
body.flymonitor-unified.fm-theme-clean .nav-pills .nav-link.active,
body.flymonitor-unified.fm-theme-clean .page-link.active,
body.flymonitor-unified.fm-theme-clean .active > .page-link {
    background: var(--fm-clean-neutral-1) !important;
    color: var(--fm-clean-neutral-text) !important;
    border-color: var(--fm-clean-neutral-3) !important;
    -webkit-text-fill-color: var(--fm-clean-neutral-text) !important;
}

/* Header-Buttons / Vorschau-Switcher neutral */
body.flymonitor-unified.fm-theme-clean .fm-unified-admin-link,
body.flymonitor-unified.fm-theme-clean .fm-template-preview button,
body.flymonitor-unified.fm-theme-clean .fm-template-preview a,
body.flymonitor-unified.fm-theme-clean #fmTemplatePreview button,
body.flymonitor-unified.fm-theme-clean #fmTemplatePreview a {
    background: #ffffff !important;
    color: var(--fm-clean-neutral-text) !important;
    border-color: var(--fm-clean-neutral-3) !important;
    -webkit-text-fill-color: var(--fm-clean-neutral-text) !important;
}

body.flymonitor-unified.fm-theme-clean .fm-template-preview .active,
body.flymonitor-unified.fm-theme-clean #fmTemplatePreview .active,
body.flymonitor-unified.fm-theme-clean .fm-template-preview button.active,
body.flymonitor-unified.fm-theme-clean #fmTemplatePreview button.active {
    background: var(--fm-clean-neutral-2) !important;
    color: var(--fm-clean-neutral-text) !important;
    border-color: var(--fm-clean-neutral-4) !important;
    -webkit-text-fill-color: var(--fm-clean-neutral-text) !important;
}

/* Türkise Inline-Elemente möglichst neutral erzwingen */
body.flymonitor-unified.fm-theme-clean [style*="#38cdbc"],
body.flymonitor-unified.fm-theme-clean [style*="#63e3d5"],
body.flymonitor-unified.fm-theme-clean [style*="rgb(56, 205, 188)"],
body.flymonitor-unified.fm-theme-clean [style*="rgb(99, 227, 213)"] {
    background: var(--fm-clean-neutral-2) !important;
    color: var(--fm-clean-neutral-text) !important;
    border-color: var(--fm-clean-neutral-3) !important;
    -webkit-text-fill-color: var(--fm-clean-neutral-text) !important;
}

/* Links und Akzenttexte neutral */
body.flymonitor-unified.fm-theme-clean a,
body.flymonitor-unified.fm-theme-clean .text-primary,
body.flymonitor-unified.fm-theme-clean .text-success,
body.flymonitor-unified.fm-theme-clean .text-info {
    color: #3f5365 !important;
    -webkit-text-fill-color: #3f5365 !important;
}

/* Kleine Meta-Texte */
body.flymonitor-unified.fm-theme-clean .fm-small,
body.flymonitor-unified.fm-theme-clean small,
body.flymonitor-unified.fm-theme-clean .text-muted {
    color: var(--fm-clean-neutral-muted) !important;
    -webkit-text-fill-color: var(--fm-clean-neutral-muted) !important;
}


/* FlyMonitor Clean Dashboard Neutral v6 */

/* Dashboard-Kopfbereich */
body.flymonitor-unified.fm-theme-clean .fm-dash2-header {
    background: #ffffff !important;
    background-image: none !important;
    color: #26313b !important;
    border: 1px solid #ddd4c7 !important;
}

/* Dunkelblaue Dashboard-Karten werden weiss */
body.flymonitor-unified.fm-theme-clean .fm-dash2-card,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-card {
    background: #ffffff !important;
    background-image: none !important;
    color: #26313b !important;
    border: 1px solid #ddd4c7 !important;
    box-shadow: 0 5px 18px rgba(38, 39, 41, .06) !important;
}

/* Überschriften und Texte innerhalb der Dashboard-Karten */
body.flymonitor-unified.fm-theme-clean .fm-dash2-card h3,
body.flymonitor-unified.fm-theme-clean .fm-dash2-card h4,
body.flymonitor-unified.fm-theme-clean .fm-dash2-card p,
body.flymonitor-unified.fm-theme-clean .fm-dash2-card strong,
body.flymonitor-unified.fm-theme-clean .fm-dash2-card span,
body.flymonitor-unified.fm-theme-clean .fm-dash2-card small,
body.flymonitor-unified.fm-theme-clean .fm-dash2-card a {
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}

/* Dashboard-Kennzahlen ebenfalls weiss */
body.flymonitor-unified.fm-theme-clean .fm-dash2-kpi,
body.flymonitor-unified.fm-theme-clean .fm-dash2-kpi * {
    background-color: #ffffff !important;
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}

/* Alle Dashboard-Aktionsbuttons neutral */
body.flymonitor-unified.fm-theme-clean .fm-dash2-actions .btn,
body.flymonitor-unified.fm-theme-clean .fm-dash2-actions button,
body.flymonitor-unified.fm-theme-clean .fm-dash2-card .btn {
    background: #e9e2d8 !important;
    color: #26313b !important;
    border: 1px solid #d0c3b2 !important;
    -webkit-text-fill-color: #26313b !important;
}

/* Auch der Cockpit-Link im Header */
body.flymonitor-unified.fm-theme-clean .fm-unified-nav a.btn,
body.flymonitor-unified.fm-theme-clean .fm-unified-nav .btn {
    background: #e9e2d8 !important;
    color: #26313b !important;
    border: 1px solid #d0c3b2 !important;
    -webkit-text-fill-color: #26313b !important;
}


/* FlyMonitor Clean Neutral v7 */

/* Dashboard-Kopf */
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-hero,
body.flymonitor-unified.fm-theme-clean .fm-dash2-hero {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #ddd4c7 !important;
    color: #26313b !important;
}

body.flymonitor-unified.fm-theme-clean .fm-dash2-hero h2,
body.flymonitor-unified.fm-theme-clean .fm-dash2-hero .fm-small,
body.flymonitor-unified.fm-theme-clean .fm-dash2-hero .fw-bold {
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}

/* Kennzahlen: weiße Flächen und dunkle Schrift */
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-kpi {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #ddd4c7 !important;
    color: #26313b !important;
}

body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-kpi * {
    background-color: transparent !important;
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}

/* Versionsanzeige */
body.flymonitor-unified.fm-theme-clean .fm-version-badge {
    background: #eee7dd !important;
    border: 1px solid #d0c3b2 !important;
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}

/* Dashboard-Buttons */
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-actions .btn {
    background: #e9e2d8 !important;
    border: 1px solid #d0c3b2 !important;
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}


/* FlyMonitor Clean Header v8 */

body.flymonitor-unified.fm-theme-clean .fm-unified-header {
    background: #ffffff !important;
    background-image: none !important;
    border-bottom: 1px solid #ddd4c7 !important;
    box-shadow: 0 3px 15px rgba(30, 35, 40, .05) !important;
}

body.flymonitor-unified.fm-theme-clean .fm-unified-header-inner,
body.flymonitor-unified.fm-theme-clean .fm-unified-nav,
body.flymonitor-unified.fm-theme-clean .fm-unified-auth {
    background: transparent !important;
    background-image: none !important;
}

body.flymonitor-unified.fm-theme-clean .fm-unified-header .fm-unified-nav a,
body.flymonitor-unified.fm-theme-clean .fm-unified-header .fm-unified-user {
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}

body.flymonitor-unified.fm-theme-clean .fm-unified-header .fm-unified-nav a,
body.flymonitor-unified.fm-theme-clean .fm-unified-header .fm-unified-logout {
    background: #f5f1ea !important;
    border-color: #d0c3b2 !important;
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}

body.flymonitor-unified.fm-theme-clean .fm-unified-header .fm-unified-nav a:hover {
    background: #e9e2d8 !important;
}


/* FlyMonitor Clean Map and Statistics v9 */

/* Dunkle Dashboard-Karten und große Innenpanels */
body.flymonitor-unified.fm-theme-clean #dashboard .card.fm-card,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-panel,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-chart,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-card,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-card.mb-4,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-menu {
    background: #ffffff !important;
    background-image: none !important;
    border-color: #ddd4c7 !important;
    color: #26313b !important;
}

/* Karten- und Statistiktexte */
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-chart h3,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-chart h4,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-chart p,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-chart span,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-chart small,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-card h3,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-card .fm-small {
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}

/* Bootstrap-Fortschrittsbalken */
body.flymonitor-unified.fm-theme-clean #dashboard .progress {
    background: #eee8df !important;
}

body.flymonitor-unified.fm-theme-clean #dashboard .progress-bar {
    background: #b8a997 !important;
    background-image: none !important;
}

/* Tabellenbereich und Tabellenüberschriften */
body.flymonitor-unified.fm-theme-clean #dashboard .table,
body.flymonitor-unified.fm-theme-clean #dashboard .table-responsive {
    background: #ffffff !important;
    color: #26313b !important;
}

body.flymonitor-unified.fm-theme-clean #dashboard .table th {
    background: #f1ece5 !important;
    color: #26313b !important;
}

/* Leaflet-Kartengrafiken ausdrücklich unverändert lassen */
body.flymonitor-unified.fm-theme-clean #dashboard .leaflet-container {
    background: #e8edf0 !important;
}


/* FlyMonitor Clean Statistik v10 */

/* Statistik- und Kartencontainer */
body.flymonitor-unified.fm-theme-clean #dashboard .card.fm-card {
    background-color: #ffffff !important;
    border-color: #ddd4c7 !important;
}

/* Statistikdiagramme: dunkle statt helle Schrift */
body.flymonitor-unified.fm-theme-clean #dashboard .card.fm-card .fm-dash2-chart,
body.flymonitor-unified.fm-theme-clean #dashboard .card.fm-card .fm-dash2-chart * {
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}

/* Beschreibungen auf weißen Karten */
body.flymonitor-unified.fm-theme-clean #dashboard .card.fm-card .fm-small,
body.flymonitor-unified.fm-theme-clean #dashboard .card.fm-card .text-muted,
body.flymonitor-unified.fm-theme-clean #dashboard .card.fm-card .text-secondary {
    color: #5f6872 !important;
    -webkit-text-fill-color: #5f6872 !important;
}

/* Statistikbalken, soweit Bootstrap-Progress verwendet wird */
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-chart .progress {
    background: #eee8df !important;
}

body.flymonitor-unified.fm-theme-clean #dashboard .fm-dash2-chart .progress-bar {
    background: #b6a694 !important;
    background-image: none !important;
}


/* FlyMonitor Clean Tabellenkontrast v11 */
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dashboard-table {
    --bs-table-color: #26313b;
    --bs-table-bg: #ffffff;
    color: #26313b !important;
}

body.flymonitor-unified.fm-theme-clean #dashboard .fm-dashboard-table th,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dashboard-table td {
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
    border-color: #ddd4c7 !important;
}

body.flymonitor-unified.fm-theme-clean #dashboard .fm-dashboard-table th {
    background: #f1ece5 !important;
}

body.flymonitor-unified.fm-theme-clean #dashboard .fm-dashboard-table td {
    background: #ffffff !important;
}


/* FlyMonitor Clean Statistikbalken v12 */

/* Balken-Hintergrund */
body.flymonitor-unified.fm-theme-clean #dashboard .fm-bar-track {
    background: #eee8df !important;
    background-image: none !important;
    border: 1px solid #ddd4c7 !important;
}

/* Gefüllte Statistikbalken */
body.flymonitor-unified.fm-theme-clean #dashboard .fm-bar-fill {
    background: #b5a18b !important;
    background-color: #b5a18b !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Beschriftungen */
body.flymonitor-unified.fm-theme-clean #dashboard .fm-bar-label,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-bar-row {
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}

/* Statistikbereich */
body.flymonitor-unified.fm-theme-clean #dashboard #dashboardCharts {
    background: #ffffff !important;
    color: #26313b !important;
}


/* FlyMonitor Clean Balken Selektor Fix v13 */

/* Statistikbalken unabhängig vom Dashboard-Container */
body.fm-theme-clean .fm-bar-track {
    background: #eee8df !important;
    background-image: none !important;
    border: 1px solid #ddd4c7 !important;
}

body.fm-theme-clean .fm-bar-fill {
    background: #b5a18b !important;
    background-color: #b5a18b !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.fm-theme-clean .fm-bar-label {
    color: #26313b !important;
}


/* FlyMonitor Clean Dashboard Background Fix v14 */

body.flymonitor-unified.fm-theme-clean #dashboard {
    background: #f7f4ef !important;
    background-image: none !important;
    border-color: #ded5c9 !important;
    color: #26313b !important;
}

body.flymonitor-unified.fm-theme-clean #dashboard .fm-dashboard-table th,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-dashboard-table td {
    color: #26313b !important;
    border-color: #ded5c9 !important;
}


/* FlyMonitor Clean Version Badges v15 */

body.flymonitor-unified.fm-theme-clean .fm-version-badge,
body.flymonitor-unified.fm-theme-clean #dashboard .fm-version-badge {
    background: #eee7dc !important;
    background-color: #eee7dc !important;
    background-image: none !important;
    border: 1px solid #d4c6b4 !important;
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
    box-shadow: none !important;
}

body.flymonitor-unified.fm-theme-clean .fm-version-badge * {
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}

body.flymonitor-unified.fm-theme-clean #fm-template-switcher a,
body.flymonitor-unified.fm-theme-clean #fm-template-switcher button {
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}


/* FlyMonitor Clean Registration v16 */

/* Hauptfläche der Fluganmeldung */
body.flymonitor-unified.fm-theme-clean #registration,
body.flymonitor-unified.fm-theme-clean #registration .card.fm-card,
body.flymonitor-unified.fm-theme-clean #registration .card-body {
    background: #ffffff !important;
    background-image: none !important;
    color: #26313b !important;
    border-color: #ddd4c7 !important;
}

/* Überschriften und Feldbeschriftungen */
body.flymonitor-unified.fm-theme-clean #registration h1,
body.flymonitor-unified.fm-theme-clean #registration h2,
body.flymonitor-unified.fm-theme-clean #registration h3,
body.flymonitor-unified.fm-theme-clean #registration h4,
body.flymonitor-unified.fm-theme-clean #registration h5,
body.flymonitor-unified.fm-theme-clean #registration label,
body.flymonitor-unified.fm-theme-clean #registration legend,
body.flymonitor-unified.fm-theme-clean #registration .form-label {
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}

/* Eingabefelder */
body.flymonitor-unified.fm-theme-clean #registration input,
body.flymonitor-unified.fm-theme-clean #registration select,
body.flymonitor-unified.fm-theme-clean #registration textarea {
    background: #ffffff !important;
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
    border: 1px solid #d4c6b4 !important;
}

/* Aktionsschaltflächen */
body.flymonitor-unified.fm-theme-clean #registration .btn-primary,
body.flymonitor-unified.fm-theme-clean #registration .btn-success,
body.flymonitor-unified.fm-theme-clean #registration button.btn-primary,
body.flymonitor-unified.fm-theme-clean #registration button.btn-success {
    background: #e8dfd3 !important;
    background-image: none !important;
    border-color: #cbbba7 !important;
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
    box-shadow: none !important;
}

/* Hilfstexte */
body.flymonitor-unified.fm-theme-clean #registration .fm-small,
body.flymonitor-unified.fm-theme-clean #registration .text-muted {
    color: #5f6872 !important;
    -webkit-text-fill-color: #5f6872 !important;
}


/* FlyMonitor Clean Ressourcen v17 */

/* Ressourcenplanung: helle Flächen */
body.flymonitor-unified.fm-theme-clean #resourceplanning,
body.flymonitor-unified.fm-theme-clean #resourceplanning .card,
body.flymonitor-unified.fm-theme-clean #resourceplanning .card-body {
    background-color: #ffffff !important;
    background-image: none !important;
    border-color: #ddd4c7 !important;
}

/* Überschriften und Beschreibungstexte */
body.flymonitor-unified.fm-theme-clean #resourceplanning h1,
body.flymonitor-unified.fm-theme-clean #resourceplanning h2,
body.flymonitor-unified.fm-theme-clean #resourceplanning h3,
body.flymonitor-unified.fm-theme-clean #resourceplanning h4,
body.flymonitor-unified.fm-theme-clean #resourceplanning h5,
body.flymonitor-unified.fm-theme-clean #resourceplanning p,
body.flymonitor-unified.fm-theme-clean #resourceplanning label,
body.flymonitor-unified.fm-theme-clean #resourceplanning .fm-small {
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}

/* Balken der Ressourcenplanung */
body.flymonitor-unified.fm-theme-clean #resourceplanning .fm-bar-track {
    background: #eee8df !important;
    background-image: none !important;
}

body.flymonitor-unified.fm-theme-clean #resourceplanning .fm-bar-fill {
    background: #b5a18b !important;
    background-image: none !important;
}

/* Statistikbeschriftungen */
body.flymonitor-unified.fm-theme-clean #resourceplanning .fm-bar-label,
body.flymonitor-unified.fm-theme-clean #resourceplanning .fm-bar-row {
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}


/* FlyMonitor Clean Ressourcen Schrift v18 */

/* Alle Überschriften der Ressourcenplanung */
body.flymonitor-unified.fm-theme-clean #resourceplanning h1,
body.flymonitor-unified.fm-theme-clean #resourceplanning h2,
body.flymonitor-unified.fm-theme-clean #resourceplanning h3,
body.flymonitor-unified.fm-theme-clean #resourceplanning h4,
body.flymonitor-unified.fm-theme-clean #resourceplanning h5,
body.flymonitor-unified.fm-theme-clean #resourceplanning h6,
body.flymonitor-unified.fm-theme-clean #resourceplanning h1 *,
body.flymonitor-unified.fm-theme-clean #resourceplanning h2 *,
body.flymonitor-unified.fm-theme-clean #resourceplanning h3 *,
body.flymonitor-unified.fm-theme-clean #resourceplanning h4 *,
body.flymonitor-unified.fm-theme-clean #resourceplanning h5 *,
body.flymonitor-unified.fm-theme-clean #resourceplanning h6 * {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    text-shadow: none !important;
}

/* Beschriftungen und Statistiktexte */
body.flymonitor-unified.fm-theme-clean #resourceplanning .fm-bar-label,
body.flymonitor-unified.fm-theme-clean #resourceplanning .fm-small,
body.flymonitor-unified.fm-theme-clean #resourceplanning .text-muted,
body.flymonitor-unified.fm-theme-clean #resourceplanning label {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}


/* FlyMonitor Clean Ressourcen Farben v19 */

/* Datumsangaben und Einsatzinformationen */
body.flymonitor-unified.fm-theme-clean #resourceCapacityRows b,
body.flymonitor-unified.fm-theme-clean #resourceCapacityRows span,
body.flymonitor-unified.fm-theme-clean #resourceCapacityRows .d-flex {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    text-shadow: none !important;
}

/* Balkenhintergrund */
body.flymonitor-unified.fm-theme-clean #resourceCapacityRows .fm-resource-bar {
    background: #eee8df !important;
    background-image: none !important;
    border: 1px solid #d4c6b4 !important;
}

/* Balkenfüllung */
body.flymonitor-unified.fm-theme-clean #resourceCapacityRows .fm-resource-bar > span {
    background: #b5a18b !important;
    background-color: #b5a18b !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Hinweis: Balkenfüllung enthält keine sichtbare Beschriftung */


/* FlyMonitor Clean Ressourcen Text v20 */

/* Text in den dynamischen Auslastungszeilen */
body.flymonitor-unified.fm-theme-clean #resourceCapacityRows .d-flex,
body.flymonitor-unified.fm-theme-clean #resourceCapacityRows .d-flex b,
body.flymonitor-unified.fm-theme-clean #resourceCapacityRows .d-flex span,
body.flymonitor-unified.fm-theme-clean #resourceCapacityRows .d-flex strong {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    text-shadow: none !important;
}

/* Vererbte helle Textfarben in den Zeilen aufheben */
body.flymonitor-unified.fm-theme-clean #resourceCapacityRows > div {
    color: #111111 !important;
}


/* FlyMonitor Clean Dokumentenfenster v21 */

/* Fenster und Kopf-/Fußbereich */
body.flymonitor-unified.fm-theme-clean #fleetDocumentModal .modal-content,
body.flymonitor-unified.fm-theme-clean #fleetDocumentModal .modal-header,
body.flymonitor-unified.fm-theme-clean #fleetDocumentModal .modal-body,
body.flymonitor-unified.fm-theme-clean #fleetDocumentModal .modal-footer {
    background: #ffffff !important;
    background-image: none !important;
    color: #26313b !important;
    border-color: #ddd4c7 !important;
}

/* Überschriften und Beschriftungen */
body.flymonitor-unified.fm-theme-clean #fleetDocumentModal .modal-title,
body.flymonitor-unified.fm-theme-clean #fleetDocumentModal label,
body.flymonitor-unified.fm-theme-clean #fleetDocumentModal .form-label,
body.flymonitor-unified.fm-theme-clean #fleetDocumentModal .fm-small {
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
}

/* Eingabefelder */
body.flymonitor-unified.fm-theme-clean #fleetDocumentModal input,
body.flymonitor-unified.fm-theme-clean #fleetDocumentModal select,
body.flymonitor-unified.fm-theme-clean #fleetDocumentModal textarea {
    background: #ffffff !important;
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
    border: 1px solid #d4c6b4 !important;
    box-shadow: none !important;
}

/* Schaltflächen */
body.flymonitor-unified.fm-theme-clean #fleetDocumentModal .btn-primary,
body.flymonitor-unified.fm-theme-clean #fleetDocumentModal .btn-secondary,
body.flymonitor-unified.fm-theme-clean #fleetDocumentModal .btn-outline-primary {
    background: #e8dfd3 !important;
    background-image: none !important;
    color: #26313b !important;
    -webkit-text-fill-color: #26313b !important;
    border-color: #cbbba7 !important;
}
