/* /Components/FilesToData/ImagePlacementCanvas.razor.rz.scp.css */
/* ImagePlacementCanvas - Simplified Styles */

.image-canvas-container[b-qoepfkn34e] {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-height: 200px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

/* Canvas Wrapper */
.canvas-wrapper[b-qoepfkn34e] {
    flex: 1;
    display: flex;
    overflow: hidden;
    background-color: #fff;
    transition: background-color 0.15s ease;
    min-height: inherit;
    position: relative;
}

.canvas-wrapper.drag-over[b-qoepfkn34e] {
    background-color: rgba(33, 150, 243, 0.05);
}

.canvas-area[b-qoepfkn34e] {
    position: relative;
    background-color: #fff;
    width: 100%;
    height: 100%;
    min-height: inherit;
    overflow: hidden;
}

/* Empty Canvas Hint */
.empty-canvas-hint[b-qoepfkn34e] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #bbb;
    pointer-events: none;
}

.empty-canvas-hint i[b-qoepfkn34e] {
    font-size: 48px;
}

.empty-canvas-hint span[b-qoepfkn34e] {
    font-size: 14px;
}

/* Drop Indicator */
.drop-indicator[b-qoepfkn34e] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #2196f3;
    pointer-events: none;
    z-index: 9999;
}

.drop-indicator i[b-qoepfkn34e] {
    font-size: 36px;
}

.drop-indicator span[b-qoepfkn34e] {
    font-size: 14px;
    font-weight: 500;
}

/* Placed Images */
.placed-image[b-qoepfkn34e] {
    position: absolute;
    cursor: move;
    user-select: none;
    transform-origin: center center;
    box-sizing: border-box;
}

.placed-image img[b-qoepfkn34e] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.placed-image.selected[b-qoepfkn34e] {
    outline: 2px solid #2196f3;
    outline-offset: 2px;
}

/* Resize Handles */
.resize-handle[b-qoepfkn34e] {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border: 2px solid #2196f3;
    border-radius: 2px;
    z-index: 1000;
}

.resize-handle.nw[b-qoepfkn34e] { top: -5px; left: -5px; cursor: nw-resize; }
.resize-handle.ne[b-qoepfkn34e] { top: -5px; right: -5px; cursor: ne-resize; }
.resize-handle.sw[b-qoepfkn34e] { bottom: -5px; left: -5px; cursor: sw-resize; }
.resize-handle.se[b-qoepfkn34e] { bottom: -5px; right: -5px; cursor: se-resize; }

/* Rotate Handle */
.rotate-handle[b-qoepfkn34e] {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: #2196f3;
    border-radius: 50%;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 9px;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.rotate-handle:hover[b-qoepfkn34e] {
    background-color: #1976d2;
}

.rotate-handle:active[b-qoepfkn34e] {
    cursor: grabbing;
}

/* Edit Handle */
.edit-handle[b-qoepfkn34e] {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: #ff9800;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.edit-handle:hover[b-qoepfkn34e] {
    background-color: #f57c00;
}

/* Delete Handle */
.delete-handle[b-qoepfkn34e] {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: #f44336;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    z-index: 1001;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: background-color 0.15s, transform 0.15s;
}

.delete-handle:hover[b-qoepfkn34e] {
    background-color: #d32f2f;
    transform: scale(1.2);
}

/* Connector line from image to rotate handle */
.placed-image.selected[b-qoepfkn34e]::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 50%;
    width: 2px;
    height: 16px;
    background-color: #2196f3;
    transform: translateX(-50%);
}

/* Connector line from image to edit handle */
.placed-image.selected[b-qoepfkn34e]::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    width: 2px;
    height: 16px;
    background-color: #ff9800;
    transform: translateX(-50%);
}
/* /Components/FilesToData/TemplateEditor.razor.rz.scp.css */
.template-editor[b-3uwcyk216y] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.editor-toolbar[b-3uwcyk216y] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-bottom: 1px solid #dee2e6;
}

