@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lcdo7z9xd2.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
:root[b-qz7u9ft3i0] {
    --top-bar-bg: #ffffff; /* default for light mode */
}

.dark-mode[b-qz7u9ft3i0] {
    --top-bar-bg: #1e1e1e; /* optional: override for dark mode */
}

.page[b-qz7u9ft3i0] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #fff;  /* Light mode background */
    color: #000;             /* Light mode text color */
    transition: background-color 0.3s ease, color 0.3s ease;
}

main[b-qz7u9ft3i0] {
    flex: 1;
    background-color: #fff; /* Light mode main content bg */
    padding: 1rem;
    transition: background-color 0.3s ease;
}

.sidebar[b-qz7u9ft3i0] {
    background-color: #f8f9fa; /* Light mode sidebar bg */
    color: #212529;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.top-row[b-qz7u9ft3i0] {
    background-color: #000000;
    border-bottom: 1px solid #d6a100;
    justify-content: flex-start;
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: #fff;
}

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

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

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

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

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

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

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

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

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

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

#blazor-error-ui[b-qz7u9ft3i0] {
    color-scheme: light only;
    background-color: #d6a100;
    color: #000000;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    border-top: 2px solid #ffffff;
    box-sizing: border-box;
    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-qz7u9ft3i0] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.sidebar a.btn-yellow[b-qz7u9ft3i0] {
    background-color: #ffd700;     /* Bright yellow */
    color: #000000;                /* Black text */
    border: none;
    text-align: start;
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease-in-out;
}

.sidebar a.btn-yellow:hover[b-qz7u9ft3i0] {
    background-color: #e2e6ea;     /* Light gray hover in light mode */
    color: #000000;
}

/* Dark mode overrides */
body.dark-mode[b-qz7u9ft3i0] {
    background-color: #121212;
    color: #eee;
}

body.dark-mode main[b-qz7u9ft3i0] {
    background-color: #181818;
}

body.dark-mode .sidebar[b-qz7u9ft3i0] {
    background-color: #2d2d2d;
    color: #ffffff;
}

body.dark-mode .sidebar a.btn-yellow[b-qz7u9ft3i0] {
    background-color: #ffd700;
    color: #000000;
}

body.dark-mode .sidebar a.btn-yellow:hover[b-qz7u9ft3i0] {
    background-color: #444;
    color: #ffffff;
}

body.dark-mode .top-row[b-qz7u9ft3i0] {
    background-color: #000;
    color: #fff;
}

/* /Components/Navigator/NavigationMenu.razor.rz.scp.css */
.sidebar-panel[b-yuig67k2u4] {
    position: fixed;
    top: 0;
    left: 0;                 /* pinned to left */
    height: 100vh;
    width: 300px;            /* adjust width */
    background-color: white; /* light mode background */
    color: black;            /* light mode text */
    box-shadow: 2px 0 5px rgba(0,0,0,0.1); /* shadow on right side */
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%); /* hidden off screen to the left */
    z-index: 1050;
    padding: 1rem;
}

.sidebar-panel.open[b-yuig67k2u4] {
    transform: translateX(0);    /* slide in */
}

.sidebar-panel.closed[b-yuig67k2u4] {
    transform: translateX(-100%); /* slide out */
}

.sidebar-backdrop[b-yuig67k2u4] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1049;
    background-color: transparent;
    cursor: default;
}

