/* ==========================================================================
   MEIN BETRIEB - THEME OVERRIDES (CLEAN & FLAT DESIGN)  [FINAL]
   - Tabs: Unterstrich dünn (1px) & grau
   - Focus: nur grau (kein gelb, kein Glow)
   ========================================================================== */

/* 1) GLOBALE VARIABLEN
   ========================================================================== */
:root {
    --mb-accent: #FEBD17;
    --mb-accent-rgb: 254, 189, 23;
    --dxbl-accent-color: var(--mb-accent);
    --mb-bg: var(--dxbl-bg-color, var(--bs-body-bg));
    --mb-panel: var(--dxbl-surface-color, var(--bs-body-bg));
    --mb-text: var(--dxbl-text-color, var(--bs-body-color));
    --mb-muted: var(--dxbl-secondary-text-color, var(--bs-secondary-color));
    --mb-border: var(--dxbl-border-color, var(--bs-border-color));
    --mb-radius: 14px;
    --mb-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    /* Tabs Underline (dezent) */
    --mb-tab-underline: rgba(255, 255, 255, 0.25);
}

/* DevExpress "Primary" neutralisieren */
:root, body {
    --bs-primary: var(--mb-text) !important;
    --dxbl-primary-bg: var(--mb-text) !important;
    --dxbl-primary-color: var(--mb-bg) !important;
    /* Bootstrap Focus Ring komplett neutralisieren */
    --bs-focus-ring-width: 0rem !important;
    --bs-focus-ring-color: transparent !important;
}


/* 2) BASIS (HTML, APP, ICONS)
   ========================================================================== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.35;
    background: var(--mb-bg) !important;
    color: var(--mb-text) !important;
}

app {
    display: block;
    height: 100%;
}

/* Eigene Icons NICHT verfälschen */
img, svg {
    filter: none !important;
}


/* 2b) FOCUS (NUR GRAU, KEIN GELB, KEIN GLOW)
   ========================================================================== */
/* global: kein gelber outline */
:focus-visible {
    outline: none !important;
}

/* Inputs / DevExpress Editors */
input:focus,
textarea:focus,
select:focus,
.dxbl-text-edit:focus-within,
.dxbl-textbox:focus-within,
.dxbl-edit:focus-within,
.dxbl-editor:focus-within,
.dxbl-editor-container:focus-within,
.dxbl-input:focus-within,
.dxbl-form-control:focus-within {
    outline: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.35) !important; /* nur grau */
}

/* Buttons */
button:focus,
button:focus-visible,
.btn:focus,
.btn:focus-visible,
.dxbl-btn:focus,
.dxbl-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}


/* 3) BUTTONS (LOGIN, SPEICHERN, NEU)
   ========================================================================== */
.btn-primary, .dxbl-btn-primary,
.btn-success, .dxbl-btn-success {
    background-color: var(--mb-accent) !important;
    border-color: var(--mb-accent) !important;
    color: #111111 !important;
    background-image: none !important;
    box-shadow: none !important;
}

    .btn-primary:hover, .dxbl-btn-primary:hover {
        background-color: #e5aa14 !important;
        border-color: #e5aa14 !important;
    }

    /* Erzwingt schwarze Schrift + Icons im Button */
    .btn-primary *, .dxbl-btn-primary *,
    .btn-success *, .dxbl-btn-success * {
        color: #111111 !important;
        fill: #111111 !important;
    }

    /* Deaktivierte Buttons lesbar halten */
    .btn-primary:disabled, .btn-primary.dxbl-disabled,
    .dxbl-btn-primary:disabled, .dxbl-btn-primary.dxbl-disabled,
    .btn-success:disabled, .btn-success.dxbl-disabled,
    .dxbl-btn-success:disabled, .dxbl-btn-success.dxbl-disabled {
        background-color: rgba(var(--mb-accent-rgb), 0.35) !important;
        border-color: transparent !important;
        opacity: 1 !important;
    }

        .btn-primary.dxbl-disabled *, .dxbl-btn-primary.dxbl-disabled *,
        .btn-success.dxbl-disabled *, .dxbl-btn-success.dxbl-disabled * {
            color: rgba(17, 17, 17, 0.7) !important;
            fill: rgba(17, 17, 17, 0.7) !important;
        }


/* 4) TABS & DROPDOWNS  (LINIE DÜNN & GRAU)
   ========================================================================== */
/* DevExpress Indicator (der fette Balken) aus */
.dxbl-tabs-indicator,
.dxbl-tabs-indicator-container {
    display: none !important;
    height: 0 !important;
}

/* Wichtig: KEIN gelber border-bottom mehr am active Tab */
.dxbl-tabs .dxbl-tab-active {
    box-shadow: none !important;
    border-bottom: 0 !important; /* <- kein gelb */
    color: var(--mb-text) !important;
}

/* Unsere Linie kommt von dxbl-tab-item::after -> dünn + grau */
dxbl-tab-item::after,
.dxbl-tab-item::after,
.dxbl-tabs .dxbl-tab-item::after {
    content: "" !important;
    display: block !important;
    height: 1px !important;
    background: var(--mb-tab-underline) !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

/* Optional: active minimal stärker */
dxbl-tab-item[aria-selected="true"]::after,
.dxbl-tab-item[aria-selected="true"]::after,
.dxbl-tabs .dxbl-tab-item.dxbl-tab-active::after {
    background: rgba(255, 255, 255, 0.35) !important;
}

/* Dropdown / Listbox Auswahl neutral */
.dxbl-listbox .dxbl-listbox-item-selected,
.dxbl-listbox-item.dxbl-listbox-item-selected,
.dxbl-listbox-item.dxbl-listbox-item-focused,
.dxbl-listbox-item:active {
    background-color: rgba(254, 189, 23, 0.15) !important;
    color: #FEBD17 !important;
}

.dxbl-listbox .dxbl-listbox-item:hover,
.dxbl-listbox-item:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}


/* 5) KALENDER / SCHEDULER & POPUPS
   ========================================================================== */
