@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/MWResourceContextMenu.razor.rz.scp.css */
/* NOTE: Wrapper fills container, enables ::deep to work */
.mw-context-menu-wrapper[b-2u8903xe76] {
    display: block;
    width: 100%;
    height: 100%;
}

[b-2u8903xe76] .mud-menu {
    display: block;
    width: 100%;
    height: 100%;
}

[b-2u8903xe76] .mud-menu-activator {
    display: flex;
    width: 100%;
    height: 100%;
}

.mw-activator-hover[b-2u8903xe76] {
    display: flex;
    width: 100%;
    height: 100%;
}

.mw-activator-hover:hover[b-2u8903xe76] {
    background-color: rgba(255, 255, 255, 0.15);
}

/* NOTE: Inline rename container in context menu */
.mw-resource-menu-rename-container[b-2u8903xe76] {
    display: flex;
    align-items: center;
    padding: 6px 16px;
    min-width: 200px;
}

.mw-resource-menu-rename-field[b-2u8903xe76] {
    flex: 1;
}

[b-2u8903xe76] .mw-resource-menu-rename-field .mud-input-slot {
    font-size: 0.875rem;
    padding: 4px 8px;
}

/* NOTE: Color submenu styling */
.mw-resource-color-submenu[b-2u8903xe76] {
    width: 100%;
}

[b-2u8903xe76] .mw-resource-color-submenu .mud-menu-activator {
    width: 100%;
}

/* NOTE: Menu item activator with submenu arrow */
.mw-resource-menu-item-activator[b-2u8903xe76] {
    display: flex;
    align-items: center;
    padding: 6px 16px;
    min-height: 36px;
    cursor: pointer;
    width: 100%;
}

.mw-resource-menu-item-activator:hover[b-2u8903xe76] {
    background-color: var(--mud-palette-action-default-hover);
}

/* NOTE: Compact color picker in submenu */
.mw-resource-color-picker[b-2u8903xe76] {
    border: none;
    box-shadow: none;
}

[b-2u8903xe76] .mw-resource-color-picker .mud-picker-content {
    padding: 0;
}
/* /Components/Modules/MWShiftPlanner.razor.rz.scp.css */
/* NOTE: Main container fills available viewport height (minus app bar) */
/* Prevents page-level scrolling - scheduler handles its own scrolling */
.mw-sp-container[b-mm0bk0gew5] {
    height: calc(100dvh - 48px);
    overflow: hidden;
}

/* NOTE: MudDrawerContainer must fill the container */
[b-mm0bk0gew5] .mw-sp-container > .mud-drawer-container {
    height: 100%;
}

/* NOTE: Drawer content should stack at top, not stretch, no horizontal scroll */
[b-mm0bk0gew5] .mw-sp-drawer .mud-drawer-content {
    justify-content: flex-start;
    overflow-x: hidden;
}

.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;
}

/* NOTE: Position and Area Management in Drawer */
[b-mm0bk0gew5] .mw-sp-area-list {
    /* NOTE: Use dvh (dynamic viewport height) for mobile browsers. Fallback to vh. */
    max-height: calc(100vh - 450px);
    max-height: calc(100dvh - 450px);
    overflow-y: auto;
}

[b-mm0bk0gew5] .mw-sp-area-panel {
    margin-bottom: 4px;
}

[b-mm0bk0gew5] .mw-sp-area-panel .mud-expand-panel {
    background-color: var(--mud-palette-surface);
}

[b-mm0bk0gew5] .mw-sp-area-panel .mud-expand-panel-header {
    padding: 4px 8px;
    min-height: 32px;
}

[b-mm0bk0gew5] .mw-sp-area-panel .mud-expand-panel-content {
    padding: 4px 8px;
}

/* NOTE: Override scheduler header padding to allow MudMenu to fill entire cell */
/* The MudMenu and its activator will handle all padding/styling */
[b-mm0bk0gew5] .resource-row-header:has(.mw-sp-header-menu),
[b-mm0bk0gew5] .scheduler-group-header-horizontal:has(.mw-sp-area-header-menu) {
    padding: 0;
}

