@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 */

/* Container */
.timeline-calendar-container[b-8r6bg2l5z2] {
    background: white;
    border-radius: 8px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

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

[b-8r6bg2l5z2] .calendar-grid.vertical {
    display: grid;
    grid-template-columns: var(--date-column-width, 24px) 50px repeat(var(--resource-count), 1fr);
    grid-template-rows: 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                */
/* ============================================== */

[b-8r6bg2l5z2] .calendar-grid.horizontal {
    display: grid;
    grid-template-columns: var(--date-column-width, 24px) 120px repeat(var(--slot-count), var(--slot-height));
    grid-template-rows: auto auto repeat(var(--resource-count), minmax(60px, 1fr));
    gap: 0;
    border: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: relative;
    /* Prevent text selection while dragging */
    user-select: none;
    -webkit-user-select: none;
    overflow-x: auto;
}

/* ============================================== */
/* 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: 10;
}

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

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

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

/* ============================================== */
/* 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: 30;
}

[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: 20;
    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: 5;
    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: 6;
    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: 10;
    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: 15;
    text-align: center;
}

/* ============================================== */
/* 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: 5;
}

/* ============================================== */
/* 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: auto;
    z-index: 5;
    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);
    padding: 8px 12px;
    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;
}

/* ============================================== */
/* RESPONSIVE DESIGN - MOBILE                     */
/* ============================================== */

@media (max-width: 768px) {

    [b-8r6bg2l5z2] .calendar-grid.vertical {
        grid-template-columns: var(--date-column-width, 24px) 40px 1fr;
    }

    [b-8r6bg2l5z2] .calendar-grid.horizontal {
        grid-template-columns: var(--date-column-width, 24px) 80px repeat(var(--slot-count), var(--slot-height));
    }

    [b-8r6bg2l5z2] .time-slot {
        padding: 4px;
        font-size: 10px;
    }

    [b-8r6bg2l5z2] .time-slot-horizontal {
        font-size: 8px;
        padding: 2px;
    }

    [b-8r6bg2l5z2] .date-header,
    [b-8r6bg2l5z2] .time-header,
    [b-8r6bg2l5z2] .events-header {
        padding: 8px;
        font-size: 14px;
    }

    [b-8r6bg2l5z2] .date-header {
        padding: 4px;
    }

    [b-8r6bg2l5z2] .date-cell-content {
        font-size: 9px;
    }

    [b-8r6bg2l5z2] .date-weekday {
        font-size: 7px;
    }

    [b-8r6bg2l5z2] .date-day {
        font-size: 10px;
    }

    [b-8r6bg2l5z2] .date-cell-horizontal {
        padding: 4px;
    }

    [b-8r6bg2l5z2] .date-cell-horizontal .date-weekday {
        font-size: 8px;
    }

    [b-8r6bg2l5z2] .date-cell-horizontal .date-day {
        font-size: 12px;
    }

    [b-8r6bg2l5z2] .resource-row-header {
        padding: 6px 8px;
        font-size: 12px;
    }

    [b-8r6bg2l5z2] .event {
        padding: 6px 8px;
        margin: 2px;
    }

    [b-8r6bg2l5z2] .event-title {
        font-size: 12px;
    }

    [b-8r6bg2l5z2] .event-time {
        font-size: 10px;
    }

    [b-8r6bg2l5z2] .event-details-table {
        display: none;
    }
}

/* ============================================== */
/* RESPONSIVE DESIGN - TABLET                     */
/* ============================================== */

@media (min-width: 769px) and (max-width: 1024px) {

    [b-8r6bg2l5z2] .calendar-grid.vertical {
        grid-template-columns: var(--date-column-width, 24px) 50px repeat(var(--resource-count), 1fr);
    }

    [b-8r6bg2l5z2] .calendar-grid.horizontal {
        grid-template-columns: var(--date-column-width, 24px) 100px repeat(var(--slot-count), var(--slot-height));
    }

    [b-8r6bg2l5z2] .time-slot {
        padding: 6px;
        font-size: 11px;
    }

    [b-8r6bg2l5z2] .time-slot-horizontal {
        font-size: 9px;
    }
}

/* ============================================== */
/* RESPONSIVE DESIGN - DESKTOP                    */
/* ============================================== */

@media (min-width: 1025px) {

    [b-8r6bg2l5z2] .calendar-grid.vertical {
        grid-template-columns: var(--date-column-width, 24px) 60px repeat(var(--resource-count), minmax(200px, 1fr));
    }

    [b-8r6bg2l5z2] .calendar-grid.horizontal {
        grid-template-columns: var(--date-column-width, 24px) 150px repeat(var(--slot-count), var(--slot-height));
    }

    [b-8r6bg2l5z2] .time-slot {
        padding: 8px;
        font-size: 12px;
    }

    [b-8r6bg2l5z2] .resource-row-header {
        min-width: 150px;
    }
}

/* ============================================== */
/* TOUCH DEVICE SIZING                            */
/* ============================================== */

@media (pointer: coarse) {
    [b-8r6bg2l5z2] .resize-handle {
        background-color: rgba(255, 255, 255, 0.9);
    }

    [b-8r6bg2l5z2] .resize-handle.top,
    [b-8r6bg2l5z2] .resize-handle.bottom {
        width: 70px;
        height: 28px;
    }

    [b-8r6bg2l5z2] .resize-handle.left,
    [b-8r6bg2l5z2] .resize-handle.right {
        width: 28px;
        height: 70px;
    }

    [b-8r6bg2l5z2] .resize-handle::after {
        font-size: 18px;
    }

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

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

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

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

/* ============================================== */
/* PRINT STYLES                                   */
/* ============================================== */

@media print {

    .timeline-calendar-container[b-8r6bg2l5z2] {
        max-height: none;
        overflow: visible;
    }

    [b-8r6bg2l5z2] .event {
        page-break-inside: avoid;
    }

    [b-8r6bg2l5z2] .resize-handle {
        display: none;
    }
}
/* /Components/Modules/MWSchedulerComposer.razor.rz.scp.css */
/* MWSchedulerComposer - Data-driven scheduler composition container */
/* Layout: Fixed time column on left, compositions scroll horizontally */
/* Material Design 2 styling with dark theme support */

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

/* ===== TIME COLUMN (Fixed Left) ===== */
.composer-time-column[b-hftm1b20s9] {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    background: var(--mud-palette-surface);
    border-right: 1px solid var(--mud-palette-lines-default);
    position: sticky;
    left: 0;
    z-index: 20;
}

/* Header spacer - aligns with composition + resource header rows */
.time-header-spacer[b-hftm1b20s9] {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    height: 68px; /* composition header (36px) + resource header (32px) */
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.date-header-cell[b-hftm1b20s9] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    background: var(--mud-palette-surface);
    border-right: 1px solid var(--mud-palette-lines-default);
}

.time-header-cell[b-hftm1b20s9] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    background: var(--mud-palette-surface);
}

.header-text-vertical[b-hftm1b20s9] {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Time slots container */
.time-slots-container[b-hftm1b20s9] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

/* Date group (one per day) */
.date-group[b-hftm1b20s9] {
    display: flex;
    flex-direction: row;
}

.date-label[b-hftm1b20s9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 36px;
    background: var(--mud-palette-surface);
    border-right: 1px solid var(--mud-palette-lines-default);
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

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

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

/* Time labels column */
.time-labels[b-hftm1b20s9] {
    display: flex;
    flex-direction: column;
    width: 44px;
    background: var(--mud-palette-surface);
}

.time-slot[b-hftm1b20s9] {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2px;
    border-bottom: 1px dashed var(--mud-palette-lines-inputs);
    box-sizing: border-box;
}

.time-slot.hour-start[b-hftm1b20s9] {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.time-text[b-hftm1b20s9] {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--mud-palette-text-disabled);
}

/* ===== SCROLLABLE COMPOSITIONS AREA ===== */
.composer-scroll-area[b-hftm1b20s9] {
    display: flex;
    flex: 1;
    overflow-x: auto;
    overflow-y: auto;
    min-width: 0;
    min-height: 0;
}

.compositions-container[b-hftm1b20s9] {
    display: flex;
    flex-direction: row;
    min-width: min-content;
    min-height: 100%;
    align-items: stretch;
}

/* ===== COMPOSITION GROUP ===== */
.composition-group[b-hftm1b20s9] {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    position: relative;
    flex-shrink: 0;
}

/* First composition has no left separator */
.composition-group:first-child[b-hftm1b20s9]::before {
    display: none;
}

/* Composition separator - vertical line between compositions using pseudo-element */
.composition-group[b-hftm1b20s9]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--mud-palette-primary) 36px,
        var(--mud-palette-primary) calc(100% - 8px),
        transparent 100%);
    z-index: 15;
    pointer-events: none;
}

/* Composition header - spans full width of composition */
.composition-header[b-hftm1b20s9] {
    display: flex;
    align-items: center;
    justify-content: center;
    /*height: 36px;*/
    height: 100%;
    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;
}

/* Resource headers row - directly below composition header */
.resource-headers[b-hftm1b20s9] {
    display: flex;
    flex-direction: row;
    height: 32px;
    background: var(--mud-palette-dark);
    position: sticky;
    /*top: 36px; !* Directly below composition header *!*/
    z-index: 9;
}

.resource-header[b-hftm1b20s9] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 100px;
    padding: 0 8px;
    border-right: 1px solid var(--mud-palette-lines-default);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-dark);
}

