/* =========================================================
   BoulangerieOS — Global application stylesheet
   .NET 10 Blazor Web App + MAUI Blazor Hybrid
   Warm bakery brown, amber and neutral theme
   ========================================================= */

:root {
    color-scheme: light;
    --bo-primary: #8B4513;
    --bo-primary-hover: #6F350E;
    --bo-primary-soft: #F5E8DD;
    --bo-secondary: #D97706;
    --bo-secondary-hover: #B85F05;
    --bo-secondary-soft: #FFF2D8;
    --bo-background: #F8F7F4;
    --bo-surface: #FFFFFF;
    --bo-surface-muted: #F4F1EC;
    --bo-text: #24201D;
    --bo-text-secondary: #756B63;
    --bo-text-muted: #958A81;
    --bo-border: #E9E3DC;
    --bo-border-strong: #D8CEC3;
    --bo-success: #238636;
    --bo-success-soft: #E8F6EB;
    --bo-warning: #B85F05;
    --bo-warning-soft: #FFF3D6;
    --bo-danger: #DC2626;
    --bo-danger-soft: #FDECEC;
    --bo-info: #2563EB;
    --bo-info-soft: #EAF1FF;
    --bo-sidebar-width: 252px;
    --bo-topbar-height: 72px;
    --bo-radius-sm: 8px;
    --bo-radius-md: 12px;
    --bo-radius-lg: 16px;
    --bo-shadow-sm: 0 2px 8px rgb(36 32 29 / 4%);
    --bo-shadow-md: 0 8px 24px rgb(36 32 29 / 9%);
    --bo-shadow-popover: 0 12px 32px rgb(36 32 29 / 16%);
    --bo-transition: 160ms ease;
}

/* Reset and base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--bo-background);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background: var(--bo-background);
    color: var(--bo-text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button, input, select, textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

    button:disabled {
        cursor: not-allowed;
        opacity: .6;
    }

a {
    color: var(--bo-primary);
    text-decoration: none;
    transition: color var(--bo-transition);
}

    a:hover {
        color: var(--bo-primary-hover);
    }

img, svg {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    color: var(--bo-text);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: clamp(1.5rem, 2.5vw, 1.9rem);
}

h2 {
    font-size: 1.35rem;
}

h3 {
    font-size: 1.05rem;
}

p {
    margin-top: 0;
}

::selection {
    color: var(--bo-text);
    background: #F5D7A3;
}

:focus-visible {
    outline: 3px solid rgb(217 119 6 / 45%);
    outline-offset: 2px;
}

/* Application shell */
.bakery-shell {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 100vh;
    overflow-x: clip;
    background: var(--bo-background);
}

.bakery-sidebar {
    position: sticky;
    top: 0;
    z-index: 100;
    flex: 0 0 var(--bo-sidebar-width);
    width: var(--bo-sidebar-width);
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--bo-surface);
    border-right: 1px solid var(--bo-border);
}

.bakery-main {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    min-height: 100vh;
    overflow-x: clip;
}

.bakery-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: auto;
    min-width: 0;
    min-height: 100vh;
    padding: 0;
}

    .bakery-content > *,
    .bakery-content .mud-grid,
    .bakery-content .mud-paper,
    .bakery-content .mud-table-container,
    .bakery-panel,
    .bakery-panel-body,
    .bakery-dashboard-grid > *,
    .bakery-dashboard-stack > * {
        min-width: 0;
        max-width: 100%;
    }

    .bakery-content .mud-grid {
        width: 100%;
    }

/* Brand */
.bakery-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: var(--bo-topbar-height);
    padding: 16px 20px;
    border-bottom: 1px solid var(--bo-border);
}

.bakery-brand-mark {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bo-primary);
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    box-shadow: var(--bo-shadow-sm);
}

.bakery-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bakery-brand-name {
    overflow: hidden;
    color: var(--bo-text);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.4px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bakery-brand-subtitle {
    margin-top: 3px;
    color: var(--bo-text-secondary);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .4px;
}

/* Sidebar navigation */
.bakery-nav {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 20px 12px;
}

.bakery-nav-section {
    margin: 18px 12px 8px;
    color: var(--bo-text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.bakery-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid transparent;
    border-radius: var(--bo-radius-sm);
    color: var(--bo-text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: background var(--bo-transition), color var(--bo-transition), border-color var(--bo-transition);
}

    .bakery-nav-link:hover {
        background: var(--bo-surface-muted);
        color: var(--bo-primary);
    }

    .bakery-nav-link.active,
    .bakery-nav-link[aria-current="page"] {
        border-color: #F0DFD0;
        background: var(--bo-primary-soft);
        color: var(--bo-primary);
        font-weight: 700;
    }

.bakery-nav-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 19px;
}

.bakery-sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--bo-border);
}

.bakery-sidebar-footer-text {
    color: var(--bo-text-muted);
    font-size: 11px;
    line-height: 1.6;
}

.bakery-nav-group {
    margin: 2px 0;
}

.bakery-nav-group-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
    list-style: none;
    box-sizing: border-box;
}

    .bakery-nav-group-toggle::-webkit-details-marker {
        display: none;
    }

.bakery-nav-chevron {
    display: inline-flex;
    margin-left: auto;
    transition: transform 160ms ease;
}

.bakery-nav-group[open] > .bakery-nav-group-toggle .bakery-nav-chevron {
    transform: rotate(180deg);
}

.bakery-nav-submenu {
    margin-left: 12px;
    padding-left: 8px;
    border-left: 1px solid var(--mud-palette-divider);
}

.bakery-nav-sublink {
    padding-left: 8px;
    font-size: .92rem;
}

/* Sticky topbar */
.bakery-topbar {
    position: sticky;
    top: 0;
    z-index: 1100;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: var(--bo-topbar-height);
    padding: 12px 32px;
    overflow: visible;
    border-bottom: 1px solid var(--bo-border);
    background: rgb(255 255 255 / 97%);
    backdrop-filter: blur(12px);
}

.bakery-topbar-heading {
    flex: 1 1 auto;
    min-width: 0;
}

.bakery-topbar-title {
    display: block;
    margin: 0;
    color: var(--bo-text);
    font-size: 16px;
    font-weight: 700;
}

.bakery-topbar-subtitle {
    margin-top: 3px;
    color: var(--bo-text-secondary);
    font-size: 12px;
}

.bakery-topbar-actions {
    position: relative;
    z-index: 1110;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-width: 0;
    overflow: visible;
}

.bakery-currency {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid var(--bo-border);
    border-radius: 999px;
    background: var(--bo-surface);
    color: var(--bo-text-secondary);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.bakery-user-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}

.bakery-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    text-align: left;
}