/* NOTE: Person tree view in drawer - matches legacy MWSPPeopleTreeViewModule */
.mw-sp-people-list[b-mm0bk0gew5] {
    max-height: calc(100vh - 380px);
    max-height: calc(100dvh - 380px);
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}

/* NOTE: Make MWFrame in people list have transparent background to match drawer */
[b-mm0bk0gew5] .mw-sp-people-list .mw-frame {
    background-color: transparent;
    border-color: var(--mud-palette-lines-default);
}

/* NOTE: Hover effect for corner header */
.mw-activator-hover[b-mm0bk0gew5] {
    display: flex;
    width: 100%;
    height: 100%;
}

.mw-activator-hover:hover[b-mm0bk0gew5] {
    background-color: rgba(255, 255, 255, 0.15);
}

/* NOTE: Team label in area header - smaller, muted, separated */
.mw-sp-area-team-label[b-mm0bk0gew5] {
    display: block;
    font-size: 0.75em;
    opacity: 0.7;
    margin-top: 4px;
}
/* /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/MWShiftPositionAreaContextMenu.razor.rz.scp.css */
/* NOTE: Wrapper fills container, enables ::deep to work */
.mw-context-menu-wrapper[b-qrc6ri2st5] {
    display: block;
    width: 100%;
    height: 100%;
}

[b-qrc6ri2st5] .mud-menu {
    display: block;
    width: 100%;
    height: 100%;
}

[b-qrc6ri2st5] .mud-menu-activator {
    display: flex;
    width: 100%;
    height: 100%;
}

.mw-activator-hover[b-qrc6ri2st5] {
    display: flex;
    width: 100%;
    height: 100%;
}

.mw-activator-hover:hover[b-qrc6ri2st5] {
    background-color: rgba(255, 255, 255, 0.15);
}

/* NOTE: Inline rename container in context menu */
.mw-sp-menu-rename-container[b-qrc6ri2st5] {
    display: flex;
    align-items: center;
    padding: 6px 16px;
    min-width: 200px;
}

.mw-sp-menu-rename-field[b-qrc6ri2st5] {
    flex: 1;
}

[b-qrc6ri2st5] .mw-sp-menu-rename-field .mud-input-slot {
    font-size: 0.875rem;
    padding: 4px 8px;
}

/* NOTE: Color submenu styling */
.mw-sp-color-submenu[b-qrc6ri2st5] {
    width: 100%;
}

[b-qrc6ri2st5] .mw-sp-color-submenu .mud-menu-activator {
    width: 100%;
}

/* NOTE: Menu item activator with submenu arrow */
.mw-sp-menu-item-activator[b-qrc6ri2st5] {
    display: flex;
    align-items: center;
    padding: 6px 16px;
    min-height: 36px;
    cursor: pointer;
    width: 100%;
}

.mw-sp-menu-item-activator:hover[b-qrc6ri2st5] {
    background-color: var(--mud-palette-action-default-hover);
}

/* NOTE: Compact color picker in submenu */
.mw-sp-color-picker[b-qrc6ri2st5] {
    border: none;
    box-shadow: none;
}

[b-qrc6ri2st5] .mw-sp-color-picker .mud-picker-content {
    padding: 0;
}
/* /Components/Modules/MWShiftPositionContextMenu.razor.rz.scp.css */
/* NOTE: Wrapper fills container, enables ::deep to work */
.mw-context-menu-wrapper[b-p6fuokj83h] {
    display: block;
    width: 100%;
    height: 100%;
}

[b-p6fuokj83h] .mud-menu {
    display: block;
    width: 100%;
    height: 100%;
}

[b-p6fuokj83h] .mud-menu-activator {
    display: flex;
    width: 100%;
    height: 100%;
}

.mw-activator-hover[b-p6fuokj83h] {
    display: flex;
    width: 100%;
    height: 100%;
}

.mw-activator-hover:hover[b-p6fuokj83h] {
    background-color: rgba(255, 255, 255, 0.15);
}

/* NOTE: Inline rename container in context menu */
.mw-sp-menu-rename-container[b-p6fuokj83h] {
    display: flex;
    align-items: center;
    padding: 6px 16px;
    min-width: 200px;
}