.dxbl-sc-header-panel-date.dxbl-sc-active,
.dxbl-sc-header-panel-date.dxbl-sc-active::after,
.dxbl-scheduler-header-panel-active-date::after {
    background-color: transparent !important;
    color: var(--mb-text) !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Termine: grau statt lila */
.dxbl-sc-appointment,
.dxbl-scheduler-appointment {
    background-color: #1b1f23 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
}

    .dxbl-sc-appointment *,
    .dxbl-scheduler-appointment * {
        color: #e8eaed !important;
    }

/* Tooltip / Flyout lesbar */
.dxbl-flyout-content,
.dxbl-tooltip-content,
.dxbl-scheduler-appointment-tooltip {
    background-color: #1b1f23 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
}

    .dxbl-flyout-content,
    .dxbl-tooltip-content,
    .dxbl-scheduler-appointment-tooltip,
    .dxbl-flyout-content *,
    .dxbl-tooltip-content *,
    .dxbl-scheduler-appointment-tooltip * {
        color: #e8eaed !important;
    }

        .dxbl-scheduler-appointment-tooltip svg {
            fill: #e8eaed !important;
        }


/* 6) SIDEBAR NAVIGATION (links bündig, schlank)
   ========================================================================== */
div.xaf-navmenu {
    background-color: #111315 !important;
    padding: 12px 8px !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.20) transparent;
}

    div.xaf-navmenu:hover {
        scrollbar-color: rgba(255, 255, 255, 0.30) transparent;
    }

    /* Unterstriche/Schatten rigoros blockieren */
    div.xaf-navmenu .dxbl-accordion-group-header::before,
    div.xaf-navmenu .dxbl-accordion-group-header::after,
    div.xaf-navmenu .dxbl-accordion-item-content::before,
    div.xaf-navmenu .dxbl-accordion-item-content::after {
        display: none !important;
        content: none !important;
    }

    /* Fix gegen "Zu weit" */
    div.xaf-navmenu .dxbl-accordion-item-text-container,
    div.xaf-navmenu .dxbl-text,
    div.xaf-navmenu .xaf-navigation-link-click-area {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    /* Hauptmenü */
    div.xaf-navmenu .dxbl-accordion-group-header {
        background-color: #16191c !important;
        border: 1px solid rgba(255, 255, 255, 0.10) !important;
        border-radius: var(--mb-radius) !important;
        box-sizing: border-box !important;
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 10px 0 8px !important;
        margin: 4px 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        color: #e8eaed !important;
        font-weight: 700 !important;
        box-shadow: none !important;
        outline: none !important;
        transition: var(--mb-transition) !important;
        cursor: pointer !important;
    }

        div.xaf-navmenu .dxbl-accordion-group-header:hover {
            background-color: #1b1f23 !important;
            border: 1px solid rgba(var(--mb-accent-rgb), 0.30) !important;
        }

    div.xaf-navmenu .dxbl-accordion-item[aria-expanded="true"]:not([aria-current="page"]) > .dxbl-accordion-group-header {
        background-color: #20262b !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    div.xaf-navmenu .dxbl-accordion-item[aria-current="page"] > .dxbl-accordion-group-header {
        background-color: #20262b !important;
        border: 1px solid var(--mb-accent) !important;
    }

    div.xaf-navmenu .dxbl-accordion-group-header * {
        background-color: transparent !important;
        color: #e8eaed !important;
    }

    /* Untermenü */
    div.xaf-navmenu .dxbl-accordion-item[role="treeitem"] {
        margin: 0 !important;
        padding-left: 0 !important;
        background: transparent !important;
    }

    div.xaf-navmenu .dxbl-accordion-item-content {
        background-color: transparent !important;
        border-radius: 12px !important;
        border: 1px solid transparent !important;
        box-sizing: border-box !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 10px 0 8px !important;
        margin: 2px 0 !important;
        color: rgba(232, 234, 237, 0.72) !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        box-shadow: none !important;
        outline: none !important;
        transition: var(--mb-transition) !important;
    }

        div.xaf-navmenu .dxbl-accordion-item-content:hover {
            background-color: rgba(255, 255, 255, 0.06) !important;
            color: #e8eaed !important;
        }

    div.xaf-navmenu .dxbl-accordion-item[aria-current="page"] > .dxbl-accordion-item-content {
        background-color: rgba(var(--mb-accent-rgb), 0.12) !important;
        border: 1px solid var(--mb-accent) !important;
    }

        div.xaf-navmenu .dxbl-accordion-item[aria-current="page"] > .dxbl-accordion-item-content * {
            color: var(--mb-accent) !important;
            background-color: transparent !important;
        }

    /* Sidebar Icons */
    div.xaf-navmenu .dxbl-accordion-group-header svg,
    div.xaf-navmenu .dxbl-accordion-group-header img {
        width: 22px !important;
        height: 22px !important;
        flex: 0 0 auto !important;
        opacity: 0.96 !important;
    }

    div.xaf-navmenu .dxbl-accordion-item-content svg,
    div.xaf-navmenu .dxbl-accordion-item-content img {
        width: 18px !important;
        height: 18px !important;
        opacity: 1 !important;
    }


/* 7) KOPFZEILE (HEADER & LOGO)
   ========================================================================== */
.header .navbar-dark {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.header-left-side {
    display: flex !important;
    align-items: center !important;
    padding: 6px 0 6px 16px !important;
}

.header-right-side {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding-right: 12px !important;
}

.header-logo {
    display: block !important;
    width: clamp(38px, 3.2vw, 56px) !important;
    height: clamp(38px, 3.2vw, 56px) !important;
    background-image: url('/images/MeinBetrieb.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    margin: 0 10px 0 6px !important;
}

@media (max-width: 575.98px) {
    .header-logo {
        width: clamp(32px, 9vw, 44px) !important;
        height: clamp(32px, 9vw, 44px) !important;
        margin-right: 8px !important;
    }

    .header [role="heading"],
    .header .navbar-brand {
        font-size: 1.05rem !important;
        font-weight: 650 !important;
    }
}

.header [role="heading"],
.header .navbar-brand {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.xaf-view-caption-root {
    flex: 1 1 auto !important;
    gap: 10px !important;
}

.xaf-view-caption-lg {
    padding-left: 15px !important;
    border-left: none !important;
    font-weight: bold !important;
}

.xaf-caption-icon-container {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
}


/* 8) TOOLBAR
   ========================================================================== */
.dxbl-toolbar {
    font-size: 0.95rem;
}

    .dxbl-toolbar .dxbl-btn,
    .dxbl-toolbar .dxbl-btn-text,
    .dxbl-toolbar .dxbl-btn-text-secondary {
        color: var(--mb-text) !important;
        text-decoration: none !important;
    }

        .dxbl-toolbar .dxbl-btn::after,
        .xaf-main-menu a::after,
        .dxbl-menu-item::after {
            content: none !important;
        }

    .dxbl-toolbar .dxbl-btn-icon,
    .dxbl-toolbar .dxbl-toolbar-item-icon,
    .dxbl-toolbar .dxbl-item-icon-wrapper {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .dxbl-toolbar .dxbl-image,
    .dxbl-toolbar svg {
        width: 18px !important;
        height: 18px !important;
    }


/* 9) GRID (Header nicht dick, nicht groß)
   ========================================================================== */
.dxbl-grid-table thead th,
.dxbl-grid-header,
.dxbl-grid-header-content {
    height: 30px !important;
    min-height: 30px !important;
    padding: 3px 4px !important;
    box-sizing: border-box !important;
}

    .dxbl-grid-header-content,
    .dxbl-grid-header-content span,
    .dxbl-grid-table thead th span {
        font-size: 11px !important;
        font-weight: 500 !important;
        line-height: 14px !important;
        letter-spacing: 0.1px !important;
        margin: 0 !important;
        white-space: normal !important;
    }

        .dxbl-grid-header svg,
        .dxbl-grid-header .dxbl-image,
        .dxbl-grid-header-content svg,
        .dxbl-grid-header-content .dxbl-image {
            width: 12px !important;
            height: 12px !important;
        }

.dxbl-grid-header-content {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.dxbl-grid-table tbody td {
    font-size: 0.85rem !important;
}

.dxbl-grid-table thead th {
    background-color: rgba(255,255,255,0.03) !important;
}


/* 10) STARTSEITE / TILES
   ========================================================================== */
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 24px;
}

.tile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 14px;
    text-decoration: none;
    background: var(--mb-panel);
    color: var(--mb-text);
    border: 1px solid var(--mb-border);
    box-shadow: none !important;
}

    .tile:hover {
        border-color: var(--mb-accent) !important;
    }

    .tile img {
        width: 52px;
        height: 52px;
    }

    .tile h2 {
        margin: 0;
        font-size: 20px;
    }

    .tile span {
        font-size: 13px;
        opacity: .8;
    }

#blazor-error-ui {
    display: none;
    z-index: 100001;
}


/* 11) MOBILE ACTION BUTTONS & MEDIA QUERIES
   ========================================================================== */
.xaf-action-container-holder,
[data-action-container="RecordActionContainer"] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
    padding: 12px !important;
    background-color: transparent !important;
    border-bottom: 1px solid var(--mb-border) !important;
}

    .xaf-action-container-holder .dxbl-btn {
        flex: 1 1 0px !important;
        height: 75px !important;
        border-radius: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        box-shadow: none !important;
        border: 1px solid var(--mb-border) !important;
    }

        .xaf-action-container-holder .dxbl-btn svg,
        .xaf-action-container-holder .dxbl-btn img {
            width: 28px !important;
            height: 28px !important;
            margin-bottom: 4px !important;
        }

        .xaf-action-container-holder .dxbl-btn span {
            font-size: 0.75rem !important;
            letter-spacing: 0.05em;
        }

/* Mobile Status Buttons */
.btn-baustelle-start {
    background-color: #28a745 !important;
    color: #fff !important;
    border: none !important;
}

    .btn-baustelle-start:active {
        background-color: #1e7e34 !important;
    }

.btn-baustelle-pause {
    background-color: #ffc107 !important;
    color: #212529 !important;
    border: none !important;
}

    .btn-baustelle-pause:active {
        background-color: #d39e00 !important;
    }

.btn-baustelle-fahrt {
    background-color: #17a2b8 !important;
    color: #fff !important;
    border: none !important;
}

    .btn-baustelle-fahrt:active {
        background-color: #117a8b !important;
    }

.btn-baustelle-ende {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: none !important;
}

    .btn-baustelle-ende:active {
        background-color: #bd2130 !important;
    }

@media (max-width: 400px) {
    .xaf-action-container-holder {
        padding: 6px !important;
        gap: 4px !important;
    }

        .xaf-action-container-holder .dxbl-btn {
            height: 65px !important;
        }

            .xaf-action-container-holder .dxbl-btn span {
                font-size: 0.65rem !important;
            }
}

@media (max-width: 900px) {
    div.xaf-navmenu {
        padding: 10px 8px !important;
    }

        div.xaf-navmenu .dxbl-accordion-group-header {
            padding: 0 10px 0 8px !important;
            margin: 4px 0 !important;
        }
}
/* ===========================
   TABS: Unterstrich dünn + GELB (#FEBD17)
   =========================== */

/* Grundlinie (alle Tabs) – optional sehr dezent grau lassen */
.dxbl-tab-item::after,
.dxbl-tabs .dxbl-tab-item::after {
    content: "" !important;
    display: block !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.18) !important; /* normale Tabs */
    opacity: 1 !important;
    box-shadow: none !important;
}

/* AKTIVER TAB – GELB */
.dxbl-tab-item[aria-selected="true"]::after,
.dxbl-tabs .dxbl-tab-item.dxbl-tab-active::after {
    background: #FEBD17 !important;
    opacity: 1 !important;
}
/* ===========================
   TABS: Unterstrich dünn + GELB (#FEBD17)
   Quelle: dxbl-tab-item::after  (Custom Element!)
   =========================== */

/* Grundlinie (alle Tabs) – dezent grau */
dxbl-tab-item::after,
.dxbl-tab-item::after {
    content: "" !important;
    display: block !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.18) !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

/* AKTIVER TAB – GELB */
li.dxbl-tabs-tab-active > dxbl-tab-item::after,
dxbl-tab-item[aria-selected="true"]::after,
li.dxbl-tabs-tab-active > .dxbl-tab-item::after,
.dxbl-tab-item[aria-selected="true"]::after {
    background: #FEBD17 !important;
    opacity: 1 !important;
}

/* BEGIN 25R-FIX-3B AKTUELLE UHRZEIT */
.meinbetrieb-scheduler-current-time-item {
    cursor: default;
}

.meinbetrieb-scheduler-current-time-label {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.45rem;
    color: #FEBD17;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    user-select: none;
}
/* END 25R-FIX-3B AKTUELLE UHRZEIT */

/* BEGIN 25R-FIX-4B MITTAGSPAUSE */
.meinbetrieb-scheduler-lunch-cell {
    background-color: rgba(254, 189, 23, 0.025) !important;
    background-image:
        repeating-linear-gradient(
            135deg,
            rgba(254, 189, 23, 0.10) 0,
            rgba(254, 189, 23, 0.10) 1px,
            transparent 1px,
            transparent 12px
        ) !important;
    box-shadow:
        inset 0 1px 0 rgba(254, 189, 23, 0.22),
        inset 0 -1px 0 rgba(254, 189, 23, 0.22);
}

.meinbetrieb-scheduler-resource-header {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #111111 !important;
    background-image:
        linear-gradient(
            to right,
            #111111 0%,
            #111111 calc(100% - 18px),
            var(--mb-resource-color) calc(100% - 18px),
            var(--mb-resource-color) 100%
        ) !important;
    color:
        var(--mb-resource-text-color) !important;
    box-shadow:
        inset 0 -2px 0 rgba(0, 0, 0, 0.35);
}

.meinbetrieb-scheduler-resource-header > *,
.meinbetrieb-scheduler-resource-header span,
.meinbetrieb-scheduler-resource-header div {
    background-color: transparent !important;
    color:
        var(--mb-resource-text-color) !important;
}

/* BEGIN 25T-FIX-1M-R4 HORIZONTALE KATEGORIESTREIFEN */

/*
 * Tag, Woche und Arbeitswoche haben schmalere Ressourcenköpfe.
 * Deshalb bleibt rechts ein kompakter 18-Pixel-Kategoriestreifen.
 * Die Timeline-spezifischen 75/25-Regeln darunter überschreiben
 * diese Maße ausschließlich in Chronologisch.
 */
.meinbetrieb-scheduler-resource-header > * {
    box-sizing: border-box;
    min-width: 0 !important;
    width: calc(100% - 18px) !important;
    max-width: calc(100% - 18px) !important;
    margin-right: 18px !important;
}

/* END 25T-FIX-1M-R4 HORIZONTALE KATEGORIESTREIFEN */
/*
 * Chronologisch:
 * Der rechte Bereich zeigt ausschließlich die semantische
 * Ressourcen-Kategorie. Icon und Name bleiben im linken,
 * dunklen Bereich und verwenden weiterhin das bestehende
 * funktionierende ResourceHeader-Template.
 */
.meinbetrieb-scheduler-resource-header.meinbetrieb-scheduler-resource-header-timeline {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #111111 !important;
    background-image:
        linear-gradient(
            to right,
            #111111 0%,
            #111111 calc(100% - 12px),
            var(--mb-resource-color) calc(100% - 12px),
            var(--mb-resource-color) 100%
        ) !important;
}

.meinbetrieb-scheduler-resource-header.meinbetrieb-scheduler-resource-header-timeline > * {
    box-sizing: border-box;
    min-width: 0 !important;
    width: calc(100% - 12px) !important;
    max-width: calc(100% - 12px) !important;
    margin-right: 12px !important;
}
/* BEGIN 25T-FIX-1N-R1 ECKFELD RESSOURCEN */

/*
 * Beschriftet das leere Scheduler-Eckfeld als Ressourcenachse.
 * Das Element bleibt rein informativ und nicht anklickbar.
 */
.dxbl-scheduler .dxbl-sc-empty-cell {
    position: relative;
    overflow: hidden;
    background-color: #181a1d !important;
    color: #f5f5f5 !important;
    box-shadow:
        inset 0 -1px 0 rgba(254, 189, 23, 0.28);
    cursor: default;
}

/*
 * Kleines MeinBetrieb-goldenes Raster:
 * vier Quadrate ohne externe Bilddatei.
 */
.dxbl-scheduler .dxbl-sc-empty-cell::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 50%;
    left: calc(50% - 52px);
    width: 5px;
    height: 5px;
    background-color: #febd17;
    box-shadow:
        7px 0 #febd17,
        0 7px #febd17,
        7px 7px #febd17;
    transform: translateY(-6px);
    pointer-events: none;
}