.bakery-user-name {
    overflow: hidden;
    color: var(--bo-text);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bakery-user-role {
    display: inline-block;
    padding: 1px 6px;
    margin-top: 2px;
    border-radius: 4px;
    background: var(--bo-primary-soft);
    color: var(--bo-primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.bakery-avatar {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bo-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

/* Account dropdown used by MainLayout */
.bakery-account {
    position: relative;
    z-index: 1120;
    flex: 0 0 auto;
    min-width: 0;
}

.bakery-account-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 280px;
    min-width: 0;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: var(--bo-radius-sm);
    background: transparent;
    color: var(--bo-text);
    text-transform: none;
    white-space: nowrap;
}

    .bakery-account-button:hover {
        border-color: var(--bo-border);
        background: var(--bo-surface-muted);
    }

    .bakery-account-button .mud-icon-root {
        flex: 0 0 auto;
    }

.bakery-account-name {
    display: inline-block;
    max-width: 190px;
    overflow: hidden;
    color: var(--bo-text);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bakery-account-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1200;
    width: 260px;
    max-width: calc(100vw - 28px);
    box-sizing: border-box;
    padding: 8px;
    overflow: visible;
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius-md);
    background: var(--bo-surface);
    box-shadow: var(--bo-shadow-popover);
}

.bakery-account-dropdown-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 10px 12px;
    overflow-wrap: anywhere;
}

    .bakery-account-dropdown-header strong {
        color: var(--bo-text);
        font-size: 13px;
        font-weight: 750;
    }

.bakery-account-role {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--bo-primary-soft);
    color: var(--bo-primary);
    font-size: 10px;
    font-weight: 750;
}

.bakery-account-divider {
    height: 1px;
    margin: 4px 0 6px;
    background: var(--bo-border);
}

.bakery-account-dropdown form {
    margin: 0;
}

.bakery-account-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    padding: 9px 10px;
    border: 0;
    border-radius: var(--bo-radius-sm);
    background: transparent;
    color: var(--bo-danger);
    font-size: 12px;
    font-weight: 650;
    text-align: left;
}

    .bakery-account-logout:hover:not(:disabled) {
        background: var(--bo-danger-soft);
        color: #B91C1C;
    }

    .bakery-account-logout .mud-icon-root {
        flex: 0 0 auto;
    }

/* MudBlazor popovers: avoid global display/visibility/pointer-events overrides */
.mud-popover-provider {
    position: relative;
    z-index: 1300;
}

.mud-popover {
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius-sm) !important;
    background: var(--bo-surface);
    box-shadow: var(--bo-shadow-popover) !important;
}

/* Page area and headings */
.bakery-page {
    flex: 1 0 auto;
    width: 100%;
    min-width: 0;
    padding: 28px 32px 40px;
}

.bakery-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
    margin-bottom: 26px;
}

.bakery-page-heading {
    margin: 0;
    font-size: clamp(1.45rem, 2.5vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -.7px;
}

.bakery-page-description {
    margin: 8px 0 0;
    color: var(--bo-text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.bakery-page-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* Panels and cards */
.bakery-panel {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius-md);
    background: var(--bo-surface);
    box-shadow: var(--bo-shadow-sm);
}

.bakery-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.bakery-panel-title {
    margin: 0;
    font-size: 15px;
    font-weight: 750;
}

.bakery-panel-subtitle {
    margin: 5px 0 0;
    color: var(--bo-text-secondary);
    font-size: 12px;
}

.bakery-panel-body {
    min-width: 0;
}

.bakery-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.bakery-stat-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius-md);
    background: var(--bo-surface);
    box-shadow: var(--bo-shadow-sm);
    transition: transform var(--bo-transition), box-shadow var(--bo-transition);
}

    .bakery-stat-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--bo-shadow-md);
    }

.bakery-stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.bakery-stat-label {
    color: var(--bo-text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.bakery-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--bo-primary-soft);
    color: var(--bo-primary);
    font-size: 20px;
}

    .bakery-stat-icon.amber {
        background: var(--bo-secondary-soft);
        color: var(--bo-secondary);
    }

    .bakery-stat-icon.green {
        background: var(--bo-success-soft);
        color: var(--bo-success);
    }

    .bakery-stat-icon.blue {
        background: var(--bo-info-soft);
        color: var(--bo-info);
    }

.bakery-stat-value {
    overflow-wrap: anywhere;
    color: var(--bo-text);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -.8px;
    line-height: 1.2;
}

.bakery-stat-description {
    margin-top: 9px;
    color: var(--bo-text-secondary);
    font-size: 11px;
    line-height: 1.6;
}

/* Dashboard */
.bakery-dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bakery-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: 22px;
    margin-bottom: 24px;
}

.bakery-dashboard-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.bakery-dashboard-card, .bakery-dashboard-panel {
    height: 100%;
    min-width: 0;
    padding: 1.25rem;
    border: 1px solid var(--bo-border);
    border-radius: 14px;
    background: var(--bo-surface);
    box-shadow: var(--bo-shadow-sm);
}

.bakery-dashboard-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: var(--bo-surface-muted);
}

.bakery-dashboard-card-label {
    color: var(--bo-text-secondary);
    font-size: .875rem;
}

.bakery-dashboard-card-value {
    margin: .35rem 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.bakery-dashboard-section-title {
    margin: .9rem 0 .6rem;
    font-size: 1.1rem;
    font-weight: 650;
}

.bakery-dashboard-links {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    margin-top: 1rem;
}

.bakery-dashboard-note {
    margin-top: 1rem;
    font-size: .8rem;
}

.bakery-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.bakery-shortcut {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius-md);
    background: var(--bo-surface);
    color: var(--bo-text);
    text-align: left;
    transition: border-color var(--bo-transition), background var(--bo-transition), transform var(--bo-transition);
}

    .bakery-shortcut:hover {
        transform: translateY(-1px);
        border-color: #D8B79B;
        background: #FFFCF8;
        color: var(--bo-primary);
    }

.bakery-shortcut-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bo-primary-soft);
    color: var(--bo-primary);
    font-size: 19px;
}

.bakery-shortcut-label {
    overflow-wrap: anywhere;
    font-size: 12px;
    font-weight: 700;
}

/* Status badges */
.bakery-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.4;
    white-space: nowrap;
}

    .bakery-badge.success {
        background: var(--bo-success-soft);
        color: var(--bo-success);
    }

    .bakery-badge.warning {
        background: var(--bo-warning-soft);
        color: var(--bo-warning);
    }

    .bakery-badge.danger {
        background: var(--bo-danger-soft);
        color: var(--bo-danger);
    }

    .bakery-badge.info {
        background: var(--bo-info-soft);
        color: var(--bo-info);
    }

    .bakery-badge.neutral {
        background: var(--bo-surface-muted);
        color: var(--bo-text-secondary);
    }