.mw-sp-menu-rename-field[b-p6fuokj83h] {
    flex: 1;
}

[b-p6fuokj83h] .mw-sp-menu-rename-field .mud-input-slot {
    font-size: 0.875rem;
    padding: 4px 8px;
}

/* NOTE: Color submenu styling */
.mw-sp-color-submenu[b-p6fuokj83h] {
    width: 100%;
}

[b-p6fuokj83h] .mw-sp-color-submenu .mud-menu-activator {
    width: 100%;
}

/* NOTE: Menu item activator with submenu arrow */
.mw-sp-menu-item-activator[b-p6fuokj83h] {
    display: flex;
    align-items: center;
    padding: 6px 16px;
    min-height: 36px;
    cursor: pointer;
    width: 100%;
}

.mw-sp-menu-item-activator:hover[b-p6fuokj83h] {
    background-color: var(--mud-palette-action-default-hover);
}

/* NOTE: Compact color picker in submenu */
.mw-sp-color-picker[b-p6fuokj83h] {
    border: none;
    box-shadow: none;
}

[b-p6fuokj83h] .mw-sp-color-picker .mud-picker-content {
    padding: 0;
}
/* /Components/Modules/MWShiftTemplate.razor.rz.scp.css */
/* NOTE: Base styles for shift template */
.mw-shift-template[b-4mkcoqllnv] {
    height: 100%;
    /* NOTE: No border-radius here - the parent .event wrapper handles it with overflow: hidden */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* NOTE: contain removed because it caused CLS on page load. */
}