.toolbar-left[b-3uwcyk216y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toolbar-left h4[b-3uwcyk216y] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.toolbar-right[b-3uwcyk216y] {
    display: flex;
    gap: 0.5rem;
}

.spreadsheet-container[b-3uwcyk216y] {
    flex: 1;
    overflow: hidden;
}

.empty-editor[b-3uwcyk216y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6c757d;
}

.empty-editor p[b-3uwcyk216y] {
    margin-top: 1rem;
    font-size: 1.1rem;
}
/* /Components/FilesToData/TemplateManager.razor.rz.scp.css */
.template-manager[b-l1yx592bwe] {
    padding: 1rem;
}

.template-header[b-l1yx592bwe] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.template-header h3[b-l1yx592bwe] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.loading-spinner[b-l1yx592bwe] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.empty-state[b-l1yx592bwe] {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.empty-state p[b-l1yx592bwe] {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.template-list[b-l1yx592bwe] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.template-card[b-l1yx592bwe] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    transition: box-shadow 0.2s;
}

.template-card:hover[b-l1yx592bwe] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.template-icon[b-l1yx592bwe] {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.template-info[b-l1yx592bwe] {
    flex: 1;
    min-width: 0;
}

.template-name[b-l1yx592bwe] {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.template-meta[b-l1yx592bwe] {
    margin: 0 0 0.5rem 0;
}

.template-description[b-l1yx592bwe] {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.template-actions[b-l1yx592bwe] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.modal-backdrop.show[b-l1yx592bwe] {
    opacity: 0.5;
}

.modal.show[b-l1yx592bwe] {
    display: block;
}
/* /Components/FilesToData/XlsxPreviewCanvas.razor.rz.scp.css */
.xlsx-preview-container[b-d6seimqdz7] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f5f5f5;
}

.xlsx-toolbar[b-d6seimqdz7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    gap: 16px;
}

.toolbar-left[b-d6seimqdz7], .toolbar-center[b-d6seimqdz7], .toolbar-right[b-d6seimqdz7] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sheet-indicator[b-d6seimqdz7] {
    font-size: 14px;
    color: #555;
    padding: 0 12px;
}

.sheet-indicator strong[b-d6seimqdz7] {
    color: #333;
    font-weight: 600;
}

.zoom-controls[b-d6seimqdz7] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: #f8f8f8;
    border-radius: 6px;
}

.zoom-level[b-d6seimqdz7] {
    font-size: 13px;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
    color: #333;
}

.btn-icon[b-d6seimqdz7] {
    padding: 8px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    color: #555;
}

.btn-icon:hover:not(:disabled)[b-d6seimqdz7] {
    background: #f0f0f0;
    border-color: #999;
}

.btn-icon:disabled[b-d6seimqdz7] {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-primary[b-d6seimqdz7], .btn-success[b-d6seimqdz7] {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary[b-d6seimqdz7] {
    background: #4472C4;
    color: white;
}

.btn-primary:hover[b-d6seimqdz7] {
    background: #365a9e;
}

.btn-success[b-d6seimqdz7] {
    background: #70AD47;
    color: white;
}

.btn-success:hover[b-d6seimqdz7] {
    background: #5a8c38;
}

.sheet-tabs[b-d6seimqdz7] {
    display: flex;
    gap: 4px;
    padding: 8px 16px;
    background: white;
    border-bottom: 2px solid #e0e0e0;
    overflow-x: auto;
}

.sheet-tab[b-d6seimqdz7] {
    padding: 8px 16px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}

.sheet-tab:hover[b-d6seimqdz7] {
    background: #e8e8e8;
}

.sheet-tab.active[b-d6seimqdz7] {
    background: white;
    border-color: #4472C4;
    border-bottom: 2px solid white;
    margin-bottom: -2px;
    color: #4472C4;
    font-weight: 600;
}

.preview-workspace[b-d6seimqdz7] {
    flex: 1;
    overflow: auto;
    padding: 24px;
    position: relative;
}

.preview-canvas[b-d6seimqdz7] {
    position: relative;
    display: inline-block;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.preview-frame[b-d6seimqdz7] {
    border: none;
    display: block;
}

.placements-overlay[b-d6seimqdz7] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.placement-item[b-d6seimqdz7] {
    position: absolute;
    border: 2px solid #4472C4;
    background: rgba(68, 114, 196, 0.1);
    cursor: move;
    pointer-events: auto;
    transition: box-shadow 0.2s;
}

.placement-item:hover[b-d6seimqdz7] {
    box-shadow: 0 0 0 2px rgba(68, 114, 196, 0.3);
}

.placement-text[b-d6seimqdz7] {
    border-color: #70AD47;
    background: rgba(112, 173, 71, 0.1);
}

.placement-image[b-d6seimqdz7] {
    border-color: #ED7D31;
    background: rgba(237, 125, 49, 0.05);
}

.placement-table[b-d6seimqdz7] {
    border-color: #FFC000;
    background: rgba(255, 192, 0, 0.1);
}

.placement-content[b-d6seimqdz7] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    overflow: hidden;
}

.text-content[b-d6seimqdz7] {
    font-size: 11px;
    color: #333;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.placement-content img[b-d6seimqdz7] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.table-indicator[b-d6seimqdz7] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #FFC000;
}

.placement-handles[b-d6seimqdz7] {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    pointer-events: none;
}

.handle[b-d6seimqdz7] {
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border: 2px solid #4472C4;
    border-radius: 50%;
    pointer-events: auto;
    cursor: pointer;
}

.handle-nw[b-d6seimqdz7] {
    top: 0;
    left: 0;
    cursor: nw-resize;
}

.handle-ne[b-d6seimqdz7] {
    top: 0;
    right: 0;
    cursor: ne-resize;
}

.handle-sw[b-d6seimqdz7] {
    bottom: 0;
    left: 0;
    cursor: sw-resize;
}

.handle-se[b-d6seimqdz7] {
    bottom: 0;
    right: 0;
    cursor: se-resize;
}

.btn-delete-placement[b-d6seimqdz7] {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 24px;
    height: 24px;
    background: #dc3545;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all 0.2s;
}

.btn-delete-placement:hover[b-d6seimqdz7] {
    background: #c82333;
    transform: scale(1.1);
}

.placement-properties[b-d6seimqdz7] {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
}

.placement-properties h4[b-d6seimqdz7] {
    margin: 0 0 16px 0;
    font-size: 16px;
    color: #333;
    border-bottom: 2px solid #4472C4;
    padding-bottom: 8px;
}

.property-group[b-d6seimqdz7] {
    margin-bottom: 12px;
}

.property-group label[b-d6seimqdz7] {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
}

.property-group input[b-d6seimqdz7] {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

.property-group span[b-d6seimqdz7] {
    display: block;
    padding: 6px 10px;
    background: #f8f8f8;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
}

.preview-loading[b-d6seimqdz7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    color: #999;
}

.preview-loading i[b-d6seimqdz7] {
    font-size: 48px;
    margin-bottom: 16px;
}

.preview-loading p[b-d6seimqdz7] {
    font-size: 16px;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-qja99fdylh] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

#blazor-error-ui[b-qja99fdylh] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-qja99fdylh] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-7yhb85fl4c] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-7yhb85fl4c] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-7yhb85fl4c] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

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

.bi[b-7yhb85fl4c] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-7yhb85fl4c] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-7yhb85fl4c] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-7yhb85fl4c] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-7yhb85fl4c] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-7yhb85fl4c] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-7yhb85fl4c] {
        padding-bottom: 1rem;
    }

    .nav-item[b-7yhb85fl4c]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-7yhb85fl4c]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-7yhb85fl4c]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-7yhb85fl4c] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-7yhb85fl4c] {
    display: block;
}

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

    .nav-scrollable[b-7yhb85fl4c] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-q49hhqrba4],
