@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';
@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.wuc5ioiakb.bundle.scp.css';

/* _content/DocumentTemplateManager/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-j6waac2hds] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

#blazor-error-ui[b-j6waac2hds] {
    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-j6waac2hds] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/DocumentTemplateManager/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-91eqo2z0nm] {
    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-91eqo2z0nm] {
    background-color: rgba(255, 255, 255, 0.5);
}

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

.navbar-brand[b-91eqo2z0nm] {
    font-size: 1.1rem;
}

.bi[b-91eqo2z0nm] {
    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-91eqo2z0nm] {
    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-91eqo2z0nm] {
    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-91eqo2z0nm] {
    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-91eqo2z0nm] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

    .nav-item[b-91eqo2z0nm]  .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-91eqo2z0nm]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

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

.nav-scrollable[b-91eqo2z0nm] {
    display: none;
}

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

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

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

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/DocumentTemplateManager/Components/Pages/PdfTemplateFiller.razor.rz.scp.css */
.template-filler[b-iodugilob2] {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
}

.toolbar[b-iodugilob2] {
    background-color: white;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.toolbar h2[b-iodugilob2] {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.toolbar-actions[b-iodugilob2] {
    display: flex;
    gap: 0.5rem;
}

.filler-container[b-iodugilob2] {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    flex: 1;
    overflow: hidden;
}

/* Left Panel - Fill Form */
.fill-form-panel[b-iodugilob2] {
    background-color: white;
    border-right: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.panel-header[b-iodugilob2] {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.panel-header h3[b-iodugilob2] {
    margin: 0;
    font-size: 1.25rem;
    color: #333;
}

.field-count[b-iodugilob2] {
    background-color: #e9ecef;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    color: #666;
}

.fields-form[b-iodugilob2] {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.field-group[b-iodugilob2] {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.field-group:last-child[b-iodugilob2] {
    border-bottom: none;
    margin-bottom: 0;
}

.empty-state[b-iodugilob2],
.loading-state[b-iodugilob2] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    text-align: center;
    padding: 2rem;
}

.empty-state p[b-iodugilob2],
.loading-state p[b-iodugilob2] {
    margin: 0.5rem 0;
}

/* Right Panel - PDF Preview */
.pdf-preview-panel[b-iodugilob2] {
    background-color: #2c2c2c;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.preview-placeholder[b-iodugilob2] {
    text-align: center;
    color: #999;
    padding: 2rem;
}

.preview-placeholder p[b-iodugilob2] {
    margin: 0;
    font-size: 1.125rem;
}

/* Buttons */
.btn[b-iodugilob2] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary[b-iodugilob2] {
    background-color: #0066CC;
    color: white;
}

.btn-primary:hover:not(:disabled)[b-iodugilob2] {
    background-color: #0052A3;
}

.btn-secondary[b-iodugilob2] {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover:not(:disabled)[b-iodugilob2] {
    background-color: #5a6268;
}

.btn-success[b-iodugilob2] {
    background-color: #28a745;
    color: white;
}

.btn-success:hover:not(:disabled)[b-iodugilob2] {
    background-color: #218838;
}

.btn-warning[b-iodugilob2] {
    background-color: #ffc107;
    color: #333;
}

.btn-warning:hover:not(:disabled)[b-iodugilob2] {
    background-color: #e0a800;
}

.btn:disabled[b-iodugilob2] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .filler-container[b-iodugilob2] {
        grid-template-columns: 350px 1fr;
    }
}

@media (max-width: 768px) {
    .toolbar[b-iodugilob2] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .toolbar-actions[b-iodugilob2] {
        flex-wrap: wrap;
    }

    .filler-container[b-iodugilob2] {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .fill-form-panel[b-iodugilob2] {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
        max-height: 50vh;
    }
}
/* _content/DocumentTemplateManager/Components/Pages/PdfTemplates.razor.rz.scp.css */
.templates-page[b-nrvilja1cn] {
    padding: 2rem;
}

.page-header[b-nrvilja1cn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header-actions[b-nrvilja1cn] {
    display: flex;
    gap: 0.5rem;
}

.filter-section[b-nrvilja1cn] {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-group[b-nrvilja1cn] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-group label[b-nrvilja1cn] {
    font-weight: 500;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

.form-select[b-nrvilja1cn] {
    padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: white;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    min-width: 200px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: border-color 0.15s;
}

.form-select:hover[b-nrvilja1cn] {
    border-color: #999;
}

.form-select:focus[b-nrvilja1cn] {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.filter-badge[b-nrvilja1cn] {
    background-color: #e7f3ff;
    color: #0066CC;
    padding: 0.375rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.templates-grid[b-nrvilja1cn] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.template-card[b-nrvilja1cn] {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}

.template-card:hover[b-nrvilja1cn] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.template-header[b-nrvilja1cn] {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.template-header h3[b-nrvilja1cn] {
    margin: 0;
    font-size: 1.25rem;
    color: #333;
}

.badge[b-nrvilja1cn] {
    background-color: #e9ecef;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    color: #666;
    white-space: nowrap;
}

.template-description[b-nrvilja1cn] {
    color: #666;
    font-size: 0.875rem;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.template-company[b-nrvilja1cn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: #f8f9fa;
    border-left: 3px solid #0066CC;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.company-icon[b-nrvilja1cn] {
    font-size: 1rem;
}

.company-name[b-nrvilja1cn] {
    font-weight: 500;
    color: #333;
    font-size: 0.875rem;
}

.template-info[b-nrvilja1cn] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

.info-item[b-nrvilja1cn] {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.info-item small[b-nrvilja1cn] {
    color: #666;
}

.info-item span[b-nrvilja1cn] {
    color: #333;
    font-weight: 500;
}

.template-actions[b-nrvilja1cn] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.empty-state[b-nrvilja1cn],
.loading[b-nrvilja1cn] {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.empty-state h3[b-nrvilja1cn] {
    margin-bottom: 1rem;
    color: #333;
}

.btn[b-nrvilja1cn] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-sm[b-nrvilja1cn] {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.btn-lg[b-nrvilja1cn] {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-primary[b-nrvilja1cn] {
    background-color: #0066CC;
    color: white;
}

.btn-primary:hover[b-nrvilja1cn] {
    background-color: #0052A3;
}

.btn-secondary[b-nrvilja1cn] {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover[b-nrvilja1cn] {
    background-color: #5a6268;
}

.btn-success[b-nrvilja1cn] {
    background-color: #28a745;
    color: white;
}

.btn-success:hover[b-nrvilja1cn] {
    background-color: #218838;
}

.btn-danger[b-nrvilja1cn] {
    background-color: #dc3545;
    color: white;
}

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

@media (max-width: 768px) {
    .templates-grid[b-nrvilja1cn] {
        grid-template-columns: 1fr;
    }

    .page-header[b-nrvilja1cn] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .filter-group[b-nrvilja1cn] {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .form-select[b-nrvilja1cn] {
        width: 100%;
    }
}