/* Achsenbeschriftung */
.dxbl-scheduler .dxbl-sc-empty-cell::after {
    content: "Ressourcen";
    position: absolute;
    z-index: 2;
    top: 50%;
    left: calc(50% - 31px);
    transform: translateY(-50%);
    color: #f5f5f5;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    pointer-events: none;
}

/*
 * Auf schmaleren Geräten bleibt nur das eindeutige Gold-Icon.
 * Dadurch wird kein wertvoller Kalenderplatz verbraucht.
 */
@media (max-width: 991.98px) {
    .dxbl-scheduler .dxbl-sc-empty-cell::before {
        left: 50%;
        transform:
            translate(-6px, -6px);
    }

    .dxbl-scheduler .dxbl-sc-empty-cell::after {
        content: "";
    }
}

/* END 25T-FIX-1N-R1 ECKFELD RESSOURCEN */
/* END 25R-FIX-4B MITTAGSPAUSE */

/* MB-PLANTAFEL-QUICKINFO START */
/* MB-EINSATZBRIEFING-QUICKINFO-V1 */

.mb-plantafel-quickinfo-header {
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    padding: 11px 14px;
    border-left: 4px solid #febd17;
    background: #202225;
    color: #f5f5f5;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.mb-plantafel-quickinfo {
    box-sizing: border-box;
    min-width: 340px;
    max-width: 380px;
    padding: 0 14px 13px 14px;
    background: #202225;
    color: #ededed;
    font-size: 13px;
    line-height: 1.35;
}