/* Buttons */
.bakery-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: var(--bo-radius-sm);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    transition: background var(--bo-transition), border-color var(--bo-transition), color var(--bo-transition);
}

.bakery-btn-primary {
    border-color: var(--bo-primary);
    background: var(--bo-primary);
    color: #fff;
}

    .bakery-btn-primary:hover {
        border-color: var(--bo-primary-hover);
        background: var(--bo-primary-hover);
        color: #fff;
    }

.bakery-btn-secondary {
    border-color: var(--bo-border-strong);
    background: var(--bo-surface);
    color: var(--bo-text);
}

    .bakery-btn-secondary:hover {
        border-color: var(--bo-primary);
        background: var(--bo-primary-soft);
        color: var(--bo-primary);
    }

.bakery-btn-danger {
    border-color: var(--bo-danger);
    background: var(--bo-danger);
    color: #fff;
}

    .bakery-btn-danger:hover {
        background: #B91C1C;
        color: #fff;
    }

.bakery-btn-sm {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 11px;
}

/* Forms */
.bakery-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bakery-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bakery-form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.bakery-form-label {
    color: var(--bo-text);
    font-size: 12px;
    font-weight: 700;
}

.bakery-form-hint {
    color: var(--bo-text-secondary);
    font-size: 11px;
    line-height: 1.5;
}

.bakery-form-input, .bakery-form-select, .bakery-form-textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--bo-border-strong);
    border-radius: var(--bo-radius-sm);
    outline: none;
    background: var(--bo-surface);
    color: var(--bo-text);
    transition: border-color var(--bo-transition), box-shadow var(--bo-transition);
}

.bakery-form-textarea {
    min-height: 100px;
    resize: vertical;
}

    .bakery-form-input::placeholder, .bakery-form-textarea::placeholder {
        color: var(--bo-text-muted);
    }

    .bakery-form-input:focus, .bakery-form-select:focus, .bakery-form-textarea:focus {
        border-color: var(--bo-secondary);
        box-shadow: 0 0 0 3px rgb(217 119 6 / 12%);
    }

    .bakery-form-input:disabled, .bakery-form-select:disabled, .bakery-form-textarea:disabled {
        background: var(--bo-surface-muted);
        color: var(--bo-text-muted);
        cursor: not-allowed;
    }

.bakery-form-validation {
    color: var(--bo-danger);
    font-size: 11px;
}

.bakery-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
}

/* Search and filters */
.bakery-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    margin-bottom: 18px;
}

.bakery-toolbar-start, .bakery-toolbar-end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.bakery-search {
    position: relative;
    min-width: 220px;
    max-width: 360px;
}

.bakery-search-input {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px 9px 38px;
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius-sm);
    background: var(--bo-surface);
    color: var(--bo-text);
}

    .bakery-search-input:focus {
        border-color: var(--bo-secondary);
        outline: 3px solid rgb(217 119 6 / 12%);
    }

.bakery-search-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    color: var(--bo-text-muted);
    pointer-events: none;
    transform: translateY(-50%);
}

/* Tables */
.bakery-table-wrap, .bakery-table-container {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius-md);
    background: var(--bo-surface);
    -webkit-overflow-scrolling: touch;
}

.bakery-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12px;
    text-align: left;
}

    .bakery-table thead th {
        padding: 13px 16px;
        border-bottom: 1px solid var(--bo-border);
        background: #FAF8F5;
        color: var(--bo-text-secondary);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .45px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .bakery-table tbody td {
        padding: 14px 16px;
        border-bottom: 1px solid #F0ECE7;
        color: var(--bo-text);
        vertical-align: middle;
    }

    .bakery-table tbody tr:last-child td {
        border-bottom: none;
    }

    .bakery-table tbody tr:hover td {
        background: #FFFCF8;
    }

.bakery-table-primary {
    font-weight: 700;
    overflow-wrap: anywhere;
}

.bakery-table-secondary {
    margin-top: 3px;
    color: var(--bo-text-secondary);
    font-size: 11px;
}

.bakery-table-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: max-content;
}

.bakery-empty-state {
    padding: 36px 20px;
    color: var(--bo-text-secondary);
    text-align: center;
}

.bakery-empty-state-title {
    margin-bottom: 6px;
    color: var(--bo-text);
    font-size: 14px;
    font-weight: 750;
}

.bakery-empty-state-description {
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
}

/* Alerts and stock warnings */
.bakery-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: var(--bo-radius-sm);
    font-size: 12px;
    line-height: 1.6;
}

.bakery-alert-title {
    margin-bottom: 3px;
    font-weight: 750;
}

.bakery-alert-info {
    border-color: #C9D9FF;
    background: var(--bo-info-soft);
    color: #1D4ED8;
}

.bakery-alert-success {
    border-color: #BDE5C5;
    background: var(--bo-success-soft);
    color: #176B2A;
}

.bakery-alert-warning {
    border-color: #F2D49B;
    background: var(--bo-warning-soft);
    color: #8A4B08;
}

.bakery-alert-danger {
    border-color: #F5C2C2;
    background: var(--bo-danger-soft);
    color: #B91C1C;
}

.bakery-stock-low {
    color: var(--bo-danger);
    font-weight: 750;
}

.bakery-stock-normal {
    color: var(--bo-success);
    font-weight: 700;
}

/* Activity list */
.bakery-activity-list {
    display: flex;
    flex-direction: column;
}

.bakery-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #F0ECE7;
}

    .bakery-activity-item:first-child {
        padding-top: 0;
    }

    .bakery-activity-item:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

.bakery-activity-dot {
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--bo-secondary);
    box-shadow: 0 0 0 4px var(--bo-secondary-soft);
}

.bakery-activity-content {
    flex: 1;
    min-width: 0;
}

.bakery-activity-title {
    color: var(--bo-text);
    font-size: 12px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.bakery-activity-description {
    margin-top: 4px;
    color: var(--bo-text-secondary);
    font-size: 11px;
    line-height: 1.6;
}

.bakery-activity-time {
    margin-top: 5px;
    color: var(--bo-text-muted);
    font-size: 10px;
}

/* Loading and errors */
.bakery-loading {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--bo-text-secondary);
    font-size: 12px;
}

.bakery-loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--bo-border);
    border-top-color: var(--bo-primary);
    border-radius: 50%;
    animation: bakery-spin 800ms linear infinite;
}

@keyframes bakery-spin {
    to {
        transform: rotate(360deg);
    }
}

.bakery-error {
    padding: 16px;
    border: 1px solid #F5C2C2;
    border-radius: var(--bo-radius-md);
    background: var(--bo-danger-soft);
    color: #B91C1C;
    font-size: 12px;
    line-height: 1.7;
}