.components-reconnect-repeated-attempt-visible[b-q49hhqrba4],
.components-reconnect-failed-visible[b-q49hhqrba4],
.components-pause-visible[b-q49hhqrba4],
.components-resume-failed-visible[b-q49hhqrba4],
.components-rejoining-animation[b-q49hhqrba4] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-q49hhqrba4],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-q49hhqrba4],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-q49hhqrba4],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-q49hhqrba4],
#components-reconnect-modal.components-reconnect-retrying[b-q49hhqrba4],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-q49hhqrba4],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-q49hhqrba4],
#components-reconnect-modal.components-reconnect-failed[b-q49hhqrba4],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-q49hhqrba4] {
    display: block;
}


#components-reconnect-modal[b-q49hhqrba4] {
    background-color: var(--bg-main, white);
    color: var(--text-primary, #333);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-q49hhqrba4 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-q49hhqrba4 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-q49hhqrba4 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-q49hhqrba4]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-q49hhqrba4 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-q49hhqrba4 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-q49hhqrba4 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-q49hhqrba4 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-q49hhqrba4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-q49hhqrba4] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-q49hhqrba4] {
    border: 0;
    background-color: var(--accent-primary, #6b9ed2);
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
    cursor: pointer;
}

    #components-reconnect-modal button:hover[b-q49hhqrba4] {
        background-color: var(--accent-hover, #3b6ea2);
    }

    #components-reconnect-modal button:active[b-q49hhqrba4] {
        background-color: var(--accent-primary, #6b9ed2);
    }

.components-rejoining-animation[b-q49hhqrba4] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-q49hhqrba4] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-q49hhqrba4 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-q49hhqrba4] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-q49hhqrba4 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/TemplatesPage.razor.rz.scp.css */
.templates-page[b-8xiduph2jd] {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-required[b-8xiduph2jd] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
}