.mw-shift-template-content[b-4mkcoqllnv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.mw-shift-time[b-4mkcoqllnv] {
    font-size: 0.75rem;
    opacity: 0.8;
    text-align: center;
}

/* NOTE: Horizontal view - events are wider, content in row */
.mw-shift-template-horizontal[b-4mkcoqllnv] {
    padding: 0;
}

/* NOTE: Padding for resize handles is applied via MWScheduler.razor.css on hover */

.mw-shift-template-horizontal .mw-shift-template-content[b-4mkcoqllnv] {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

/* NOTE: Name has highest priority - stays visible longest */
.mw-shift-template-horizontal .mw-shift-name[b-4mkcoqllnv] {
    flex: 1 0 auto;
    min-width: 20px;
    max-width: 100%;
}

/* NOTE: Time and duration combined - shrinks from right side */
.mw-shift-template-horizontal .mw-shift-time-info[b-4mkcoqllnv] {
    flex: 0 1 auto;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    font-size: 0.75rem;
    opacity: 0.9;
}

/* NOTE: Icons are tertiary - collapse first when space is tight */
.mw-shift-template-horizontal .mw-shift-icon-slot[b-4mkcoqllnv],
.mw-shift-template-horizontal .mw-shift-note-slot[b-4mkcoqllnv] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
}

/* NOTE: Vertical view - events are narrower and taller */
.mw-shift-template-vertical[b-4mkcoqllnv] {
    padding: 0;
    writing-mode: horizontal-tb;
    text-align: center;
}

/* NOTE: Padding for resize handles is applied via MWScheduler.razor.css on hover */

.mw-shift-template-vertical .mw-shift-template-content[b-4mkcoqllnv] {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.mw-shift-template-vertical .mw-shift-name[b-4mkcoqllnv] {
    font-size: 0.7rem;
    writing-mode: horizontal-tb;
}

.mw-shift-template-vertical .mw-shift-time[b-4mkcoqllnv] {
    font-size: 0.65rem;
}

/* NOTE: Dynamic shift state classes */
.mw-shift-is-not-allowed-to-edit[b-4mkcoqllnv] {
    cursor: not-allowed;
}

.mw-shift-is-own-shift[b-4mkcoqllnv] {
    border: 2px solid var(--mud-palette-primary);
    box-shadow: 0 0 4px var(--mud-palette-primary);
}

/* NOTE: Dark overlay styling is handled in MWScheduler.razor.css via ::deep .event:has(.mw-shift-dark-overlay) */

/* NOTE: Icon slots - reserve fixed space to prevent CLS when icons appear/disappear */
.mw-shift-icon-slot[b-4mkcoqllnv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.mw-shift-icon-slot-small[b-4mkcoqllnv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* NOTE: Note icon slot needs extra width for tooltip wrapper */
.mw-shift-note-slot[b-4mkcoqllnv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.mw-shift-note-slot-small[b-4mkcoqllnv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* NOTE: Vertical mode icon container - horizontal row of icons */
.mw-shift-template-vertical .mw-shift-icons[b-4mkcoqllnv] {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-top: 4px;
}
/* /Components/Modules/MWStageContextMenu.razor.rz.scp.css */
/* NOTE: Wrapper fills container, enables ::deep to work */
.mw-context-menu-wrapper[b-ce9yjv2pmb] {
    display: block;
    width: 100%;
    height: 100%;
}

[b-ce9yjv2pmb] .mud-menu {
    display: block;
    width: 100%;
    height: 100%;
}

[b-ce9yjv2pmb] .mud-menu-activator {
    display: flex;
    width: 100%;
    height: 100%;
}

.mw-activator-hover[b-ce9yjv2pmb] {
    display: flex;
    width: 100%;
    height: 100%;
}

.mw-activator-hover:hover[b-ce9yjv2pmb] {
    background-color: rgba(255, 255, 255, 0.15);
}

/* NOTE: Inline rename container in context menu */
.mw-stage-menu-rename-container[b-ce9yjv2pmb] {
    display: flex;
    align-items: center;
    padding: 6px 16px;
    min-width: 200px;
}

.mw-stage-menu-rename-field[b-ce9yjv2pmb] {
    flex: 1;
}

[b-ce9yjv2pmb] .mw-stage-menu-rename-field .mud-input-slot {
    font-size: 0.875rem;
    padding: 4px 8px;
}

/* NOTE: Color submenu styling */
.mw-stage-color-submenu[b-ce9yjv2pmb] {
    width: 100%;
}

[b-ce9yjv2pmb] .mw-stage-color-submenu .mud-menu-activator {
    width: 100%;
}

/* NOTE: Menu item activator with submenu arrow */
.mw-stage-menu-item-activator[b-ce9yjv2pmb] {
    display: flex;
    align-items: center;
    padding: 6px 16px;
    min-height: 36px;
    cursor: pointer;
    width: 100%;
}

.mw-stage-menu-item-activator:hover[b-ce9yjv2pmb] {
    background-color: var(--mud-palette-action-default-hover);
}

/* NOTE: Compact color picker in submenu */
.mw-stage-color-picker[b-ce9yjv2pmb] {
    border: none;
    box-shadow: none;
}

[b-ce9yjv2pmb] .mw-stage-color-picker .mud-picker-content {
    padding: 0;
}
/* /Components/Modules/MWTimeTableSlotCard.razor.rz.scp.css */
.mw-timeslot-card[b-ro3almgyak] {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

.mw-timeslot-content[b-ro3almgyak] {
    min-height: 100%;
    gap: 4px;
}

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

.mw-timeslot-genre[b-ro3almgyak] {
    font-size: 0.75rem;
    opacity: 0.9;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
}

.mw-timeslot-badges[b-ro3almgyak] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 2px 0;
}

.mw-timeslot-type-badge[b-ro3almgyak],
.mw-timeslot-label-badge[b-ro3almgyak] {
    height: 18px;
    font-size: 0.65rem;
}

.mw-timeslot-details[b-ro3almgyak] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.7rem;
    opacity: 0.9;
}

.mw-timeslot-detail-item[b-ro3almgyak] {
    display: flex;
    align-items: center;
}

.mw-timeslot-tech[b-ro3almgyak] {
    display: flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.7rem;
    opacity: 0.9;
}

.mw-timeslot-note-icon[b-ro3almgyak] {
    flex-shrink: 0;
}

.mw-timeslot-time-container[b-ro3almgyak] {
    margin-top: auto;
    padding-top: 4px;
}

.mw-timeslot-time[b-ro3almgyak] {
    font-size: 0.75rem;
    opacity: 0.9;
    color: inherit;
}
/* /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 */
}