/* Login */
.bakery-login-page {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
    background-image: url('/_content/BoulangerieOS.SharedUI/images/nagari.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.bakery-login-card {
    width: 100%;
    max-width: 430px;
    padding: 36px;
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius-lg);
    background: rgb(255 255 255 / 95%);
    backdrop-filter: blur(8px);
    box-shadow: var(--bo-shadow-md);
}

.bakery-login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
    text-align: center;
}

    .bakery-login-brand .bakery-brand-mark {
        width: 54px;
        height: 54px;
        margin-bottom: 14px;
        font-size: 28px;
    }

.bakery-login-title {
    margin-bottom: 8px;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.6px;
}

.bakery-login-description {
    margin: 0;
    color: var(--bo-text-secondary);
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

.bakery-login-footer {
    margin-top: 24px;
    color: var(--bo-text-muted);
    font-size: 11px;
    text-align: center;
}

.bakery-login-links {
    text-align: center;
}

.bakery-link {
    color: var(--bo-primary);
    text-decoration: none;
    font-size: .9rem;
}

    .bakery-link:hover {
        text-decoration: underline;
    }

/* Utilities */
.bakery-muted {
    color: var(--bo-text-secondary);
}

.bakery-text-primary {
    color: var(--bo-primary);
}

.bakery-text-success {
    color: var(--bo-success);
}

.bakery-text-warning {
    color: var(--bo-warning);
}

.bakery-text-danger {
    color: var(--bo-danger);
}

.bakery-text-right {
    text-align: right;
}

.bakery-text-center {
    text-align: center;
}

.bakery-fw-semibold {
    font-weight: 600;
}

.bakery-fw-bold {
    font-weight: 700;
}

.bakery-w-100 {
    width: 100%;
}

.bakery-mt-1 {
    margin-top: 8px;
}

.bakery-mt-2 {
    margin-top: 16px;
}

.bakery-mt-3 {
    margin-top: 24px;
}

.bakery-mb-1 {
    margin-bottom: 8px;
}

.bakery-mb-2 {
    margin-bottom: 16px;
}

.bakery-mb-3 {
    margin-bottom: 24px;
}

.bakery-flex {
    display: flex;
}

.bakery-flex-wrap {
    flex-wrap: wrap;
}

.bakery-items-center {
    align-items: center;
}

.bakery-justify-between {
    justify-content: space-between;
}

.bakery-gap-1 {
    gap: 8px;
}

.bakery-gap-2 {
    gap: 16px;
}

/* Blazor error UI */
#blazor-error-ui {
    display: none;
    position: fixed;
    z-index: 9999;
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 14px 18px;
    border: 1px solid #F5C2C2;
    border-radius: var(--bo-radius-md);
    background: var(--bo-danger-soft);
    color: #991B1B;
    box-shadow: var(--bo-shadow-md);
    font-size: 12px;
}

    #blazor-error-ui .reload {
        margin-left: 8px;
        font-weight: 750;
        text-decoration: underline;
    }

    #blazor-error-ui .dismiss {
        float: right;
        margin-left: 12px;
        cursor: pointer;
        font-size: 17px;
    }

/* Responsive */
@media (max-width: 1200px) {
    .bakery-card-grid, .bakery-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bakery-topbar {
        padding-right: 24px;
        padding-left: 24px;
    }

    .bakery-page {
        padding-right: 24px;
        padding-left: 24px;
    }

    .bakery-page-header, .bakery-panel-header {
        flex-wrap: wrap;
    }
}

@media (max-width: 900px) {
    :root {
        --bo-sidebar-width: 220px;
    }

    .bakery-dashboard-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bakery-topbar {
        padding-right: 18px;
        padding-left: 18px;
    }

    .bakery-page {
        padding: 22px 18px 32px;
    }

    .bakery-account-button {
        max-width: 320px;
        min-width: 0;
        padding: 4px 10px;
        border-radius: var(--bo-radius-sm);
        background: var(--bo-surface-muted);
        border: 1px solid var(--bo-border);
    }

    .bakery-account-name {
        max-width: 170px;
    }
}

