@import '_content/AuralizeBlazor/AuralizeBlazor.tf5u2o3oxg.bundle.scp.css';
@import '_content/Blazor.SignaturePad/Blazor.SignaturePad.bundle.scp.css';
@import '_content/Blazorise.RichTextEdit/Blazorise.RichTextEdit.ujcws5bfym.bundle.scp.css';
@import '_content/Nextended.Blazor/Nextended.Blazor.tkxqvq0zjw.bundle.scp.css';

/* /Components/Dialogs/DTTakePhoto.razor.rz.scp.css */
/*.overlay-button {*/
/*    position:        absolute;*/
/*    top:             50%;*/
/*    left:            50%;*/
/*    transform:       translate(-50%, -50%);*/
/*    z-index:         10;*/
/*    display:         flex;*/
/*    justify-content: center;*/
/*    align-items:     center;*/
/*    pointer-events:  none; !* Allow clicks to pass through *!*/
/*}*/

/*.camera-button {*/
/*    width:           80px;*/
/*    height:          80px;*/
/*    background:      rgba(0, 0, 0, 0.4);*/
/*    border:          6px solid rgba(255, 255, 255, 0.95);*/
/*    border-radius:   50%;*/
/*    cursor:          pointer;*/
/*    transition:      all 0.15s ease;*/
/*    box-shadow:      0 4px 20px rgba(0, 0, 0, 0.3),*/
/*                     inset 0 0 0 4px rgba(0, 0, 0, 0.2);*/
/*    position:        relative;*/
/*    display:         flex;*/
/*    justify-content: center;*/
/*    align-items:     center;*/
/*}*/

/*.camera-button::before {*/
/*    content:       '';*/
/*    width:         56px;*/
/*    height:        56px;*/
/*    background:    rgba(255, 255, 255, 0.98);*/
/*    border-radius: 50%;*/
/*    transition:    all 0.15s ease;*/
/*    box-shadow:    0 1px 3px rgba(0, 0, 0, 0.2),*/
/*                   inset 0 1px 2px rgba(255, 255, 255, 0.8);*/
/*}*/

/*.camera-button:hover {*/
/*    transform:  scale(1.05);*/
/*    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4),*/
/*                inset 0 0 0 4px rgba(0, 0, 0, 0.25),*/
/*                0 0 0 4px rgba(255, 255, 255, 0.2);*/
/*}*/

/*.camera-button:active {*/
/*    transform:  scale(0.95);*/
/*    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4),*/
/*                inset 0 0 0 4px rgba(0, 0, 0, 0.3);*/
/*}*/

/*.camera-button:active::before {*/
/*    transform:  scale(0.9);*/
/*    background: rgba(255, 255, 255, 0.85);*/
/*    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3),*/
/*                inset 0 1px 1px rgba(255, 255, 255, 0.6);*/
/*}*/

/*.demo-text h2 {*/
/*    margin:      0 0 10px 0;*/
/*    font-weight: 300;*/
/*}*/

/*.demo-text p {*/
/*    margin:  0;*/
/*    opacity: 0.8;*/
/*}*/

/*.size-examples {*/
/*    display:     flex;*/
/*    gap:         30px;*/
/*    margin-top:  30px;*/
/*    align-items: center;*/
/*}*/

/*::deep .small-button {*/
/*    width:           60px;*/
/*    height:          60px;*/
/*    background:      rgba(0, 0, 0, 0.4);*/
/*    border:          4px solid rgba(255, 255, 255, 0.95);*/
/*    border-radius:   50%;*/
/*    cursor:          pointer;*/
/*    transition:      all 0.15s ease;*/
/*    box-shadow:      0 3px 15px rgba(0, 0, 0, 0.3),*/
/*                     inset 0 0 0 3px rgba(0, 0, 0, 0.2);*/
/*    position:        relative;*/
/*    display:         flex;*/
/*    justify-content: center;*/
/*    align-items:     center;*/
/*}*/

/*::deep .small-button::before {*/
/*    content:       '';*/
/*    width:         42px;*/
/*    height:        42px;*/
/*    background:    rgba(255, 255, 255, 0.98);*/
/*    border-radius: 50%;*/
/*    transition:    all 0.15s ease;*/
/*    box-shadow:    0 1px 2px rgba(0, 0, 0, 0.2),*/
/*                   inset 0 1px 1px rgba(255, 255, 255, 0.8);*/
/*}*/

/*.large-button {*/
/*    width:           100px;*/
/*    height:          100px;*/
/*    background:      rgba(0, 0, 0, 0.4);*/
/*    border:          8px solid rgba(255, 255, 255, 0.95);*/
/*    border-radius:   50%;*/
/*    cursor:          pointer;*/
/*    transition:      all 0.15s ease;*/
/*    box-shadow:      0 5px 25px rgba(0, 0, 0, 0.3),*/
/*                     inset 0 0 0 5px rgba(0, 0, 0, 0.2);*/
/*    position:        relative;*/
/*    display:         flex;*/
/*    justify-content: center;*/
/*    align-items:     center;*/
/*}*/

/*.large-button::before {*/
/*    content:       '';*/
/*    width:         70px;*/
/*    height:        70px;*/
/*    background:    rgba(255, 255, 255, 0.98);*/
/*    border-radius: 50%;*/
/*    transition:    all 0.15s ease;*/
/*    box-shadow:    0 2px 4px rgba(0, 0, 0, 0.2),*/
/*                   inset 0 2px 3px rgba(255, 255, 255, 0.8);*/
/*}*/

/*.small-button:hover,*/
/*.large-button:hover {*/
/*    transform: scale(1.05);*/
/*}*/

/*.small-button:active,*/
/*.large-button:active {*/
/*    transform: scale(0.95);*/
/*}*/

/*.small-button:active::before,*/
/*.large-button:active::before {*/
/*    transform:  scale(0.9);*/
/*    background: rgba(255, 255, 255, 0.85);*/
/*}*/

/*.size-label {*/
/*    color:      rgba(255, 255, 255, 0.7);*/
/*    font-size:  12px;*/
/*    margin-top: 8px;*/
/*    text-align: center;*/
/*}*/
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-mondjjncyf] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-mondjjncyf] {
    flex: 1;
}

.sidebar[b-mondjjncyf] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-mondjjncyf] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-mondjjncyf]  a,
.top-row[b-mondjjncyf]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-mondjjncyf]  a:hover,
.top-row[b-mondjjncyf]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-mondjjncyf]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row[b-mondjjncyf] {
        justify-content: space-between;
    }

    .top-row[b-mondjjncyf]  a,
    .top-row[b-mondjjncyf]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-mondjjncyf] {
        flex-direction: row;
    }

    .sidebar[b-mondjjncyf] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-mondjjncyf] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-mondjjncyf]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-mondjjncyf],
    article[b-mondjjncyf] {
        /* padding-left: 2rem !important; */
        /* padding-right: 1.5rem !important; */
    }
}

#blazor-error-ui[b-mondjjncyf] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-mondjjncyf] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Modules/MWAttachmentThumbnail.razor.rz.scp.css */
[b-fy5e0s4s08] .image-card img {
    max-width:     100%;
    max-height:    150px;
    object-fit:    cover;
    margin-bottom: 0.5rem;
}

.fade-in[b-fy5e0s4s08] {
    animation: fadeIn-b-fy5e0s4s08 0.5s ease-in;
}

@keyframes fadeIn-b-fy5e0s4s08 {
     from {
         opacity:   0;
         transform: translateY(10px);
        }
     to {
         opacity:   1;
         transform: translateY(0);
     }
 }

/* TODO: Make this work. Did work in the old way. */
.image-hover[b-fy5e0s4s08] {
    position:   relative;
    transition: 0.3s;
}

.image-hover[b-fy5e0s4s08]::after {
    content:       "";
    position:      absolute;
    top:           0;
    left:          0;
    width:         100%;
    height:        100%;
    background:    rgba(255, 255, 255, 0);
    transition:    background 0.3s;
    border-radius: inherit;
}

.image-hover:hover[b-fy5e0s4s08]::after {
    background: rgba(255, 255, 255, 0.1);
}
/* /Components/Modules/MWMultiComposition.razor.rz.scp.css */
/* MWMultiComposition Styles */
/* Container for multiple resource compositions with shared time column */

.mw-multi-composition[b-uz39v286zn] {
    width: 100%;
}

/* Main container with elevation */
[b-uz39v286zn] .multi-composition-container {
    background: white;
    border-radius: 8px;
    max-height: calc(100vh - 200px);
    overflow: hidden;
}

/* Main scroll container */
.multi-composition-scroll[b-uz39v286zn] {
    display: flex;
    overflow-x: auto;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

/* Vertical mode: time column on left, compositions side by side (row) */
.multi-composition-scroll.vertical-mode[b-uz39v286zn] {
    flex-direction: row;
}

/* Horizontal mode: time row on top, compositions stacked below (column) */
.multi-composition-scroll.horizontal-mode[b-uz39v286zn] {
    flex-direction: column;
}

/* Shared time column - base styles */
.shared-time-column[b-uz39v286zn] {
    flex-shrink: 0;
    background: var(--mud-palette-background-gray);
    z-index: 20;
}

/* Vertical mode: time column on left */
.vertical-mode .shared-time-column[b-uz39v286zn] {
    width: var(--time-column-width, 50px);
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    position: sticky;
    left: 0;
}

/* Horizontal mode: time row on top */
.horizontal-mode .shared-time-column[b-uz39v286zn] {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
}

/* Time column header - base styles */
.time-header[b-uz39v286zn] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-surface);
}

/* Vertical mode: time header at top of column */
.vertical-mode .time-header[b-uz39v286zn] {
    height: 48px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    z-index: 21;
}

/* Horizontal mode: time header on left of row */
.horizontal-mode .time-header[b-uz39v286zn] {
    width: var(--time-column-width, 50px);
    flex-shrink: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    position: sticky;
    left: 0;
    z-index: 21;
}

/* Individual time slot - base styles */
.time-slot[b-uz39v286zn] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

