@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.b6pgxrrsua.bundle.scp.css';

/* _content/PyroCrm/Components/Domain/Clients/Create/Form.razor.rz.scp.css */
/* Styles for Form.razor */

.form-container[b-qbc0k8r2zt] {
    max-width: 900px;
    padding: 1rem;
}

.form-section[b-qbc0k8r2zt] {
    margin-bottom: 2.5rem;
}

.section-divider[b-qbc0k8r2zt] {
    margin: 0.5rem 0 1.25rem 0;
}

.definition-list[b-qbc0k8r2zt] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

.definition-group[b-qbc0k8r2zt] {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    align-items: start;
}

    .definition-group dt[b-qbc0k8r2zt] {
        font-weight: 600;
        color: #2c3e50;
        padding: 0.5rem 0;
        position: relative;
    }

        .definition-group dt[b-qbc0k8r2zt]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 2rem;
            height: 2px;
            background-color: #f4511e;
        }

    .definition-group dd[b-qbc0k8r2zt] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

.field-group[b-qbc0k8r2zt] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .field-group label[b-qbc0k8r2zt] {
        font-size: 0.9rem;
        color: #555;
        font-weight: 500;
    }

.field-grid[b-qbc0k8r2zt] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.three-column[b-qbc0k8r2zt] {
    grid-template-columns: repeat(3, 1fr);
}

.switch-field[b-qbc0k8r2zt] {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

    .switch-field label[b-qbc0k8r2zt] {
        margin: 0;
    }

.form-actions[b-qbc0k8r2zt] {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
}

/* Handle validation messages */
[b-qbc0k8r2zt] .validation-message {
    color: #d32f2f;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .definition-group[b-qbc0k8r2zt] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

        .definition-group dt[b-qbc0k8r2zt] {
            padding-bottom: 0.5rem;
            margin-bottom: 0.5rem;
        }

    .three-column[b-qbc0k8r2zt] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .field-grid[b-qbc0k8r2zt], .three-column[b-qbc0k8r2zt] {
        grid-template-columns: 1fr;
    }
}
/* _content/PyroCrm/Components/Domain/Clients/Details/CustomerOverview.razor.rz.scp.css */
/* Styles for CustomerOverview.razor */

.form-section[b-u9x2mmj7s8] {
    margin-bottom: 2.5rem;
    max-width: 1200px;
}

.section-divider[b-u9x2mmj7s8] {
    margin: 0.5rem 0 1.25rem 0;
}

.definition-list[b-u9x2mmj7s8] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

.definition-group[b-u9x2mmj7s8] {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 0.5rem;
    padding-top: 1rem;
}

    .definition-group dt[b-u9x2mmj7s8] {
        font-weight: 600;
        color: #2c3e50;
        padding: 0.5rem 0;
        position: relative;
    }

        .definition-group dt[b-u9x2mmj7s8]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 2rem;
            height: 2px;
            background-color: var(--accent-fill-rest);
        }

    .definition-group dd[b-u9x2mmj7s8] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

.field-group[b-u9x2mmj7s8] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .field-group label[b-u9x2mmj7s8] {
        font-size: 0.9rem;
        color: #555;
        font-weight: 500;
    }

.field-grid[b-u9x2mmj7s8] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.three-column[b-u9x2mmj7s8] {
    grid-template-columns: repeat(3, 1fr);
}

.four-column[b-u9x2mmj7s8] {
    grid-template-columns: repeat(4, 1fr);
}