.auth-required .alert[b-8xiduph2jd] {
    max-width: 500px;
    text-align: center;
}

.templates-container[b-8xiduph2jd] {
    display: flex;
    height: 100%;
    overflow: hidden;
}

.templates-sidebar[b-8xiduph2jd] {
    width: 400px;
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
    background: #f8f9fa;
}

.templates-main[b-8xiduph2jd] {
    flex: 1;
    overflow: hidden;
}

.welcome-screen[b-8xiduph2jd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
}

.welcome-screen h2[b-8xiduph2jd] {
    margin: 1rem 0;
    font-size: 2rem;
    font-weight: 600;
}

.welcome-screen p[b-8xiduph2jd] {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-list[b-8xiduph2jd] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 600px;
    margin-top: 2rem;
}

.feature-item[b-8xiduph2jd] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    text-align: left;
}

.feature-item i[b-8xiduph2jd] {
    font-size: 1.5rem;
}

.feature-item span[b-8xiduph2jd] {
    font-size: 0.95rem;
}
/* /Components/Pages/XlsxOcrExample.razor.rz.scp.css */
.xlsx-ocr-page[b-njgqmnvsoh] {
    padding: 24px;
    max-width: 1800px;
    margin: 0 auto;
}

.page-header[b-njgqmnvsoh] {
    margin-bottom: 32px;
    text-align: center;
}

.page-header h1[b-njgqmnvsoh] {
    font-size: 32px;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.page-header h1 i[b-njgqmnvsoh] {
    color: #217346;
}

.page-header p[b-njgqmnvsoh] {
    font-size: 16px;
    color: #666;
}

.upload-section[b-njgqmnvsoh] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.upload-card[b-njgqmnvsoh] {
    background: white;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.upload-card:hover[b-njgqmnvsoh] {
    border-color: #4472C4;
    box-shadow: 0 4px 12px rgba(68, 114, 196, 0.1);
}

.upload-card h3[b-njgqmnvsoh] {
    font-size: 18px;
    color: #333;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.file-input[b-njgqmnvsoh] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
}

.loading-indicator[b-njgqmnvsoh] {
    margin-top: 16px;
    color: #4472C4;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.error-message[b-njgqmnvsoh] {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.success-message[b-njgqmnvsoh] {
    background: #efe;
    border: 1px solid #cfc;
    color: #3a3;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-message[b-njgqmnvsoh] {
    background: #e8f4fd;
    border: 1px solid #b3d9f7;
    color: #0066cc;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.workspace-container[b-njgqmnvsoh] {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    height: calc(100vh - 300px);
    min-height: 600px;
}

.ocr-items-panel[b-njgqmnvsoh] {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    overflow-y: auto;
}

.ocr-items-panel h3[b-njgqmnvsoh] {
    font-size: 16px;
    color: #333;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid #4472C4;
}

.items-list[b-njgqmnvsoh] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ocr-item[b-njgqmnvsoh] {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    cursor: grab;
    transition: all 0.2s;
    display: flex;
    gap: 12px;
}

.ocr-item:hover[b-njgqmnvsoh] {
    background: #e8f4fd;
    border-color: #4472C4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.ocr-item:active[b-njgqmnvsoh] {
    cursor: grabbing;
}

.item-icon[b-njgqmnvsoh] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.item-content[b-njgqmnvsoh] {
    flex: 1;
    min-width: 0;
}

.item-label[b-njgqmnvsoh] {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    overflow: visible;
    white-space: normal;
    word-break: break-word;
}

.item-preview-img[b-njgqmnvsoh] {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    border-radius: 4px;
    margin-top: 8px;
}

.preview-panel[b-njgqmnvsoh] {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
}
