/* /Components/Common/AddEditPage.razor.rz.scp.css */
/* Sticky bar - stays visible below MainLayout's 5rem top-row */
.add-edit-sticky-bar[b-iiebhu0r15] {
    position: sticky;
    top: 5rem;
    z-index: 2;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    margin-left: -2rem;
    margin-right: -1.5rem;
    margin-bottom: 1.25rem;
}

.add-edit-sticky-bar-inner[b-iiebhu0r15] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.625rem 2rem;
    gap: 1.5rem;
}

/* Breadcrumb nav container */
.add-edit-breadcrumb-nav[b-iiebhu0r15] {
    flex: 0 1 auto;
    min-width: 0;
}

/* Breadcrumb list */
.add-edit-breadcrumb[b-iiebhu0r15] {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: center;
    gap: 0.25rem;
}

/* Chevron separator */
.add-edit-breadcrumb-separator[b-iiebhu0r15] {
    display: flex;
    align-items: center;
    color: #9ca3af;
    flex-shrink: 0;
}

/* Breadcrumb item - pill style */
.add-edit-breadcrumb-item[b-iiebhu0r15] {
    display: flex;
    align-items: center;
}

.add-edit-breadcrumb-item a[b-iiebhu0r15] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: #f3f4f6;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.add-edit-breadcrumb-item a:hover[b-iiebhu0r15] {
    background-color: #e0e7ff;
    color: #3b82f6;
    border-color: #c7d2fe;
    text-decoration: none;
}

.add-edit-breadcrumb-item a:active[b-iiebhu0r15] {
    background-color: #c7d2fe;
}

/* Icon inside breadcrumb link */
[b-iiebhu0r15] .add-edit-breadcrumb-icon {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Active/current breadcrumb item */
.add-edit-breadcrumb-item.active[b-iiebhu0r15] {
    display: inline-flex;
    align-items: center;
}

.add-edit-breadcrumb-item.active span[b-iiebhu0r15] {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1d4ed8;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    white-space: nowrap;
}

/* Action buttons in sticky bar */
.add-edit-sticky-actions[b-iiebhu0r15] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}

/* Page title in sticky bar */
.add-edit-title[b-iiebhu0r15] {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.add-edit-title-text[b-iiebhu0r15] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-iiebhu0r15] .add-edit-title-icon {
    font-size: 1.25rem;
    color: #3b82f6;
    flex-shrink: 0;
}

/* Optional header section below sticky bar */
.add-edit-header[b-iiebhu0r15] {
    margin-bottom: 1.25rem;
}