.checkbox-grid[b-u9x2mmj7s8] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-item[b-u9x2mmj7s8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .checkbox-item label[b-u9x2mmj7s8] {
        margin: 0;
        font-size: 0.9rem;
    }

.form-actions[b-u9x2mmj7s8] {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
}

.loading-container[b-u9x2mmj7s8] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.count-display[b-u9x2mmj7s8] {
    padding: 0.5rem;
    background-color: var(--neutral-layer-3);
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    color: var(--neutral-foreground-rest);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .four-column[b-u9x2mmj7s8] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .definition-group[b-u9x2mmj7s8] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

        .definition-group dt[b-u9x2mmj7s8] {
            padding-bottom: 0.5rem;
            margin-bottom: 0.5rem;
        }

    .three-column[b-u9x2mmj7s8] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .field-grid[b-u9x2mmj7s8], .three-column[b-u9x2mmj7s8], .four-column[b-u9x2mmj7s8] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .checkbox-grid[b-u9x2mmj7s8] {
        grid-template-columns: 1fr;
    }
}

.checkbox-container[b-u9x2mmj7s8] {
    height: 100%;
    padding-top: 28px; /* Adjust to match your input field height */
}
/* _content/PyroCrm/Components/Domain/Clients/Pages/Details.razor.rz.scp.css */
.primary-panel[b-btsst1gl3h] {
    margin: 0.15rem;
    position: relative;
}

.secondary-panel[b-btsst1gl3h] {
    margin: 0.15rem;
}

.collapse-button-container[b-btsst1gl3h] {
    position: absolute;
    top: 50px; /* Position below the tabs */
    right: 0px;
    z-index: 10;
}

.collapse-button[b-btsst1gl3h] {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.icon-button[b-btsst1gl3h] {
    padding: 10px;
    background-color: var(--accent-fill-rest);
}
/* _content/PyroCrm/Components/Domain/Contacts/Create/Form.razor.rz.scp.css */
/* Styles for Contact Form.razor (Popup-optimized with DD/DL layout) */

.form-container[b-60s5dy4mdq] {
    max-width: 100%;
    padding: 0.5rem;
}

.form-section[b-60s5dy4mdq] {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
}

.section-divider[b-60s5dy4mdq] {
    margin: 0.25rem 0 0.5rem 0;
}

/* Definition list styles */
.definition-list[b-60s5dy4mdq] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
}

.definition-group[b-60s5dy4mdq] {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-top: 1rem;
}

    .definition-group dt[b-60s5dy4mdq] {
        font-weight: 600;
        color: #2c3e50;
        font-size: 0.8rem;
        padding: 0.25rem 0;
        position: relative;
    }

        .definition-group dt[b-60s5dy4mdq]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 1.5rem;
            height: 2px;
            background-color: #F4511E
        }

    .definition-group dd[b-60s5dy4mdq] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

/* Field styles */
.field-group[b-60s5dy4mdq] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

    .field-group label[b-60s5dy4mdq] {
        font-size: 0.8rem;
        color: #555;
        font-weight: 500;
    }