@media (max-width: 640px) {
    :root {
        --bo-sidebar-width: 0px;
        --bo-topbar-height: 64px;
    }

    .bakery-shell {
        display: block;
    }

    .bakery-sidebar {
        display: none;
    }

    .bakery-main, .bakery-content {
        width: 100%;
        min-height: 100vh;
        margin-left: 0;
    }

    .bakery-topbar {
        gap: 10px;
        padding: 10px 14px;
    }

    .bakery-topbar-title {
        font-size: 14px;
    }

    .bakery-topbar-subtitle {
        max-width: 180px;
        font-size: 11px;
    }

    .bakery-topbar-actions {
        gap: 6px;
    }

    .bakery-user-actions {
        gap: 8px;
    }

    .bakery-user-info {
        display: none;
    }

    .bakery-currency {
        padding: 6px 8px;
        font-size: 10px;
    }

    .bakery-account-button {
        max-width: 190px;
        min-width: 0;
        padding-right: 6px;
        padding-left: 6px;
    }

    .bakery-account-name {
        max-width: 95px;
    }

    .bakery-page {
        padding: 20px 14px 28px;
    }

    .bakery-page-header {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 20px;
    }

    .bakery-page-actions {
        width: 100%;
    }

        .bakery-page-actions .bakery-btn {
            flex: 1;
        }

    .bakery-card-grid, .bakery-shortcuts {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .bakery-stat-card {
        padding: 17px;
    }

    .bakery-panel {
        padding: 16px;
    }

    .bakery-panel-header {
        align-items: flex-start;
    }

    .bakery-form-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .bakery-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .bakery-toolbar-start, .bakery-toolbar-end {
        width: 100%;
    }

    .bakery-search {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .bakery-table {
        min-width: 620px;
    }

    .bakery-login-card {
        padding: 26px 20px;
    }

    .bakery-dashboard-header {
        flex-direction: column;
    }

    .bakery-account-dropdown {
        right: 0;
        width: 250px;
        max-width: calc(100vw - 20px);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}









/* =========================================================
   BoulangerieOS — Global application stylesheet
   .NET 10 Blazor Web App + MAUI Blazor Hybrid
   Theme: warm bakery brown, amber and neutral
   ========================================================= */

/* ---------- Design tokens ---------- */
/*:root {
    color-scheme: light;
    --bo-primary: #8B4513;
    --bo-primary-hover: #6F350E;
    --bo-primary-soft: #F5E8DD;
    --bo-secondary: #D97706;
    --bo-secondary-hover: #B85F05;
    --bo-secondary-soft: #FFF2D8;
    --bo-background: #F8F7F4;
    --bo-surface: #FFFFFF;
    --bo-surface-muted: #F4F1EC;
    --bo-text: #24201D;
    --bo-text-secondary: #756B63;
    --bo-text-muted: #958A81;
    --bo-border: #E9E3DC;
    --bo-border-strong: #D8CEC3;
    --bo-success: #238636;
    --bo-success-soft: #E8F6EB;
    --bo-warning: #B85F05;
    --bo-warning-soft: #FFF3D6;
    --bo-danger: #DC2626;
    --bo-danger-soft: #FDECEC;
    --bo-info: #2563EB;
    --bo-info-soft: #EAF1FF;
    --bo-sidebar-width: 252px;
    --bo-topbar-height: 72px;
    --bo-radius-sm: 8px;
    --bo-radius-md: 12px;
    --bo-radius-lg: 16px;
    --bo-shadow-sm: 0 2px 8px rgb(36 32 29 / 4%);
    --bo-shadow-md: 0 8px 24px rgb(36 32 29 / 9%);
    --bo-shadow-popover: 0 12px 32px rgb(36 32 29 / 16%);
    --bo-transition: 160ms ease;
}*/

/* ---------- Reset and base ---------- */
/**,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--bo-background);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background: var(--bo-background);
    color: var(--bo-text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

    button:disabled {
        cursor: not-allowed;
        opacity: 0.6;
    }

a {
    color: var(--bo-primary);
    text-decoration: none;
    transition: color var(--bo-transition);
}

    a:hover {
        color: var(--bo-primary-hover);
    }

img,
svg {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--bo-text);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: clamp(1.5rem, 2.5vw, 1.9rem);
}

h2 {
    font-size: 1.35rem;
}

h3 {
    font-size: 1.05rem;
}

p {
    margin-top: 0;
}

::selection {
    color: var(--bo-text);
    background: #F5D7A3;
}

:focus-visible {
    outline: 3px solid rgb(217 119 6 / 45%);
    outline-offset: 2px;
}*/

/* ---------- Application shell ---------- */
/*.bakery-shell {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 100vh;
    overflow-x: clip;
    background: var(--bo-background);
}

.bakery-sidebar {
    position: sticky;
    top: 0;
    z-index: 100;
    flex: 0 0 var(--bo-sidebar-width);
    width: var(--bo-sidebar-width);
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--bo-surface);
    border-right: 1px solid var(--bo-border);
}

.bakery-main {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    min-height: 100vh;
    overflow-x: clip;
}

.bakery-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: auto;
    min-width: 0;
    min-height: 100vh;
    padding: 0;
}

    .bakery-content > *,
    .bakery-content .mud-grid,
    .bakery-content .mud-paper,
    .bakery-content .mud-table-container,
    .bakery-panel,
    .bakery-panel-body,
    .bakery-dashboard-grid > *,
    .bakery-dashboard-stack > * {
        min-width: 0;
        max-width: 100%;
    }

    .bakery-content .mud-grid {
        width: 100%;
    }*/

/* ---------- Brand ---------- */
/*.bakery-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: var(--bo-topbar-height);
    padding: 16px 20px;
    border-bottom: 1px solid var(--bo-border);
}

.bakery-brand-mark {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bo-primary);
    color: #FFFFFF;
    font-size: 23px;
    font-weight: 800;
    box-shadow: var(--bo-shadow-sm);
}

.bakery-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bakery-brand-name {
    overflow: hidden;
    color: var(--bo-text);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.4px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bakery-brand-subtitle {
    margin-top: 3px;
    color: var(--bo-text-secondary);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.4px;
}*/

/* ---------- Sidebar navigation ---------- */
/*.bakery-nav {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 20px 12px;
}

.bakery-nav-section {
    margin: 18px 12px 8px;
    color: var(--bo-text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.bakery-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid transparent;
    border-radius: var(--bo-radius-sm);
    color: var(--bo-text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: background var(--bo-transition), color var(--bo-transition), border-color var(--bo-transition);
}

    .bakery-nav-link:hover {
        background: var(--bo-surface-muted);
        color: var(--bo-primary);
    }

    .bakery-nav-link.active,
    .bakery-nav-link[aria-current="page"] {
        border-color: #F0DFD0;
        background: var(--bo-primary-soft);
        color: var(--bo-primary);
        font-weight: 700;
    }

.bakery-nav-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 19px;
}

.bakery-sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--bo-border);
}

.bakery-sidebar-footer-text {
    color: var(--bo-text-muted);
    font-size: 11px;
    line-height: 1.6;
}*/

/* ---------- Sticky application top bar ---------- */
/*.bakery-topbar {
    position: sticky;
    top: 0;
    z-index: 1100;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: var(--bo-topbar-height);
    padding: 12px 32px;
    border-bottom: 1px solid var(--bo-border);
    background: rgb(255 255 255 / 97%);
    backdrop-filter: blur(12px);
}

.bakery-topbar-heading {
    flex: 1 1 auto;
    min-width: 0;
}

.bakery-topbar-title {
    display: block;
    margin: 0;
    color: var(--bo-text);
    font-size: 16px;
    font-weight: 700;
}

.bakery-topbar-subtitle {
    margin-top: 3px;
    color: var(--bo-text-secondary);
    font-size: 12px;
}

.bakery-topbar-actions {
    position: relative;
    z-index: 1110;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-width: 0;
}

.bakery-currency {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid var(--bo-border);
    border-radius: 999px;
    background: var(--bo-surface);
    color: var(--bo-text-secondary);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.bakery-user-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}

.bakery-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    text-align: left;
}

.bakery-user-name {
    overflow: hidden;
    color: var(--bo-text);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bakery-user-role {
    display: inline-block;
    padding: 1px 6px;
    margin-top: 2px;
    border-radius: 4px;
    background: var(--bo-primary-soft);
    color: var(--bo-primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}*/

/*.bakery-avatar {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bo-primary-soft);
    color: var(--bo-primary);
    font-size: 13px;
    font-weight: 800;
}*/

/*.bakery-avatar {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bo-primary);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
}*/

/* ---------- MudBlazor account menu ---------- */

/*
   Keep the menu and its activator above ordinary topbar content.
   Do not assign overflow:hidden to these elements: MudBlazor
   renders menu content in a popover layer.
*/
/*.bakery-account {
    position: relative;
    flex: 0 0 auto;
}

.bakery-account-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1200;
    width: 260px;
    max-width: calc(100vw - 32px);
}

.bakery-account-menu {
    position: relative;
    z-index: 1200;
    flex: 0 0 auto;
    min-width: 0;
}

    .bakery-account-menu .mud-menu-activator {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        min-width: 0;
        cursor: pointer;
    }

.bakery-account-button {
    max-width: 280px;
    min-width: 0;
    text-transform: none;
}

    .bakery-account-button .mud-button-label {
        display: flex;
        align-items: center;
        min-width: 0;
        gap: 10px;
    }

.bakery-account-name {
    display: inline-block;
    max-width: 190px;
    overflow: hidden;
    color: var(--bo-text);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bakery-account-menu .mud-popover-cascading-value {
    pointer-events: none;
}*/

/*
   Popovers can be rendered by MudBlazor outside the menu's immediate
   DOM subtree. Keep this styling conservative: do not force display,
   visibility, opacity or pointer-events on hidden/active popovers.
*/
/*.mud-popover-provider {
    position: relative;
    z-index: 1300;
}

.mud-popover {
    min-width: 210px;
    box-shadow: var(--bo-shadow-popover) !important;
    border-radius: var(--bo-radius-sm) !important;
    border: 1px solid var(--bo-border);
    background: var(--bo-surface);
}

    .mud-popover.mud-popover-open,
    .mud-popover-open {
        box-shadow: var(--bo-shadow-popover);
    }

.mud-menu .mud-menu-activator > button {
    position: relative;
    z-index: 1;
}

.bakery-logout-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
}

    .bakery-logout-menu form {
        width: 100%;
        margin: 0;
    }

    .bakery-logout-menu button,
    .bakery-logout-menu .mud-button-root {
        width: 100%;
        justify-content: flex-start;
        padding: 8px 12px;
        border-radius: 6px;
        color: var(--bo-danger);
        font-weight: 600;
    }

        .bakery-logout-menu button:hover,
        .bakery-logout-menu .mud-button-root:hover {
            background: var(--bo-danger-soft);
        }*/

/* ---------- Page area and headings ---------- */
/*.bakery-page {
    flex: 1 0 auto;
    width: 100%;
    min-width: 0;
    padding: 28px 32px 40px;
}

.bakery-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
    margin-bottom: 26px;
}

.bakery-page-heading {
    margin: 0;
    font-size: clamp(1.45rem, 2.5vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.7px;
}

.bakery-page-description {
    margin: 8px 0 0;
    color: var(--bo-text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.bakery-page-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}*/

/* ---------- Panels and cards ---------- */
/*.bakery-panel {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius-md);
    background: var(--bo-surface);
    box-shadow: var(--bo-shadow-sm);
}

.bakery-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.bakery-panel-title {
    margin: 0;
    font-size: 15px;
    font-weight: 750;
}

.bakery-panel-subtitle {
    margin: 5px 0 0;
    color: var(--bo-text-secondary);
    font-size: 12px;
}

.bakery-panel-body {
    min-width: 0;
}

.bakery-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.bakery-stat-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius-md);
    background: var(--bo-surface);
    box-shadow: var(--bo-shadow-sm);
    transition: transform var(--bo-transition), box-shadow var(--bo-transition);
}

    .bakery-stat-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--bo-shadow-md);
    }

.bakery-stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.bakery-stat-label {
    color: var(--bo-text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.bakery-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--bo-primary-soft);
    color: var(--bo-primary);
    font-size: 20px;
}

    .bakery-stat-icon.amber {
        background: var(--bo-secondary-soft);
        color: var(--bo-secondary);
    }

    .bakery-stat-icon.green {
        background: var(--bo-success-soft);
        color: var(--bo-success);
    }

    .bakery-stat-icon.blue {
        background: var(--bo-info-soft);
        color: var(--bo-info);
    }

.bakery-stat-value {
    overflow-wrap: anywhere;
    color: var(--bo-text);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.2;
}

.bakery-stat-description {
    margin-top: 9px;
    color: var(--bo-text-secondary);
    font-size: 11px;
    line-height: 1.6;
}*/

/* ---------- Dashboard ---------- */
/*.bakery-dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bakery-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: 22px;
    margin-bottom: 24px;
}

.bakery-dashboard-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.bakery-dashboard-card,
.bakery-dashboard-panel {
    height: 100%;
    min-width: 0;
    padding: 1.25rem;
    border: 1px solid var(--bo-border);
    border-radius: 14px;
    background: var(--bo-surface);
    box-shadow: var(--bo-shadow-sm);
}

.bakery-dashboard-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: var(--bo-surface-muted);
}

.bakery-dashboard-card-label {
    color: var(--bo-text-secondary);
    font-size: 0.875rem;
}

.bakery-dashboard-card-value {
    margin: 0.35rem 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.bakery-dashboard-section-title {
    margin: 0.9rem 0 0.6rem;
    font-size: 1.1rem;
    font-weight: 650;
}

.bakery-dashboard-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1rem;
}

.bakery-dashboard-note {
    margin-top: 1rem;
    font-size: 0.8rem;
}

.bakery-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.bakery-shortcut {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius-md);
    background: var(--bo-surface);
    color: var(--bo-text);
    text-align: left;
    transition: border-color var(--bo-transition), background var(--bo-transition), transform var(--bo-transition);
}

    .bakery-shortcut:hover {
        transform: translateY(-1px);
        border-color: #D8B79B;
        background: #FFFCF8;
        color: var(--bo-primary);
    }

.bakery-shortcut-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bo-primary-soft);
    color: var(--bo-primary);
    font-size: 19px;
}

.bakery-shortcut-label {
    overflow-wrap: anywhere;
    font-size: 12px;
    font-weight: 700;
}*/

/* ---------- Status badges ---------- */
/*.bakery-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.4;
    white-space: nowrap;
}

    .bakery-badge.success {
        background: var(--bo-success-soft);
        color: var(--bo-success);
    }

    .bakery-badge.warning {
        background: var(--bo-warning-soft);
        color: var(--bo-warning);
    }

    .bakery-badge.danger {
        background: var(--bo-danger-soft);
        color: var(--bo-danger);
    }

    .bakery-badge.info {
        background: var(--bo-info-soft);
        color: var(--bo-info);
    }

    .bakery-badge.neutral {
        background: var(--bo-surface-muted);
        color: var(--bo-text-secondary);
    }*/

/* ---------- Buttons ---------- */
/*.bakery-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: var(--bo-radius-sm);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    transition: background var(--bo-transition), border-color var(--bo-transition), color var(--bo-transition);
}

.bakery-btn-primary {
    border-color: var(--bo-primary);
    background: var(--bo-primary);
    color: #FFFFFF;
}

    .bakery-btn-primary:hover {
        border-color: var(--bo-primary-hover);
        background: var(--bo-primary-hover);
        color: #FFFFFF;
    }

.bakery-btn-secondary {
    border-color: var(--bo-border-strong);
    background: var(--bo-surface);
    color: var(--bo-text);
}

    .bakery-btn-secondary:hover {
        border-color: var(--bo-primary);
        background: var(--bo-primary-soft);
        color: var(--bo-primary);
    }

.bakery-btn-danger {
    border-color: var(--bo-danger);
    background: var(--bo-danger);
    color: #FFFFFF;
}

    .bakery-btn-danger:hover {
        background: #B91C1C;
        color: #FFFFFF;
    }

.bakery-btn-sm {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 11px;
}*/

/* ---------- Forms ---------- */
/*.bakery-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bakery-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bakery-form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.bakery-form-label {
    color: var(--bo-text);
    font-size: 12px;
    font-weight: 700;
}

.bakery-form-hint {
    color: var(--bo-text-secondary);
    font-size: 11px;
    line-height: 1.5;
}

.bakery-form-input,
.bakery-form-select,
.bakery-form-textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--bo-border-strong);
    border-radius: var(--bo-radius-sm);
    outline: none;
    background: var(--bo-surface);
    color: var(--bo-text);
    transition: border-color var(--bo-transition), box-shadow var(--bo-transition);
}

.bakery-form-textarea {
    min-height: 100px;
    resize: vertical;
}

    .bakery-form-input::placeholder,
    .bakery-form-textarea::placeholder {
        color: var(--bo-text-muted);
    }

    .bakery-form-input:focus,
    .bakery-form-select:focus,
    .bakery-form-textarea:focus {
        border-color: var(--bo-secondary);
        box-shadow: 0 0 0 3px rgb(217 119 6 / 12%);
    }

    .bakery-form-input:disabled,
    .bakery-form-select:disabled,
    .bakery-form-textarea:disabled {
        background: var(--bo-surface-muted);
        color: var(--bo-text-muted);
        cursor: not-allowed;
    }

.bakery-form-validation {
    color: var(--bo-danger);
    font-size: 11px;
}

.bakery-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
}*/

/* ---------- Search and filters ---------- */
/*.bakery-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    margin-bottom: 18px;
}

.bakery-toolbar-start,
.bakery-toolbar-end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.bakery-search {
    position: relative;
    min-width: 220px;
    max-width: 360px;
}

.bakery-search-input {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px 9px 38px;
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius-sm);
    background: var(--bo-surface);
    color: var(--bo-text);
}

    .bakery-search-input:focus {
        border-color: var(--bo-secondary);
        outline: 3px solid rgb(217 119 6 / 12%);
    }

.bakery-search-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    color: var(--bo-text-muted);
    pointer-events: none;
    transform: translateY(-50%);
}*/

/* ---------- Tables ---------- */
/*.bakery-table-wrap,
.bakery-table-container {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius-md);
    background: var(--bo-surface);
    -webkit-overflow-scrolling: touch;
}

.bakery-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12px;
    text-align: left;
}

    .bakery-table thead th {
        padding: 13px 16px;
        border-bottom: 1px solid var(--bo-border);
        background: #FAF8F5;
        color: var(--bo-text-secondary);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.45px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .bakery-table tbody td {
        padding: 14px 16px;
        border-bottom: 1px solid #F0ECE7;
        color: var(--bo-text);
        vertical-align: middle;
    }

    .bakery-table tbody tr:last-child td {
        border-bottom: none;
    }

    .bakery-table tbody tr:hover td {
        background: #FFFCF8;
    }

.bakery-table-primary {
    font-weight: 700;
    overflow-wrap: anywhere;
}

.bakery-table-secondary {
    margin-top: 3px;
    color: var(--bo-text-secondary);
    font-size: 11px;
}

.bakery-table-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: max-content;
}

.bakery-empty-state {
    padding: 36px 20px;
    color: var(--bo-text-secondary);
    text-align: center;
}

.bakery-empty-state-title {
    margin-bottom: 6px;
    color: var(--bo-text);
    font-size: 14px;
    font-weight: 750;
}

.bakery-empty-state-description {
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
}*/

/* ---------- Alerts and stock warnings ---------- */
/*.bakery-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: var(--bo-radius-sm);
    font-size: 12px;
    line-height: 1.6;
}

.bakery-alert-title {
    margin-bottom: 3px;
    font-weight: 750;
}

.bakery-alert-info {
    border-color: #C9D9FF;
    background: var(--bo-info-soft);
    color: #1D4ED8;
}

.bakery-alert-success {
    border-color: #BDE5C5;
    background: var(--bo-success-soft);
    color: #176B2A;
}

.bakery-alert-warning {
    border-color: #F2D49B;
    background: var(--bo-warning-soft);
    color: #8A4B08;
}

.bakery-alert-danger {
    border-color: #F5C2C2;
    background: var(--bo-danger-soft);
    color: #B91C1C;
}

.bakery-stock-low {
    color: var(--bo-danger);
    font-weight: 750;
}

.bakery-stock-normal {
    color: var(--bo-success);
    font-weight: 700;
}*/

/* ---------- Activity list ---------- */
/*.bakery-activity-list {
    display: flex;
    flex-direction: column;
}

.bakery-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #F0ECE7;
}

    .bakery-activity-item:first-child {
        padding-top: 0;
    }

    .bakery-activity-item:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

.bakery-activity-dot {
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--bo-secondary);
    box-shadow: 0 0 0 4px var(--bo-secondary-soft);
}

.bakery-activity-content {
    flex: 1;
    min-width: 0;
}

.bakery-activity-title {
    color: var(--bo-text);
    font-size: 12px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.bakery-activity-description {
    margin-top: 4px;
    color: var(--bo-text-secondary);
    font-size: 11px;
    line-height: 1.6;
}

.bakery-activity-time {
    margin-top: 5px;
    color: var(--bo-text-muted);
    font-size: 10px;
}*/

/* ---------- Loading and error states ---------- */
/*.bakery-loading {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--bo-text-secondary);
    font-size: 12px;
}

.bakery-loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--bo-border);
    border-top-color: var(--bo-primary);
    border-radius: 50%;
    animation: bakery-spin 800ms linear infinite;
}

@keyframes bakery-spin {
    to {
        transform: rotate(360deg);
    }
}

.bakery-error {
    padding: 16px;
    border: 1px solid #F5C2C2;
    border-radius: var(--bo-radius-md);
    background: var(--bo-danger-soft);
    color: #B91C1C;
    font-size: 12px;
    line-height: 1.7;
}*/

/* ---------- Login page ---------- */
/*.bakery-login-page {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
    background: var(--bo-background);
}*/

/*.bakery-login-page {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
    background-image: url('/_content/BoulangerieOS.SharedUI/images/nagari.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.bakery-login-card {
    width: 100%;
    max-width: 430px;
    padding: 36px;
    border: 1px solid var(--bo-border);
    border-radius: var(--bo-radius-lg);
    background: rgb(255 255 255 / 95%);
    backdrop-filter: blur(8px);
    box-shadow: var(--bo-shadow-md);
}

.bakery-login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
    text-align: center;
}

    .bakery-login-brand .bakery-brand-mark {
        width: 54px;
        height: 54px;
        margin-bottom: 14px;
        font-size: 28px;
    }

.bakery-login-title {
    margin-bottom: 8px;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.bakery-login-description {
    margin: 0;
    color: var(--bo-text-secondary);
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

.bakery-login-footer {
    margin-top: 24px;
    color: var(--bo-text-muted);
    font-size: 11px;
    text-align: center;
}*/

/* ---------- Utility classes ---------- */
/*.bakery-muted {
    color: var(--bo-text-secondary);
}

.bakery-text-primary {
    color: var(--bo-primary);
}

.bakery-text-success {
    color: var(--bo-success);
}

.bakery-text-warning {
    color: var(--bo-warning);
}

.bakery-text-danger {
    color: var(--bo-danger);
}

.bakery-text-right {
    text-align: right;
}

.bakery-text-center {
    text-align: center;
}

.bakery-fw-semibold {
    font-weight: 600;
}

.bakery-fw-bold {
    font-weight: 700;
}

.bakery-w-100 {
    width: 100%;
}

.bakery-mt-1 {
    margin-top: 8px;
}

.bakery-mt-2 {
    margin-top: 16px;
}

.bakery-mt-3 {
    margin-top: 24px;
}

.bakery-mb-1 {
    margin-bottom: 8px;
}

.bakery-mb-2 {
    margin-bottom: 16px;
}

.bakery-mb-3 {
    margin-bottom: 24px;
}

.bakery-flex {
    display: flex;
}

.bakery-flex-wrap {
    flex-wrap: wrap;
}

.bakery-items-center {
    align-items: center;
}

.bakery-justify-between {
    justify-content: space-between;
}

.bakery-gap-1 {
    gap: 8px;
}

.bakery-gap-2 {
    gap: 16px;
}*/

/* ---------- Blazor error UI ---------- */
/*#blazor-error-ui {
    display: none;
    position: fixed;
    z-index: 9999;
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 14px 18px;
    border: 1px solid #F5C2C2;
    border-radius: var(--bo-radius-md);
    background: var(--bo-danger-soft);
    color: #991B1B;
    box-shadow: var(--bo-shadow-md);
    font-size: 12px;
}

    #blazor-error-ui .reload {
        margin-left: 8px;
        font-weight: 750;
        text-decoration: underline;
    }

    #blazor-error-ui .dismiss {
        float: right;
        margin-left: 12px;
        cursor: pointer;
        font-size: 17px;
    }*/

/* ---------- Responsive layouts ---------- */
/*@media (max-width: 1200px) {
    .bakery-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bakery-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bakery-topbar {
        padding-right: 24px;
        padding-left: 24px;
    }

    .bakery-page {
        padding-right: 24px;
        padding-left: 24px;
    }

    .bakery-page-header,
    .bakery-panel-header {
        flex-wrap: wrap;
    }
}

@media (max-width: 900px) {
    :root {
        --bo-sidebar-width: 220px;
    }

    .bakery-dashboard-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bakery-topbar {
        padding-right: 18px;
        padding-left: 18px;
    }

    .bakery-page {
        padding: 22px 18px 32px;
    }

    .bakery-account-button {
        max-width: 320px;
        min-width: 0;
        padding: 4px 10px;
        border-radius: var(--bo-radius-sm);
        text-transform: none;
        background: var(--bo-surface-muted);
        border: 1px solid var(--bo-border);
    }

    .bakery-account-name {
        max-width: 170px;
    }
}

@media (max-width: 640px) {
    :root {
        --bo-sidebar-width: 0px;
        --bo-topbar-height: 64px;
    }

    .bakery-shell {
        display: block;
    }

    .bakery-sidebar {
        display: none;
    }

    .bakery-main,
    .bakery-content {
        width: 100%;
        min-height: 100vh;
        margin-left: 0;
    }

    .bakery-topbar {
        gap: 10px;
        padding: 10px 14px;
    }

    .bakery-topbar-title {
        font-size: 14px;
    }

    .bakery-topbar-subtitle {
        max-width: 180px;
        font-size: 11px;
    }

    .bakery-topbar-actions {
        gap: 6px;
    }

    .bakery-user-actions {
        gap: 8px;
    }

    .bakery-user-info {
        display: none;
    }

    .bakery-currency {
        padding: 6px 8px;
        font-size: 10px;
    }

    .bakery-account-button {
        max-width: 190px;
        min-width: 0;
        padding-right: 6px;
        padding-left: 6px;
    }

    .bakery-account-name {
        max-width: 95px;
    }

    .bakery-page {
        padding: 20px 14px 28px;
    }

    .bakery-page-header {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 20px;
    }

    .bakery-page-actions {
        width: 100%;
    }

        .bakery-page-actions .bakery-btn {
            flex: 1;
        }

    .bakery-card-grid,
    .bakery-shortcuts {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .bakery-stat-card {
        padding: 17px;
    }

    .bakery-panel {
        padding: 16px;
    }

    .bakery-panel-header {
        align-items: flex-start;
    }

    .bakery-form-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .bakery-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .bakery-toolbar-start,
    .bakery-toolbar-end {
        width: 100%;
    }

    .bakery-search {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .bakery-table {
        min-width: 620px;
    }

    .bakery-login-card {
        padding: 26px 20px;
    }

    .bakery-dashboard-header {
        flex-direction: column;
    }
}*/

/* ---------- Reduced-motion accessibility ---------- */
/*@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.bakery-nav-group {
    margin: 2px 0;
}

.bakery-nav-group-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
    list-style: none;
    box-sizing: border-box;
}

    .bakery-nav-group-toggle::-webkit-details-marker {
        display: none;
    }

.bakery-nav-chevron {
    margin-left: auto;
    display: inline-flex;
    transition: transform 160ms ease;
}

.bakery-nav-group[open] > .bakery-nav-group-toggle .bakery-nav-chevron {
    transform: rotate(180deg);
}

.bakery-nav-submenu {
    margin-left: 12px;
    padding-left: 8px;
    border-left: 1px solid var(--mud-palette-divider);
}

.bakery-nav-sublink {
    padding-left: 8px;
    font-size: 0.92rem;
}*/

/* Force all MudBlazor popovers and dropdowns to appear above modal dialogs */
/*.mud-popover {
    z-index: 99999 !important;
}

.mud-popover-provider {
    z-index: 99999 !important;
}

.bakery-login-links {
    text-align: center;
}

.bakery-link {
    color: var(--bakery-primary, #1A1A2E);
    text-decoration: none;
    font-size: 0.9rem;
}

    .bakery-link:hover {
        text-decoration: underline;
    }*/