/* Vertical mode: time slots stacked vertically */
.vertical-mode .time-slot[b-uz39v286zn] {
    height: var(--shared-slot-height, 60px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Horizontal mode: time slots arranged horizontally */
.horizontal-mode .time-slot[b-uz39v286zn] {
    width: var(--shared-slot-height, 60px);
    flex-shrink: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

/* Container for compositions */
.compositions-container[b-uz39v286zn] {
    display: flex;
    flex-grow: 1;
    min-width: 0;
}

/* Vertical mode: compositions side by side (row) */
.vertical-mode .compositions-container[b-uz39v286zn] {
    flex-direction: row;
}

/* Horizontal mode: compositions stacked below each other (column) */
.horizontal-mode .compositions-container[b-uz39v286zn] {
    flex-direction: column;
}

/* Child compositions should have specific styling */
[b-uz39v286zn] .compositions-container > .mw-resource-composition {
    flex-shrink: 0;
}

/* Vertical mode: compositions in row with left borders */
[b-uz39v286zn] .vertical-mode .compositions-container > .mw-resource-composition {
    min-width: 200px;
    border-left: 1px solid rgba(0, 0, 0, 0.12);
}

[b-uz39v286zn] .vertical-mode .compositions-container > .mw-resource-composition:first-child {
    border-left: none;
}

/* Horizontal mode: compositions stacked with top borders */
[b-uz39v286zn] .horizontal-mode .compositions-container > .mw-resource-composition {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

[b-uz39v286zn] .horizontal-mode .compositions-container > .mw-resource-composition:first-child {
    border-top: none;
}

/* Override composition container styles when inside multi-composition */
[b-uz39v286zn] .compositions-container .composition-container {
    border-radius: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
}

/* Composition headers should be sticky */
[b-uz39v286zn] .compositions-container .composition-header {
    position: sticky;
    top: 0;
    z-index: 15;
}

/* Child schedulers should align with the shared time column */
[b-uz39v286zn] .compositions-container .mw-scheduler-root {
    flex-shrink: 0;
}

[b-uz39v286zn] .compositions-container .timeline-calendar-container {
    max-height: none;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .multi-composition-scroll[b-uz39v286zn] {
        max-height: calc(100vh - 150px);
    }

    [b-uz39v286zn] .multi-composition-container {
        max-height: calc(100vh - 150px);
    }
}
/* /Components/Modules/MWResourceComposition.razor.rz.scp.css */
/* MWResourceComposition Styles */
/* Container for composing multiple schedulers with shared scroll */

.mw-resource-composition[b-ic6xfcbhjt] {
    width: 100%;
}

/* Main container with elevation */
[b-ic6xfcbhjt] .composition-container {
    background: white;
    border-radius: 8px;
    max-height: calc(100vh - 200px);
    overflow: hidden;
}

/* Inner container for composition content */
.composition-inner[b-ic6xfcbhjt] {
    display: flex;
    flex-grow: 1;
}

/* Vertical mode: header on top, content below */
.composition-inner.vertical-inner[b-ic6xfcbhjt] {
    flex-direction: column;
}

/* Horizontal mode: header on left, content on right */
.composition-inner.horizontal-inner[b-ic6xfcbhjt] {
    flex-direction: row;
}

/* Composition header styling - base */
.composition-header[b-ic6xfcbhjt] {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

/* Vertical mode: header as horizontal bar at top */
.vertical-inner .composition-header[b-ic6xfcbhjt] {
    padding: 8px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
}

/* Horizontal mode: header as vertical column on left */
.horizontal-inner .composition-header[b-ic6xfcbhjt] {
    padding: 8px 4px;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    position: sticky;
    left: 0;
    flex-shrink: 0;
    justify-content: center;
}

.composition-header-text[b-ic6xfcbhjt] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Base shared scroll container styles */
.composition-scroll-container[b-ic6xfcbhjt] {
    display: flex;
    overflow-x: auto;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
    flex-grow: 1;
}

/* Vertical mode - schedulers side by side (row) */
.composition-scroll-container.vertical-mode[b-ic6xfcbhjt] {
    flex-direction: row;
}

/* Horizontal mode - schedulers stacked vertically (column) */
.composition-scroll-container.horizontal-mode[b-ic6xfcbhjt] {
    flex-direction: column;
}

/* Child schedulers should not have their own scroll */
[b-ic6xfcbhjt] .composition-scroll-container .mw-scheduler-root {
    flex-shrink: 0;
}

[b-ic6xfcbhjt] .composition-scroll-container .timeline-calendar-container {
    max-height: none;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
}

/* =========================== */
/* VERTICAL MODE STYLING       */
/* (schedulers side by side)   */
/* =========================== */

/* First scheduler gets left border radius in vertical mode */
[b-ic6xfcbhjt] .composition-scroll-container.vertical-mode .mw-scheduler-root:first-child .timeline-calendar-container {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

/* Last scheduler gets right border radius in vertical mode */
[b-ic6xfcbhjt] .composition-scroll-container.vertical-mode .mw-scheduler-root:last-child .timeline-calendar-container {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Remove double borders between schedulers in vertical mode */
[b-ic6xfcbhjt] .composition-scroll-container.vertical-mode .mw-scheduler-root:not(:first-child) .calendar-grid {
    border-left: none;
}

/* =========================== */
/* HORIZONTAL MODE STYLING     */
/* (schedulers stacked)        */
/* =========================== */

/* First scheduler gets top border radius in horizontal mode */
[b-ic6xfcbhjt] .composition-scroll-container.horizontal-mode .mw-scheduler-root:first-child .timeline-calendar-container {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Last scheduler gets bottom border radius in horizontal mode */
[b-ic6xfcbhjt] .composition-scroll-container.horizontal-mode .mw-scheduler-root:last-child .timeline-calendar-container {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Remove double borders between schedulers in horizontal mode */
[b-ic6xfcbhjt] .composition-scroll-container.horizontal-mode .mw-scheduler-root:not(:first-child) .calendar-grid {
    border-top: none;
}

/* Ensure full width in horizontal mode */
[b-ic6xfcbhjt] .composition-scroll-container.horizontal-mode .mw-scheduler-root {
    width: 100%;
}

/* Ensure calendar grids don't scroll independently */
[b-ic6xfcbhjt] .composition-scroll-container .calendar-grid {
    overflow: visible;
}

/* =========================== */
/* INSIDE MULTI-COMPOSITION    */
/* =========================== */

/* When inside MWMultiComposition, remove container styling */
.mw-resource-composition.in-multi-composition[b-ic6xfcbhjt] {
    background: transparent;
}

.mw-resource-composition.in-multi-composition .composition-scroll-container[b-ic6xfcbhjt] {
    max-height: none;
    overflow: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .composition-scroll-container[b-ic6xfcbhjt] {
        max-height: calc(100vh - 150px);
    }

    [b-ic6xfcbhjt] .composition-container {
        max-height: calc(100vh - 150px);
    }
}
/* /Components/Modules/MWScheduler.razor.rz.scp.css */
/* MWScheduler Styles - Contains all styles for scheduler including child view components */
/* Uses ::deep to penetrate CSS isolation into view components */

/* Root container - must have dimensions for flex layout */
.mw-scheduler-root[b-8r6bg2l5z2] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* Container */
.timeline-calendar-container[b-8r6bg2l5z2] {
    flex: 1;
    min-height: 0;
    background: white;
    border-radius: 8px;
    max-height: calc(100vh - 200px);
    overflow: auto;
    /* NOTE: Prevent macOS touchpad gestures from triggering browser back/forward
       navigation when scrolling horizontally at the boundaries */
    overscroll-behavior: contain;
}

/* ============================================== */
/* CALENDAR GRID - VERTICAL MODE                  */
/* ============================================== */

[b-8r6bg2l5z2] .calendar-grid.vertical {
    display: grid;
    /* NOTE: Using fixed column width instead of 1fr for consistent virtualization calculations */
    grid-template-columns: var(--date-column-width, 24px) var(--time-column-width, 50px) repeat(var(--resource-count), var(--slot-width, 60px));
    grid-template-rows: repeat(var(--header-row-count, 1), auto) repeat(var(--slot-count), var(--slot-height));
    gap: 0;
    border: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: relative;
    /* Prevent text selection while dragging */
    user-select: none;
    -webkit-user-select: none;
}

/* ============================================== */
/* CALENDAR GRID - HORIZONTAL MODE                */
/* ============================================== */

/* NOTE: Base horizontal grid styles - grid-template-columns is controlled by
   MWSchedulerHorizontalView.razor.css via CSS variables. Only define non-column styles here. */
[b-8r6bg2l5z2] .calendar-grid.horizontal {
    display: grid;
    /* NOTE: Using fixed row height instead of minmax(..., 1fr) for consistent virtualization calculations */
    grid-template-rows: auto auto repeat(var(--resource-count), var(--resource-row-height, 60px));
    gap: 0;
    border: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: relative;
    /* Prevent text selection while dragging */
    user-select: none;
    -webkit-user-select: none;
}

/* ============================================== */
/* HEADERS - VERTICAL MODE                        */
/* ============================================== */

[b-8r6bg2l5z2] .date-header,
[b-8r6bg2l5z2] .time-header,
[b-8r6bg2l5z2] .events-header {
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    padding: 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    top: 0;
    z-index: 200;
}

[b-8r6bg2l5z2] .date-header {
    z-index: 210;
    padding: 4px;
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    min-width: var(--date-column-width, 24px);
}

[b-8r6bg2l5z2] .time-header {
    z-index: 205;
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
}

[b-8r6bg2l5z2] .events-header {
    z-index: 200;
}

/* ============================================== */
/* HEADERS - HORIZONTAL MODE                      */
/* ============================================== */

[b-8r6bg2l5z2] .corner-header {
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    left: 0;
    top: 0;
    z-index: 220;
}

[b-8r6bg2l5z2] .resource-column-header {
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    padding: 8px 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    left: 0;
    z-index: 205;
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-8r6bg2l5z2] .resource-row-header {
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    padding: 8px 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    left: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================== */
/* DATE CELLS - VERTICAL MODE                     */
/* ============================================== */

[b-8r6bg2l5z2] .date-cell {
    background: var(--mud-palette-primary-lighten, #e3f2fd);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    left: 0;
    z-index: 201;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: var(--date-column-width, 24px);
}

[b-8r6bg2l5z2] .date-cell-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 11px;
    line-height: 1.2;
    gap: 4px;
    padding: 4px 2px;
}

/* ============================================== */
/* DATE CELLS - HORIZONTAL MODE                   */
/* ============================================== */

[b-8r6bg2l5z2] .date-cell-horizontal {
    background: var(--mud-palette-primary-lighten, #e3f2fd);
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    top: 0;
    z-index: 205;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

[b-8r6bg2l5z2] .date-cell-content-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

/* ============================================== */
/* DATE CELL CONTENT (SHARED)                     */
/* ============================================== */

[b-8r6bg2l5z2] .date-weekday {
    font-weight: 600;
    color: var(--mud-palette-primary-darken, #1976d2);
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.5px;
}

[b-8r6bg2l5z2] .date-day {
    font-weight: 700;
    color: var(--mud-palette-primary, #2196f3);
    font-size: 14px;
}

/* ============================================== */
/* RESOURCE HEADERS - VERTICAL MODE               */
/* ============================================== */

[b-8r6bg2l5z2] .resource-header {
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    padding: 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    top: 0;
    z-index: 200;
    text-align: center;
}

/* ============================================== */
/* RESOURCE STATE CLASSES                         */
/* ============================================== */

/* Highlight when resource is drag target */
[b-8r6bg2l5z2] .resource-header.resource-drag-target,
[b-8r6bg2l5z2] .resource-row-header.resource-drag-target {
    background: var(--mud-palette-primary-darken, #3a7bc8);
    box-shadow: inset 0 0 0 2px var(--mud-palette-primary-lighten, #e3f2fd);
}

/* Selected resource */
[b-8r6bg2l5z2] .resource-header.resource-selected,
[b-8r6bg2l5z2] .resource-row-header.resource-selected {
    background: var(--mud-palette-secondary, #9c27b0);
}

/* Hovered resource */
[b-8r6bg2l5z2] .resource-header.resource-hovered,
[b-8r6bg2l5z2] .resource-row-header.resource-hovered {
    background: var(--mud-palette-primary-lighten, #5fa8f5);
}

/* ============================================== */
/* TIME SLOTS - VERTICAL MODE                     */
/* ============================================== */

[b-8r6bg2l5z2] .time-slot {
    padding: 4px 8px;
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    background: var(--mud-palette-surface, #fafafa);
    font-size: 12px;
    color: var(--mud-palette-text-secondary, #666);
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    left: var(--date-column-width, 24px);
    z-index: 201;
}

/* ============================================== */
/* TIME SLOTS - HORIZONTAL MODE                   */
/* ============================================== */

[b-8r6bg2l5z2] .time-slot-horizontal {
    padding: 4px 2px;
    text-align: center;
    font-size: 10px;
    color: var(--mud-palette-text-secondary, #666);
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    background: var(--mud-palette-surface, #fafafa);
    position: sticky;
    top: var(--date-row-height, 24px);
    z-index: 205;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: var(--slot-height, 30px);
}

/* ============================================== */
/* EVENT AREA (BACKGROUND CELLS)                  */
/* ============================================== */

[b-8r6bg2l5z2] .event-area {
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    background: var(--mud-palette-surface, #fafafa);
}

/* Visual indicator for allowed drop zones */
[b-8r6bg2l5z2] .event-area.drag-active {
    background: rgba(74, 144, 226, 0.08);
    border: 1px dashed var(--mud-palette-primary, #4a90e2);
    box-sizing: border-box;
}

[b-8r6bg2l5z2] .event-area.drag-disabled {
    background: rgba(0, 0, 0, 0.03);
    opacity: 0.5;
}

/* ============================================== */
/* EVENTS                                         */
/* ============================================== */

[b-8r6bg2l5z2] .event {
    position: relative;
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    border-radius: 4px;
    margin: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1;
    cursor: pointer;
    overflow: hidden;
    /* Prevent text selection during drag */
    user-select: none;
    -webkit-user-select: none;
    /* Touch action for better touch handling */
    touch-action: none;
}

/* Hover overlay effect */
[b-8r6bg2l5z2] .event::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    border-radius: 4px;
    pointer-events: none;
    transition: background 0.2s ease;
    z-index: 1;
}

[b-8r6bg2l5z2] .event:hover::before {
    background: rgba(255, 255, 255, 0.15);
}

[b-8r6bg2l5z2] .event:hover {
    z-index: 2;
}

[b-8r6bg2l5z2] .event.readonly {
    background: var(--mud-palette-grey-lighter, #ccc);
    color: var(--mud-palette-text-disabled, #999);
    cursor: not-allowed;
}

[b-8r6bg2l5z2] .event.readonly:hover::before {
    background: transparent;
}

/* Drag States */
[b-8r6bg2l5z2] .event.can-move {
    cursor: grab;
}

[b-8r6bg2l5z2] .event.dragging {
    cursor: grabbing;
    z-index: 100;
}

[b-8r6bg2l5z2] .event.drag-source {
    opacity: 0.4;
    z-index: 99;
}

[b-8r6bg2l5z2] .event.resizing {
    z-index: 100;
}

/* Event Content */
[b-8r6bg2l5z2] .event-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

[b-8r6bg2l5z2] .event-time {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 4px;
}

/* Event Details Table */
[b-8r6bg2l5z2] .event-details-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

[b-8r6bg2l5z2] .event-details-table tbody tr {
    height: 24px;
    max-height: 24px;
}

[b-8r6bg2l5z2] .event-details-table td {
    padding: 2px 4px;
    height: 24px;
    max-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: none;
}

[b-8r6bg2l5z2] .event-details-table .mud-typography-caption {
    font-size: 10px;
    opacity: 0.8;
}

[b-8r6bg2l5z2] .event-details-table .mud-typography-body2 {
    font-size: 11px;
}

/* Event Color Variants */
[b-8r6bg2l5z2] .event.blue {
    background: #4a90e2;
}

[b-8r6bg2l5z2] .event.green {
    background: var(--mud-palette-success, #52c41a);
}

[b-8r6bg2l5z2] .event.orange {
    background: var(--mud-palette-warning, #fa8c16);
}

[b-8r6bg2l5z2] .event.purple {
    background: #722ed1;
}

[b-8r6bg2l5z2] .event.red {
    background: var(--mud-palette-error, #f5222d);
}

/* Focus Styles (Accessibility) */
[b-8r6bg2l5z2] .event:focus {
    outline: 3px solid var(--mud-palette-primary, #4a90e2);
    outline-offset: 2px;
    z-index: 100;
}

[b-8r6bg2l5z2] .event:focus:not(:focus-visible) {
    outline: none;
}

/* Selected State */
[b-8r6bg2l5z2] .event.selected {
    outline: 3px solid var(--mud-palette-primary-darken, #3a7bc8);
    outline-offset: 2px;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

[b-8r6bg2l5z2] .event.selected::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    pointer-events: none;
}

/* ============================================== */
/* RESIZE HANDLES                                 */
/* ============================================== */

[b-8r6bg2l5z2] .resize-handle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s;
    touch-action: none;
}

[b-8r6bg2l5z2] .event:hover .resize-handle,
[b-8r6bg2l5z2] .event.resizing .resize-handle {
    opacity: 1;
}

/* Font Awesome icon for resize handle */
[b-8r6bg2l5z2] .resize-handle::after {
    content: "\f090";
    font-family: "Font Awesome 5 Free", serif;
    font-weight: 900;
    position: absolute;
    left: 50%;
    top: 50%;
    color: rgba(0, 0, 0, 0.7);
    font-size: 12px;
    pointer-events: none;
}

/* Vertical mode resize handles (top/bottom) */
[b-8r6bg2l5z2] .resize-handle.top,
[b-8r6bg2l5z2] .resize-handle.bottom {
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 16px;
    cursor: ns-resize;
}

[b-8r6bg2l5z2] .resize-handle.top {
    top: 4px;
}

[b-8r6bg2l5z2] .resize-handle.bottom {
    bottom: 4px;
}

[b-8r6bg2l5z2] .resize-handle.top::after {
    transform: translate(-50%, -50%) rotate(-90deg);
}

[b-8r6bg2l5z2] .resize-handle.bottom::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Horizontal mode resize handles (left/right) */
[b-8r6bg2l5z2] .resize-handle.left,
[b-8r6bg2l5z2] .resize-handle.right {
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 40px;
    cursor: ew-resize;
}

[b-8r6bg2l5z2] .resize-handle.left {
    left: 4px;
}

[b-8r6bg2l5z2] .resize-handle.right {
    right: 4px;
}

[b-8r6bg2l5z2] .resize-handle.left::after {
    transform: translate(-50%, -50%) rotate(180deg);
}

[b-8r6bg2l5z2] .resize-handle.right::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

/* ============================================== */
/* PREVIEW ELEMENTS                               */
/* ============================================== */

/* Drop Preview */
[b-8r6bg2l5z2] .drop-preview {
    background: var(--mud-palette-primary, #4a90e2);
    opacity: 0.7;
    border: 2px dashed var(--mud-palette-primary-darken, #3a7bc8);
    border-radius: 4px;
    margin: 4px;
    pointer-events: none;
    z-index: 150;
}

[b-8r6bg2l5z2] .drop-preview.invalid {
    background: var(--mud-palette-error, #f5222d);
    border-color: var(--mud-palette-error-darken, #d91e1e);
}

[b-8r6bg2l5z2] .drop-preview.forbidden {
    background: var(--mud-palette-error-lighten, #ffccc7);
    border-color: var(--mud-palette-error, #f5222d);
    opacity: 0.5;
}

/* Resize Preview */
[b-8r6bg2l5z2] .resize-preview {
    background: var(--mud-palette-primary, #4a90e2);
    opacity: 0.8;
    border: 2px solid var(--mud-palette-primary-darken, #3a7bc8);
    border-radius: 4px;
    margin: 4px;
    pointer-events: none;
    z-index: 150;
}

[b-8r6bg2l5z2] .resize-preview.invalid {
    background: var(--mud-palette-error, #f5222d);
    border-color: var(--mud-palette-error-darken, #d91e1e);
}

/* Create Preview */
[b-8r6bg2l5z2] .create-preview {
    background: var(--mud-palette-success, #52c41a);
    opacity: 0.7;
    border: 2px dashed var(--mud-palette-success-darken, #3fa00e);
    border-radius: 4px;
    margin: 4px;
    pointer-events: none;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-8r6bg2l5z2] .create-preview.invalid {
    background: var(--mud-palette-error, #f5222d);
    border-color: var(--mud-palette-error-darken, #d91e1e);
}

[b-8r6bg2l5z2] .create-preview-content {
    color: white;
    font-weight: 600;
    font-size: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[b-8r6bg2l5z2] .create-preview-time {
    opacity: 0.9;
}

/* ============================================== */
/* VIRTUALIZATION                                 */
/* ============================================== */

.mw-scheduler-scroll-container[b-8r6bg2l5z2] {
    overflow: auto;
    position: relative;
    /* NOTE: flex: 1 works better than height: 100% in flex column layout */
    flex: 1;
    min-height: 200px;
    width: 100%;
    max-height: calc(100vh - 200px);
    /* Optimize scroll performance */
    will-change: scroll-position;
    /* NOTE: Changed from 'strict' to 'layout paint' - 'size' containment
       prevented proper height calculation in flex layout */
    contain: layout paint;
    /* NOTE: Prevent macOS touchpad gestures from triggering browser back/forward
       navigation when scrolling horizontally at the boundaries */
    overscroll-behavior: contain;
}

.mw-scheduler-virtual-spacer[b-8r6bg2l5z2] {
    position: relative;
    /* Width/height set via inline style based on total content size */
}

.mw-scheduler-viewport[b-8r6bg2l5z2] {
    position: sticky;
    top: 0;
    left: 0;
    /* Contains the actual CSS grid */
}

/* ============================================== */
/* MODE INDICATOR                                  */
/* ============================================== */

.mw-scheduler-root.mode-active[b-8r6bg2l5z2] {
    position: relative;
}

.mw-scheduler-mode-indicator[b-8r6bg2l5z2] {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px 4px 12px;
    background: var(--mud-palette-surface, #1f1f1f);
    border: 2px solid var(--mode-color, var(--mud-palette-primary));
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mw-scheduler-mode-text[b-8r6bg2l5z2] {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--mode-color, var(--mud-palette-primary));
    white-space: nowrap;
}

.mw-scheduler-mode-close[b-8r6bg2l5z2] {
    color: var(--mode-color, var(--mud-palette-primary)) !important;
    padding: 4px !important;
}

.mw-scheduler-mode-close:hover[b-8r6bg2l5z2] {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Mode border on container */
.timeline-calendar-container.mode-border[b-8r6bg2l5z2] {
    border-radius: 4px;
    transition: border-color 0.2s ease;
}

/* ============================================== */
/* NAVIGATION MODE (reduced visual feedback)      */
/* ============================================== */

.mw-scheduler-root[data-mode="navigation"][b-8r6bg2l5z2]  .event {
    cursor: default;
}

.mw-scheduler-root[data-mode="navigation"][b-8r6bg2l5z2]  .event {
    cursor: default;
}

.mw-scheduler-root[data-mode="navigation"][b-8r6bg2l5z2]  .event::before {
    display: none;
}

.mw-scheduler-root[data-mode="navigation"][b-8r6bg2l5z2]  .event:hover {
    transform: none;
    box-shadow: none;
}

.mw-scheduler-root[data-mode="navigation"][b-8r6bg2l5z2]  .event .resize-handle,
.mw-scheduler-root[data-mode="navigation"][b-8r6bg2l5z2]  .event:hover .resize-handle {
    display: none;
}

.mw-scheduler-root[data-mode="navigation"][b-8r6bg2l5z2]  .event-area:hover {
    background: transparent;
}

/* ============================================== */
/* DELETE MODE (visual feedback)                  */
/* ============================================== */

.mw-scheduler-root[data-mode="deleteclick"][b-8r6bg2l5z2]  .event {
    cursor: pointer;
}

.mw-scheduler-root[data-mode="deleteclick"][b-8r6bg2l5z2]  .event:hover {
    background: var(--mud-palette-error-lighten, rgba(244, 67, 54, 0.3)) !important;
    border-color: var(--mud-palette-error, #f44336);
    transform: scale(1.02);
}

/* ============================================== */
/* CREATE CLICK MODE (visual feedback)            */
/* ============================================== */

.mw-scheduler-root[data-mode="createclick"][b-8r6bg2l5z2]  .event-area {
    cursor: crosshair;
}

.mw-scheduler-root[data-mode="createclick"][b-8r6bg2l5z2]  .event-area:hover {
    background: var(--mud-palette-info-lighten, rgba(33, 150, 243, 0.1));
}

/* ============================================== */
/* CREATE DRAG MODE (visual feedback)             */
/* ============================================== */

.mw-scheduler-root[data-mode="createdrag"][b-8r6bg2l5z2]  .event-area {
    cursor: crosshair;
}

.mw-scheduler-root[data-mode="createdrag"][b-8r6bg2l5z2]  .event-area:hover {
    background: var(--mud-palette-tertiary-lighten, rgba(119, 107, 231, 0.1));
}

/* ============================================== */
/* INDICATOR MODE (crosshair lines)               */
/* ============================================== */

[b-8r6bg2l5z2] .mw-scheduler-indicator-line-vertical {
    background: var(--mud-palette-primary, #1976d2);
    opacity: 0.6;
    pointer-events: none;
    z-index: 50;
    height: 100%;
    width: 2px;
    justify-self: center;
}

[b-8r6bg2l5z2] .mw-scheduler-indicator-line-horizontal {
    background: var(--mud-palette-primary, #1976d2);
    opacity: 0.6;
    pointer-events: none;
    z-index: 50;
    width: 100%;
    height: 2px;
    align-self: center;
}
/* /Components/Modules/MWSchedulerComposer.razor.rz.scp.css */
/* MWSchedulerComposer - Data-driven scheduler composition container */
/* Layout: Flat CSS Grid with date, time, and N resource columns/rows */
/* Material Design 2 styling with dark theme support */

.mw-scheduler-composer[b-hftm1b20s9] {
    display: grid;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: var(--mud-palette-background);
    border-radius: 4px;
}

/* ===== VERTICAL MODE (Resources as Columns) ===== */
.mw-scheduler-composer.vertical[b-hftm1b20s9] {
    grid-template-columns: var(--date-column-width, 36px) var(--time-column-width, 50px) repeat(var(--resource-count, 1), minmax(100px, 1fr));
    grid-template-rows: auto auto repeat(var(--slot-count, 20), var(--slot-height, 60px));
}

/* ===== HORIZONTAL MODE (Resources as Rows) ===== */
.mw-scheduler-composer.horizontal[b-hftm1b20s9] {
    grid-template-columns:
        var(--composition-header-column-width, 40px)
        var(--resource-header-column-width, 120px)
        repeat(var(--slot-count), var(--slot-width, 60px));
    /* NOTE: Using fixed height instead of minmax(..., 1fr) for consistent virtualization */
    grid-template-rows:
        var(--date-row-height, auto)
        var(--time-row-height, auto)
        repeat(var(--resource-count), var(--resource-row-height, 60px));
}

/* ===== HEADER SPACER (Rows 1-2, spans date + time columns) ===== */
.composer-header-spacer[b-hftm1b20s9] {
    background: var(--mud-palette-surface);
    border-right: 1px solid var(--mud-palette-lines-default);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    position: sticky;
    left: 0;
    top: 0;
    z-index: 30;
}

/* ===== SHARED DATE/TIME COLUMN STYLES ===== */
/* Date header (rows 1-2) */
[b-hftm1b20s9] .date-header {
    background: var(--mud-palette-surface);
    border-right: 1px solid var(--mud-palette-lines-default);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    position: sticky;
    left: 0;
    top: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
}

/* Time header (rows 1-2) */
[b-hftm1b20s9] .time-header {
    background: var(--mud-palette-surface);
    border-right: 1px solid var(--mud-palette-lines-default);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    position: sticky;
    left: var(--date-column-width, 36px);
    top: 0;
    z-index: 24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
}

/* Date cells (rows 3+) */
[b-hftm1b20s9] .date-cell {
    background: var(--mud-palette-surface);
    border-right: 1px solid var(--mud-palette-lines-default);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    position: sticky;
    left: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-hftm1b20s9] .date-cell-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 11px;
    line-height: 1.2;
    gap: 2px;
}

[b-hftm1b20s9] .date-weekday {
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--mud-palette-text-disabled);
    letter-spacing: 0.02em;
}

[b-hftm1b20s9] .date-day {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

/* Time slots (rows 3+) */
[b-hftm1b20s9] .time-slot {
    background: var(--mud-palette-surface);
    border-right: 1px solid var(--mud-palette-lines-default);
    border-bottom: 1px dashed var(--mud-palette-lines-inputs);
    position: sticky;
    left: var(--date-column-width, 36px);
    z-index: 5;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2px;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--mud-palette-text-disabled);
}


/* ===== COMPOSITION HEADERS (Row 1, grid items) ===== */
.composition-header[b-hftm1b20s9] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--composition-header-height);
    padding: 0 16px;
    font-weight: 600;
    font-size: 0.8rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
}

.composition-name[b-hftm1b20s9] {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

/* Composition separator - vertical line between compositions */
.composition-separator[b-hftm1b20s9] {
    width: 2px;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--mud-palette-primary) var(--composition-header-height, 36px),
        var(--mud-palette-primary) calc(100% - 8px),
        transparent 100%);
    z-index: 15;
    pointer-events: none;
    justify-self: start;
}

/* ===== RESOURCE HEADERS (Row 2, rendered by child schedulers) ===== */
/* Styling overrides are applied via CSS custom properties set on the root div: */
/* --resource-header-height: explicit height (defaults to slot height) */
/* --resource-header-z-index: 9 (below composition headers at z-index 10) */

/* ===== COMPOSED SCHEDULER OVERRIDES ===== */
/* Fallback safety: hide date/time elements if HideTimeColumn/HideDateColumn are not set */
/* In composed mode, schedulers use display:contents and their children become */
/* direct grid items of the composer. These rules hide elements that the composer owns. */

[b-hftm1b20s9] .calendar-grid .date-header,
[b-hftm1b20s9] .calendar-grid .time-header,
[b-hftm1b20s9] .calendar-grid .events-header {
    display: none !important;
}

[b-hftm1b20s9] .calendar-grid .date-cell,
[b-hftm1b20s9] .calendar-grid .time-slot {
    display: none !important;
}

/* Event area styling in composer context */
[b-hftm1b20s9] .event-area {
    background: var(--mud-palette-background);
    border-bottom: 1px solid var(--mud-palette-lines-inputs);
}

[b-hftm1b20s9] .event-area.hour-boundary {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

/* Events styling in composer context */
[b-hftm1b20s9] .event {
    margin: 1px 2px;
}

/* Cross-scheduler drag: incompatible resource type columns/rows */
[b-hftm1b20s9] .event-area.cross-drag-incompatible {
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(244, 67, 54, 0.06) 10px,
        rgba(244, 67, 54, 0.06) 20px
    );
    cursor: not-allowed;
}

/* ===== HORIZONTAL MODE SPECIFIC STYLES ===== */

/* Horizontal mode: corner spacer (spans date row + time row, columns 1-2) */
.mw-scheduler-composer.horizontal .composer-corner-spacer[b-hftm1b20s9] {
    background: var(--mud-palette-surface);
    border-right: 1px solid var(--mud-palette-lines-default);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    position: sticky;
    left: 0;
    top: 0;
    z-index: 30;
}

/* Horizontal mode: composition header (row-spanning, left column) */
.composition-header-horizontal[b-hftm1b20s9] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    font-weight: 600;
    font-size: 0.75rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: sticky;
    left: 0;
    z-index: 15;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    border-right: 1px solid var(--mud-palette-lines-default);
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

/* Horizontal mode: resource header (column 2, one per resource row) */
.resource-header-horizontal[b-hftm1b20s9] {
    background: var(--mud-palette-surface);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    border-right: 1px solid var(--mud-palette-lines-default);
    position: sticky;
    left: var(--composition-header-column-width, 40px);
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
    min-height: var(--resource-row-height, 60px);
}

/* Horizontal mode: composition separator (horizontal line between compositions) */
.composition-separator-horizontal[b-hftm1b20s9] {
    height: 2px;
    background: linear-gradient(to right,
        var(--mud-palette-primary) 0%,
        var(--mud-palette-primary) calc(100% - 8px),
        transparent 100%);
    z-index: 15;
    pointer-events: none;
}

/* ===== HORIZONTAL MODE DATE/TIME STYLES ===== */

/* Horizontal mode: date row styles */
.mw-scheduler-composer.horizontal[b-hftm1b20s9]  .date-row {
    grid-row: 1;
    display: contents;
}

.mw-scheduler-composer.horizontal[b-hftm1b20s9]  .date-cell {
    background: var(--mud-palette-surface);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    border-right: 1px solid var(--mud-palette-lines-default);
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
}

/* Horizontal mode: time row styles */
.mw-scheduler-composer.horizontal[b-hftm1b20s9]  .time-row {
    grid-row: 2;
    display: contents;
}

.mw-scheduler-composer.horizontal[b-hftm1b20s9]  .time-slot {
    background: var(--mud-palette-surface);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    border-right: 1px dashed var(--mud-palette-lines-inputs);
    position: sticky;
    top: var(--date-row-height, auto);
    z-index: 19;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--mud-palette-text-disabled);
}

.mw-scheduler-composer.horizontal[b-hftm1b20s9]  .time-slot.hour-boundary {
    border-right: 1px solid var(--mud-palette-lines-default);
}

/* Horizontal mode: hide vertical-mode elements from child schedulers */
.mw-scheduler-composer.horizontal[b-hftm1b20s9]  .calendar-grid .date-header,
.mw-scheduler-composer.horizontal[b-hftm1b20s9]  .calendar-grid .time-header,
.mw-scheduler-composer.horizontal[b-hftm1b20s9]  .calendar-grid .events-header {
    display: none !important;
}

/* Horizontal mode: event area styling */
.mw-scheduler-composer.horizontal[b-hftm1b20s9]  .event-area {
    background: var(--mud-palette-background);
    border-right: 1px dashed var(--mud-palette-lines-inputs);
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.mw-scheduler-composer.horizontal[b-hftm1b20s9]  .event-area.hour-boundary {
    border-right: 1px solid var(--mud-palette-lines-default);
}
/* /Components/Modules/MWShiftPlanner.razor.rz.scp.css */
.mw-shift-planner[b-mm0bk0gew5] {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 8px;
}

.mw-shift-planner-controls[b-mm0bk0gew5] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 8px;
}
/* /Components/Modules/MWShiftPlanner_Legacy.razor.rz.scp.css */


[b-1746r6vxln] .mw-sp-mode-scheduler {
    border-radius: 15px !important;
}

[b-1746r6vxln] .mw-sp-mode-text {
    --mw-sp-mode-text-color:    16px;
    position:                   absolute;
    left:                       50%;
    transform:                  translate(-50%, -10%);
    font-size:                  1.5rem;
    color:                      var(--mw-mc-info);
    font-weight:                bold;
    pointer-events:             none;
    transition:                 opacity 0.3s ease-in-out;
    z-index:                    100;

    padding:                    5px 5px; /* adjust padding so the text overlaps the border fully */
    background-color:           #1f1f1f; /* same as the scheduler’s background */
    border-top:                 solid 5px #1f1f1f !important;

    border-bottom:              solid 5px;
    border-left:                solid 5px;
    border-right:               solid 5px;
    border-bottom-left-radius:  15px;
    border-bottom-right-radius: 15px;
}

/* NOTE: For the Mode Select */
[b-1746r6vxln] .mw-no-arrow-drop-down {
    text-align: center;
    background-color: rgb(119, 107, 231);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    /*height: 30px !important;*/
}
[b-1746r6vxln] .mw-no-arrow-drop-down:hover {
    background-color: rgb(90, 75, 226);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;

    /*text-align: center;*/
    /*background-color: #5a32a3;*/
    /*height: 30px !important;*/
}

[b-1746r6vxln] .mw-no-arrow-drop-down .mud-input-adornment.mud-input-adornment-end.mud-select-input {
    display: none;
}

/*NOTE: SP -  Was trying to make the select as big as its container */
[b-1746r6vxln] .mw-no-arrow-drop-down .mud-input-slot.mud-input-root.mud-input-root-text.mud-input-root-adorned-end.mud-select-input {
    height:        23px !important;
    align-content: center;
    justify-items: center;
    padding:       0;
}

[b-1746r6vxln] .mw-no-arrow-drop-down .mud-input-slot.mud-input-root.mud-input-root-text.mud-input-root-adorned-end.mud-select-input .mud-input-slot-inner {
    /*height: 31px !important;*/
    /*height: 30px !important;*/
}

/* REGIONSTART: MIXED --------------------------------------------------------------------------------------------------------------------------------- */

/* NOTE: SP - Dark overlay over a shift when not editable */
[b-1746r6vxln] .e-appointment:has(.mw-shift-dark-overlay)::before {
    content: "";
    position: absolute;
    width: 130%;
    height: 130%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    z-index: 10; /* Ensure this overlay is above the font and other parts */
    pointer-events: none; /* Make sure the shift below is still clickable to request shift switch. */
}

/*::deep .e-appointment:has(.mw-shift-is-not-allowed-to-edit)::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    width: 130%;*/
/*    height: 130%;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*    background: rgba(0, 0, 0, 0.5);*/
/*    color: white;*/
/*    z-index: 10; !* Ensure this overlay is above the font and other parts *!*/
/*    pointer-events: none; !* Make sure the shift below is still clickable to request shift switch. *!*/
/*}*/

/* Overlay over a shift when Person is null */
/* Did disable it for now, since it was to distracting */
/*.e-appointment:has(.mw-shift-has-no-person)::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    width: 130%;       !* Add this *!*/
/*    height: 130%;      !* Add this *!*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*    background: rgba(255, 255, 255, 0.2);*/
/*    z-index: 100;*/
/*    pointer-events: none;*/
/*}*/

/* NOTE: SP - Shift highlight */
[b-1746r6vxln] .e-appointment:has(.mw-shift-highlighted) {
    animation: outlinePulse-b-1746r6vxln .65s ease-in infinite;
}

/* NOTE: SP - Shift highlight animation */
@keyframes outlinePulse-b-1746r6vxln {
    0% {
        outline:        3px solid var(--mud-palette-tertiary);
        outline-offset: 2px;
        z-index:        20;
    }
    50% {
        outline:        3px solid var(--mud-palette-tertiary);
        outline-offset: 5px;
        z-index:        20;

    }
    100% {
        outline:        3px solid var(--mud-palette-tertiary);
        outline-offset: 2px;
        z-index:        20;
    }
}

/* NOTE: SP - SHIFT - Marks own shifts */

[b-1746r6vxln] .e-appointment:has(.mw-shift-is-own-shift) {
    /*background-color: red !important;*/
    border:        5px solid var(--mud-palette-success) !important;
    /*border: 5px solid !important;*/
    /*border-image: linear-gradient(var(--mud-palette-primary), var(--mud-palette-success)) 90 !important;*/
    /*border-collapse: collapse;*/
    border-radius: 5px !important;
    /*color: var(--mud-palette-success) !important;*/
}

/*::deep .mw-resource-header-text:before { ;*/
/*    content: 'Test';*/
/*    position: absolute;*/
/*    left: 500px;*/
/*    !* NOTE: SP - RESOURCES - Makes the resource header text bold *!*/
/*    font-weight: bold;*/
/*}*/

/*::deep .e-appointment:has(.mw-shift-is-own-shift) {*/
/*    !*background-color: red !important;*!*/
/*    !*border: 5px solid transparent !important;*!*/
/*    border-radius: 5px !important;*/
/*    background-clip: padding-box !important;*/
/*    position: relative !important;*/
/*    z-index: 1;*/
/*}*/

/*::deep .e-appointment:has(.mw-shift-is-own-shift)::before {*/
/*    content: '';*/
/*    position: absolute !important;*/
/*    top: -5px;*/
/*    left: -5px;*/
/*    right: -5px;*/
/*    bottom: -5px;*/
/*    background: linear-gradient(to right, #4a148c, #2e7d32) !important; !* Using purple to green as placeholders *!*/
/*    border-radius: 5px !important;*/
/*    z-index: -1;*/
/*}*/

/*::deep .e-appointment:has(.mw-shift-is-own-shift)::after {*/
/*    content: 'My Shift';*/
/*    position: absolute !important;*/
/*    top: -5px;*/
/*    left: -5px;*/
/*    z-index: 50;*/
/*}*/

/*.e-schedule td.e-work-cells.e-resource-group-cells::before {*/
/*    width: 15px !important;*/
/*    height: 15px !important;*/
/*    padding-left: 15px;*/
/*    font-size: xxx-large;*/
/*    content: "/";*/
/*    display: inline-block;*/
/*    opacity: 0.2;*/
/*    text-align: center;*/
/*    line-height: 15px;*/
/*}*/

/* Both of the following rules are to prevent the shift form turning white during resize */
/* Target the shift when it's being resized */
/*.e-appointment.e-appointment-border {*/
/*    background-color: inherit !important;*/
/*}*/

/*Alternatively, more specific targeting */
/*.e-schedule .e-schedule-event.e-appointment.e-resize-clone {*/
/*    opacity: 0.8 !important;*/
/*    !* Make sure it keeps its original color *!*/
/*    background-color: inherit !important;*/
/*}*/


/* REGIONSTART: SYNCFUSION OVERRIDES --------------------------------------------------------------------------------------------------------------------------------- */

/*NOTE: SP - SCROLLING - Makes the scrolling of the ShiftPlanner to a shift smooth.*/
[b-1746r6vxln] .e-schedule .e-content-wrap {
    scroll-behavior: smooth;
}

/* NOTE: SP - RESOURCES - This is the fold in or out icon on the ShiftPositionAreas. */
[b-1746r6vxln] .e-resource-tree-icon {
    margin-top:      5px;
    margin-left:     -5px !important;
    margin-right:    5px !important;
    padding-right:   5px;
    padding-top:     5px !important;
    display:         flex;
    align-items:     center;
    justify-content: center;
    border:          solid white 1px;
    border-radius:   50%;
    width:           30px !important;
    height:          30px !important;
}

/* NOTE: SP - RESOURCES - Adjusting the pseudo-element for the fold in/out button. */
[b-1746r6vxln] .e-resource-tree-icon::before {
    width:       15px !important;
    height:      15px !important;
    font-size:   large;
    display:     inline-block;
    text-align:  center;
    line-height: 15px;
}

/* NOTE: SP Resource cells */
:root[b-1746r6vxln] {
    /* NOTE: Changing the height of the resource group cells in the ShiftPlanner has resulted in misaligned table cells. Postponed. */
    --mw-shift-planer-resource-group-height: 40px;
}

[b-1746r6vxln] .mw-sp-resource-menu:hover {
    border-right: solid 5px rgba(var(--mud-palette-primary-rgb), 1);
}

/* NOTE: SP - RESOURCES - Makes the cells that are in ShiftPositionArea rows look not like they can be used for shifts. */
[b-1746r6vxln] .e-schedule td.e-work-cells.e-resource-group-cells {
    border-top:       black solid 5px !important;
    border-left:      none !important;
    /*height: var(--mw-shift-planer-resource-group-height) !important;*/
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* NOTE: SP - RESOURCES - ? */
[b-1746r6vxln] .e-resource-cells.e-parent-node.e-resource-left-td {
    border-top:       black solid 5px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    /*height: var(--mw-shift-planer-resource-group-height) !important;*/
}

/* NOTE: SP - RESOURCES - The ghost shift that is shown while dragging from the TreeView */
[b-1746r6vxln] .e-schedule-event-clone.e-resize-clone {
    background-color: inherit !important;
    border:           black solid !important;
    border-radius:    5px !important;
}

/* NOTE: SP - SHIFT HANDLES - Left and right handles for resizing shifts - Symbol */
[b-1746r6vxln] .e-event-resize.e-left-handler::after,
[b-1746r6vxln] .e-event-resize.e-right-handler::after {
    /* Font Awesome Unicode for resize icon */
    content:        "\f090";
    /* Font Awesome family */
    font-family:    "Font Awesome 5 Free", serif;
    /* Ensure proper weight for icons */
    font-weight:    900;
    /* Positioning the pseudo-element */
    position:       absolute;
    top:            50%;
    color:          black;
    /* Icon color to ensure visibility on grey background */
    font-size:      10px;
    /* Icon size */
    pointer-events: none;
}

/* NOTE: SP - SHIFT HANDLES - Left handle for resizing shifts - Symbol */
[b-1746r6vxln] .e-event-resize.e-left-handler::after {
    left:      3px;
    transform: translateY(-50%) rotate(180deg);
}

/* NOTE: SP - SHIFT HANDLES - Right handle for resizing shifts - Symbol */
[b-1746r6vxln] .e-event-resize.e-right-handler::after {
    right:     3px;
    transform: translateY(-50%);
}

/* NOTE: SP - SHIFT HANDLES - Left handle for resizing shifts */
[b-1746r6vxln] .e-appointment.e-lib.e-draggable .e-event-resize.e-left-handler {
    background-color: rgba(255, 255, 255, 0.698);
    border-radius:    2px;
    position:         relative;
    /* This controls the width of the handle */
    /* Want to get rid of this "!important"*/
    min-width:        15px;
}

/* NOTE: SP - SHIFT HANDLES - Right handle for resizing shifts */
[b-1746r6vxln] .e-appointment.e-lib.e-draggable .e-event-resize.e-right-handler {
    background-color: rgba(255, 255, 255, 0.698);
    border-radius:    2px;
    /* Set background color to grey */
    position:         relative;
    /* Make sure it can contain absolutely positioned elements */
    min-width:        15px;
    /*width: 15px;*/
}

/* NOTE: SP - SHIFT HANDLES - Make sure the handler are over the text, especially important when they are small */
[b-1746r6vxln] .e-left-handler,
[b-1746r6vxln] .e-right-handler {
    z-index:          2;
    background-color: white !important;
}

/* TODO: Claude gave me this, some day I need to understand why the second line works...*/
/* NOTE: SP - ACCESS - Removes the handles on the shifts when they are not editable. */
/* This selects the left handle (comes before appointment details) */
[b-1746r6vxln] .e-event-resize:has(~ .e-appointment-details .mw-shift-is-not-allowed-to-edit),
    /* This selects the right handle (comes after appointment details) */
[b-1746r6vxln] .e-appointment-details:has(.mw-shift-is-not-allowed-to-edit) ~ .e-event-resize {
    display: none !important;
}

/* NOTE: SP - ACCESS - White borders left and right to separate shifts from each other when they don't have handles. */
[b-1746r6vxln] .e-appointment-details:has(.mw-shift-is-not-allowed-to-edit) {
    border-left:  solid 2px white;
    border-right: solid 2px white;
}

/* NOTE: SP - SHIFT - Inside area of the shift */
[b-1746r6vxln] .e-appointment-details {
    /* These negative margins are a workaround for coloring the shifts. In the markup I have only access to the element nested in the appointment details. This helps make the color cover the entire shift. */
    margin-left:  -4px !important;
    margin-right: -4px !important;
    /* Do we really need these paddings? I really wish I would have explained my self in a comment here... */
    /*padding-left: 15px !important;*/
    /*padding-right: 15px !important;*/

    /* This determines the color of the shift */
    /* If we remove this, then the shifts will take the color determined by the Color field in them or their resources and will turn white during resize */
    /*background-color: var(--mud-palette-primary);*/
}

/* NOTE: SP - COVERAGE INDICATORS - Makes the coverage indicators fill their entire slot with color. Even necessary when the class selector above this does not exists */
[b-1746r6vxln] .e-read-only .e-appointment-details {
    padding-left:  0 !important;
    padding-right: 0 !important;
}

/* NOTE: SP - COVERAGE INDICATORS - Removes the border-radius on the coverage indicators */
[b-1746r6vxln] .e-appointment.e-read-only {
    border-radius: 0 !important;
    border:        none !important;
}

/* NOTE: SP - TOUCH - Trying to prevent panning the ShiftPlanner when resizing or moving shifts on touch. */
[b-1746r6vxln] .touch-fix .e-appointment,
[b-1746r6vxln] .touch-fix .e-event-resize-handler {
    /*touch-action: none !important;*/
}

/* NOTE: SP - TOUCH - Makes the handles bigger for touch use. */
@media (pointer: coarse) {
    [b-1746r6vxln] .e-appointment.e-lib.e-draggable .e-event-resize.e-left-handler {
        min-width: 30px !important;

    }

    [b-1746r6vxln] .e-appointment.e-lib.e-draggable .e-event-resize.e-right-handler {
        min-width: 30px !important;
    }

    [b-1746r6vxln] .e-event-resize.e-left-handler::after {
        /*left: 50%;*/
        transform: translate(20%, -50%) rotate(180deg) !important;
        font-size: 20px;
    }

    /* Right handle for resizing shifts - Symbol */
    [b-1746r6vxln] .e-event-resize.e-right-handler::after {
        /*left: 50%;*/
        transform: translate(-20%, -50%) !important;
        font-size: 20px;
    }
}
/* /Components/Modules/MWShiftTemplate.razor.rz.scp.css */
.mw-shift-template[b-4mkcoqllnv] {
    height: 100%;
    padding: 2px 4px;
    border-radius: 4px;
    overflow: hidden;
}

.mw-shift-template-content[b-4mkcoqllnv] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mw-shift-name[b-4mkcoqllnv] {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mw-shift-time[b-4mkcoqllnv] {
    font-size: 0.75rem;
    opacity: 0.8;
}
/* /Components/Modules/MWTimeSlotCard.razor.rz.scp.css */
.mw-timeslot-card[b-9hgyhfscco] {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.mw-timeslot-card:hover[b-9hgyhfscco] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mw-timeslot-content[b-9hgyhfscco] {
    min-height: 100%;
}

.mw-timeslot-title[b-9hgyhfscco] {
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mw-timeslot-type-badge[b-9hgyhfscco] {
    height: 18px;
    font-size: 0.65rem;
    margin: 2px 0;
}

.mw-timeslot-tech[b-9hgyhfscco] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.7rem;
}

.mw-timeslot-time[b-9hgyhfscco] {
    font-size: 0.75rem;
}
/* /Components/Modules/Scheduler/MWSchedulerCurrentTimeIndicator.razor.rz.scp.css */
/* Current Time Indicator Styles */

.current-time-indicator[b-u1ko2yk418] {
    position: relative;
    pointer-events: none;
    z-index: 200;
}

/* Vertical mode - horizontal line */
.current-time-indicator.vertical[b-u1ko2yk418] {
    border-top: 2px solid var(--mud-palette-error, #f44336);
    height: 0;
}

/* Horizontal mode - vertical line */
.current-time-indicator.horizontal[b-u1ko2yk418] {
    border-left: 2px solid var(--mud-palette-error, #f44336);
    width: 0;
}

/* Time label */
.time-label[b-u1ko2yk418] {
    position: absolute;
    background: var(--mud-palette-error, #f44336);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: auto;
}

/* Time label positioning - vertical mode */
.current-time-indicator.vertical .time-label[b-u1ko2yk418] {
    top: -12px;
    left: 8px;
}

/* Time label positioning - horizontal mode */
.current-time-indicator.horizontal .time-label[b-u1ko2yk418] {
    top: 8px;
    left: -30px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}
/* /Components/Modules/Scheduler/MWSchedulerDateColumn.razor.rz.scp.css */
/* Date Column Styles */

/* Date Header */
.date-header[b-5u094o7ig1] {
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    padding: 4px;
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    top: 0;
    z-index: 210;
    min-width: var(--date-column-width, 24px);
}

/* Date Cells - Spanning multiple time slots */
.date-cell[b-5u094o7ig1] {
    background: var(--mud-palette-primary-lighten, #e3f2fd);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    left: 0;
    z-index: 201;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: var(--date-column-width, 24px);
}

.date-cell-content[b-5u094o7ig1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 11px;
    line-height: 1.2;
    gap: 4px;
    padding: 4px 2px;
}

.date-weekday[b-5u094o7ig1] {
    font-weight: 600;
    color: var(--mud-palette-primary-darken, #1976d2);
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.5px;
}

.date-day[b-5u094o7ig1] {
    font-weight: 700;
    color: var(--mud-palette-primary, #2196f3);
    font-size: 14px;
}

/* /Components/Modules/Scheduler/MWSchedulerDateRow.razor.rz.scp.css */
/* Date Row Styles - Horizontal Mode */

/* Corner Header */
.corner-header[b-dcz6dzrnrb] {
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    left: 0;
    top: 0;
    z-index: 220;
}

/* Date Cells - Horizontal spanning */
.date-cell-horizontal[b-dcz6dzrnrb] {
    background: var(--mud-palette-primary-lighten, #e3f2fd);
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    top: 0;
    z-index: 205;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.date-cell-content-horizontal[b-dcz6dzrnrb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.date-weekday[b-dcz6dzrnrb] {
    font-weight: 600;
    color: var(--mud-palette-primary-darken, #1976d2);
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.5px;
}

.date-day[b-dcz6dzrnrb] {
    font-weight: 700;
    color: var(--mud-palette-primary, #2196f3);
    font-size: 14px;
}

/* /Components/Modules/Scheduler/MWSchedulerGroupHeader.razor.rz.scp.css */
/* Group Header Styles */

.scheduler-group-header[b-4ylkix3ept] {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--mud-palette-background-gray, #f5f5f5);
    color: var(--mud-palette-text-primary, #212121);
    padding: 8px 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    top: 0;
    z-index: 200;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.scheduler-group-header:hover[b-4ylkix3ept] {
    background: var(--mud-palette-action-hover, rgba(0, 0, 0, 0.04));
}

.scheduler-group-header.collapsed[b-4ylkix3ept] {
    background: var(--mud-palette-background, #eeeeee);
}

.scheduler-group-header.collapsed:hover[b-4ylkix3ept] {
    background: var(--mud-palette-action-hover, rgba(0, 0, 0, 0.08));
}

/* Orphan warning styling */
.scheduler-group-header.orphan[b-4ylkix3ept] {
    background: var(--mud-palette-warning-lighten, #fff8e1);
    border-left: 3px solid var(--mud-palette-warning, #ff9800);
}

.group-collapse-button[b-4ylkix3ept] {
    flex-shrink: 0;
}

.group-name[b-4ylkix3ept] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.group-count[b-4ylkix3ept] {
    flex-shrink: 0;
    font-size: 0.85em;
    opacity: 0.7;
}
/* /Components/Modules/Scheduler/MWSchedulerGroupRow.razor.rz.scp.css */
/* Group Row Styles - Horizontal Mode */

/* Group Event Row Header - full height row for groups with events */
/* NOTE: Background color is set via inline style using GetResolvedColor() */
.group-event-row-header[b-buzw2zk3ar] {
    color: var(--mud-palette-primary-text, white);
    padding: 8px 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-left: 4px solid var(--group-color, var(--mud-palette-primary));
    position: sticky;
    left: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.group-event-row-header:hover[b-buzw2zk3ar] {
    filter: brightness(1.1);
}

.group-event-row-header.collapsed[b-buzw2zk3ar] {
    opacity: 0.8;
}

.group-event-row-header.orphan[b-buzw2zk3ar] {
    background: var(--mud-palette-warning-lighten, #fff8e1) !important;
    color: var(--mud-palette-text-primary, #212121);
    border-left-color: var(--mud-palette-warning, #ff9800);
}

.group-event-row-header .group-collapse-button[b-buzw2zk3ar] {
    flex-shrink: 0;
}

.group-event-row-header .group-name[b-buzw2zk3ar] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.group-event-row-header .group-count[b-buzw2zk3ar] {
    font-size: 11px;
    opacity: 0.7;
    flex-shrink: 0;
}

/* Group Resource Separator - thin colored bar separating groups from children */
/* Height is controlled by HorizontalModeGroupSeparatorHeightPixels via grid-template-rows */
.group-resource-separator[b-buzw2zk3ar] {
    margin-top: 2px;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    /* Background color is set via inline style using GetResolvedColor() */
}

.group-resource-separator.collapsed[b-buzw2zk3ar] {
    opacity: 0.8;
}

.group-resource-separator.orphan[b-buzw2zk3ar] {
    background: var(--mud-palette-warning, #ff9800) !important;
}

/* Group Event Area cells */
[b-buzw2zk3ar] .group-event-area {
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    background: var(--mud-palette-surface, #fafafa);
}

[b-buzw2zk3ar] .group-event-area.drag-active {
    background: rgba(74, 144, 226, 0.08);
    border: 1px dashed var(--mud-palette-primary, #4a90e2);
    box-sizing: border-box;
}

/* /Components/Modules/Scheduler/MWSchedulerHorizontalView.razor.rz.scp.css */
/* Horizontal View Styles - Time runs horizontally (columns), resources as rows */

/* Calendar Grid Layout - Horizontal Mode */
.calendar-grid.horizontal[b-vynjc13okp] {
    display: grid;
    /* date column + header columns (group columns with group width + leaf column with leaf width) + time slot columns */
    /* NOTE: --header-columns-template is computed by BuildHeaderColumnsTemplate() to support
       different widths for group columns vs leaf column. Falls back to uniform if not provided. */
    grid-template-columns:
        var(--date-column-width, 24px)
        var(--header-columns-template, repeat(var(--header-column-count, 1), var(--resource-header-column-width, 120px)))
        repeat(var(--slot-count), var(--slot-width, 60px));
    /* date row + time row + resource rows (variable heights for minimal group rows) */
    /* NOTE: --grid-template-rows is computed by BuildGridTemplateRows() to support
       variable row heights (10px for minimal group rows, standard for others).
       Falls back to uniform heights if variable not provided. */
    grid-template-rows: var(--grid-template-rows,
        var(--date-row-height, auto)
        var(--time-row-height, auto)
        repeat(var(--resource-count), var(--resource-row-height, 60px)));
    gap: 0;
    border: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: relative;
    /* Prevent text selection while dragging */
    user-select: none;
    -webkit-user-select: none;
}

/* Corner Header (top-left empty cell) */
.corner-header[b-vynjc13okp] {
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    left: 0;
    top: 0;
    z-index: 220;
}

/* Date cells spanning columns for each day */
/* NOTE: ::deep required because date cells are rendered by MWSchedulerDateRow child component */
[b-vynjc13okp] .date-cell-horizontal {
    background: var(--mud-palette-primary-lighten, #e3f2fd);
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    top: 0;
    z-index: 205;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.date-cell-content-horizontal[b-vynjc13okp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.date-cell-horizontal .date-weekday[b-vynjc13okp] {
    font-weight: 600;
    color: var(--mud-palette-primary-darken, #1976d2);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.5px;
}

.date-cell-horizontal .date-day[b-vynjc13okp] {
    font-weight: 700;
    color: var(--mud-palette-primary, #2196f3);
    font-size: 16px;
}

/* Resource column header (row 2, spanning columns 1-2) */
.resource-column-header[b-vynjc13okp] {
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    padding: 8px 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    left: 0;
    z-index: 205;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Time slots as column headers */
/* NOTE: ::deep required because time slots are rendered by MWSchedulerTimeRow child component */
[b-vynjc13okp] .time-slot-horizontal {
    padding: 4px 2px;
    text-align: center;
    font-size: 10px;
    color: var(--mud-palette-text-secondary, #666);
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    background: var(--mud-palette-surface, #fafafa);
    position: sticky;
    top: var(--date-row-height, 24px);
    z-index: 205;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: var(--slot-width, 60px);
}

/* Resource row headers (left side) */
.resource-row-header[b-vynjc13okp] {
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    padding: 8px 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-left: 2px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    left: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Event Area (Background cells) - Horizontal */
.event-area[b-vynjc13okp] {
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    background: var(--mud-palette-surface, #fafafa);
    min-width: var(--slot-width, 60px);
}

/* Horizontal Resize Handles */
.resize-handle.left[b-vynjc13okp],
.resize-handle.right[b-vynjc13okp] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 60%;
    max-height: 40px;
    cursor: ew-resize;
    background: transparent;
    z-index: 2;
}

.resize-handle.left[b-vynjc13okp] {
    left: 2px;
}

.resize-handle.right[b-vynjc13okp] {
    right: 2px;
}

.resize-handle.left:hover[b-vynjc13okp],
.resize-handle.right:hover[b-vynjc13okp] {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

/* Events in horizontal mode */
.calendar-grid.horizontal .event[b-vynjc13okp] {
    flex-direction: row;
    align-items: center;
    padding: 4px 8px;
    min-height: 40px;
}

.calendar-grid.horizontal .event-title[b-vynjc13okp] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 8px;
}

.calendar-grid.horizontal .event-time[b-vynjc13okp] {
    white-space: nowrap;
    font-size: 10px;
    opacity: 0.8;
}


/* Group Headers - Horizontal Mode (row-spanning) */
/* NOTE: ::deep required because MWSchedulerGroupHeaderHorizontal is a child component */
/* NOTE: 'left' offset is set via inline style to support nested groups at different columns */
/* NOTE: 'margin-top' is set via inline style (separator height + 2px) */
/* NOTE: Background color is set via inline style using GetResolvedColor() */
/* NOTE: No writing-mode applied - templates control their own text orientation */
[b-vynjc13okp] .scheduler-group-header-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--mud-palette-primary-text, white);
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    /* left: set via inline style based on column position */
    z-index: 200;
    overflow: hidden;
}

[b-vynjc13okp] .scheduler-group-header-horizontal.collapsed {
    opacity: 0.8;
}

[b-vynjc13okp] .scheduler-group-header-horizontal.orphan {
    background: var(--mud-palette-warning-lighten, #fff8e1);
    border-left: 3px solid var(--mud-palette-warning, #ff9800);
}

/* Default template styles - only apply to default template elements */
[b-vynjc13okp] .scheduler-group-header-horizontal .group-collapse-button {
    flex-shrink: 0;
}

[b-vynjc13okp] .scheduler-group-header-horizontal .group-name {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-vynjc13okp] .scheduler-group-header-horizontal .group-count {
    font-size: 11px;
    opacity: 0.7;
    writing-mode: vertical-rl;
    flex-shrink: 0;
}

/* Group Left Border - L-Shape Rendering */
.group-left-border[b-vynjc13okp] {
    width: 4px;
    z-index: 200;
    position: sticky;
    left: 0;
    border-radius: 0 0 2px 2px;
}
/* /Components/Modules/Scheduler/MWSchedulerResourceColumn.razor.rz.scp.css */
/* Resource Column Styles */

/* Resource Header */
/* NOTE: CSS custom properties set by MWSchedulerComposer in composed mode:
   --composition-header-height: sticky top offset (standalone: 0)
   --resource-header-height: explicit height (standalone: falls back to --slot-height)
   --resource-header-z-index: z-index (standalone: 200, composed: 200) */
.resource-header[b-ejn9xoh8xz] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--resource-header-height, var(--slot-height, 60px));
    padding: 0 8px;
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    top: var(--composition-header-height, 0px);
    z-index: var(--resource-header-z-index, 200);
    text-align: center;
}

/* Event Area (Background cells) */
[b-ejn9xoh8xz] .event-area {
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    background: var(--mud-palette-surface, #fafafa);
}

/* Visual indicator for allowed drop zones */
[b-ejn9xoh8xz] .event-area.drag-active {
    background: rgba(74, 144, 226, 0.08);
    border: 1px dashed var(--mud-palette-primary, #4a90e2);
    box-sizing: border-box;
}

[b-ejn9xoh8xz] .event-area.drag-disabled {
    background: rgba(0, 0, 0, 0.03);
    opacity: 0.5;
}
/* /Components/Modules/Scheduler/MWSchedulerResourceRow.razor.rz.scp.css */
/* Resource Row Styles - Horizontal Mode */

/* Resource Row Header */
/* NOTE: 'left' offset is set via inline style to account for group header columns */
/* NOTE: 'background' is set via inline style using GetResolvedColor() */
.resource-row-header[b-ej2nw5bk6p] {
    --group-border-color: rgba(0, 0, 0, 0.5);
    color: var(--mud-palette-primary-text, white);
    padding: 8px 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-left: 2px solid var(--group-border-color);
    position: sticky;
    /* left: set via inline style based on column position */
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* First leaf in group: top border + top-left border radius */
.resource-row-header.first-in-group[b-ej2nw5bk6p] {
    border-top: 2px solid var(--group-border-color);
    border-top-left-radius: 4px;
}

/* Last leaf in group: bottom border + bottom-left border radius */
.resource-row-header.last-in-group[b-ej2nw5bk6p] {
    border-bottom: 2px solid var(--group-border-color);
    border-bottom-left-radius: 4px;
}

/* Event Area (Background cells) */
[b-ej2nw5bk6p] .event-area {
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    background: var(--mud-palette-surface, #fafafa);
}

/* Visual indicator for allowed drop zones */
[b-ej2nw5bk6p] .event-area.drag-active {
    background: rgba(74, 144, 226, 0.08);
    border: 1px dashed var(--mud-palette-primary, #4a90e2);
    box-sizing: border-box;
}

[b-ej2nw5bk6p] .event-area.drag-disabled {
    background: rgba(0, 0, 0, 0.03);
    opacity: 0.5;
}

/* /Components/Modules/Scheduler/MWSchedulerTimeColumn.razor.rz.scp.css */
/* Time Column Styles */

/* Time Header */
.time-header[b-uhxde4wy64] {
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    padding: 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    top: 0;
    z-index: 205;
}

/* Time Slots */
.time-slot[b-uhxde4wy64] {
    padding: 4px 8px;
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    background: var(--mud-palette-surface, #fafafa);
    font-size: 12px;
    color: var(--mud-palette-text-secondary, #666);
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    left: var(--date-column-width, 24px);
    z-index: 201;
}

/* /Components/Modules/Scheduler/MWSchedulerTimeRow.razor.rz.scp.css */
/* Time Row Styles - Horizontal Mode */

/* Resource Column Header */
.resource-column-header[b-fzq07n9q3m] {
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    padding: 8px 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    left: 0;
    z-index: 205;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Time Slots - Horizontal */
.time-slot-horizontal[b-fzq07n9q3m] {
    padding: 4px 2px;
    text-align: center;
    font-size: 10px;
    color: var(--mud-palette-text-secondary, #666);
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    background: var(--mud-palette-surface, #fafafa);
    position: sticky;
    top: auto;
    z-index: 201;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: var(--slot-width, 60px);
}

/* /Components/Modules/Scheduler/MWSchedulerVerticalView.razor.rz.scp.css */
/* Vertical View Styles - Time runs vertically (rows), resources as columns */

/* Calendar Grid Layout - Vertical Mode */
.calendar-grid.vertical[b-4rnmo073cq] {
    display: grid;
    /* NOTE: Using fixed column width instead of 1fr for consistent virtualization calculations */
    grid-template-columns: var(--date-column-width, 24px) var(--time-column-width, 50px) repeat(var(--resource-count), var(--slot-width, 60px));
    /* Header rows (1 for flat, 2+ for hierarchical) + slot rows */
    grid-template-rows: repeat(var(--header-row-count, 1), var(--resource-header-row-height, auto)) repeat(var(--slot-count), var(--slot-height));
    gap: 0;
    border: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: relative;
    /* Prevent text selection while dragging */
    user-select: none;
    -webkit-user-select: none;
}

/* Headers */
.date-header[b-4rnmo073cq],
.time-header[b-4rnmo073cq],
.events-header[b-4rnmo073cq] {
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    padding: 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    top: 0;
    z-index: 200;
}

.date-header[b-4rnmo073cq] {
    z-index: 210;
    padding: 4px;
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    min-width: var(--date-column-width, 24px);
}

.time-header[b-4rnmo073cq] {
    z-index: 205;
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
}

.events-header[b-4rnmo073cq] {
    z-index: 200;
}

/* Date Cells - Spanning multiple time slots */
.date-cell[b-4rnmo073cq] {
    background: var(--mud-palette-primary-lighten, #e3f2fd);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    left: 0;
    z-index: 201;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: var(--date-column-width, 24px);
}

.date-cell-content[b-4rnmo073cq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 11px;
    line-height: 1.2;
    gap: 4px;
    padding: 4px 2px;
}

.date-weekday[b-4rnmo073cq] {
    font-weight: 600;
    color: var(--mud-palette-primary-darken, #1976d2);
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.5px;
}

.date-day[b-4rnmo073cq] {
    font-weight: 700;
    color: var(--mud-palette-primary, #2196f3);
    font-size: 14px;
}

/* Resource Headers */
.resource-header[b-4rnmo073cq] {
    background: var(--mud-palette-primary, #4a90e2);
    color: var(--mud-palette-primary-text, white);
    padding: 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: sticky;
    top: 0;
    z-index: 200;
    text-align: center;
}

/* Time Slots */
.time-slot[b-4rnmo073cq] {
    padding: 4px 8px;
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    background: var(--mud-palette-surface, #fafafa);
    font-size: 12px;
    color: var(--mud-palette-text-secondary, #666);
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    left: var(--date-column-width, 24px);
    z-index: 201;
}

/* Event Area (Background cells) */
.event-area[b-4rnmo073cq] {
    border-bottom: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-right: 1px solid var(--mud-palette-divider, #e0e0e0);
    background: var(--mud-palette-surface, #fafafa);
}

/* Vertical Resize Handles */
.resize-handle.top[b-4rnmo073cq] {
    top: 4px;
}

.resize-handle.bottom[b-4rnmo073cq] {
    bottom: 4px;
}

/* /Rooster/RoosterEditor.razor.rz.scp.css */
.rooster-editor-total[b-w0z8rxo3q8] {
    /*display: flex;*/
    /*flex-direction: column;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    /*height: 100%;*/
}

.rooster-editor-toolbar[b-w0z8rxo3q8] {
    /*display: flex;*/
    /*flex-wrap: wrap;*/
    /*justify-content: space-between;*/
    /*border-bottom: 1px solid #ccc;*/
    /*padding: 10px;*/
    /*margin-bottom: 10px;*/
}

.rooster-editor-content[b-w0z8rxo3q8] {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    min-height: 400px;
    /*max-width: 600px;*/
}

.mud-tabs-scroll-content[b-w0z8rxo3q8] {
    overflow: visible !important; /* Prevent scrolling */
    flex-wrap: wrap; /* Allow tabs to wrap onto multiple lines if needed */
    justify-content: space-evenly; /* Distribute tabs evenly */
}

.mud-tab[b-w0z8rxo3q8] {
    flex: 1 1 auto; /* Make tabs stretch evenly */
}
