@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';

/* /Layout/LoginDisplay.razor.rz.scp.css */
/* Layout/LoginDisplay.razor.css */

.user-info-vertical[b-btu6o9amsg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.user-name-container[b-btu6o9amsg] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bs-light);
    font-size: 0.9rem;
    text-align: center;
}

.user-name[b-btu6o9amsg] {
    font-weight: 500;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 180px;
}

.logout-btn[b-btu6o9amsg],
.login-btn[b-btu6o9amsg] {
    width: 100%;
    text-align: center;
}

.logout-btn[b-btu6o9amsg] {
    color: rgba(255, 255, 255, 0.8);
}

.logout-btn:hover[b-btu6o9amsg] {
    color: var(--bs-light);
    text-decoration: underline;
}

.login-btn[b-btu6o9amsg] {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--bs-light);
}

.login-btn:hover[b-btu6o9amsg] {
    background: linear-gradient(135deg, #5a6778 0%, #3d4758 100%);
    border-color: rgba(255, 255, 255, 0.3);
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* Layout/MainLayout.razor.css */

.theme-host[b-sjrro9v4k9] {
    /* -- Light Theme Variables -- */
    --primary-color: #54B4DB;
    --primary-color-darker: #24548B;
    --app-background-color: #EDF0F0;
    --sidebar-background-color: #FFFFFF;
    --card-background-color: #FFFFFF;
    --text-color: #24548B;
    --subtle-text-color: #A1B4B6;
    --border-color: #e2e8f0;
    --hover-background-color: #e9ecef;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

@media (prefers-color-scheme: dark) {
    .theme-host[b-sjrro9v4k9] {
        /* -- Dark Theme Variables -- */
        --primary-color: #54B4DB;
        --primary-color-darker: #6fbde8;
        --app-background-color: #1a202c;
        --sidebar-background-color: #2d3748;
        --card-background-color: #2d3748;
        --text-color: #EDF0F0;
        --subtle-text-color: #A1B4B6;
        --border-color: #4a5568;
        --hover-background-color: #4a5568;
        --shadow: none;
    }
}

.page[b-sjrro9v4k9] {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

.sidebar-container[b-sjrro9v4k9] {
    width: 260px;
    background-color: var(--sidebar-background-color);
    border-right: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    z-index: 100;
}

main[b-sjrro9v4k9] {
    flex: 1;
    overflow-y: auto;
    background-color: var(--app-background-color);
    transition: background-color 0.3s ease;
}

.content[b-sjrro9v4k9] {
    padding: 2rem;
}

/* --- Blazor Error UI Styles --- */
#blazor-error-ui[b-sjrro9v4k9] {
    background: var(--primary-color-darker, #24548B); /* Fallback color */
    color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.8rem 1.5rem;
    z-index: 2000;
    display: none; /* Hidden by default */
    border-top: 2px solid var(--primary-color, #54B4DB);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}

    #blazor-error-ui.show[b-sjrro9v4k9] {
        display: block; /* Shown when Blazor adds the 'show' class */
    }

    #blazor-error-ui a[b-sjrro9v4k9] {
        color: #fff;
        font-weight: 600;
        text-decoration: underline;
        margin-left: 1rem;
    }

    #blazor-error-ui .dismiss[b-sjrro9v4k9] {
        float: right;
        font-size: 1.25rem;
        line-height: 1;
        text-decoration: none;
        opacity: 0.8;
        transition: opacity 0.2s ease;
    }

        #blazor-error-ui .dismiss:hover[b-sjrro9v4k9] {
            opacity: 1;
        }

/* Custom styling for DropdownMenu to match theme */
[b-sjrro9v4k9] .dropdown-menu-themed {
    background-color: var(--card-background-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    padding: 0.5rem 0; /* Adjust padding as needed */
}

/* Custom styling for DropdownItem to match theme */
[b-sjrro9v4k9] .dropdown-item-themed {
    color: var(--text-color);
    padding: 0.5rem 1.5rem; /* Adjust padding as needed */
    transition: background-color 0.2s ease, color 0.2s ease;
}

    [b-sjrro9v4k9] .dropdown-item-themed:hover,
    [b-sjrro9v4k9] .dropdown-item-themed:focus {
        background-color: var(--hover-background-color);
        color: var(--primary-color-darker); /* Or var(--text-color) if you prefer */
        text-decoration: none; /* Prevent underline on hover */
    }

/* Dark mode adjustments for dropdown items */
@media (prefers-color-scheme: dark) {
    [b-sjrro9v4k9] .dropdown-item-themed:hover,
    [b-sjrro9v4k9] .dropdown-item-themed:focus {
        color: var(--text-color); /* Ensure text is readable in dark mode hover */
    }
}

/* Add border to cards in dark mode since shadow is removed */
@media (prefers-color-scheme: dark) {
    [b-sjrro9v4k9] .dashboard-card {
        border: 1px solid var(--border-color);
    }
}

/* --- Main Layout Mobile Styles --- */
@media (max-width: 768px) {
    .page[b-sjrro9v4k9] {
        /* Stack the sidebar and main content vertically */
        flex-direction: column;
    }

    .sidebar-container[b-sjrro9v4k9] {
        /* Turn the sidebar into a full-width top bar */
        width: 100%;
        height: auto;
        border-right: none; /* Remove the side border */
        border-bottom: 1px solid var(--border-color);
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* Layout/NavMenu.razor.css */

.nav-container[b-dt7wylbsut] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nav-header[b-dt7wylbsut] {
    display: flex;
    justify-content: space-between; /* Positions logo and toggler */
    align-items: center;
    padding: 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.nav-logo[b-dt7wylbsut] {
    max-width: 80%;
    height: auto;
}

/* --- Logo Switching Logic --- */
.logo-dark-theme[b-dt7wylbsut] {
    display: none;
}

.logo-light-theme[b-dt7wylbsut] {
    display: inline-block;
}

@media (prefers-color-scheme: dark) {
    .logo-dark-theme[b-dt7wylbsut] {
        display: inline-block;
    }

    .logo-light-theme[b-dt7wylbsut] {
        display: none;
    }
}
/* --- End Logo Switching Logic --- */

.nav-menu[b-dt7wylbsut] {
    flex-grow: 1;
    padding: 1rem 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

[b-dt7wylbsut] .nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.5rem;
    margin: 0.25rem 1rem;
    color: var(--subtle-text-color);
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
    font-weight: 500;
}

    [b-dt7wylbsut] .nav-link:hover {
        background-color: var(--hover-background-color);
        color: var(--text-color);
    }

    [b-dt7wylbsut] .nav-link.active {
        background-color: var(--primary-color-darker);
        color: #ffffff;
    }

        [b-dt7wylbsut] .nav-link.active .icon {
            color: #ffffff !important;
        }

/* --- Mobile Nav Styles --- */
.nav-toggler[b-dt7wylbsut] {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: var(--subtle-text-color);
    font-size: 2rem;
    cursor: pointer;
}

.nav-toggler[b-dt7wylbsut] {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: var(--subtle-text-color);
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    /* Make the toggler button visible on mobile */
    .nav-toggler[b-dt7wylbsut] {
        display: block;
    }

    /* Animation logic for the menu */
    .nav-menu[b-dt7wylbsut] {
        /* Reset flex-grow for mobile's top-to-bottom flow */
        flex-grow: 0;
        overflow: hidden;
        transition: max-height 0.35s ease-in-out;
    }

        /* Collapsed state: this is what hides the menu */
        .nav-menu.collapsed[b-dt7wylbsut] {
            max-height: 0;
            padding-top: 0;
            padding-bottom: 0;
        }

        /* Expanded state: allows the menu to be seen */
        .nav-menu:not(.collapsed)[b-dt7wylbsut] {
            max-height: 80vh; /* A large value to allow it to expand fully */
        }

    .nav-header[b-dt7wylbsut] {
        padding: 0.5rem 1rem; /* Reduced padding */
    }

    .nav-logo[b-dt7wylbsut] {
        max-width: 60%; /* Make the logo slightly smaller */
    }
}
/* /Pages/Calendar.razor.rz.scp.css */
/* Pages/Calendar.razor.css */

/* --- Calendar Specific Styles --- */
.calendar-container[b-7ld0b7wnqx] {
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.calendar-table[b-7ld0b7wnqx] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .calendar-table th[b-7ld0b7wnqx],
    .calendar-table td[b-7ld0b7wnqx] {
        border: 1px solid var(--border-color);
        padding: 0.5rem;
        text-align: center;
        vertical-align: top;
        min-width: 120px;
        height: 120px;
        overflow: hidden;
        position: relative;
        transition: background-color 0.2s ease;
    }

    .calendar-table th[b-7ld0b7wnqx] {
        font-weight: 600;
        color: var(--subtle-text-color);
        background-color: var(--app-background-color);
        border-bottom: 2px solid var(--border-color);
        height: 50px;
    }

    .calendar-table tbody tr:first-child td[b-7ld0b7wnqx] {
        border-top: 1px solid var(--border-color);
    }

.day-cell-wrapper:hover .day-cell[b-7ld0b7wnqx] {
    background-color: var(--hover-background-color);
}

.day-cell[b-7ld0b7wnqx] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0.5rem;
    height: 100%;
    cursor: pointer;
    text-align: right;
}

.day-number[b-7ld0b7wnqx] {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

    .day-number.today[b-7ld0b7wnqx] {
        color: var(--primary-color) !important;
        font-size: 1.2em;
        font-weight: 700;
    }

.product-count[b-7ld0b7wnqx] {
    font-size: 0.85em;
    color: var(--subtle-text-color);
    margin-top: auto;
    text-align: left;
    width: 100%;
    padding-left: 0.5rem;
}

.day-cell.expanded[b-7ld0b7wnqx] {
    height: auto;
    min-height: 120px;
    align-items: stretch;
    text-align: left;
}

.day-events[b-7ld0b7wnqx] {
    font-size: 0.9em;
    margin-top: 5px;
    width: 100%;
    overflow-y: auto;
    max-height: 80px;
}

    .day-events .nested-table[b-7ld0b7wnqx] {
        margin-top: 0.5rem;
        width: 100%;
        border-collapse: collapse;
    }

        .day-events .nested-table th[b-7ld0b7wnqx],
        .day-events .nested-table td[b-7ld0b7wnqx] {
            border: none;
            padding: 0.2rem 0.5rem;
            font-size: 0.8em;
            color: var(--text-color);
            vertical-align: top;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .day-events .nested-table th[b-7ld0b7wnqx] {
            font-weight: 500;
            color: var(--subtle-text-color);
            border-bottom: 1px solid var(--border-color);
        }
/* /Pages/Home.razor.rz.scp.css */
/* Pages/Home.razor.css */

.dashboard-title[b-ang6gt3l0h] {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* -- Card Styles -- */
.dashboard-card[b-ang6gt3l0h] {
    background-color: var(--card-background-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    /* transition is needed for dark mode border */
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

.dashboard-card-header[b-ang6gt3l0h] {
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

.dashboard-card-header-title[b-ang6gt3l0h] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.dashboard-card-body[b-ang6gt3l0h] {
    padding: 1.5rem;
}

.dashboard-card-footer[b-ang6gt3l0h] {
    background-color: transparent;
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    text-align: right;
}

/* -- Table Styles -- */
.table-container[b-ang6gt3l0h] {
    max-height: 400px;
    overflow-y: auto;
}

.dashboard-table[b-ang6gt3l0h] {
    width: 100%;
    border-collapse: collapse;
}

    .dashboard-table th[b-ang6gt3l0h] {
        font-weight: 600;
        text-align: left;
        color: var(--subtle-text-color);
        padding: 0.75rem 1rem;
        border-bottom: 2px solid var(--border-color);
        font-size: 0.9rem;
    }

    .dashboard-table td[b-ang6gt3l0h] {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-color);
        vertical-align: middle;
    }

    .dashboard-table tbody tr:last-child td[b-ang6gt3l0h] {
        border-bottom: none;
    }

/* -- Status Badge Styles -- */
.status-badge[b-ang6gt3l0h] {
    padding: 0.35em 0.75em;
    font-weight: 500;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid;
}

.status-active[b-ang6gt3l0h] {
    background-color: #e0f2f1;
    color: #00796b;
    border-color: #00796b;
}

.status-cancelled[b-ang6gt3l0h] {
    background-color: #ffebee;
    color: #c62828;
    border-color: #c62828;
}

.status-onhold[b-ang6gt3l0h] {
    background-color: #ede7f6;
    color: #512da8;
    border-color: #512da8;
}

/* Dark mode badge styles */
@media (prefers-color-scheme: dark) {
    .status-badge[b-ang6gt3l0h] {
        background-color: transparent;
    }

    .status-active[b-ang6gt3l0h] {
        color: #80cbc4;
    }

    .status-cancelled[b-ang6gt3l0h] {
        color: #ef9a9a;
    }

    .status-onhold[b-ang6gt3l0h] {
        color: #ce93d8;
    }
}

/* -- Loading Spinner -- */
.loading-container[b-ang6gt3l0h] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

.spinner-themed[b-ang6gt3l0h] {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    color: var(--primary-color);
}

/* -- Inventory Section Styles -- */
.inventory-value-header[b-ang6gt3l0h] {
    font-size: 1.1rem;
    color: var(--subtle-text-color);
    margin-bottom: 1.5rem;
}

    .inventory-value-header b[b-ang6gt3l0h] {
        display: block;
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-color);
    }

.view-all-link[b-ang6gt3l0h] {
    font-weight: 600;
    color: var(--primary-color-darker);
    text-decoration: none;
    transition: color 0.2s ease;
}

    .view-all-link:hover[b-ang6gt3l0h] {
        color: var(--primary-color);
        text-decoration: underline;
    }
/* /Pages/Materials.razor.rz.scp.css */
/* Pages/Materials.razor.css */

/* --- Page Header Styles --- */
.page-title[b-kxal5rx7uf] {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.page-subtitle[b-kxal5rx7uf] {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--subtle-text-color);
    margin-bottom: 2rem;
}

    .page-subtitle b[b-kxal5rx7uf] {
        color: var(--text-color);
        font-weight: 600;
    }

/* --- Text ---*/
.form-text[b-kxal5rx7uf] {
    color: #A1B4B6;
}

/* --- Main Content Card --- */
.content-card[b-kxal5rx7uf] {
    background-color: var(--card-background-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    .content-card[b-kxal5rx7uf] {
        border: 1px solid var(--border-color);
    }
}

/* --- Action Bar (Search + Add Button) --- */
.action-bar[b-kxal5rx7uf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows items to wrap on small screens */
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* --- Themed Buttons --- */
.btn-primary-themed[b-kxal5rx7uf], .btn-secondary-themed[b-kxal5rx7uf], .btn-edit-themed[b-kxal5rx7uf] {
    /* Base styles for ALL themed buttons */
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
}

.btn-primary-themed[b-kxal5rx7uf], .btn-secondary-themed[b-kxal5rx7uf] {
    padding: 0.5rem 1.25rem;
}

.btn-primary-themed[b-kxal5rx7uf] {
    background-color: var(--primary-color-darker);
    color: #fff;
}

    .btn-primary-themed:hover[b-kxal5rx7uf] {
        background-color: var(--primary-color);
        color: #fff;
    }

.btn-secondary-themed[b-kxal5rx7uf] {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

    .btn-secondary-themed:hover[b-kxal5rx7uf] {
        background-color: var(--hover-background-color);
        border-color: var(--text-color);
    }

.btn-edit-themed[b-kxal5rx7uf] {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.25rem 0.75rem; /* A bit smaller for table actions */
    font-size: 0.8rem;
    border-radius: 6px; /* Slightly smaller radius for a smaller button */
}

    .btn-edit-themed:hover[b-kxal5rx7uf] {
        opacity: 0.85;
    }

/* --- Search Input --- */
.search-input-group[b-kxal5rx7uf] {
    display: flex;
    max-width: 500px; /* Increased from 400px */
    flex-grow: 1;
}

    .search-input-group input[b-kxal5rx7uf] {
        flex-grow: 1;
        border-radius: 8px 0 0 8px;
        border: 1px solid var(--border-color);
        padding: 0.5rem 1rem;
        background-color: var(--app-background-color);
        color: var(--text-color);
    }

        .search-input-group input:focus[b-kxal5rx7uf] {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary-color) 25%, transparent);
        }

    .search-input-group button[b-kxal5rx7uf] {
        border-radius: 0 8px 8px 0;
    }

/* Fix for placeholder text in dark mode */
@media (prefers-color-scheme: dark) {
    .search-input-group input[b-kxal5rx7uf]::placeholder {
        color: var(--subtle-text-color);
        opacity: 0.8; /* Make it slightly transparent */
    }
}

/* --- Table Styles (Re-using from Home for consistency) --- */
.data-table[b-kxal5rx7uf] {
    width: 100%;
    border-collapse: collapse;
}

    .data-table th[b-kxal5rx7uf] {
        font-weight: 600;
        text-align: left;
        color: var(--subtle-text-color);
        padding: 0.75rem 1rem;
        border-bottom: 2px solid var(--border-color);
        font-size: 0.9rem;
    }

    .data-table td[b-kxal5rx7uf] {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-color);
        vertical-align: middle;
    }

    .data-table tbody tr:last-child td[b-kxal5rx7uf] {
        border-bottom: none;
    }

.table-responsive[b-kxal5rx7uf] {
    width: 100%;
    overflow-x: auto;
}

.material-description[b-kxal5rx7uf] {
    flex-basis: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Pagination --- */
.pagination-container[b-kxal5rx7uf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    color: var(--subtle-text-color);
}

.pagination-controls[b-kxal5rx7uf] {
    display: flex;
    gap: 0.5rem;
}

    .pagination-controls .btn-secondary-themed.disabled[b-kxal5rx7uf] {
        opacity: 0.5;
        cursor: not-allowed;
        background-color: transparent;
        border-color: var(--border-color);
    }

/* --- Loading Spinner --- */
.loading-container[b-kxal5rx7uf] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

.spinner-themed[b-kxal5rx7uf] {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    color: var(--primary-color);
}
/* /Pages/ProductionForecasts.razor.rz.scp.css */
/* Pages/ProductionForecasts.razor.css */

/* --- Page Header Styles --- */
.page-title[b-a2jrh4fg5u] {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.page-subtitle[b-a2jrh4fg5u] {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--subtle-text-color);
    margin-bottom: 2rem;
}

    .page-subtitle b[b-a2jrh4fg5u] {
        color: var(--text-color);
        font-weight: 600;
    }

.basic-text[b-a2jrh4fg5u] {
    color: #A1B4B6;
}

/* --- Main Content Card --- */
.content-card[b-a2jrh4fg5u] {
    background-color: var(--card-background-color);
    border-radius: 0px 0px 15px 15px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

/* --- Action Bar (Buttons) --- */
.action-bar[b-a2jrh4fg5u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* --- Themed Buttons --- */
.btn-primary-themed[b-a2jrh4fg5u], .btn-secondary-themed[b-a2jrh4fg5u], .btn-edit-themed[b-a2jrh4fg5u], .btn-danger-themed[b-a2jrh4fg5u] {
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    padding: 0.5rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-themed[b-a2jrh4fg5u] {
    background-color: var(--primary-color-darker);
    color: #fff;
}

    .btn-primary-themed:hover[b-a2jrh4fg5u] {
        background-color: var(--primary-color);
        color: #fff;
    }

.btn-secondary-themed[b-a2jrh4fg5u] {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

    .btn-secondary-themed:hover[b-a2jrh4fg5u] {
        background-color: var(--hover-background-color);
        border-color: var(--text-color);
    }

.btn-edit-themed[b-a2jrh4fg5u] {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
}

    .btn-edit-themed:hover[b-a2jrh4fg5u] {
        opacity: 0.85;
    }

.btn-danger-themed[b-a2jrh4fg5u] {
    background-color: #dc3545;
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
}

    .btn-danger-themed:hover[b-a2jrh4fg5u] {
        background-color: #c82333;
    }

/* --- Tabs Styling --- */
[b-a2jrh4fg5u] .production-tabs .nav-tabs {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

[b-a2jrh4fg5u] .production-tabs .nav-link {
    background-color: transparent;
    border: 1px solid transparent;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    color: var(--subtle-text-color);
    padding: 0.75rem 1.25rem;
    transition: all 0.2s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    [b-a2jrh4fg5u] .production-tabs .nav-link:hover {
        color: var(--primary-color-darker);
        border-color: transparent;
    }

    [b-a2jrh4fg5u] .production-tabs .nav-link.active {
        background-color: var(--card-background-color);
        border-color: var(--border-color);
        border-bottom-color: var(--card-background-color);
        color: var(--text-color);
        font-weight: 600;
    }

@media (prefers-color-scheme: dark) {
    [b-a2jrh4fg5u] .production-tabs .nav-link.active {
        border-bottom-color: var(--card-background-color);
    }
}

/* --- Weekly Forecast Grid Layout --- */
.weekly-forecasts-grid[b-a2jrh4fg5u] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.forecast-card[b-a2jrh4fg5u] {
    background-color: var(--card-background-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.forecast-card-header[b-a2jrh4fg5u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--app-background-color);
}

@media (prefers-color-scheme: dark) {
    .forecast-card-header[b-a2jrh4fg5u] {
        background-color: var(--sidebar-background-color);
    }
}

.forecast-week-title[b-a2jrh4fg5u] {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.forecast-actions[b-a2jrh4fg5u] {
    display: flex;
    gap: 0.5rem;
}

.forecast-card-body[b-a2jrh4fg5u] {
    padding: 1.25rem;
    flex-grow: 1;
    overflow-y: auto;
}

/* --- Table Styles --- */
.data-table[b-a2jrh4fg5u] {
    width: 100%;
    border-collapse: collapse;
}

    .data-table th[b-a2jrh4fg5u] {
        font-weight: 600;
        text-align: left;
        color: var(--subtle-text-color);
        padding: 0.75rem 1rem;
        border-bottom: 2px solid var(--border-color);
        font-size: 0.9rem;
    }

    .data-table td[b-a2jrh4fg5u] {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-color);
        vertical-align: middle;
    }

    .data-table tbody tr:last-child td[b-a2jrh4fg5u] {
        border-bottom: none;
    }

.table-responsive[b-a2jrh4fg5u] {
    width: 100%;
    overflow-x: auto;
}

/* --- Material Overview/Order Creator Table Specific Styles --- */
.data-table tr.table-warning[b-a2jrh4fg5u] {
    background-color: color-mix(in srgb, var(--primary-color) 10%, transparent);
    color: var(--text-color);
}

.data-table tr.table-danger[b-a2jrh4fg5u] {
    background-color: color-mix(in srgb, #dc3545 10%, transparent);
    color: var(--text-color);
    font-weight: 600;
}

@media (prefers-color-scheme: dark) {
    .data-table tr.table-warning[b-a2jrh4fg5u] {
        background-color: color-mix(in srgb, var(--primary-color) 20%, transparent);
        color: var(--text-color);
    }

    .data-table tr.table-danger[b-a2jrh4fg5u] {
        background-color: color-mix(in srgb, #dc3545 20%, transparent);
        color: var(--text-color);
    }
}

/* --- Loading Spinner --- */
.loading-container[b-a2jrh4fg5u] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

.spinner-themed[b-a2jrh4fg5u] {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    color: var(--primary-color);
}

/* --- Text ---*/
.form-text[b-a2jrh4fg5u] {
    color: #A1B4B6;
}

/* --- Utility Classes --- */
.d-none[b-a2jrh4fg5u] {
    display: none !important;
}

.d-show-flex[b-a2jrh4fg5u] {
    display: flex !important;
}
/* /Pages/ProductionForecastsArchive.razor.rz.scp.css */
/* ProductionForecastsArchive.razor.css */

.page-title[b-p229nbree4] {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-color);
}

.basic-text[b-p229nbree4] {
    color: var(--text-color);
}

.loading-container[b-p229nbree4] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.spinner-themed[b-p229nbree4] {
    color: var(--primary-color);
    width: 3rem;
    height: 3rem;
}

.accordion-item[b-p229nbree4] {
    background-color: var(--card-background-color);
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
}

.accordion-button[b-p229nbree4] {
    background-color: var(--card-background-color);
    color: var(--text-color);
}

.accordion-button:not(.collapsed)[b-p229nbree4] {
    background-color: var(--hover-background-color);
    color: var(--text-color);
}

.accordion-body[b-p229nbree4] {
    background-color: var(--card-background-color);
    color: var(--text-color);
}
/* /Pages/Products.razor.rz.scp.css */
/* Pages/Products.razor.css */

/* --- Page Header Styles --- */
.page-title[b-nqq59yd0fj] {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.page-subtitle[b-nqq59yd0fj] {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--subtle-text-color);
    margin-bottom: 2rem;
}

    .page-subtitle b[b-nqq59yd0fj] {
        color: var(--text-color);
        font-weight: 600;
    }

/* --- Text ---*/
.form-text[b-nqq59yd0fj] {
    color: #A1B4B6;
}

/* Material link styling */
.material-link[b-nqq59yd0fj] {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
}

.material-link:hover[b-nqq59yd0fj] {
    text-decoration: underline;
    color: var(--primary-color-hover);
}

/* --- Not Authorized Styles --- */
.not-authorized-container[b-nqq59yd0fj] {
    background-color: var(--card-background-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 4rem auto;
    color: var(--text-color);
}

    .not-authorized-container h3[b-nqq59yd0fj] {
        font-size: 1.75rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--text-color);
    }

    .not-authorized-container p[b-nqq59yd0fj] {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.5;
        color: var(--subtle-text-color);
    }

    .not-authorized-container .login-link[b-nqq59yd0fj] {
        color: var(--primary-color-darker);
        text-decoration: none;
        font-weight: 600;
    }

        .not-authorized-container .login-link:hover[b-nqq59yd0fj] {
            color: var(--primary-color);
            text-decoration: underline;
        }

/* --- Main Content Card --- */
.content-card[b-nqq59yd0fj] {
    background-color: var(--card-background-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    .content-card[b-nqq59yd0fj] {
        border: 1px solid var(--border-color);
    }
}

/* --- Action Bar (Search Input + Add Button) --- */
.action-bar[b-nqq59yd0fj] {
    display: flex;
    justify-content: space-between; /* Adjusted to justify-content-end in razor, if needed */
    align-items: center;
    flex-wrap: wrap; /* Allows items to wrap on small screens */
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* --- Themed Buttons (reused from Materials) --- */
.btn-primary-themed[b-nqq59yd0fj], .btn-secondary-themed[b-nqq59yd0fj], .btn-edit-themed[b-nqq59yd0fj], .btn-danger-themed[b-nqq59yd0fj], .btn-info-themed[b-nqq59yd0fj] {
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    /* Common padding to try and normalize height */
    padding: 0.5rem 1.25rem;
    display: inline-flex; /* For consistent icon alignment */
    align-items: center;
    gap: 0.5rem; /* Space between icon and text */
    height: 40px; /* Explicit fixed height to ensure consistency across inputs/buttons */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}


.btn-primary-themed[b-nqq59yd0fj] {
    background-color: var(--primary-color-darker);
    color: #fff;
}

    .btn-primary-themed:hover[b-nqq59yd0fj] {
        background-color: var(--primary-color);
        color: #fff;
    }

.btn-secondary-themed[b-nqq59yd0fj] {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

    .btn-secondary-themed:hover[b-nqq59yd0fj] {
        background-color: var(--hover-background-color);
        border-color: var(--text-color);
    }

.btn-edit-themed[b-nqq59yd0fj] {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.25rem 0.75rem; /* A bit smaller for table actions */
    font-size: 0.8rem;
    border-radius: 6px; /* Slightly smaller radius for a smaller button */
    height: 32px; /* Adjusted height for smaller buttons */
}

    .btn-edit-themed:hover[b-nqq59yd0fj] {
        opacity: 0.85;
    }

.btn-danger-themed[b-nqq59yd0fj] {
    background-color: #dc3545; /* Bootstrap danger red */
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
    height: 32px; /* Adjusted height for smaller buttons */
}

    .btn-danger-themed:hover[b-nqq59yd0fj] {
        background-color: #c82333; /* Darker red on hover */
    }

.btn-info-themed[b-nqq59yd0fj] {
    background-color: #17a2b8; /* Bootstrap info blue */
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
    height: 32px; /* Adjusted height for smaller buttons */
}

    .btn-info-themed:hover[b-nqq59yd0fj] {
        background-color: #138496; /* Darker info blue on hover */
    }


/* --- Search Input --- */
.search-input-group[b-nqq59yd0fj] {
    display: flex; /* Key to making them sit side-by-side */
    max-width: 500px; /* Or whatever maximum width you prefer */
    flex-grow: 1; /* Allows it to take available space */
}

    .search-input-group input[b-nqq59yd0fj] {
        flex-grow: 1; /* Allows input to expand */
        border-radius: 8px 0 0 8px; /* Rounded left, sharp right */
        border: 1px solid var(--border-color);
        padding: 0.5rem 1rem;
        background-color: var(--app-background-color);
        color: var(--text-color);
        outline: none;
        box-shadow: none;
        position: relative;
        z-index: 1;
        height: 40px; /* Explicitly set height for input to match button */
        box-sizing: border-box; /* Include padding and border in height */
    }

        .search-input-group input:focus[b-nqq59yd0fj] {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary-color) 25%, transparent);
        }

    .search-input-group button[b-nqq59yd0fj] {
        border-radius: 0 8px 8px 0; /* Sharp left, rounded right */
        border: 1px solid var(--border-color); /* Same border as input */
        border-left: none; /* Crucial: removes the left border to make it continuous */
        margin-left: -1px; /* Overlap by 1px to perfectly merge borders */
        z-index: 0; /* Keep it behind the input for the shared border */
        height: 40px; /* Explicitly set height for button to match input */
        box-sizing: border-box; /* Include padding and border in height */
    }

/* Fix for placeholder text in dark mode */
@media (prefers-color-scheme: dark) {
    .search-input-group input[b-nqq59yd0fj]::placeholder {
        color: var(--subtle-text-color);
        opacity: 0.8;
    }
}


/* --- Table Styles (reused from Home/Materials) --- */
.data-table[b-nqq59yd0fj] {
    width: 100%; /* Ensure table takes full width of its container */
    border-collapse: collapse; /* This is key for consistent borders */
}

    .data-table th[b-nqq59yd0fj] {
        font-weight: 600;
        text-align: left;
        color: var(--subtle-text-color);
        padding: 0.75rem 1rem;
        border-bottom: 2px solid var(--border-color);
        font-size: 0.9rem;
    }

    /* Apply borders to all td elements in the main data-table */
    .data-table td[b-nqq59yd0fj] {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-color);
        vertical-align: middle;
    }

    /* Ensure the last row's cells still have a bottom border if it's not a detail row */
    .data-table tbody tr:not(.detail-row):last-child td[b-nqq59yd0fj] {
        border-bottom: 1px solid var(--border-color);
    }


.table-responsive[b-nqq59yd0fj] {
    width: 100%; /* Ensure the responsive container takes full width */
    overflow-x: auto;
}

/* --- Expandable Table Specific Styles --- */
.expandable-table[b-nqq59yd0fj] {
    margin-bottom: 1.5rem; /* Space before pagination */
}

    .expandable-table .toggle-column[b-nqq59yd0fj] {
        width: 40px; /* Fixed width for toggle icon */
        text-align: center;
        cursor: pointer;
    }

    .expandable-table .actions-column-wide[b-nqq59yd0fj] {
        /* Removed fixed width, letting content dictate or using flex-grow */
        text-align: right;
        display: flex; /* Allow buttons to sit side-by-side */
        gap: 0.5rem; /* Space between buttons */
        align-items: center; /* Vertically align buttons */
        justify-content: flex-end; /* Align buttons to the right within the cell */
        /* Optional: Add min-width if buttons wrap too aggressively on small screens */
        min-width: fit-content; /* or a specific px value like 250px */
    }

    .expandable-table .parent-row[b-nqq59yd0fj] {
        background-color: var(--card-background-color); /* Matches card background */
        transition: background-color 0.2s ease;
    }

        .expandable-table .parent-row:hover[b-nqq59yd0fj] {
            background-color: var(--hover-background-color);
        }

    .expandable-table .detail-row td[b-nqq59yd0fj] {
        background-color: var(--app-background-color); /* Slightly different background for detail row */
        padding: 1rem 1.5rem; /* More padding for nested content */
        border-bottom: 2px solid var(--border-color); /* Stronger bottom border for separation from content below */
        border-top: none; /* Prevent double border */
    }

    /* Ensure detail rows themselves have their own top and bottom borders if they aren't adjacent */
    .expandable-table .detail-row:not(:last-child) td[b-nqq59yd0fj] {
        border-bottom: 1px solid var(--border-color); /* General bottom border for detail rows */
    }

@media (prefers-color-scheme: dark) {
    .expandable-table .detail-row td[b-nqq59yd0fj] {
        background-color: var(--sidebar-background-color); /* Darker background in dark mode */
    }
}

.nested-table-container[b-nqq59yd0fj] {
    padding: 0.5rem 0; /* Padding inside the detail row cell */
}

.nested-table[b-nqq59yd0fj] {
    width: 100%; /* Ensure nested table also takes full width */
    border-collapse: collapse; /* Ensure nested table also collapses borders */
    margin-bottom: 1rem; /* Space between nested table and total materials card */
}

    /* Apply borders to all th and td elements in the nested table explicitly */
    .nested-table th[b-nqq59yd0fj],
    .nested-table td[b-nqq59yd0fj] {
        padding: 0.5rem 0.75rem; /* Smaller padding for nested table cells */
        font-size: 0.85rem;
        border: 1px solid var(--border-color); /* Explicitly set all borders */
    }

    /* Remove border-top from first row in tbody, and border-left/right from first/last cell */
    .nested-table tbody tr:first-child td[b-nqq59yd0fj] {
        border-top: none;
    }

    .nested-table thead th[b-nqq59yd0fj] {
        border-top: none; /* No top border for header */
        border-left: none; /* No left border for first header cell */
        border-right: none; /* No right border for last header cell */
    }

        .nested-table thead th:first-child[b-nqq59yd0fj] {
            border-left: 1px solid var(--border-color); /* Add left border back for first header cell */
        }

        .nested-table thead th:last-child[b-nqq59yd0fj] {
            border-right: 1px solid var(--border-color); /* Add right border back for last header cell */
        }

    .nested-table tbody td:first-child[b-nqq59yd0fj] {
        border-left: 1px solid var(--border-color); /* Add left border back for first data cell */
    }

    .nested-table tbody td:last-child[b-nqq59yd0fj] {
        border-right: 1px solid var(--border-color); /* Add right border back for last data cell */
    }

    /* Ensure the last row's cells still have a bottom border */
    .nested-table tbody tr:last-child td[b-nqq59yd0fj] {
        border-bottom: 1px solid var(--border-color);
    }


.material-part-column[b-nqq59yd0fj] {
    width: 150px; /* Give a fixed width to the material part number column in nested table */
}

.total-materials-card[b-nqq59yd0fj] {
    background-color: var(--hover-background-color); /* Subtle background for this info card */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: inline-block; /* Makes it fit its content */
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
}

    .total-materials-card .text-themed[b-nqq59yd0fj] {
        color: var(--primary-color-darker); /* Highlight the number */
        font-weight: 700;
    }

.material-link[b-nqq59yd0fj] {
    cursor: pointer;
    color: var(--primary-color-darker);
    text-decoration: underline;
    transition: color 0.2s ease;
    display: block; /* Ensure the whole cell content is clickable/styleable */
}

    .material-link:hover[b-nqq59yd0fj] {
        color: var(--primary-color);
    }

/* --- Pagination (reused from Materials) --- */
.pagination-container[b-nqq59yd0fj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    color: var(--subtle-text-color);
}

.pagination-controls[b-nqq59yd0fj] {
    display: flex;
    gap: 0.5rem;
}

    .pagination-controls .btn-secondary-themed.disabled[b-nqq59yd0fj] {
        opacity: 0.5;
        cursor: not-allowed;
        background-color: transparent;
        border-color: var(--border-color);
    }

/* --- Loading Spinner (reused) --- */
.loading-container[b-nqq59yd0fj] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

.spinner-themed[b-nqq59yd0fj] {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    color: var(--primary-color);
}

/* --- Utility Classes for Bootstrap D-None/D-Show replacement with theme support --- */
.d-none[b-nqq59yd0fj] {
    display: none !important;
}

.d-show-flex[b-nqq59yd0fj] {
    display: flex !important;
}
/* /Pages/PurchaseOrders.razor.rz.scp.css */
/* Pages/PurchaseOrders.razor.css */

/* --- Page Header Styles --- */
.page-title[b-6nlrpjs8e3] {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.page-subtitle[b-6nlrpjs8e3] {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--subtle-text-color);
    margin-bottom: 2rem;
}

    .page-subtitle b[b-6nlrpjs8e3] {
        color: var(--text-color);
        font-weight: 600;
    }

/* --- Text ---*/
.form-text[b-6nlrpjs8e3] {
    color: #A1B4B6;
}

/* --- Not Authorized Styles --- */
.not-authorized-container[b-6nlrpjs8e3] {
    background-color: var(--card-background-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 4rem auto;
    color: var(--text-color);
}

    .not-authorized-container h3[b-6nlrpjs8e3] {
        font-size: 1.75rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--text-color);
    }

    .not-authorized-container p[b-6nlrpjs8e3] {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.5;
        color: var(--subtle-text-color);
    }

    .not-authorized-container .login-link[b-6nlrpjs8e3] {
        color: var(--primary-color-darker);
        text-decoration: none;
        font-weight: 600;
    }

        .not-authorized-container .login-link:hover[b-6nlrpjs8e3] {
            color: var(--primary-color);
            text-decoration: underline;
        }

/* --- Main Content Card --- */
.content-card[b-6nlrpjs8e3] {
    background-color: var(--card-background-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    .content-card[b-6nlrpjs8e3] {
        border: 1px solid var(--border-color);
    }
}

/* --- Action Bar (Search Input + Add Button) --- */
.action-bar[b-6nlrpjs8e3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows items to wrap on small screens */
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* --- Themed Buttons (reused from Materials) --- */
.btn-primary-themed[b-6nlrpjs8e3], .btn-secondary-themed[b-6nlrpjs8e3], .btn-edit-themed[b-6nlrpjs8e3], .btn-danger-themed[b-6nlrpjs8e3], .btn-info-themed[b-6nlrpjs8e3] {
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    padding: 0.5rem 1.25rem;
    display: inline-flex; /* For consistent icon alignment */
    align-items: center;
    gap: 0.5rem; /* Space between icon and text */
    height: 40px; /* Explicit fixed height to ensure consistency across inputs/buttons */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.btn-primary-themed[b-6nlrpjs8e3] {
    background-color: var(--primary-color-darker);
    color: #fff;
}

    .btn-primary-themed:hover[b-6nlrpjs8e3] {
        background-color: var(--primary-color);
        color: #fff;
    }

.btn-secondary-themed[b-6nlrpjs8e3] {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

    .btn-secondary-themed:hover[b-6nlrpjs8e3] {
        background-color: var(--hover-background-color);
        border-color: var(--text-color);
    }

.btn-edit-themed[b-6nlrpjs8e3] {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.25rem 0.75rem; /* A bit smaller for table actions */
    font-size: 0.8rem;
    border-radius: 6px; /* Slightly smaller radius for a smaller button */
    height: 32px; /* Adjusted height for smaller buttons */
}

    .btn-edit-themed:hover[b-6nlrpjs8e3] {
        opacity: 0.85;
    }

.btn-danger-themed[b-6nlrpjs8e3] {
    background-color: #dc3545; /* Bootstrap danger red */
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
    height: 32px; /* Adjusted height for smaller buttons */
}

    .btn-danger-themed:hover[b-6nlrpjs8e3] {
        background-color: #c82333; /* Darker red on hover */
    }

.btn-info-themed[b-6nlrpjs8e3] {
    background-color: #17a2b8; /* Bootstrap info blue */
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
    height: 32px; /* Adjusted height for smaller buttons */
}

    .btn-info-themed:hover[b-6nlrpjs8e3] {
        background-color: #138496; /* Darker info blue on hover */
    }

/* --- Search Input (reused from Materials) --- */
.search-input-group[b-6nlrpjs8e3] {
    display: flex;
    max-width: 500px;
    flex-grow: 1;
}

    .search-input-group input[b-6nlrpjs8e3] {
        flex-grow: 1;
        border-radius: 8px 0 0 8px;
        border: 1px solid var(--border-color);
        padding: 0.5rem 1rem;
        background-color: var(--app-background-color);
        color: var(--text-color);
        outline: none;
        box-shadow: none;
        position: relative;
        z-index: 1;
        height: 40px; /* Explicitly set height for input to match button */
        box-sizing: border-box; /* Include padding and border in height */
    }

        .search-input-group input:focus[b-6nlrpjs8e3] {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary-color) 25%, transparent);
        }

    .search-input-group button[b-6nlrpjs8e3] {
        border-radius: 0 8px 8px 0;
        border: 1px solid var(--border-color);
        border-left: none;
        margin-left: -1px;
        z-index: 0;
        height: 40px; /* Explicitly set height for button to match input */
        box-sizing: border-box;
    }

/* Fix for placeholder text in dark mode */
@media (prefers-color-scheme: dark) {
    .search-input-group input[b-6nlrpjs8e3]::placeholder {
        color: var(--subtle-text-color);
        opacity: 0.8;
    }
}

/* --- Table Styles (reused from Home/Materials) --- */
.data-table[b-6nlrpjs8e3] {
    width: 100%;
    border-collapse: collapse;
}

    .data-table th[b-6nlrpjs8e3] {
        font-weight: 600;
        text-align: left;
        color: var(--subtle-text-color);
        padding: 0.75rem 1rem;
        border-bottom: 2px solid var(--border-color);
        font-size: 0.9rem;
    }

    .data-table td[b-6nlrpjs8e3] {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-color);
        vertical-align: middle;
    }

    .data-table tbody tr:last-child td[b-6nlrpjs8e3] {
        border-bottom: none; /* Removed for the last row to avoid double border with pagination or content-card bottom */
    }

.table-responsive[b-6nlrpjs8e3] {
    width: 100%;
    overflow-x: auto;
}

/* --- Purchase Order Table Specific Styles --- */
.report-column[b-6nlrpjs8e3] {
    width: 120px; /* Fixed width for report button column */
    text-align: center;
}

.actions-column[b-6nlrpjs8e3] {
    width: 100px; /* Fixed width for edit button column */
    text-align: center;
}

/* Status Badge Styles (reused from Home) */
.status-badge[b-6nlrpjs8e3] {
    padding: 0.35em 0.75em;
    font-weight: 500;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid;
    display: inline-block; /* Ensure it respects padding/margins */
    text-align: center;
}

.status-active[b-6nlrpjs8e3] {
    background-color: #e0f2f1;
    color: #00796b;
    border-color: #00796b;
}

.status-inactive[b-6nlrpjs8e3] {
    background-color: #e9ecef; /* Light gray */
    color: #6c757d; /* Darker gray text */
    border-color: #6c757d;
}

.status-cancelled[b-6nlrpjs8e3] {
    background-color: #ffebee;
    color: #c62828;
    border-color: #c62828;
}

.status-onhold[b-6nlrpjs8e3] {
    background-color: #ede7f6;
    color: #512da8;
    border-color: #512da8;
}

/* A new color for "Not Shipped" status on this page */
.status-not-shipped[b-6nlrpjs8e3] {
    background-color: color-mix(in srgb, var(--primary-color) 10%, transparent); /* A light primary background */
    color: var(--primary-color-darker);
    border-color: var(--primary-color);
}


/* Dark mode badge styles */
@media (prefers-color-scheme: dark) {
    .status-badge[b-6nlrpjs8e3] {
        background-color: transparent;
    }

    .status-active[b-6nlrpjs8e3] {
        color: #80cbc4;
    }

    .status-inactive[b-6nlrpjs8e3] {
        color: #a1b4b6; /* Lighter subtle text color */
    }

    .status-cancelled[b-6nlrpjs8e3] {
        color: #ef9a9a;
    }

    .status-onhold[b-6nlrpjs8e3] {
        color: #ce93d8;
    }

    .status-not-shipped[b-6nlrpjs8e3] {
        color: var(--primary-color); /* Bright primary color for visibility */
    }
}


/* --- Pagination (reused from Materials) --- */
.pagination-container[b-6nlrpjs8e3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    color: var(--subtle-text-color);
}

.pagination-controls[b-6nlrpjs8e3] {
    display: flex;
    gap: 0.5rem;
}

    .pagination-controls .btn-secondary-themed.disabled[b-6nlrpjs8e3] {
        opacity: 0.5;
        cursor: not-allowed;
        background-color: transparent;
        border-color: var(--border-color);
    }

/* --- Loading Spinner (reused) --- */
.loading-container[b-6nlrpjs8e3] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

.spinner-themed[b-6nlrpjs8e3] {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    color: var(--primary-color);
}

/* --- Utility Classes for Bootstrap D-None/D-Show replacement with theme support --- */
.d-none[b-6nlrpjs8e3] {
    display: none !important;
}

.d-show-flex[b-6nlrpjs8e3] {
    display: flex !important;
}
/* /Pages/PurchaseOrdersHistory.razor.rz.scp.css */
/* PurchaseOrdersHistory.razor.css */

/* --- Page Header Styles --- */
.page-title[b-8pj8byzufx] {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.page-subtitle[b-8pj8byzufx] {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--subtle-text-color);
    margin-bottom: 2rem;
}

    .page-subtitle b[b-8pj8byzufx] {
        color: var(--text-color);
        font-weight: 600;
    }

/* --- Basic Text Style --- */
.basic-text[b-8pj8byzufx] {
    color: #A1B4B6;
}

/* --- Main Content Card --- */
.content-card[b-8pj8byzufx] {
    background-color: var(--card-background-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    .content-card[b-8pj8byzufx] {
        border: 1px solid var(--border-color);
    }
}

/* --- Action Bar (Search Input + Add Button) --- */
.action-bar[b-8pj8byzufx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* --- Themed Buttons --- */
.btn-primary-themed[b-8pj8byzufx], .btn-secondary-themed[b-8pj8byzufx], .btn-edit-themed[b-8pj8byzufx], .btn-danger-themed[b-8pj8byzufx], .btn-info-themed[b-8pj8byzufx] {
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    padding: 0.5rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 40px;
    box-sizing: border-box;
}

.btn-primary-themed[b-8pj8byzufx] {
    background-color: var(--primary-color-darker);
    color: #fff;
}

    .btn-primary-themed:hover[b-8pj8byzufx] {
        background-color: var(--primary-color);
        color: #fff;
    }

.btn-secondary-themed[b-8pj8byzufx] {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

    .btn-secondary-themed:hover[b-8pj8byzufx] {
        background-color: var(--hover-background-color);
        border-color: var(--text-color);
    }

.btn-edit-themed[b-8pj8byzufx] {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
    height: 32px;
}

    .btn-edit-themed:hover[b-8pj8byzufx] {
        opacity: 0.85;
    }

.btn-danger-themed[b-8pj8byzufx] {
    background-color: #dc3545;
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
    height: 32px;
}

    .btn-danger-themed:hover[b-8pj8byzufx] {
        background-color: #c82333;
    }

.btn-info-themed[b-8pj8byzufx] {
    background-color: #17a2b8;
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
    height: 32px;
}

    .btn-info-themed:hover[b-8pj8byzufx] {
        background-color: #138496;
    }

/* --- Search Input --- */
.search-input-group[b-8pj8byzufx] {
    display: flex;
    max-width: 500px;
    flex-grow: 1;
}

    .search-input-group input[b-8pj8byzufx] {
        flex-grow: 1;
        border-radius: 8px 0 0 8px;
        border: 1px solid var(--border-color);
        padding: 0.5rem 1rem;
        background-color: var(--app-background-color);
        color: var(--text-color);
        outline: none;
        box-shadow: none;
        position: relative;
        z-index: 1;
        height: 40px;
        box-sizing: border-box;
    }

        .search-input-group input:focus[b-8pj8byzufx] {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary-color) 25%, transparent);
        }

    .search-input-group button[b-8pj8byzufx] {
        border-radius: 0 8px 8px 0;
        border: 1px solid var(--border-color);
        border-left: none;
        margin-left: -1px;
        z-index: 0;
        height: 40px;
        box-sizing: border-box;
    }

@media (prefers-color-scheme: dark) {
    .search-input-group input[b-8pj8byzufx]::placeholder {
        color: var(--subtle-text-color);
        opacity: 0.8;
    }
}

/* --- Table Styles --- */
.data-table[b-8pj8byzufx] {
    width: 100%;
    border-collapse: collapse;
}

    .data-table th[b-8pj8byzufx] {
        font-weight: 600;
        text-align: left;
        color: var(--subtle-text-color);
        padding: 0.75rem 1rem;
        border-bottom: 2px solid var(--border-color);
        font-size: 0.9rem;
    }

    .data-table td[b-8pj8byzufx] {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-color);
        vertical-align: middle;
    }

    .data-table tbody tr:last-child td[b-8pj8byzufx] {
        border-bottom: none;
    }

.table-responsive[b-8pj8byzufx] {
    width: 100%;
    overflow-x: auto;
}

.actions-column[b-8pj8byzufx] {
    width: 100px;
    text-align: center;
}

/* Status Badge Styles */
.status-badge[b-8pj8byzufx] {
    padding: 0.35em 0.75em;
    font-weight: 500;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid;
    display: inline-block;
    text-align: center;
}

.status-active[b-8pj8byzufx] {
    background-color: #e0f2f1;
    color: #00796b;
    border-color: #00796b;
}

.status-inactive[b-8pj8byzufx] {
    background-color: #e9ecef;
    color: #6c757d;
    border-color: #6c757d;
}

.status-cancelled[b-8pj8byzufx] {
    background-color: #ffebee;
    color: #c62828;
    border-color: #c62828;
}

.status-onhold[b-8pj8byzufx] {
    background-color: #ede7f6;
    color: #512da8;
    border-color: #512da8;
}

.status-not-shipped[b-8pj8byzufx] {
    background-color: color-mix(in srgb, var(--primary-color) 10%, transparent);
    color: var(--primary-color-darker);
    border-color: var(--primary-color);
}

/* Dark mode badge styles */
@media (prefers-color-scheme: dark) {
    .status-badge[b-8pj8byzufx] {
        background-color: transparent;
    }

    .status-active[b-8pj8byzufx] {
        color: #80cbc4;
    }

    .status-inactive[b-8pj8byzufx] {
        color: #a1b4b6;
    }

    .status-cancelled[b-8pj8byzufx] {
        color: #ef9a9a;
    }

    .status-onhold[b-8pj8byzufx] {
        color: #ce93d8;
    }

    .status-not-shipped[b-8pj8byzufx] {
        color: var(--primary-color);
    }
}

/* --- Pagination --- */
.pagination-container[b-8pj8byzufx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    color: var(--subtle-text-color);
}

.pagination-controls[b-8pj8byzufx] {
    display: flex;
    gap: 0.5rem;
}

    .pagination-controls .btn-secondary-themed.disabled[b-8pj8byzufx] {
        opacity: 0.5;
        cursor: not-allowed;
        background-color: transparent;
        border-color: var(--border-color);
    }

/* --- Loading Spinner --- */
.loading-container[b-8pj8byzufx] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

.spinner-themed[b-8pj8byzufx] {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    color: var(--primary-color);
}
/* /Pages/ShippingForecasts.razor.rz.scp.css */
/* Pages/ShippingForecasts.razor.css */

/* --- Page Header Styles --- */
.page-title[b-troomni263] {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.page-subtitle[b-troomni263] {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--subtle-text-color);
    margin-bottom: 2rem;
}

    .page-subtitle b[b-troomni263] {
        color: var(--text-color);
        font-weight: 600;
    }

/* --- Basic Text Style --- */
.basic-text[b-troomni263] {
    color: #A1B4B6; /* As requested */
}

/* --- Main Content Card --- */
.content-card[b-troomni263] {
    background-color: var(--card-background-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    .content-card[b-troomni263] {
        border: 1px solid var(--border-color);
    }
}

/* --- Action Bar (Buttons) --- */
.action-bar[b-troomni263] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* --- Themed Buttons --- */
.btn-primary-themed[b-troomni263], .btn-secondary-themed[b-troomni263], .btn-edit-themed[b-troomni263], .btn-danger-themed[b-troomni263], .btn-info-themed[b-troomni263] {
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    padding: 0.5rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 40px;
    box-sizing: border-box;
}

.btn-primary-themed[b-troomni263] {
    background-color: var(--primary-color-darker);
    color: #fff;
}

    .btn-primary-themed:hover[b-troomni263] {
        background-color: var(--primary-color);
        color: #fff;
    }

.btn-secondary-themed[b-troomni263] {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

    .btn-secondary-themed:hover[b-troomni263] {
        background-color: var(--hover-background-color);
        border-color: var(--text-color);
    }

.btn-edit-themed[b-troomni263] {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
    height: 32px;
}

    .btn-edit-themed:hover[b-troomni263] {
        opacity: 0.85;
    }

.btn-danger-themed[b-troomni263] {
    background-color: #dc3545;
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
    height: 32px;
}

    .btn-danger-themed:hover[b-troomni263] {
        background-color: #c82333;
    }

.btn-info-themed[b-troomni263] {
    background-color: #17a2b8;
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
    height: 32px;
}

    .btn-info-themed:hover[b-troomni263] {
        background-color: #138496;
    }

/* --- Tabs Styling --- */
[b-troomni263] .shipping-tabs .nav-tabs {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

[b-troomni263] .shipping-tabs .nav-link {
    background-color: transparent;
    border: 1px solid transparent;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    color: var(--subtle-text-color);
    padding: 0.75rem 1.25rem;
    transition: all 0.2s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    [b-troomni263] .shipping-tabs .nav-link:hover {
        color: var(--primary-color-darker);
        border-color: transparent;
    }

    [b-troomni263] .shipping-tabs .nav-link.active {
        background-color: var(--card-background-color);
        border-color: var(--border-color);
        border-bottom-color: var(--card-background-color);
        color: var(--text-color);
        font-weight: 600;
    }

@media (prefers-color-scheme: dark) {
    [b-troomni263] .shipping-tabs .nav-link.active {
        border-bottom-color: var(--card-background-color);
    }
}

/* --- Weekly Forecast Grid Layout --- */
.weekly-forecasts-grid[b-troomni263] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.forecast-card[b-troomni263] {
    background-color: var(--card-background-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.forecast-card-header[b-troomni263] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--app-background-color);
}

@media (prefers-color-scheme: dark) {
    .forecast-card-header[b-troomni263] {
        background-color: var(--sidebar-background-color);
    }
}

.forecast-week-title[b-troomni263] {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.forecast-actions[b-troomni263] {
    display: flex;
    gap: 0.5rem;
}

.forecast-card-body[b-troomni263] {
    padding: 1.25rem;
    flex-grow: 1;
    overflow-y: auto;
}

/* --- Table Styles --- */
.data-table[b-troomni263] {
    width: 100%;
    border-collapse: collapse;
}

    .data-table th[b-troomni263] {
        font-weight: 600;
        text-align: left;
        color: var(--subtle-text-color);
        padding: 0.75rem 1rem;
        border-bottom: 2px solid var(--border-color);
        font-size: 0.9rem;
    }

    .data-table td[b-troomni263] {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-color);
        vertical-align: middle;
    }

    .data-table tbody tr:last-child td[b-troomni263] {
        border-bottom: none;
    }

.table-responsive[b-troomni263] {
    width: 100%;
    overflow-x: auto;
}

/* --- Material Overview/Order Creator Table Specific Styles --- */
.data-table tr.table-warning[b-troomni263] {
    background-color: color-mix(in srgb, var(--primary-color) 10%, transparent);
    color: var(--text-color);
}

.data-table tr.table-danger[b-troomni263] {
    background-color: color-mix(in srgb, #dc3545 10%, transparent);
    color: var(--text-color);
    font-weight: 600;
}

@media (prefers-color-scheme: dark) {
    .data-table tr.table-warning[b-troomni263] {
        background-color: color-mix(in srgb, var(--primary-color) 20%, transparent);
        color: var(--text-color);
    }

    .data-table tr.table-danger[b-troomni263] {
        background-color: color-mix(in srgb, #dc3545 20%, transparent);
        color: var(--text-color);
    }
}

/* --- Loading Spinner --- */
.loading-container[b-troomni263] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

.spinner-themed[b-troomni263] {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    color: var(--primary-color);
}

/* --- Utility Classes --- */
.d-none[b-troomni263] {
    display: none !important;
}

.d-show-flex[b-troomni263] {
    display: flex !important;
}
/* /Pages/ShippingForecastsArchive.razor.rz.scp.css */
/* ShippingForecastsArchive.razor.css */

.page-title[b-tpr21gistq] {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-color);
}

.basic-text[b-tpr21gistq] {
    color: var(--text-color);
}

.loading-container[b-tpr21gistq] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.spinner-themed[b-tpr21gistq] {
    color: var(--primary-color);
    width: 3rem;
    height: 3rem;
}

.accordion-item[b-tpr21gistq] {
    background-color: var(--card-background-color);
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
}

.accordion-button[b-tpr21gistq] {
    background-color: var(--card-background-color);
    color: var(--text-color);
}

.accordion-button:not(.collapsed)[b-tpr21gistq] {
    background-color: var(--hover-background-color);
    color: var(--text-color);
}

.accordion-body[b-tpr21gistq] {
    background-color: var(--card-background-color);
    color: var(--text-color);
}