.mb-plantafel-quickinfo-time {
    padding: 9px 0 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    color: #d9d9d9;
    font-size: 13px;
    font-weight: 400;
}

.mb-plantafel-quickinfo-data {
    padding-top: 4px;
}

.mb-plantafel-quickinfo-row {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 10px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.mb-plantafel-quickinfo-label {
    color: #febd17;
    font-size: 13px;
    font-weight: 500;
}

.mb-plantafel-quickinfo-value {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #f0f0f0;
    font-size: 13px;
    font-weight: 400;
}

.mb-plantafel-quickinfo-hint {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 7px;
    align-items: start;
    margin-top: 9px;
    padding: 8px 9px;
    border-left: 2px solid rgba(254, 189, 23, 0.75);
    border-radius: 3px;
    background: rgba(254, 189, 23, 0.07);
}

.mb-plantafel-quickinfo-hint-icon {
    color: #febd17;
    font-size: 15px;
    line-height: 1.2;
}

.mb-plantafel-quickinfo-hint-label {
    color: #febd17;
    font-weight: 600;
}

.mb-plantafel-quickinfo-hint-text {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #eeeeee;
    font-weight: 400;
}

.mb-plantafel-quickinfo-primary-action {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 9px 12px;
    border: 1px solid rgba(254, 189, 23, 0.55);
    border-radius: 4px;
    background: rgba(254, 189, 23, 0.13);
    color: #febd17;
    font: inherit;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.mb-plantafel-quickinfo-primary-action:hover {
    background: rgba(254, 189, 23, 0.20);
}

.mb-plantafel-quickinfo-primary-action:focus-visible {
    outline: 2px solid rgba(254, 189, 23, 0.75);
    outline-offset: 2px;
}

.mb-plantafel-quickinfo-secondary-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.mb-plantafel-quickinfo-secondary-action {
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: #cfcfcf;
    font: inherit;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
}

.mb-plantafel-quickinfo-secondary-action:hover {
    color: #febd17;
    text-decoration: underline;
}

/* 25S-FIX-1L-F-P-A-R2 STATUSAKTIONEN START */

.mb-plantafel-quickinfo-status-review {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid rgba(254, 189, 23, 0.35);
    border-radius: 6px;
    background: rgba(254, 189, 23, 0.07);
}

.mb-plantafel-quickinfo-status-review-title {
    margin-bottom: 8px;
    color: #febd17;
    font-size: 12px;
    font-weight: 700;
}

.mb-plantafel-quickinfo-status-review-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mb-plantafel-quickinfo-status-action {
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 5px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
}

.mb-plantafel-quickinfo-status-action-completed {
    border: 1px solid rgba(74, 222, 128, 0.6);
    background: rgba(74, 222, 128, 0.12);
    color: #86efac;
}

.mb-plantafel-quickinfo-status-action-completed:hover {
    background: rgba(74, 222, 128, 0.2);
}

.mb-plantafel-quickinfo-status-action-missed {
    border: 1px solid rgba(248, 113, 113, 0.6);
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
}

.mb-plantafel-quickinfo-status-action-missed:hover {
    background: rgba(248, 113, 113, 0.2);
}

.mb-plantafel-quickinfo-status-action:focus-visible {
    outline: 2px solid #febd17;
    outline-offset: 2px;
}

@media (max-width: 560px) {
    .mb-plantafel-quickinfo-status-review-actions {
        grid-template-columns: 1fr;
    }
}

/* 25S-FIX-1L-F-P-A-R2 STATUSAKTIONEN ENDE */


/* QUICKINFO NATIVES SCHLIESSEN - TOOLBAR-ORANGE */
.mb-plantafel-quickinfo-close {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.mb-plantafel-quickinfo-close::before {
    content: "×";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #DE590B;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    pointer-events: none;
    transition:
        color 120ms ease,
        transform 120ms ease,
        text-shadow 120ms ease;
}

.mb-plantafel-quickinfo-close:hover::before {
    color: #F06A12;
    transform: scale(1.08);
}

.mb-plantafel-quickinfo-close button {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

.mb-plantafel-quickinfo-close:focus-within {
    outline: none;
}

.mb-plantafel-quickinfo-close:focus-within::before {
    text-shadow:
        0 0 3px rgba(254, 189, 23, 0.85);
}
/* MB-PLANTAFEL-QUICKINFO END */

/* MB-RESSOURCEN-FARBPUNKT START */

.meinbetrieb-resource-color-cell {
    display: inline-flex;
    width: 100%;
    min-height: 1.5rem;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.meinbetrieb-resource-color-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    border-radius: 50%;
    background-color:
        var(--meinbetrieb-resource-color, #FEBD17);
    border:
        1px solid rgba(255, 255, 255, 0.72);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.55);
}

/* MB-RESSOURCEN-FARBPUNKT END */

/* ============================================================
   25S-FIX-1K-H-C-A-W3-E-11
   Scheduler-Label: vorhandene Farbflaeche sichtbar dimensionieren
   ============================================================ */

.dxbl-scheduler-color-item {
    display: flex;
    align-items: center;
    flex-flow: row nowrap;
}

.dxbl-scheduler-color-item-icon {
    display: block;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    margin-inline-end: 8px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    box-sizing: border-box;
}

/* ==========================================================================
   25S-FIX-1L-F-O-C-D – GLOBALE DATUM-UND-UHRZEIT-ANZEIGE
   ========================================================================== */

dxbl-tabs.xaf-tabbed-mdi
dxbl-tab-list
ul[role="tablist"].mb-global-clock-host {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

dxbl-tabs.xaf-tabbed-mdi
dxbl-tab-list
ul[role="tablist"].mb-global-clock-host::after {
    content: attr(data-mb-clock-desktop);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-self: stretch;
    flex: 1 1 auto;
    min-width: 190px;
    margin-left: auto;
    padding: 0 18px 0 24px;
    box-sizing: border-box;
    white-space: nowrap;
    color: rgba(232, 234, 237, 0.78);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.15px;
    pointer-events: none;
    user-select: none;
}

@media (max-width: 800px) {
    dxbl-tabs.xaf-tabbed-mdi
    dxbl-tab-list
    ul[role="tablist"].mb-global-clock-host::after {
        content: attr(data-mb-clock-mobile);
        min-width: 88px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 13px;
    }
}

/* 25S-FIX-1L-F-O-E-D – XAF GOLDENER TASTATURFOKUS */

/* XAF-MDI-Tab – Laufzeit R3 bestätigt */
dxbl-tabs.xaf-tabbed-mdi dxbl-tab-item[role="tab"]:focus-visible {
    outline: 3px solid #FEBD17 !important;
    outline-offset: 2px;
}

/* XAF-/DevExpress-Ribbon-Toolbarbutton – Laufzeit R2 bestätigt */
dxbl-ribbon .dxbl-toolbar-btn:focus-visible {
    outline: 3px solid #FEBD17 !important;
    outline-offset: 2px;
}

/* XAF-/DevExpress-Hauptnavigation – Laufzeit R2 bestätigt */
dxbl-accordion .dxbl-accordion-group-header:focus-visible {
    outline: 3px solid #FEBD17 !important;
    outline-offset: 2px;
}

/* ENDE 25S-FIX-1L-F-O-E-D */

/* ==========================================================
   25S-FIX-1L-F-N-F-R1
   Linke XAF-Blazor-Navigation:
   DevExpress-Tab-Fokus dünn und vollständig innen anzeigen.
   Der vorhandene Maus-/Auswahlzustand bleibt unverändert.
   ========================================================== */
div.xaf-navmenu .dxbl-accordion-group-header:focus-visible {
    outline: none !important;
    box-shadow: inset 0 0 0 1px #FEBD17 !important;
    border-radius: inherit;
}

/* BEGIN 25T-FIX-1P-R6 TIMELINE STANDARDTERMIN KOMPAKT */

/*
   Ausschließlich Chronologisch / DxScheduler Timeline.
   Tag, Woche, Arbeitswoche und Monat bleiben unverändert.
*/

/* Uhrzeitzeile nur im horizontalen Timeline-Termin ausblenden. */
.dxbl-scheduler
dxbl-timeline-view.dxbl-sc-timeline
.dxbl-sc-apt.dxbl-sc-horizontal-apt
.dxbl-sc-apt-time {
    display: none !important;
}

/* Vertikalen Innenabstand des Standardtermins reduzieren. */
.dxbl-scheduler
dxbl-timeline-view.dxbl-sc-timeline
.dxbl-sc-apt.dxbl-sc-horizontal-apt
.dxbl-sc-content-wrapper {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

/*
   Betreff einzeilig und kompakt.
   Hintergrund, Statusstreifen, Auswahl und Drag/Resize bleiben
   DevExpress-Standardbestandteile.
*/
.dxbl-scheduler
dxbl-timeline-view.dxbl-sc-timeline
.dxbl-sc-apt.dxbl-sc-horizontal-apt
.dxbl-sc-apt-subject {
    display: block !important;
    min-height: 18px !important;
    max-height: 18px !important;
    line-height: 18px !important;
    margin-bottom: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* END 25T-FIX-1P-R6 TIMELINE STANDARDTERMIN KOMPAKT */

/* MB-PLANTAFEL-APPOINTMENT-PROTOTYPE-R14 START */

/*
 * Terminbalken:
 * Ressourcenzeilen bleiben unverändert.
 * Nur die sichtbaren Appointment-Balken werden höher.
 */
.dxbl-scheduler .dxbl-sc-apt.dxbl-sc-horizontal-apt {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;

    margin-top: 7px !important;
    margin-bottom: 7px !important;

    box-sizing: border-box !important;
}

/*
 * PROTOTYP nur für Label "Geschäftlich".
 *
 * Ruhe:
 * - stark beruhigte dunkelblaue Fläche
 * - klarer, aber nicht greller Rahmen
 *
 * Hover:
 * - dunkelblaue Vollfläche
 */
.dxbl-scheduler .mb-scheduler-label-business-outline {
    background-color: rgba(36, 90, 141, 0.16) !important;
    border: 1px solid #3C78AE !important;
    box-sizing: border-box !important;
    transition:
        background-color 140ms ease,
        border-color 140ms ease,
        box-shadow 140ms ease !important;
}

.dxbl-scheduler .mb-scheduler-label-business-outline:hover {
    background-color: #245A8D !important;
    border-color: #5EA4DF !important;
    box-shadow:
        0 0 0 1px rgba(94, 164, 223, 0.18) !important;
}

/* MB-PLANTAFEL-APPOINTMENT-PROTOTYPE-R14 END */

/* MB-TAG-APPOINTMENT-TYPOGRAPHY-R14 START */

/*
 * Ruhigere Termin-Typografie.
 *
 * .dxbl-sc-horizontal-apt = Timeline / Chronologisch
 * wird bewusst ausgeschlossen.
 */

/* Grundtext innerhalb des Termins */
.dxbl-scheduler
.dxbl-sc-apt:not(.dxbl-sc-horizontal-apt)
.dxbl-sc-content-wrapper {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.28 !important;
    letter-spacing: 0.12px !important;
}

/* Betreff */
.dxbl-scheduler
.dxbl-sc-apt:not(.dxbl-sc-horizontal-apt)
.dxbl-sc-apt-subject {
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.16px !important;
}

/* Uhrzeit */
.dxbl-scheduler
.dxbl-sc-apt:not(.dxbl-sc-horizontal-apt)
.dxbl-sc-apt-time {
    font-size: 11.5px !important;
    font-weight: 400 !important;
    line-height: 1.22 !important;
    letter-spacing: 0.10px !important;
}

/* MB-TAG-APPOINTMENT-TYPOGRAPHY-R14 END */

/* MB-TAG-APPOINTMENT-DESCRIPTION-R14 START */

/*
 * DevExpress 25.2.5 native Appointment-Struktur.
 *
 * Nur in vertikalen Terminen der Tag-Ansicht:
 * Beschreibung nicht innerhalb der Terminbox anzeigen.
 *
 * Die Beschreibung selbst bleibt vollständig im Terminobjekt
 * und weiterhin in DetailView / QuickInfo verfügbar.
 */
.dxbl-scheduler
.dxbl-sc-apt.dxbl-sc-vertical-apt
.dxbl-sc-apt-description {
    display: none !important;
}

/* MB-TAG-APPOINTMENT-DESCRIPTION-R14 END */

/* MB-TAG-APPOINTMENT-TEXTLAYOUT-R14 START */

/*
 * Responsive Tag-Termin:
 *
 * 1 Zeile Betreff + 1 Zeile Uhrzeit.
 *
 * So bleibt auch bei kurzen Terminen und schmalen
 * Ressourcenspalten die Darstellung stabil.
 */

.dxbl-scheduler
.dxbl-sc-apt.dxbl-sc-vertical-apt
.dxbl-sc-content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    overflow: hidden !important;
}

.dxbl-scheduler
.dxbl-sc-apt.dxbl-sc-vertical-apt
.dxbl-sc-apt-subject {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;

    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.12px !important;
}

.dxbl-scheduler
.dxbl-sc-apt.dxbl-sc-vertical-apt
.dxbl-sc-apt-time {
    display: block !important;
    flex: 0 0 auto !important;

    width: 100% !important;
    margin: 0 !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;

    font-size: 11.5px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.08px !important;
}

/* MB-TAG-APPOINTMENT-TEXTLAYOUT-R14 END */

/* MB-TIMELINE-HOVER-RASTER-R14 START */

/*
 * Chronologisch / Timeline:
 *
 * Raster bewusst in den Hintergrund nehmen.
 * Die goldene Mittagspause besitzt eigene Regeln und bleibt
 * deshalb weiterhin sichtbar.
 */
.dxbl-scheduler
.dxbl-sc-timeline
.dxbl-sc-time-cell {
    border-color: rgba(255, 255, 255, 0.065) !important;
}

/*
 * Mouse-over fuer ALLE horizontalen Timeline-Termine.
 *
 * box-shadow statt dickerem echten border:
 * - Termin bleibt exakt 40px hoch
 * - kein Layout-Sprung
 * - Statusstreifen bleibt erhalten
 */
.dxbl-scheduler
.dxbl-sc-apt.dxbl-sc-horizontal-apt:hover,
.dxbl-scheduler
.dxbl-sc-apt.dxbl-sc-horizontal-apt.dxbl-sc-apt-hovered {
    box-shadow:
        inset 0 0 0 1px rgba(94, 164, 223, 0.72),
        0 0 6px rgba(94, 164, 223, 0.18) !important;

    border-color: #4F88BC !important;
    z-index: 3 !important;
}

/* MB-TIMELINE-HOVER-RASTER-R14 END */

/* MB-TIMELINE-TYPOGRAPHY-R14 START */

/*
 * Chronologisch:
 * ruhiger, feiner Termintext.
 *
 * Schriftgroesse bleibt absichtlich unveraendert.
 */
.dxbl-scheduler
.dxbl-sc-apt.dxbl-sc-horizontal-apt
.dxbl-sc-apt-subject {
    font-family:
        "Segoe UI Variable Text",
        "Segoe UI",
        sans-serif !important;

    font-weight: 350 !important;
    letter-spacing: 0.05px !important;
    color: rgba(232, 234, 237, 0.82) !important;
    padding-left: 5px !important;
}

/* MB-TIMELINE-TYPOGRAPHY-R14 END */

/* BEGIN 25U-FIX-1L-R14-R29-R9 SCHEDULER EXAKTES GOLD */
/*
 * DevExpress Fluent erzeugt fuer Scheduler-Primary/Today
 * abgeleitete Accent-Farben.
 *
 * MeinBetrieb verwendet fuer diese sichtbaren Zeitmarkierungen
 * bewusst das unveraenderte Marken-Gold #FEBD17.
 *
 * Scope ausschliesslich .dxbl-scheduler.
 */
.dxbl-scheduler {
    --dxbl-scheduler-today-indicator-bg-color: #FEBD17 !important;
    --dxbl-scheduler-primary-color: #FEBD17 !important;
    --dxbl-scheduler-time-line-border-color: #FEBD17 !important;
}
/* END 25U-FIX-1L-R14-R29-R9 SCHEDULER EXAKTES GOLD */

/* BEGIN 25U-FIX-1L-R14-R29-R10 TIMELINE TODAY LINIE 1PX */
.dxbl-scheduler
.dxbl-sc-timeline
.dxbl-sc-today.dxbl-sc-date-hr::before,
.dxbl-scheduler
.dxbl-sc-timeline
.dxbl-sc-today.dxbl-sc-time-cell::before {
    height: 1px !important;
}
/* END 25U-FIX-1L-R14-R29-R10 TIMELINE TODAY LINIE 1PX */

/* BEGIN 25U-FIX-1L-R15-R3 TAG WOCHE ARBEITSWOCHE TYPOGRAFIE */
/*
 * Tag / Woche / Arbeitswoche:
 *
 * Typografischer Charakter wie der freigegebene
 * Chronologisch-Stand.
 *
 * Bestehende Schriftgroessen und Termin-Geometrie bleiben.
 * Betreff bleibt 1 Zeile.
 * Zeit bleibt 1 Zeile.
 */

.dxbl-scheduler
.dxbl-sc-dayview
.dxbl-sc-apt.dxbl-sc-vertical-apt
.dxbl-sc-apt-subject {
    font-family:
        "Segoe UI Variable Text",
        "Segoe UI",
        sans-serif !important;

    font-weight: 350 !important;
    letter-spacing: 0.05px !important;
    color: rgba(232, 234, 237, 0.82) !important;
}

.dxbl-scheduler
.dxbl-sc-dayview
.dxbl-sc-apt.dxbl-sc-vertical-apt
.dxbl-sc-apt-time {
    font-family:
        "Segoe UI Variable Text",
        "Segoe UI",
        sans-serif !important;

    font-weight: 350 !important;
    letter-spacing: 0.05px !important;
    color: rgba(232, 234, 237, 0.82) !important;
}

/*
 * Aktuelle Zeitlinie in Tag/Woche/Arbeitswoche:
 * gleiche dezente 1px-Wirkung.
 *
 * Farbe kommt weiterhin aus dem bereits freigegebenen
 * Scheduler-Gold #FEBD17.
 */
.dxbl-scheduler
.dxbl-sc-dayview
.dxbl-sc-time-indicator-line {
    height: 1px !important;
}

/* END 25U-FIX-1L-R15-R3 TAG WOCHE ARBEITSWOCHE TYPOGRAFIE */

/* BEGIN 25U-FIX-1L-R15-R4 DAYVIEW TODAY LINIE 1PX */
/*
 * Tag / Woche / Arbeitswoche:
 * obere Today-Markierung genauso dezent wie Chronologisch.
 *
 * Farbe bleibt #FEBD17.
 */
.dxbl-scheduler
.dxbl-sc-dayview
.dxbl-sc-today.dxbl-sc-date-hr::before,
.dxbl-scheduler
.dxbl-sc-dayview
.dxbl-sc-today.dxbl-sc-time-cell::before {
    height: 1px !important;
}
/* END 25U-FIX-1L-R15-R4 DAYVIEW TODAY LINIE 1PX */

/* BEGIN 25U-FIX-1L-R15-R5 DAYVIEW HOVER BLAU */
/*
 * Tag / Woche / Arbeitswoche:
 * gleicher dezenter Hover wie im freigegebenen
 * Chronologisch-Stand.
 *
 * Kein Layout-Sprung:
 * box-shadow statt echter dicker Border.
 */
.dxbl-scheduler
.dxbl-sc-dayview
.dxbl-sc-apt.dxbl-sc-vertical-apt:hover,
.dxbl-scheduler
.dxbl-sc-dayview
.dxbl-sc-apt.dxbl-sc-vertical-apt.dxbl-sc-apt-hovered {
    box-shadow:
        inset 0 0 0 1px rgba(94, 164, 223, 0.72),
        0 0 6px rgba(94, 164, 223, 0.18) !important;

    border-color: #4F88BC !important;
    z-index: 3 !important;
}
/* END 25U-FIX-1L-R15-R5 DAYVIEW HOVER BLAU */

/* BEGIN 25U-FIX-1L-R15-R6-R1 DAYVIEW RASTER DEZENT */
/*
 * Tag / Woche / Arbeitswoche:
 * Hintergrund-Raster bewusst in den Hintergrund nehmen.
 *
 * Gleiche dezente Rasterwirkung wie Chronologisch.
 */
.dxbl-scheduler
.dxbl-sc-dayview
.dxbl-sc-time-cell {
    border-color: rgba(255, 255, 255, 0.065) !important;
}
/* END 25U-FIX-1L-R15-R6-R1 DAYVIEW RASTER DEZENT */

/* BEGIN 25U-FIX-1L-R16-R7 MONTH RESOURCE HEADER */
/*
 * MonthView:
 * Der native vertikale Ressourcenheader bleibt vertikal.
 * Nur etwas mehr Platz und Icon-Gegenrotation.
 */

/* Ressourcenstreifen etwas breiter und ruhiger. */
.dxbl-scheduler
.dxbl-sc-month
.dxbl-v-resource-header {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;

    padding-left: 4px !important;
    padding-right: 4px !important;
}

/*
 * DevExpress dreht den gesamten inneren Span um 180 Grad.
 * Das Ressourcen-Icon wird deshalb gezielt zurueckgedreht.
 * Text und native vertikale Leserichtung bleiben unveraendert.
 */
.dxbl-scheduler
.dxbl-sc-month
.dxbl-v-resource-header
.dxbl-resource-header-content.dxbl-rotated-resource-header
> span img {
    -webkit-transform: rotate(180deg) !important;
    transform: rotate(180deg) !important;
    transform-origin: center center !important;
}
/* END 25U-FIX-1L-R16-R7 MONTH RESOURCE HEADER */

/* BEGIN 25U-FIX-1L-R19-R5 MONTH SUNDAY */
/*
 * MonthView:
 * Sonntage dezent als arbeitsfreien Wochentag hervorheben.
 * Terminboxen und vorhandene Scheduler-Farben bleiben dominant.
 */
.dxbl-scheduler
.dxbl-sc-month
.meinbetrieb-scheduler-sunday-cell {
    background-color: rgba(239, 68, 68, 0.055) !important;
}
/* END 25U-FIX-1L-R19-R5 MONTH SUNDAY */
/* BEGIN 25U-FIX-1L-R22-R8A MONTH HOLIDAY PRESENTATION
 * Gesetzliche Feiertage:
 * - Scheduler-Zelle selbst bleibt unverändert.
 * - Datumszahl wird blau.
 * - Feiertagsname steht dezent unter der Datumszahl.
 */
.dxbl-scheduler
.meinbetrieb-scheduler-holiday-cell
.dxbl-date-cell-head {
    color: #4DA3FF !important;
    font-weight: 700;
}

.dxbl-scheduler
.meinbetrieb-scheduler-holiday-cell
.dxbl-date-cell-head::after {
    content: var(--mb-holiday-name, "");
    display: block;
    margin-top: 0.25rem;
    max-width: 100%;
    color: #4DA3FF;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
    opacity: 0.88;
}
/* END 25U-FIX-1L-R22-R8A MONTH HOLIDAY PRESENTATION */