.add-edit-header-inner[b-iiebhu0r15] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.add-edit-subtitle[b-iiebhu0r15] {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.add-edit-header-extra[b-iiebhu0r15] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Responsive: stack breadcrumb above buttons on small screens */
@media (max-width: 640px) {
    .add-edit-sticky-bar[b-iiebhu0r15] {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }

    .add-edit-sticky-bar-inner[b-iiebhu0r15] {
        flex-direction: column;
        align-items: stretch;
        padding: 0.625rem 1rem;
        gap: 0.75rem;
    }

    /* Title first on mobile */
    .add-edit-title[b-iiebhu0r15] {
        order: -1;
        justify-content: flex-start;
    }

    .add-edit-title-text[b-iiebhu0r15] {
        font-size: 1.125rem;
    }

    /* Breadcrumbs second */
    .add-edit-breadcrumb-nav[b-iiebhu0r15] {
        order: 0;
    }

    /* Actions last */
    .add-edit-sticky-actions[b-iiebhu0r15] {
        order: 1;
        justify-content: flex-end;
    }

    .add-edit-breadcrumb-item a[b-iiebhu0r15],
    .add-edit-breadcrumb-item.active span[b-iiebhu0r15] {
        padding: 0.3rem 0.625rem;
        font-size: 0.8125rem;
    }

    /* Header stacks vertically */
    .add-edit-header-inner[b-iiebhu0r15] {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* /Pages/Administration/Enrichment/ProductEnrichmentAddEdit.razor.rz.scp.css */
/* Drag and Drop Container */
.drag-drop-container[b-03v5v5unv2] {
    width: 100%;
    margin-top: 1rem;
}

/* Drop Zone Base Styles */
[b-03v5v5unv2] .drop-zone {
    min-height: 300px;
    padding: 1rem;
    border: 2px dashed #dee2e6;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

[b-03v5v5unv2] .drop-zone:hover {
    border-color: #adb5bd;
    background-color: #e9ecef;
}

/* Available Zone (Left) */
[b-03v5v5unv2] .available-zone {
    border-color: #6c757d;
    background-color: #f8f9fa;
}

[b-03v5v5unv2] .available-zone:hover {
    border-color: #495057;
    background-color: #e9ecef;
}

/* Included Zone (Right) */
[b-03v5v5unv2] .included-zone {
    border-color: #0d6efd;
    background-color: #e7f1ff;
}

[b-03v5v5unv2] .included-zone:hover {
    border-color: #0a58ca;
    background-color: #cfe2ff;
}

/* Zone Header */
[b-03v5v5unv2] .zone-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

[b-03v5v5unv2] .zone-header h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #212529;
}

[b-03v5v5unv2] .zone-header small {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Field Item (Draggable) */
[b-03v5v5unv2] .field-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    cursor: move;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

[b-03v5v5unv2] .field-item:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

[b-03v5v5unv2] .field-item:active {
    cursor: grabbing;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

/* Drag Handle Icon */
[b-03v5v5unv2] .drag-handle {
    color: #6c757d;
    font-size: 1rem;
    flex-shrink: 0;
}

[b-03v5v5unv2] .field-item:hover .drag-handle {
    color: #495057;
}

/* Field Name */
[b-03v5v5unv2] .field-name {
    font-size: 0.9375rem;
    color: #212529;
    font-weight: 500;
    flex-grow: 1;
    user-select: none;
}

/* Dragging State */
[b-03v5v5unv2] .field-item.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

/* Drop Zone Active State (when dragging over) */
[b-03v5v5unv2] .drop-zone.drag-over {
    border-color: #0d6efd;
    background-color: #cfe2ff;
    border-style: solid;
}

/* Empty State Message */
[b-03v5v5unv2] .drop-zone:empty::after {
    content: "Drag fields here";
    display: block;
    text-align: center;
    color: #adb5bd;
    font-style: italic;
    padding: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    [b-03v5v5unv2] .drop-zone {
        min-height: 200px;
    }

    [b-03v5v5unv2] .field-item {
        padding: 0.5rem 0.75rem;
    }
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-7znlcxiv5a] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-7znlcxiv5a] {
    flex: 1;
}

.sidebar[b-7znlcxiv5a] {
    background-color: #f8f9fa;
    border-right: 1px solid #e9ecef;
}

.top-row[b-7znlcxiv5a] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

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

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

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

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-7znlcxiv5a] {
        display: none;
    }

    .top-row.auth[b-7znlcxiv5a] {
        justify-content: space-between;
    }

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

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

    .sidebar[b-7znlcxiv5a] {
        width: 250px;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        overflow: hidden;
        transition: width 0.3s ease;
    }

    .top-row[b-7znlcxiv5a] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

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

    main[b-7znlcxiv5a] {
        margin-left: 250px;
        transition: margin-left 0.3s ease;
    }

    .page.sidebar-collapsed .sidebar[b-7znlcxiv5a] {
        width: 60px;
    }

    .page.sidebar-collapsed main[b-7znlcxiv5a] {
        margin-left: 60px;
    }

    .top-row[b-7znlcxiv5a], article[b-7znlcxiv5a] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/MainLayoutNoNavigation.razor.rz.scp.css */
.page[b-zayr3iotqd] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-zayr3iotqd] {
    flex: 1;
}

.sidebar[b-zayr3iotqd] {
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    background-color: #1861ac;
}

.top-row[b-zayr3iotqd] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

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

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

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

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-zayr3iotqd] {
        display: none;
    }

    .top-row.auth[b-zayr3iotqd] {
        justify-content: space-between;
    }

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

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

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

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

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

    .top-row[b-zayr3iotqd], article[b-zayr3iotqd] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-7fpwxui2zo] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-7fpwxui2zo] {
    height: 5rem;
    background: linear-gradient(135deg, #1b6ec2, #0d6efd);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand[b-7fpwxui2zo] {
    font-size: 1.1rem;
}

/* Sidebar toggle button - expanded state */
.sidebar-toggle-btn[b-7fpwxui2zo] {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.sidebar-toggle-btn:hover[b-7fpwxui2zo] {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(2px);
}

.sidebar-toggle-btn:active[b-7fpwxui2zo] {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(3px);
}

/* Sidebar toggle button - collapsed state */
.sidebar-toggle-btn-compact[b-7fpwxui2zo] {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

.sidebar-toggle-btn-compact:hover[b-7fpwxui2zo] {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.sidebar-toggle-btn-compact:active[b-7fpwxui2zo] {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0.98);
}

/* Collapsed container - no padding to prevent squishing */
.collapsed-container[b-7fpwxui2zo] {
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Collapsed header adjustments */
.top-row.collapsed-header[b-7fpwxui2zo] {
    padding: 0.75rem 0;
}

.oi[b-7fpwxui2zo] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

/* Modern nav item styles - let the global CSS handle the styling */
.nav-item[b-7fpwxui2zo] {
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

/* Override deep styles to let modern styles take precedence */
.nav-item[b-7fpwxui2zo]  a {
    all: unset;
    display: block;
    padding: 0.75rem 1rem;
    color: #495057;
    text-decoration: none;
    border-radius: 0.375rem;
    margin: 0.25rem 1rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    width: calc(100% - 2rem);
    box-sizing: border-box;
}

.nav-item[b-7fpwxui2zo]  a.active {
    background-color: #0d6efd;
    color: white;
}

.nav-item[b-7fpwxui2zo]  a:hover {
    background-color: #e9ecef;
    color: #212529;
}

.nav-item[b-7fpwxui2zo]  a.active:hover {
    background-color: #0b5ed7;
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-7fpwxui2zo] {
        display: none;
    }

    .modern-sidebar.collapse[b-7fpwxui2zo] {
        /* Never collapse the sidebar for wide screens */
        display: block !important;
    }
}