/* Dark mode overrides */
body.dark-mode .sidebar-panel[b-yuig67k2u4] {
    background-color: #1e1e1e;
    color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Buttons in sidebar in dark mode */
body.dark-mode .sidebar-panel .btn-outline-secondary[b-yuig67k2u4] {
    color: white;
    border-color: #555;
    background-color: transparent;
}

body.dark-mode .sidebar-panel .btn-outline-secondary:hover[b-yuig67k2u4] {
    background-color: #444;
    border-color: #ffd502;
    color: #ffd502;
}

/* Dark mode close button */
body.dark-mode .sidebar-panel .btn-close[b-yuig67k2u4] {
    filter: invert(1);
}
/* /Components/Pages/Defects/DefectCheckboxPanel.razor.rz.scp.css */
.defect-checkbox-panel__scroll[b-sx80npo59t] {
    max-height: 10.5rem;
    overflow-y: auto;
}

/* body.dark-mode does not set data-bs-theme=dark, so avoid Bootstrap .text-body (light-theme ink). */
body.dark-mode .defect-checkbox-panel .defect-checkbox-panel__legend[b-sx80npo59t],
body.dark-mode .defect-checkbox-panel .form-check-label[b-sx80npo59t] {
    color: rgba(255, 255, 255, 0.95);
}
/* /Components/Pages/Defects/DefectMultiSelect.razor.rz.scp.css */
.defect-multi-select[b-bfkwnddqs9] {
    position: relative;
}

.defect-multi-select__control[b-bfkwnddqs9] {
    min-height: 2.5rem;
    cursor: text;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.defect-multi-select__control:focus-within[b-bfkwnddqs9] {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    outline: none;
}

.defect-multi-select__placeholder[b-bfkwnddqs9] {
    line-height: 1.5;
}

.defect-multi-select__search[b-bfkwnddqs9] {
    min-width: 6rem;
    outline: none;
    box-shadow: none;
    padding: 0 0.25rem;
    color: inherit;
}

.defect-multi-select__search[b-bfkwnddqs9]::placeholder {
    color: var(--bs-secondary-color, #6c757d);
}

.defect-multi-select__caret[b-bfkwnddqs9] {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.85rem;
    margin-left: auto;
    pointer-events: none;
}

.defect-multi-select__chip[b-bfkwnddqs9] {
    background-color: rgba(13, 110, 253, 0.12);
    color: #0a58ca;
    padding: 0.3rem 0.6rem;
    font-size: 0.8125rem;
    line-height: 1;
    border: 1px solid rgba(13, 110, 253, 0.25);
}

.defect-multi-select__chip-close[b-bfkwnddqs9] {
    background: transparent;
    border: 0;
    padding: 0;
    line-height: 1;
    color: inherit;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.defect-multi-select__chip-close:hover[b-bfkwnddqs9],
.defect-multi-select__chip-close:focus-visible[b-bfkwnddqs9] {
    opacity: 1;
    outline: none;
}

.defect-multi-select__chip-close i[b-bfkwnddqs9] {
    font-size: 0.7rem;
}

.defect-multi-select__menu[b-bfkwnddqs9] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    margin-top: 0.25rem;
    max-height: 16rem;
    overflow-y: auto;
    background-color: var(--bs-body-bg, #ffffff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.375rem;
    padding: 0;
}

.defect-multi-select__option[b-bfkwnddqs9] {
    cursor: pointer;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    user-select: none;
}

.defect-multi-select__option:first-child[b-bfkwnddqs9] {
    border-top: 0;
}

.defect-multi-select__option:last-child[b-bfkwnddqs9] {
    border-bottom: 0;
}

.defect-multi-select__option.active[b-bfkwnddqs9] {
    background-color: rgba(13, 110, 253, 0.08);
    color: inherit;
}

.defect-multi-select__option:hover[b-bfkwnddqs9],
.defect-multi-select__option:focus-visible[b-bfkwnddqs9] {
    background-color: rgba(13, 110, 253, 0.12);
    color: inherit;
}
/* /Components/Pages/Defects/Defects.razor.rz.scp.css */
/* Page-specific layout tweaks; inherits global Bootstrap / app.css.
   App uses body.dark-mode without data-bs-theme=dark, so BS CSS vars stay "light"
   while inactive tabs must stay readable on dark chrome. */
.defects-page .nav-tabs .nav-link:not(.active)[b-dbrrgraso0] {
    color: var(--bs-secondary-color, #6c757d);
}

body.dark-mode .defects-page .nav-tabs .nav-link:not(.active)[b-dbrrgraso0] {
    color: rgba(255, 255, 255, 0.88);
}

body.dark-mode .defects-page .nav-tabs .nav-link:not(.active):hover[b-dbrrgraso0],
body.dark-mode .defects-page .nav-tabs .nav-link:not(.active):focus[b-dbrrgraso0] {
    color: #ffffff;
}

.defects-page .nav-tabs .nav-link.active[b-dbrrgraso0] {
    color: var(--bs-body-color, #212529);
    font-weight: 600;
}

body.dark-mode .defects-page .form-check-label[b-dbrrgraso0] {
    color: rgba(255, 255, 255, 0.95);
}

.defects-page .defects-tab-card[b-dbrrgraso0] {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.defects-page .defects-table-search[b-dbrrgraso0] {
    max-width: 24rem;
    width: 100%;
}

@media (min-width: 768px) {
    .defects-page .defects-table-search[b-dbrrgraso0] {
        width: auto;
        min-width: 18rem;
    }
}
/* /Components/Pages/Phoebe/MenuBar/MenuBarPhoebe.razor.rz.scp.css */
:root[b-ck0jtthwqm] {
    --btn-bg: #ffd502;
    --btn-color: #000000;
    --btn-hover-bg: #ffdf33;

    --menu-bg: #ffffff;
    --menu-border: #ffd502;
    --menu-item-color: #212529;
    --menu-item-hover-bg: #fff8cc; /* unused on hover now */
    --input-disabled-bg: rgba(240, 240, 240, 0.85); /* Light neutral gray */
    --input-disabled-color: #555;
}

body.dark-mode[b-ck0jtthwqm] {
    --btn-bg: #ffd502;
    --btn-color: #ffffff;
    --btn-hover-bg: #ffdf33;

    --menu-bg: #1a1a1a;
    --menu-item-color: #ffffff;
    --input-disabled-bg: rgba(50, 50, 50, 0.8); /* Darker gray */
    --input-disabled-color: #aaa;
}

/* === Menu Bar Layout === */
.menu-bar-card[b-ck0jtthwqm] {
    width: 100%;
    max-width: 100vw;
    margin: 0 0 1rem;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
    background-color: var(--menu-bg);
    border: 1px solid var(--menu-border);
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
    color: var(--menu-item-color);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    gap: 1rem;
    user-select: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .menu-bar-card[b-ck0jtthwqm] {
    box-shadow: 0 2px 6px rgb(255 255 255 / 0.1);
}

.menu-left-buttons[b-ck0jtthwqm],
.menu-right-content[b-ck0jtthwqm],
.logout-container[b-ck0jtthwqm] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inputs-container[b-ck0jtthwqm] {
    display: flex;
    flex-grow: 1;
    gap: 1rem;
    min-width: 0;
}

.inputs-container + *[b-ck0jtthwqm] {
    margin-left: 1rem;
}

.menu-right-content[b-ck0jtthwqm] {
    margin-left: auto;
    gap: 1rem;
    white-space: nowrap;
}

/* === Buttons === */
.btn-small[b-ck0jtthwqm],
.btn-logout[b-ck0jtthwqm] {
    background-color: transparent;
    color: inherit;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-small[b-ck0jtthwqm] {
    padding: 0.3rem 0.6rem;
    font-size: 0.9rem;
    min-width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-logout[b-ck0jtthwqm] {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
}

.btn-logout-icon[b-ck0jtthwqm] {
    font-size: 1.25rem;
    padding: 0;
    line-height: 1;
}

/* Hover with bright yellow */
.btn-small:hover[b-ck0jtthwqm],
.btn-small:focus[b-ck0jtthwqm],
.btn-logout:hover[b-ck0jtthwqm],
.btn-logout:focus[b-ck0jtthwqm] {
    background-color: #ffdf33;
    color: black;
    outline: none;
}

.dark-toggle-btn[b-ck0jtthwqm] {
    font-size: 1.1rem;
}

/* === Inputs === */
.menu-input[b-ck0jtthwqm],
.menu-input-secondary[b-ck0jtthwqm] {
    padding: 0.3rem 0.6rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 0.25rem;
    min-width: 120px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    color: black;
}

.menu-input[b-ck0jtthwqm] {
    flex: 2 1 0;
}

.menu-input-secondary[b-ck0jtthwqm] {
    flex: 1 1 0;
}

.menu-input:focus[b-ck0jtthwqm],
.menu-input-secondary:focus[b-ck0jtthwqm] {
    outline: none;
}

/* Default: only apply a neutral gray when disabled */
.menu-input:disabled[b-ck0jtthwqm],
.menu-input-secondary:disabled[b-ck0jtthwqm] {
    background-color: var(--input-disabled-bg) !important;
    color: var(--input-disabled-color) !important;
}

/* Enabled inputs: almost white, with hover/focus transition */
.menu-input:enabled[b-ck0jtthwqm],
.menu-input-secondary:enabled[b-ck0jtthwqm] {
    background-color: #f6f6f6; /* lighter shade of gray */
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    color: black;
}

.menu-input:enabled:hover[b-ck0jtthwqm],
.menu-input:enabled:focus[b-ck0jtthwqm],
.menu-input-secondary:enabled:hover[b-ck0jtthwqm],
.menu-input-secondary:enabled:focus[b-ck0jtthwqm] {
    background-color: #f0f0f0; /* slightly lighter gray on hover/focus */
    outline: none;
}

/* Dark mode support */
body.dark-mode .menu-input:enabled[b-ck0jtthwqm],
body.dark-mode .menu-input-secondary:enabled[b-ck0jtthwqm] {
    background-color: #2c2c2c;
    color: #fff;
}

body.dark-mode .menu-input:enabled:hover[b-ck0jtthwqm],
body.dark-mode .menu-input:enabled:focus[b-ck0jtthwqm],
body.dark-mode .menu-input-secondary:enabled:hover[b-ck0jtthwqm],
body.dark-mode .menu-input-secondary:enabled:focus[b-ck0jtthwqm] {
    background-color: #3a3a3a;
}

/* === Fluent Menu === */
fluent-menu[b-ck0jtthwqm]::part(control) {
    background-color: var(--menu-bg) !important;
    border: 1px solid var(--menu-border) !important;
    border-radius: 0.25rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    padding: 0.25rem 0;
    min-width: max-content;
    color: var(--menu-item-color) !important;
    z-index: 1000;
}

fluent-menu-item[b-ck0jtthwqm]::part(control) {
    background-color: transparent !important;
    color: var(--menu-item-color) !important;
    padding: 0.35rem 1rem;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

/* Hover with bright yellow */
fluent-menu-item:hover[b-ck0jtthwqm]::part(control) {
    background-color: #ffdf33 !important;
    color: var(--menu-item-color) !important;
}

/* Dark mode fluent menu overrides */
body.dark-mode fluent-menu[b-ck0jtthwqm]::part(control),
body.dark-mode fluent-menu-item[b-ck0jtthwqm]::part(control) {
    background-color: var(--menu-bg) !important;
    color: var(--menu-item-color) !important;
}

body.dark-mode fluent-menu-item:hover[b-ck0jtthwqm]::part(control) {
    background-color: #ffdf33 !important;
    color: black !important;
}

.save-button-container[b-ck0jtthwqm] {
    position: relative;
    display: inline-block;
}

.save-button-container button[b-ck0jtthwqm] {
    position: relative; /* so the icon is the positioning context */
}

.red-dot[b-ck0jtthwqm] {
    position: absolute;
    bottom: 6px;
    right: 11px;
    height: 6px;
    width: 6px;
    background-color: red;
    border-radius: 50%;
    border: 1px solid transparent;
    z-index: 100;
    pointer-events: none;
}




/* /Components/Pages/Phoebe/PartManagement/PartDefinitionTableRow.razor.rz.scp.css */
.red-dot[b-af8ecodbzq] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    height: 6px;
    width: 6px;
    background-color: red;
    border-radius: 50%;
    border: 1px solid transparent;
    z-index: 100;
    pointer-events: none;
}

.save-button-container[b-af8ecodbzq] {
    position: relative;
    display: inline-block;
}
/* /Components/Pages/Phoebe/Product/ProductTableRow/ProductTableRow.razor.rz.scp.css */
.red-dot[b-scanwxl357] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;    
    height: 6px;
    width: 6px;
    background-color: red;
    border-radius: 50%;
    border: 1px solid transparent;
    z-index: 100;
    pointer-events: none;
}

.save-button-container[b-scanwxl357] {
    position: relative;
    display: inline-block;
}
/* /Components/Pages/Phoebe/Product/ProductTableRow/WorkInstructionAssociation/AddWorkInstructionDialog.razor.rz.scp.css */
.scrollable-checkbox-container[b-99f8m11e9w] {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}
/* /Components/Pages/Phoebe/Product/ProductTableRow/WorkInstructionAssociation/WorkInstructionSelector.razor.rz.scp.css */
.scrollable-checkbox-container[b-0sf4myp8yl] {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(0,0,0,.125);
    width: max-content; 
    flex: 0 0 auto;
}

/* Adding hover effect */
.list-group-item:hover[b-0sf4myp8yl] {
    background-color: #f8f9fa;
}

/* === Dropdown Styles === */
.dropdown-container[b-0sf4myp8yl] {
    position: relative;
    display: inline-block;
}

.dropdown-menu-custom[b-0sf4myp8yl] {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    padding: 0.5rem;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    color: #212529; /* default text color */
}

.dropdown-menu-custom .dropdown-divider[b-0sf4myp8yl] {
    height: 1px;
    margin: 0.5rem 0;
    overflow: hidden;
    background-color: #e9ecef;
}

.dropdown-item[b-0sf4myp8yl] {
    display: block;
    padding: 0.25rem 0.5rem;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    color: #212529; /* default text color */
}

.dropdown-item:hover[b-0sf4myp8yl] {
    background-color: #f1f1f1;
}

.dropdown-item.text-danger[b-0sf4myp8yl] {
    color: #dc3545;
}

/* === Dark Mode Styles === */
body.dark-mode .dropdown-menu-custom[b-0sf4myp8yl] {
    background-color: #1a1a1a;
    border: 1px solid #4a4300;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
    color: #fff;
}

body.dark-mode .dropdown-menu-custom .dropdown-divider[b-0sf4myp8yl] {
    background-color: #333300;
}

body.dark-mode .dropdown-item[b-0sf4myp8yl] {
    color: #fff;
}

body.dark-mode .dropdown-item.text-danger[b-0sf4myp8yl] {
    color: #ff6b6b;
}

body.dark-mode .dropdown-item:hover[b-0sf4myp8yl] {
    background-color: #333300;
}
/* /Components/Pages/Phoebe/WorkInstruction/ProductSelector.razor.rz.scp.css */
.scrollable-checkbox-container[b-woxeud9e39] {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
}

/* Adding hover effect */
.list-group-item:hover[b-woxeud9e39] {
    background-color: #f8f9fa;
}
/* /Components/Pages/Phoebe/WorkInstruction/VersionHistoryMenu.razor.rz.scp.css */
.sidebar-backdrop[b-rp94aiqao4] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1049;
    background-color: transparent;
    cursor: default;
}

.sidebar-panel[b-rp94aiqao4] {
    position: fixed;
    top: 0;
    right: 0;       /* pinned to right */
    height: 100vh;
    width: 400px;   /* or whatever width you want */
    background-color: white;  /* light mode background */
    color: black;             /* light mode text */
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    overflow-y: auto;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    transform: translateX(100%); /* Initially hidden off-screen to the right */
    z-index: 1050;
    padding-left: 1rem; /* adds space on the left inside the panel */
}

.sidebar-panel.open[b-rp94aiqao4] {
    transform: translateX(0);    /* Slide in fully */
}

.sidebar-panel.closed[b-rp94aiqao4] {
    transform: translateX(100%); /* Slide out off-screen */
}

.sidebar-panel .sidebar-header[b-rp94aiqao4] {
    padding-top: 0.5rem; /* or try 0.75rem for slightly more space */
    display: flex;
    justify-content: space-between;
    align-items: start; /* aligns items to top */
}

.sidebar-panel .sidebar-header .btn-close[b-rp94aiqao4] {
    align-self: start;
    margin-top: 0.25rem;  /* fine-tune vertical alignment */
    margin-right: 0.25rem;  /* add horizontal space to the right */
}

.sidebar-panel .sidebar-header h5[b-rp94aiqao4] {
    color: inherit;
    line-height: 1.2;
    margin-bottom: 0;
}

/* Muted text adjustments */
.sidebar-panel .text-muted[b-rp94aiqao4] {
    color: #6c757d;
}

/* Table styling for light/dark */
.sidebar-panel table[b-rp94aiqao4] {
    width: 100%;
    border-collapse: collapse;
}

.sidebar-panel th[b-rp94aiqao4],
.sidebar-panel td[b-rp94aiqao4] {
    border: 1px solid currentColor;
    padding: 0.5rem;
}

/* ========================================
   Version List / Version Item Styling
   ======================================== */
.sidebar-panel .version-list[b-rp94aiqao4] {
    margin-top: 0.5rem;
    padding-right: 1rem;
}

.sidebar-panel .version-item[b-rp94aiqao4] {
    background-color: var(--menu-bg, #f8f9fa);
    border: 1px solid var(--menu-border, rgba(0,0,0,0.125));
    color: var(--menu-item-color, #212529);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sidebar-panel .version-item strong[b-rp94aiqao4] {
    color: inherit;
    font-weight: 600;
}

.sidebar-panel .version-item .text-muted.small[b-rp94aiqao4] {
    display: block;
    line-height: 1.1;
    margin-top: 0.125rem;
    color: #6c757d;
}

.sidebar-panel .version-item .d-flex.gap-2[b-rp94aiqao4] {
    gap: 0.5rem !important;
}

.sidebar-panel .version-item .btn.btn-secondary[disabled][b-rp94aiqao4],
.sidebar-panel .version-item .btn.btn-secondary:disabled[b-rp94aiqao4] {
    background-color: #e2e6ea;
    border-color: #d3d9df;
    color: #6c757d;
    opacity: 1;
    cursor: default;
}

.sidebar-panel .version-item:not(:has(.btn[disabled])):hover[b-rp94aiqao4] {
    background-color: var(--menu-item-hover-bg, #fff8cc);
    border-color: var(--btn-bg, #ffd502);
}

/* ========================================
   Dark Mode Overrides
   ======================================== */
body.dark-mode .sidebar-panel[b-rp94aiqao4] {
    background-color: #1e1e1e;
    color: #e0e0e0;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

body.dark-mode .sidebar-panel[b-rp94aiqao4],
body.dark-mode .sidebar-panel *[b-rp94aiqao4] {
    color: #ffffff !important;
}

body.dark-mode .sidebar-panel .btn-close[b-rp94aiqao4] {
    filter: invert(1);
    background-color: transparent;
    border: none;
    color: #ccc;
}

body.dark-mode .sidebar-panel .text-muted[b-rp94aiqao4] {
    color: #888888;
}

body.dark-mode .sidebar-panel .btn-primary[b-rp94aiqao4] {
    background-color: #ffd502;
    border-color: #ffd502;
    color: black;
}

body.dark-mode .sidebar-panel .btn-primary:hover[b-rp94aiqao4] {
    background-color: #ffd502;
    border-color: #ffd502;
}

/* Dark mode for version list/items */
body.dark-mode .sidebar-panel .version-item[b-rp94aiqao4] {
    background-color: #2c2c2c !important;  /* override .bg-light */
    border-color: #555555 !important;
    color: #ffffff !important;
}

body.dark-mode .sidebar-panel .version-item strong[b-rp94aiqao4] {
    color: #ffd502 !important;
}

body.dark-mode .sidebar-panel .version-item .text-muted.small[b-rp94aiqao4] {
    color: #aaaaaa !important;
}

body.dark-mode .sidebar-panel .version-item .btn.btn-secondary[disabled][b-rp94aiqao4],
body.dark-mode .sidebar-panel .version-item .btn.btn-secondary:disabled[b-rp94aiqao4] {
    background-color: #3a3a3a !important;
    border-color: #5a5a5a !important;
    color: #bbbbbb !important;
}

body.dark-mode .sidebar-panel .version-item:not(:has(.btn[disabled])):hover[b-rp94aiqao4] {
    background-color: rgba(255,213,2,0.15) !important;
    border-color: #ffd502 !important;
}

body.dark-mode .sidebar-panel .version-item:focus-within[b-rp94aiqao4] {
    outline: 2px solid #ffd502;
    outline-offset: 2px;
}
/* /Components/Pages/Phoebe/WorkInstruction/WorkInstructionNodes/NodeActionMenu.razor.rz.scp.css */
.dropdown-container[b-ihm3tdiqk1] {
    position: relative;
    display: inline-block;
}

.dropdown-backdrop[b-ihm3tdiqk1] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-color: transparent;
    cursor: default;
}

.dropdown-menu-custom[b-ihm3tdiqk1] {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    padding: 0.5rem;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    color: #212529; /* default text color */
}

.dropdown-menu-custom .dropdown-divider[b-ihm3tdiqk1] {
    height: 1px;
    margin: 0.5rem 0;
    overflow: hidden;
    background-color: #e9ecef;
}

.dropdown-item[b-ihm3tdiqk1] {
    display: block;
    padding: 0.25rem 0.5rem;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    color: #212529; /* default text color */
}

.dropdown-item:hover[b-ihm3tdiqk1] {
    background-color: #f1f1f1;
}

/* === Dark Mode Styles === */
body.dark-mode .dropdown-menu-custom[b-ihm3tdiqk1] {
    background-color: #1a1a1a;
    border: 1px solid #4a4300;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
    color: #fff;
}

body.dark-mode .dropdown-menu-custom .dropdown-divider[b-ihm3tdiqk1] {
    background-color: #333300;
}

body.dark-mode .dropdown-item[b-ihm3tdiqk1] {
    color: #fff;
}

body.dark-mode .dropdown-item:hover[b-ihm3tdiqk1] {
    background-color: #333300;
}
/* /Components/Pages/Phoebe/WorkInstruction/WorkInstructionNodes/PartNodeView.razor.rz.scp.css */
/* 1. Change switch color */
.toggle-switch:checked[b-azadgkrfv5] {
    background-color: #ffd502;
    border-color: #ffd502;
}

/* 2. Fix label width so text change does not resize box */
.toggle-label[b-azadgkrfv5] {
    display: inline-block;
    width: 100px; /* fixed width enough for "Production Log" */
    text-align: center;
}
/* /Components/Pages/Phoebe/WorkInstruction/WorkInstructionNodes/SortableList/SortableList.razor.rz.scp.css */
/* 
  you need the ::deep identifier if you are using scoped styles like this
  because scoped styles are only applied to markup in the component, not
  to the markup inside the render fragment.
*/

[b-si9aypqv3p] .sortable-ghost {
  visibility: hidden;
}

[b-si9aypqv3p] .sortable-fallback {
  opacity: 1 !important
}
/* /Components/Pages/Phoebe/WorkInstruction/WorkInstructionNodes/StepNodeView.razor.rz.scp.css */
/* Editor styling */
.editor-wrapper[b-aakxhde3w8] {
    width: 100%;
    max-height: 250px;
    overflow: hidden;
}

.editor-wrapper .ql-container[b-aakxhde3w8] {
    height: 100%;
    max-height: 250px;
    overflow-y: auto;
}
/* /Components/Pages/ProductionLog/RedTagDialog.razor.rz.scp.css */
/* === Container & Wrapper === */
.red-tag-horizontal-wrapper[b-vg66shll5b] {
    display: flex;
    justify-content: flex-start;
    margin-top: 1rem;
}

.red-tag-scaler[b-vg66shll5b] {
    transform: scale(0.85);
    transform-origin: top left;
    width: 100%;
    height: 100%;
}

/* === Tag Appearance === */
.red-tag-horizontal[b-vg66shll5b] {
    background-color: #f44336;
    color: black;
    width: 6in;
    height: 1.8in; /* decreased from 2.375in */
    padding: 0.5rem 0.6rem 0.5rem 3.2rem;
    position: relative;
    clip-path: polygon(35px 0%, 100% 0%, 100% 100%, 35px 100%, 0% calc(100% - 35px), 0% 35px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem; /* increased from 1.2rem */
    line-height: 1.3; /* slightly increased */
    overflow: hidden;
}

.red-tag-hole[b-vg66shll5b] {
    width: 0.3in;
    height: 0.3in;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0.2in;
    transform: translateY(-50%);
    z-index: 1;
}

.dark-mode .red-tag-hole[b-vg66shll5b] {
    background-color: #555555 !important;
}

/* === Content === */
.red-tag-content[b-vg66shll5b] {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    overflow: hidden;
}

.red-tag-content h5[b-vg66shll5b] {
    font-weight: 700;
    font-size: 1.8rem; /* increased from 1.4rem */
    margin: 0 0 0.4rem auto;
    text-align: left;
    line-height: 1.1; /* slightly increased */
}

/* === Layout Grids === */
.tag-form-grid-tight[b-vg66shll5b],
.tag-info-grid[b-vg66shll5b] {
    display: grid;
    gap: 0.3rem 0.6rem;
}

.tag-form-grid-tight[b-vg66shll5b] {
    grid-template-columns: 1fr 1fr;
}

.tag-info-grid[b-vg66shll5b] {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 20px;
    margin-bottom: 8px;
    font-size: 12px;
}

/* === Form Fields === */
.form-pair[b-vg66shll5b],
.multiline-row[b-vg66shll5b] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.form-pair label[b-vg66shll5b],
.inline-field-row label[b-vg66shll5b],
.multiline-row label[b-vg66shll5b] {
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 0.1rem;
    color: black;
}

.form-pair label[b-vg66shll5b] {
    font-size: 0.68rem;
}

.form-pair p[b-vg66shll5b] {
    margin: 0;
    font-size: 0.75rem;
    color: black;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tight-select[b-vg66shll5b],
.inline-field-row select[b-vg66shll5b],
.inline-field-row input[b-vg66shll5b],
.inline-field-row textarea[b-vg66shll5b],
.multiline-row textarea[b-vg66shll5b] {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    border: 1px solid #a83238;
    background-color: #7a282e;
    color: black;
    width: 100%;
}

.tight-select:focus[b-vg66shll5b],
.inline-field-row input:focus[b-vg66shll5b],
.inline-field-row select:focus[b-vg66shll5b],
.inline-field-row textarea:focus[b-vg66shll5b] {
    outline: none;
    border-color: #e85a61;
    background-color: #8c3338;
}

.multiline-row textarea[b-vg66shll5b] {
    height: 3.3rem;
    resize: none;
    padding: 0.2rem 0.4rem;
}

/* === Inline Fields === */
.inline-field-row[b-vg66shll5b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.inline-field-row label[b-vg66shll5b] {
    white-space: nowrap;
    margin-right: 0.25rem;
    min-width: 65px;
}

/* === Typography & Truncation === */
.step-truncate[b-vg66shll5b],
.tag-item[b-vg66shll5b] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-truncate[b-vg66shll5b] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.2;
    max-height: 2.4em;
    word-break: break-word;
}

.failure-note[b-vg66shll5b] {
    font-size: 12px;
    margin-top: 0.25rem;
    white-space: pre-line;
}

.label[b-vg66shll5b] {
    font-weight: bold;
    margin-right: 4px;
}

.red-tag-print-source[b-vg66shll5b] {
    display: none;
}
/* /Components/Pages/ProductionLog/WorkInstructionNodes/StepNodeListItem.razor.rz.scp.css */
.button-wrapper[b-u05w2ib59t] {
    position: relative;
    display: inline-block;
}