.resource-header:last-child[b-hftm1b20s9] {
    border-right: none;
}

.resource-name[b-hftm1b20s9] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Resource columns container */
.resource-columns[b-hftm1b20s9] {
    display: flex;
    flex-direction: row;
    flex: 1;
}

/* Individual resource column */
.resource-column[b-hftm1b20s9] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 100px;
    border-right: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background);
}

.resource-column:last-child[b-hftm1b20s9] {
    border-right: none;
}

/* Missing template placeholder */
.resource-column.resource-missing[b-hftm1b20s9] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--mud-palette-warning-lighten);
    color: var(--mud-palette-warning-darken);
    font-size: 0.75rem;
    font-style: italic;
}

/* ===== NESTED SCHEDULER STYLES ===== */
/* Override nested scheduler appearance to fit composer layout */

[b-hftm1b20s9] .mw-scheduler {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    height: 100%;
    overflow: visible !important;
}

/* Hide scheduler's own toolbar and outer containers */
[b-hftm1b20s9] .mw-scheduler .scheduler-toolbar,
[b-hftm1b20s9] .mw-scheduler .scheduler-header {
    display: none !important;
}

/* Calendar grid should have no border when inside composer */
[b-hftm1b20s9] .calendar-grid,
[b-hftm1b20s9] .calendar-grid.vertical {
    border: none !important;
    gap: 0 !important;
}