.field-row[b-60s5dy4mdq] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.form-actions[b-60s5dy4mdq] {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* Handle validation messages */
[b-60s5dy4mdq] .validation-message {
    color: #d32f2f;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Style for all input elements */
[b-60s5dy4mdq] .fluent-text-field,
[b-60s5dy4mdq] .fluent-select,
[b-60s5dy4mdq] .fluent-number-field,
[b-60s5dy4mdq] .fluent-autocomplete,
[b-60s5dy4mdq] .fluent-date-picker,
[b-60s5dy4mdq] .fluent-text-area {
    width: 100%;
    min-height: 0;
    font-size: 0.9rem;
}

/* Fix for small screens */
@media (max-width: 500px) {
    .definition-group[b-60s5dy4mdq] {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

        .definition-group dt[b-60s5dy4mdq] {
            padding-bottom: 0.25rem;
            margin-bottom: 0.25rem;
        }

    .field-row[b-60s5dy4mdq] {
        grid-template-columns: 1fr;
    }
}
/* _content/PyroCrm/Components/Domain/Contracts/Create/Form.razor.rz.scp.css */
/* Styles for Contract Form.razor (Popup-optimized with DD/DL layout) */

.form-container[b-fnphox13cr] {
    max-width: 100%;
    padding: 0.5rem;
}

.form-section[b-fnphox13cr] {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
}

.section-divider[b-fnphox13cr] {
    margin: 0.25rem 0 0.5rem 0;
}

/* Definition list styles */
.definition-list[b-fnphox13cr] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
}

.definition-group[b-fnphox13cr] {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-top:1rem;
}

    .definition-group dt[b-fnphox13cr] {
        font-weight: 600;
        color: #2c3e50;
        font-size: 0.8rem;
        padding: 0.25rem 0;
        position: relative;
    }

        .definition-group dt[b-fnphox13cr]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 1.5rem;
            height: 2px;
            background-color: #F4511E
        }

    .definition-group dd[b-fnphox13cr] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

/* Field styles */
.field-group[b-fnphox13cr] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

    .field-group label[b-fnphox13cr] {
        font-size: 0.8rem;
        color: #555;
        font-weight: 500;
    }

.field-row[b-fnphox13cr] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-grid[b-fnphox13cr] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-item[b-fnphox13cr] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .switch-item label[b-fnphox13cr] {
        margin: 0;
        font-size: 0.8rem;
    }

.form-actions[b-fnphox13cr] {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* Accordion styles */
.accordion-content[b-fnphox13cr] {
    padding: 0.5rem;
}

/* Handle validation messages */
[b-fnphox13cr] .validation-message {
    color: #d32f2f;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Style for all input elements */
[b-fnphox13cr] .fluent-text-field,
[b-fnphox13cr] .fluent-select,
[b-fnphox13cr] .fluent-number-field,
[b-fnphox13cr] .fluent-autocomplete,
[b-fnphox13cr] .fluent-date-picker {
    width: 100%;
    min-height: 0;
    font-size: 0.9rem;
}

[b-fnphox13cr] .fluent-date-picker {
    min-width: unset;
}

/* Adjust FluentHeader size inside accordion */
[b-fnphox13cr] .fluent-accordion-item fluentheader {
    font-size: 0.9rem;
}

/* Fix for small screens */
@media (max-width: 500px) {
    .definition-group[b-fnphox13cr] {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

        .definition-group dt[b-fnphox13cr] {
            padding-bottom: 0.25rem;
            margin-bottom: 0.25rem;
        }

    .field-row[b-fnphox13cr], .switch-grid[b-fnphox13cr] {
        grid-template-columns: 1fr;
    }
}
/* _content/PyroCrm/Components/Domain/Contracts/Details/Form.razor.rz.scp.css */
/* Styles for Contract Form.razor (Optimized with DD/DL layout) */

.form-container[b-g08dj02dge] {
    max-width: 100%;
    padding: 0.5rem;
}

.form-section[b-g08dj02dge] {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
}

.section-divider[b-g08dj02dge] {
    margin: 0.25rem 0 0.5rem 0;
}

/* Definition list styles */
.definition-list[b-g08dj02dge] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
}

.definition-group[b-g08dj02dge] {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-top: 1rem;
}

    .definition-group dt[b-g08dj02dge] {
        font-weight: 600;
        color: #2c3e50;
        font-size: 0.8rem;
        padding: 0.25rem 0;
        position: relative;
    }

        .definition-group dt[b-g08dj02dge]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 1.5rem;
            height: 2px;
 background-color: #F4511E
        }

    .definition-group dd[b-g08dj02dge] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

/* Field styles */
.field-group[b-g08dj02dge] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

    .field-group label[b-g08dj02dge] {
        font-size: 0.8rem;
        color: #555;
        font-weight: 500;
    }

.field-row[b-g08dj02dge] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-grid[b-g08dj02dge] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-item[b-g08dj02dge] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .switch-item label[b-g08dj02dge] {
        margin: 0;
        font-size: 0.8rem;
    }

.form-actions[b-g08dj02dge] {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* Handle validation messages */
[b-g08dj02dge] .validation-message {
    color: #d32f2f;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Style for all input elements */
[b-g08dj02dge] .fluent-text-field,
[b-g08dj02dge] .fluent-select,
[b-g08dj02dge] .fluent-number-field,
[b-g08dj02dge] .fluent-autocomplete,
[b-g08dj02dge] .fluent-date-picker {
    width: 100%;
    min-height: 0;
    font-size: 0.9rem;
}

[b-g08dj02dge] .fluent-date-picker {
    min-width: unset;
}

/* Fix for small screens */
@media (max-width: 500px) {
    .definition-group[b-g08dj02dge] {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

        .definition-group dt[b-g08dj02dge] {
            padding-bottom: 0.25rem;
            margin-bottom: 0.25rem;
        }

    .field-row[b-g08dj02dge], .switch-grid[b-g08dj02dge] {
        grid-template-columns: 1fr;
    }
}
/* _content/PyroCrm/Components/Domain/DataOverview/DataOverview.razor.rz.scp.css */
/* Data Overview Component Styles */

.data-overview-container[b-ylr2217jme] {
    padding: 20px;
    max-width: 100%;
}

[b-ylr2217jme] .fluent-card {
    padding: 20px;
}

[b-ylr2217jme] .fluent-data-grid {
    margin-top: 20px;
    height: calc(100vh - 250px);
    overflow: auto;
}

.loading-container[b-ylr2217jme] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

    .loading-container p[b-ylr2217jme] {
        margin-top: 16px;
    }

.grid-wrapper[b-ylr2217jme] {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
}

[b-ylr2217jme] .fluent-button {
    min-height: 38px;
}

    [b-ylr2217jme] .fluent-button[appearance="accent"] {
        background-color: #0078d4;
        color: white;
    }

        [b-ylr2217jme] .fluent-button[appearance="accent"]:hover {
            background-color: #106ebe;
        }

    /* Export to Excel button */
    [b-ylr2217jme] .fluent-button:nth-child(2) {
        background-color: #107c10;
        color: white;
    }

        [b-ylr2217jme] .fluent-button:nth-child(2):hover {
            background-color: #0b5a0b;
        }

    /* Clear filters and Clear sort buttons */
    [b-ylr2217jme] .fluent-button:nth-child(3),
    [b-ylr2217jme] .fluent-button:nth-child(4) {
        background-color: #d83b01;
        color: white;
    }

        [b-ylr2217jme] .fluent-button:nth-child(3):hover,
        [b-ylr2217jme] .fluent-button:nth-child(4):hover {
            background-color: #a83001;
        }

/* Header styles */
[b-ylr2217jme] .fluent-data-grid-header {
    background-color: #212121;
    color: white;
    font-weight: bold;
    padding: 8px;
    position: sticky;
    top: 0;
    z-index: 1;
}

[b-ylr2217jme] .fluent-data-grid-cell {
    padding: 8px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}

/* Filter row styles */
[b-ylr2217jme] .filter-row {
    background-color: #f3f2f1;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

[b-ylr2217jme] .fluent-text-field {
    margin-right: 10px;
    min-width: 150px;
}
/* _content/PyroCrm/Components/Domain/ProjectNote/ProjectNoteComponent.razor.rz.scp.css */
.project-notes-container[b-3u4n6qe1fx] {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: visible; /* Allow content to flow naturally */
}

/* Action buttons below text area */
.action-buttons[b-3u4n6qe1fx] {
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
    margin-top: 10px;
}

/* Note input section styling - fixed at top */
.note-input-section[b-3u4n6qe1fx] {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

/* Scrollable notes area */
.notes-scroll-area[b-3u4n6qe1fx] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    padding: 0 10px;
    height: calc(100% - 200px); /* Use percentage-based calculation */
    min-height: 100px;
    -ms-overflow-style: none; /* Hide scrollbar in IE and Edge */
    scrollbar-width: thin; /* Thin scrollbar in Firefox */
}

/* Style scrollbar for webkit browsers */
.notes-scroll-area[b-3u4n6qe1fx]::-webkit-scrollbar {
    width: 8px;
}

.notes-scroll-area[b-3u4n6qe1fx]::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.notes-scroll-area[b-3u4n6qe1fx]::-webkit-scrollbar-track {
    background: transparent;
}

.notes-header[b-3u4n6qe1fx] {
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eaeaea;
}

/* Individual note styling */
.notes-list[b-3u4n6qe1fx] {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 50px; /* Add significant space at the bottom of the scrollable area */
}

.note-card[b-3u4n6qe1fx] {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.note-header[b-3u4n6qe1fx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.note-metadata[b-3u4n6qe1fx] {
    display: flex;
    flex-direction: column;
}

.date[b-3u4n6qe1fx] {
    font-weight: bold;
    font-size: 0.9rem;
}

.author[b-3u4n6qe1fx] {
    font-size: 0.8rem;
    color: #666;
}

.note-actions[b-3u4n6qe1fx] {
    display: flex;
    gap: 5px;
}

.note-content[b-3u4n6qe1fx] {
    padding: 5px 0;
}

.content[b-3u4n6qe1fx] {
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.no-notes[b-3u4n6qe1fx] {
    text-align: center;
    margin: 30px 0 50px; /* Extra space at bottom */
    color: #666;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 6px;
}

/* Utility classes */
.mb-2[b-3u4n6qe1fx] {
    margin-bottom: 0.5rem;
}

.mb-3[b-3u4n6qe1fx] {
    margin-bottom: 1rem;
}

.me-2[b-3u4n6qe1fx] {
    margin-right: 0.5rem;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .note-header[b-3u4n6qe1fx] {
        flex-direction: column;
        align-items: flex-start;
    }

    .note-actions[b-3u4n6qe1fx] {
        margin-top: 5px;
    }
    
    .notes-scroll-area[b-3u4n6qe1fx] {
        max-height: calc(100vh - 200px); /* Smaller on mobile */
    }
}

/* Small height screens */
@media (max-height: 600px) {
    .notes-scroll-area[b-3u4n6qe1fx] {
        max-height: calc(100vh - 180px);
    }
    
    .note-input-section[b-3u4n6qe1fx] {
        padding: 10px;
    }
}
/* _content/PyroCrm/Components/Domain/Projects/Create/Form.razor.rz.scp.css */
/* Styles for Project Form.razor (Popup-optimized with DD/DL layout) */

.form-container[b-hslaq38g78] {
    max-width: 100%;
    padding: 0.5rem;
}

.form-section[b-hslaq38g78] {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
}

.section-divider[b-hslaq38g78] {
    margin: 0.25rem 0 0.5rem 0;
}

/* Definition list styles */
.definition-list[b-hslaq38g78] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
}

.definition-group[b-hslaq38g78] {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-top: 1rem;
}

    .definition-group dt[b-hslaq38g78] {
        font-weight: 600;
        color: #2c3e50;
        font-size: 0.8rem;
        padding: 0.25rem 0;
        position: relative;
    }

        .definition-group dt[b-hslaq38g78]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 1.5rem;
            height: 2px;
            background-color: #F4511E
        }

    .definition-group dd[b-hslaq38g78] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

/* Field styles */
.field-group[b-hslaq38g78] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

    .field-group label[b-hslaq38g78] {
        font-size: 0.8rem;
        color: #555;
        font-weight: 500;
    }

.field-row[b-hslaq38g78] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-grid[b-hslaq38g78] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-item[b-hslaq38g78] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .switch-item label[b-hslaq38g78] {
        margin: 0;
        font-size: 0.8rem;
    }

.checkbox-item[b-hslaq38g78] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .checkbox-item label[b-hslaq38g78] {
        margin: 0;
        font-size: 0.8rem;
    }

.form-actions[b-hslaq38g78] {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* Accordion styles */
.accordion-content[b-hslaq38g78] {
    padding: 0.5rem;
}

/* Handle validation messages */
[b-hslaq38g78] .validation-message {
    color: #d32f2f;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Style for all input elements */
[b-hslaq38g78] .fluent-text-field,
[b-hslaq38g78] .fluent-select,
[b-hslaq38g78] .fluent-number-field,
[b-hslaq38g78] .fluent-text-area,
[b-hslaq38g78] .fluent-date-picker {
    width: 100%;
    min-height: 0;
    font-size: 0.9rem;
}

[b-hslaq38g78] .fluent-date-picker {
    min-width: unset;
}

[b-hslaq38g78] .fluent-text-area {
    min-height: 60px;
}

/* Adjust FluentHeader size inside accordion */
[b-hslaq38g78] .fluent-accordion-item fluentheader {
    font-size: 0.9rem;
}

/* Fix for small screens */
@media (max-width: 500px) {
    .definition-group[b-hslaq38g78] {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

        .definition-group dt[b-hslaq38g78] {
            padding-bottom: 0.25rem;
            margin-bottom: 0.25rem;
        }

    .field-row[b-hslaq38g78], .switch-grid[b-hslaq38g78] {
        grid-template-columns: 1fr;
    }
}
/* _content/PyroCrm/Components/Domain/Projects/Details/ProjectCompaniesContacts.razor.rz.scp.css */
.empty-state[b-b73uihey6s] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: var(--neutral-layer-3);
    border-radius: 4px;
    margin: 1rem 0;
}

.empty-state p[b-b73uihey6s] {
    color: var(--neutral-foreground-hint);
    font-style: italic;
}

.definition-list[b-b73uihey6s] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px 24px;
    margin: 16px 0;
    padding: 5px;
}

.definition-item[b-b73uihey6s] {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #EBEBEB;
    padding-bottom: 8px;
}

dt[b-b73uihey6s] {
    font-weight: 600;
    color: #505050;
    margin-bottom: 4px;
    font-size: 14px;
}

dd[b-b73uihey6s] {
    font-size: 16px;
    margin: 0;
    color: #000000;
}
/* _content/PyroCrm/Components/Domain/Projects/Details/ProjectOverview.razor.rz.scp.css */
/* Styles for ProjectOverview.razor */

.form-section[b-dm5jf1htp3] {
    margin-bottom: 2.5rem;
    max-width: 1200px;
}

.section-divider[b-dm5jf1htp3] {
    margin: 0.5rem 0 1.25rem 0;
}

.definition-list[b-dm5jf1htp3] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

.definition-group[b-dm5jf1htp3] {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding:0.5rem;
    padding-top:1rem;
}

    .definition-group dt[b-dm5jf1htp3] {
        font-weight: 600;
        color: #2c3e50;
        padding: 0.5rem 0;
        position: relative;
    }

        .definition-group dt[b-dm5jf1htp3]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 2rem;
            height: 2px;
            background-color: var(--accent-fill-rest);
        }

    .definition-group dd[b-dm5jf1htp3] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

.field-group[b-dm5jf1htp3] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .field-group label[b-dm5jf1htp3] {
        font-size: 0.9rem;
        color: #555;
        font-weight: 500;
    }

.field-grid[b-dm5jf1htp3] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.three-column[b-dm5jf1htp3] {
    grid-template-columns: repeat(3, 1fr);
}

.four-column[b-dm5jf1htp3] {
    grid-template-columns: repeat(4, 1fr);
}

.checkbox-grid[b-dm5jf1htp3] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-item[b-dm5jf1htp3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .checkbox-item label[b-dm5jf1htp3] {
        margin: 0;
        font-size: 0.9rem;
    }

.form-actions[b-dm5jf1htp3] {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
}

.loading-container[b-dm5jf1htp3] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .four-column[b-dm5jf1htp3] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .definition-group[b-dm5jf1htp3] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

        .definition-group dt[b-dm5jf1htp3] {
            padding-bottom: 0.5rem;
            margin-bottom: 0.5rem;
        }

    .three-column[b-dm5jf1htp3] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .field-grid[b-dm5jf1htp3], .three-column[b-dm5jf1htp3], .four-column[b-dm5jf1htp3] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .checkbox-grid[b-dm5jf1htp3] {
        grid-template-columns: 1fr;
    }
}
/* _content/PyroCrm/Components/Domain/Projects/Details/ProjectSummary.razor.rz.scp.css */
.project-overview[b-2ag6ztx133] {
    position: relative;
    width: 100%;
    padding: 0.5rem;
    background-color: white;
}

.header-actions[b-2ag6ztx133] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.info-section[b-2ag6ztx133] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.info-row[b-2ag6ztx133] {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.info-label[b-2ag6ztx133] {
    font-weight: 600;
    min-width: 170px;
    color: #333;
}

.info-value[b-2ag6ztx133] {
    flex: 1;
}

.section-header[b-2ag6ztx133] {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: #333;
}

.opportunities-section[b-2ag6ztx133] {
    margin-bottom: 1rem;
}

.opportunities-list[b-2ag6ztx133] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.opportunity-item[b-2ag6ztx133] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 200px;
}

.details-section[b-2ag6ztx133] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.details-column[b-2ag6ztx133] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.loading-container[b-2ag6ztx133] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .info-section[b-2ag6ztx133] {
        grid-template-columns: 1fr;
    }

    .details-section[b-2ag6ztx133] {
        grid-template-columns: 1fr;
    }

    .info-row[b-2ag6ztx133] {
        flex-direction: column;
    }

    .info-label[b-2ag6ztx133] {
        min-width: auto;
        margin-bottom: 0.25rem;
    }

    .opportunities-list[b-2ag6ztx133] {
        flex-direction: column;
        gap: 0.5rem;
    }
}
/* _content/PyroCrm/Components/Domain/Projects/Pages/Details.razor.rz.scp.css */
.primary-panel[b-ch2b5vzlge] {
    margin: 0.15rem;
    position: relative;
}

.secondary-panel[b-ch2b5vzlge] {
    margin: 0.15rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevent scrolling on the panel itself */
}

/* Target the Panel2 slot using attribute selector */
[b-ch2b5vzlge] [slot="2"] {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.collapse-button-container[b-ch2b5vzlge] {
    position: absolute;
    top: 50px; /* Position below the tabs */
    right: 0px;
    z-index: 10;
}

.collapse-button[b-ch2b5vzlge] {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.icon-button[b-ch2b5vzlge]{
    padding:10px;
    background-color:var(--accent-fill-rest);
}
/* _content/PyroCrm/Components/Domain/Todos/Create/TodoForm.razor.rz.scp.css */
/* Styles for Todo Form.razor (Popup-optimized with DD/DL layout) */

.form-container[b-awtx8hzcea] {
    max-width: 100%;
    padding: 0.5rem;
}

.form-section[b-awtx8hzcea] {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
}

.section-divider[b-awtx8hzcea] {
    margin: 0.25rem 0 0.5rem 0;
}

/* Definition list styles */
.definition-list[b-awtx8hzcea] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
}

.definition-group[b-awtx8hzcea] {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-top: 1rem;
}

    .definition-group dt[b-awtx8hzcea] {
        font-weight: 600;
        color: #2c3e50;
        font-size: 0.8rem;
        padding: 0.25rem 0;
        position: relative;
    }

        .definition-group dt[b-awtx8hzcea]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 1.5rem;
            height: 2px;
            background-color: #F4511E
        }

    .definition-group dd[b-awtx8hzcea] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

/* Field styles */
.field-group[b-awtx8hzcea] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

    .field-group label[b-awtx8hzcea] {
        font-size: 0.8rem;
        color: #555;
        font-weight: 500;
    }

.field-row[b-awtx8hzcea] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-grid[b-awtx8hzcea] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-item[b-awtx8hzcea] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .switch-item label[b-awtx8hzcea] {
        margin: 0;
        font-size: 0.8rem;
    }

.form-actions[b-awtx8hzcea] {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* Handle validation messages */
[b-awtx8hzcea] .validation-message {
    color: #d32f2f;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Style for all input elements */
[b-awtx8hzcea] .fluent-text-field,
[b-awtx8hzcea] .fluent-select,
[b-awtx8hzcea] .fluent-number-field,
[b-awtx8hzcea] .fluent-autocomplete,
[b-awtx8hzcea] .fluent-date-picker,
[b-awtx8hzcea] .fluent-text-area {
    width: 100%;
    min-height: 0;
    font-size: 0.9rem;
}

[b-awtx8hzcea] .fluent-date-picker {
    min-width: unset;
}

/* Fix for small screens */
@media (max-width: 500px) {
    .definition-group[b-awtx8hzcea] {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

        .definition-group dt[b-awtx8hzcea] {
            padding-bottom: 0.25rem;
            margin-bottom: 0.25rem;
        }

    .field-row[b-awtx8hzcea], .switch-grid[b-awtx8hzcea] {
        grid-template-columns: 1fr;
    }
}
/* _content/PyroCrm/Components/Domain/Todos/Data/TodoGrid.razor.rz.scp.css */
.wrapped-cell[b-hj6avlsr4c] {
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 200px;
}
/* _content/PyroCrm/Components/Layout/PageContentContainer.razor.rz.scp.css */
.page-content-container[b-0foaxxgwfj] {
    padding: 1rem;
    width: 100%;
    border-width: 1px;
    border-style: solid;
    border-radius: 0.5rem;
    border-color: var(--neutral-stroke-layer-rest);
    margin-bottom: 10px;
    background-color: var(--neutral-fill-stealth-rest) !important;
    overflow-y: auto !important;
    min-height: 200px; /* Fallback minimum height */
    /* height will be set dynamically by JS */
    transition: height 0.2s ease-in-out; /* Smooth transitions */
}
/* _content/PyroCrm/Components/Layout/PageContentHeader.razor.rz.scp.css */


.page-content-header.dark[b-n25kbzp4mg] {
    border-color: #4B5563; /* Tailwind's dark:border-gray-600 */
}

.page-content-header[b-n25kbzp4mg] {
    position: relative;
    border-width: 1px;
    border-style: solid;
    border-radius: 0.1rem;
    border-color: var(--neutral-stroke-layer-rest);
    background-color: var(--accent-fill-rest);
    height: 7rem; /* Tailwind's h-64 translates to 16rem */
    margin-bottom: 0.5rem; /* Tailwind's mb-4 translates to 1rem */
}

.header-content[b-n25kbzp4mg] {
    padding: 1rem;
}

.overlay-image[b-n25kbzp4mg] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-repeat: no-repeat;
    background-position: top;
    background-image: url('/assets/ubrix-dash.svg'); /* Replace 'YOUR_IMAGE_URL' with the actual image path */
    background-size: cover; /* Ensures the image covers the entire area */
}

.flex-container[b-n25kbzp4mg] {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: flex-start; /* Aligns content to the left */
    width: 100%;
    height: 100%;
}

.header-text[b-n25kbzp4mg] {
    font-size: 2.25rem; /* Tailwind's text-4xl translates to 2.25rem */
    color: #FFFFFF; /* Tailwind's text-white */
    font-weight: bold;
    margin-bottom: 1rem; /* Tailwind's mb-2 translates to 0.5rem */
}

.header-subtitle[b-n25kbzp4mg] {
    font-size: 1.25rem; /* Tailwind's text-4xl translates to 2.25rem */
    color: #FFFFFF; /* Tailwind's text-white */
    font-weight: bold;
    margin-bottom: 1rem; /* Tailwind's mb-2 translates to 0.5rem */
}
/* _content/PyroCrm/UIComponents/Summary/ReadOnlyProjectCompaniesContacts.razor.rz.scp.css */
.empty-state[b-sbvhcfwgjx] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: var(--neutral-layer-3);
    border-radius: 4px;
    margin: 1rem 0;
}

    .empty-state p[b-sbvhcfwgjx] {
        color: var(--neutral-foreground-hint);
        font-style: italic;
    }

.company-list[b-sbvhcfwgjx] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.company-item[b-sbvhcfwgjx] {
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.company-header[b-sbvhcfwgjx] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.company-name[b-sbvhcfwgjx] {
    font-size: 1.2rem;
}

.company-details[b-sbvhcfwgjx] {
    display: flex;
    gap: 2rem;
}

.label[b-sbvhcfwgjx] {
    font-weight: 700;
    margin-right: 0.5rem;
}

.contacts-container[b-sbvhcfwgjx] {
    padding: 1rem;
}

.contacts-header[b-sbvhcfwgjx] {
    margin-bottom: 0.5rem;
}

    .contacts-header h4[b-sbvhcfwgjx] {
        margin: 0;
        font-weight: 600;
        color: var(--neutral-foreground-1);
    }

.contacts-table[b-sbvhcfwgjx] {
    width: 100%;
    border-collapse: collapse;
}

    .contacts-table th[b-sbvhcfwgjx],
    .contacts-table td[b-sbvhcfwgjx] {
        padding: 0.75rem;
        text-align: left;
        border-bottom: 1px solid var(--neutral-stroke-divider-rest);
    }

    .contacts-table th[b-sbvhcfwgjx] {
        background-color: var(--neutral-layer-3);
        font-weight: 600;
        color: var(--neutral-foreground-1);
    }

    .contacts-table tr:hover[b-sbvhcfwgjx] {
        background-color: var(--neutral-layer-3);
    }

.empty-contacts[b-sbvhcfwgjx] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    font-style: italic;
    color: var(--neutral-foreground-hint);
}
/* _content/PyroCrm/UIComponents/Summary/ReadOnlyProjectContractsGrid.razor.rz.scp.css */
.loading-container[b-6dzn441fgd] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.empty-state[b-6dzn441fgd] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: var(--neutral-layer-3);
    border-radius: 4px;
    margin: 1rem 0;
}

    .empty-state p[b-6dzn441fgd] {
        color: var(--neutral-foreground-hint);
        font-style: italic;
    }