/* Hide all header rows - composer provides unified headers */
[b-hftm1b20s9] .calendar-grid .date-header,
[b-hftm1b20s9] .calendar-grid .time-header,
[b-hftm1b20s9] .calendar-grid .events-header,
[b-hftm1b20s9] .calendar-grid .resource-header {
    display: none !important;
}

/* Hide time and date cells/columns - composer provides shared ones */
[b-hftm1b20s9] .calendar-grid .date-cell,
[b-hftm1b20s9] .calendar-grid .time-slot {
    display: none !important;
}

/* Event areas should use consistent styling */
[b-hftm1b20s9] .event-area {
    background: var(--mud-palette-background) !important;
    border-bottom: 1px solid var(--mud-palette-lines-inputs) !important;
    border-right: none !important;
}

/* Hour boundaries should be more visible */
[b-hftm1b20s9] .event-area.hour-boundary {
    border-bottom: 1px solid var(--mud-palette-lines-default) !important;
}

/* Ensure scheduler content fills the column */
[b-hftm1b20s9] .mw-scheduler .scheduler-content,
[b-hftm1b20s9] .mw-scheduler .scheduler-body,
[b-hftm1b20s9] .mw-scheduler .vertical-view,
[b-hftm1b20s9] .mw-scheduler .scheduler-grid {
    flex: 1;
    min-height: 0;
}

/* Resource columns inside scheduler should fill width */
[b-hftm1b20s9] .mw-scheduler .resource-column,
[b-hftm1b20s9] .mw-scheduler .scheduler-resource-column {
    flex: 1;
    border: none !important;
    background: transparent !important;
}

/* Events styling in composer context */
[b-hftm1b20s9] .mw-scheduler .event,
[b-hftm1b20s9] .mw-scheduler .scheduler-event {
    margin: 1px 2px;
}
/* /Components/Modules/MWShiftPlanner.razor.rz.scp.css */


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

[b-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] .e-appointment:has(.mw-shift-highlighted) {
    animation: outlinePulse-b-mm0bk0gew5 .65s ease-in infinite;
}

/* NOTE: SP - Shift highlight animation */
@keyframes outlinePulse-b-mm0bk0gew5 {
    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-mm0bk0gew5] .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-mm0bk0gew5] .e-schedule .e-content-wrap {
    scroll-behavior: smooth;
}

/* NOTE: SP - RESOURCES - This is the fold in or out icon on the ShiftPositionAreas. */
[b-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] {
    /* 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-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] .e-event-resize.e-left-handler::after,
[b-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] .e-event-resize.e-right-handler::after {
    right:     3px;
    transform: translateY(-50%);
}

/* NOTE: SP - SHIFT HANDLES - Left handle for resizing shifts */
[b-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] .e-left-handler,
[b-mm0bk0gew5] .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-mm0bk0gew5] .e-event-resize:has(~ .e-appointment-details .mw-shift-is-not-allowed-to-edit),
    /* This selects the right handle (comes after appointment details) */
[b-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] .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-mm0bk0gew5] .touch-fix .e-appointment,
[b-mm0bk0gew5] .touch-fix .e-event-resize-handler {
    /*touch-action: none !important;*/
}

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

    }

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

    [b-mm0bk0gew5] .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-mm0bk0gew5] .e-event-resize.e-right-handler::after {
        /*left: 50%;*/
        transform: translate(-20%, -50%) !important;
        font-size: 20px;
    }
}
/* /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/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;
    grid-template-columns: var(--date-column-width, 24px) 120px repeat(var(--slot-count), var(--slot-height));
    grid-template-rows: var(--date-row-height, auto) var(--time-row-height, auto) repeat(var(--resource-count), minmax(60px, 1fr));
    gap: 0;
    border: 1px solid var(--mud-palette-divider, #e0e0e0);
    position: relative;
    /* Prevent text selection while dragging */
    user-select: none;
    -webkit-user-select: none;
    overflow-x: auto;
}

/* 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: 30;
}

/* Date cells spanning columns for each day */
.date-cell-horizontal[b-vynjc13okp] {
    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: 10;
    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: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Time slots as column headers */
.time-slot-horizontal[b-vynjc13okp] {
    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: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: var(--slot-height, 30px);
}

/* 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);
    position: sticky;
    left: 0;
    z-index: 5;
    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-height, 30px);
}

/* 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;
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {

    .calendar-grid.horizontal[b-vynjc13okp] {
        grid-template-columns: var(--date-column-width, 24px) 80px repeat(var(--slot-count), var(--slot-height));
    }

    .resource-row-header[b-vynjc13okp] {
        padding: 6px 8px;
        font-size: 12px;
    }

    .time-slot-horizontal[b-vynjc13okp] {
        font-size: 8px;
        padding: 2px;
    }

    .date-cell-horizontal[b-vynjc13okp] {
        padding: 4px;
    }

    .date-cell-horizontal .date-weekday[b-vynjc13okp] {
        font-size: 8px;
    }

    .date-cell-horizontal .date-day[b-vynjc13okp] {
        font-size: 12px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {

    .calendar-grid.horizontal[b-vynjc13okp] {
        grid-template-columns: var(--date-column-width, 24px) 100px repeat(var(--slot-count), var(--slot-height));
    }

    .time-slot-horizontal[b-vynjc13okp] {
        font-size: 9px;
    }
}

/* Desktop */
@media (min-width: 1025px) {

    .calendar-grid.horizontal[b-vynjc13okp] {
        grid-template-columns: var(--date-column-width, 24px) 150px repeat(var(--slot-count), var(--slot-height));
    }

    .resource-row-header[b-vynjc13okp] {
        min-width: 150px;
    }
}
/* /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;
    grid-template-columns: var(--date-column-width, 24px) var(--time-column-width, 50px) repeat(var(--resource-count), 1fr);
    grid-template-rows: 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: 10;
}

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

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

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

/* 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: 6;
    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: 15;
    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: 5;
}

/* 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;
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {

    .calendar-grid.vertical[b-4rnmo073cq] {
        grid-template-columns: var(--date-column-width, 24px) var(--time-column-width, 40px) 1fr;
    }

    .time-slot[b-4rnmo073cq] {
        padding: 4px;
        font-size: 10px;
    }

    .date-header[b-4rnmo073cq],
    .time-header[b-4rnmo073cq],
    .events-header[b-4rnmo073cq] {
        padding: 8px;
        font-size: 14px;
    }

    .date-header[b-4rnmo073cq] {
        padding: 4px;
    }

    .date-cell-content[b-4rnmo073cq] {
        font-size: 9px;
    }

    .date-weekday[b-4rnmo073cq] {
        font-size: 7px;
    }

    .date-day[b-4rnmo073cq] {
        font-size: 10px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {

    .calendar-grid.vertical[b-4rnmo073cq] {
        grid-template-columns: var(--date-column-width, 24px) var(--time-column-width, 50px) repeat(var(--resource-count), 1fr);
    }

    .time-slot[b-4rnmo073cq] {
        padding: 6px;
        font-size: 11px;
    }
}

/* Desktop */
@media (min-width: 1025px) {

    .calendar-grid.vertical[b-4rnmo073cq] {
        grid-template-columns: var(--date-column-width, 24px) var(--time-column-width, 60px) repeat(var(--resource-count), minmax(200px, 1fr));
    }

    .time-slot[b-4rnmo073cq] {
        padding: 8px;
        font-size: 12px;
    }
}
/* /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 */
}
