@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-bcdun7xy4z] {
    max-width: 900px;
    padding: 1rem;
}

.form-section[b-bcdun7xy4z] {
    margin-bottom: 2.5rem;
}

.section-divider[b-bcdun7xy4z] {
    margin: 0.5rem 0 1.25rem 0;
}

.definition-list[b-bcdun7xy4z] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

.definition-group[b-bcdun7xy4z] {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    align-items: start;
}

    .definition-group dt[b-bcdun7xy4z] {
        font-weight: 600;
        color: #2c3e50;
        padding: 0.5rem 0;
        position: relative;
    }

        .definition-group dt[b-bcdun7xy4z]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 2rem;
            height: 2px;
            background-color: #f4511e;
        }

    .definition-group dd[b-bcdun7xy4z] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

.field-group[b-bcdun7xy4z] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .field-group label[b-bcdun7xy4z] {
        font-size: 0.9rem;
        color: #555;
        font-weight: 500;
    }

.field-grid[b-bcdun7xy4z] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.three-column[b-bcdun7xy4z] {
    grid-template-columns: repeat(3, 1fr);
}

.switch-field[b-bcdun7xy4z] {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

    .switch-field label[b-bcdun7xy4z] {
        margin: 0;
    }

.form-actions[b-bcdun7xy4z] {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
}

/* Handle validation messages */
[b-bcdun7xy4z] .validation-message {
    color: #d32f2f;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .definition-group[b-bcdun7xy4z] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

        .definition-group dt[b-bcdun7xy4z] {
            padding-bottom: 0.5rem;
            margin-bottom: 0.5rem;
        }

    .three-column[b-bcdun7xy4z] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .field-grid[b-bcdun7xy4z], .three-column[b-bcdun7xy4z] {
        grid-template-columns: 1fr;
    }
}
/* _content/PyroCrm/Components/Domain/Clients/Details/CustomerOverview.razor.rz.scp.css */
/* Styles for CustomerOverview.razor */

.form-section[b-ul1phq365a] {
    margin-bottom: 2.5rem;
    max-width: 1200px;
}

.section-divider[b-ul1phq365a] {
    margin: 0.5rem 0 1.25rem 0;
}

.definition-list[b-ul1phq365a] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

.definition-group[b-ul1phq365a] {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 0.5rem;
    padding-top: 1rem;
}

    .definition-group dt[b-ul1phq365a] {
        font-weight: 600;
        color: #2c3e50;
        padding: 0.5rem 0;
        position: relative;
    }

        .definition-group dt[b-ul1phq365a]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 2rem;
            height: 2px;
            background-color: var(--accent-fill-rest);
        }

    .definition-group dd[b-ul1phq365a] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

.field-group[b-ul1phq365a] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .field-group label[b-ul1phq365a] {
        font-size: 0.9rem;
        color: #555;
        font-weight: 500;
    }

.field-grid[b-ul1phq365a] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.three-column[b-ul1phq365a] {
    grid-template-columns: repeat(3, 1fr);
}

.four-column[b-ul1phq365a] {
    grid-template-columns: repeat(4, 1fr);
}

.checkbox-grid[b-ul1phq365a] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-item[b-ul1phq365a] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .checkbox-item label[b-ul1phq365a] {
        margin: 0;
        font-size: 0.9rem;
    }

.form-actions[b-ul1phq365a] {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
}

.loading-container[b-ul1phq365a] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.count-display[b-ul1phq365a] {
    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-ul1phq365a] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .definition-group[b-ul1phq365a] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

        .definition-group dt[b-ul1phq365a] {
            padding-bottom: 0.5rem;
            margin-bottom: 0.5rem;
        }

    .three-column[b-ul1phq365a] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .field-grid[b-ul1phq365a], .three-column[b-ul1phq365a], .four-column[b-ul1phq365a] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .checkbox-grid[b-ul1phq365a] {
        grid-template-columns: 1fr;
    }
}

.checkbox-container[b-ul1phq365a] {
    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-zqg7pauib4] {
    margin: 0.15rem;
    position: relative;
}

.secondary-panel[b-zqg7pauib4] {
    margin: 0.15rem;
}

.collapse-button-container[b-zqg7pauib4] {
    position: absolute;
    top: 50px; /* Position below the tabs */
    right: 0px;
    z-index: 10;
}

.collapse-button[b-zqg7pauib4] {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.icon-button[b-zqg7pauib4] {
    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-dyegz4oxj2] {
    max-width: 100%;
    padding: 0.5rem;
}

.form-section[b-dyegz4oxj2] {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
}

.section-divider[b-dyegz4oxj2] {
    margin: 0.25rem 0 0.5rem 0;
}

/* Definition list styles */
.definition-list[b-dyegz4oxj2] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
}

.definition-group[b-dyegz4oxj2] {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-top: 1rem;
}

    .definition-group dt[b-dyegz4oxj2] {
        font-weight: 600;
        color: #2c3e50;
        font-size: 0.8rem;
        padding: 0.25rem 0;
        position: relative;
    }

        .definition-group dt[b-dyegz4oxj2]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 1.5rem;
            height: 2px;
            background-color: #F4511E
        }

    .definition-group dd[b-dyegz4oxj2] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

/* Field styles */
.field-group[b-dyegz4oxj2] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

    .field-group label[b-dyegz4oxj2] {
        font-size: 0.8rem;
        color: #555;
        font-weight: 500;
    }

.field-row[b-dyegz4oxj2] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.form-actions[b-dyegz4oxj2] {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* Handle validation messages */
[b-dyegz4oxj2] .validation-message {
    color: #d32f2f;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Style for all input elements */
[b-dyegz4oxj2] .fluent-text-field,
[b-dyegz4oxj2] .fluent-select,
[b-dyegz4oxj2] .fluent-number-field,
[b-dyegz4oxj2] .fluent-autocomplete,
[b-dyegz4oxj2] .fluent-date-picker,
[b-dyegz4oxj2] .fluent-text-area {
    width: 100%;
    min-height: 0;
    font-size: 0.9rem;
}

/* Fix for small screens */
@media (max-width: 500px) {
    .definition-group[b-dyegz4oxj2] {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

        .definition-group dt[b-dyegz4oxj2] {
            padding-bottom: 0.25rem;
            margin-bottom: 0.25rem;
        }

    .field-row[b-dyegz4oxj2] {
        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-4hcyswjbfa] {
    max-width: 100%;
    padding: 0.5rem;
}

.form-section[b-4hcyswjbfa] {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
}

.section-divider[b-4hcyswjbfa] {
    margin: 0.25rem 0 0.5rem 0;
}

/* Definition list styles */
.definition-list[b-4hcyswjbfa] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
}

.definition-group[b-4hcyswjbfa] {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-top:1rem;
}

    .definition-group dt[b-4hcyswjbfa] {
        font-weight: 600;
        color: #2c3e50;
        font-size: 0.8rem;
        padding: 0.25rem 0;
        position: relative;
    }

        .definition-group dt[b-4hcyswjbfa]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 1.5rem;
            height: 2px;
            background-color: #F4511E
        }

    .definition-group dd[b-4hcyswjbfa] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

/* Field styles */
.field-group[b-4hcyswjbfa] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

    .field-group label[b-4hcyswjbfa] {
        font-size: 0.8rem;
        color: #555;
        font-weight: 500;
    }

.field-row[b-4hcyswjbfa] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-grid[b-4hcyswjbfa] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-item[b-4hcyswjbfa] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .switch-item label[b-4hcyswjbfa] {
        margin: 0;
        font-size: 0.8rem;
    }

.form-actions[b-4hcyswjbfa] {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* Accordion styles */
.accordion-content[b-4hcyswjbfa] {
    padding: 0.5rem;
}

/* Handle validation messages */
[b-4hcyswjbfa] .validation-message {
    color: #d32f2f;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Style for all input elements */
[b-4hcyswjbfa] .fluent-text-field,
[b-4hcyswjbfa] .fluent-select,
[b-4hcyswjbfa] .fluent-number-field,
[b-4hcyswjbfa] .fluent-autocomplete,
[b-4hcyswjbfa] .fluent-date-picker {
    width: 100%;
    min-height: 0;
    font-size: 0.9rem;
}

[b-4hcyswjbfa] .fluent-date-picker {
    min-width: unset;
}

/* Adjust FluentHeader size inside accordion */
[b-4hcyswjbfa] .fluent-accordion-item fluentheader {
    font-size: 0.9rem;
}

/* Fix for small screens */
@media (max-width: 500px) {
    .definition-group[b-4hcyswjbfa] {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

        .definition-group dt[b-4hcyswjbfa] {
            padding-bottom: 0.25rem;
            margin-bottom: 0.25rem;
        }

    .field-row[b-4hcyswjbfa], .switch-grid[b-4hcyswjbfa] {
        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-xfd4l0ds7r] {
    max-width: 100%;
    padding: 0.5rem;
}

.form-section[b-xfd4l0ds7r] {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
}

.section-divider[b-xfd4l0ds7r] {
    margin: 0.25rem 0 0.5rem 0;
}

/* Definition list styles */
.definition-list[b-xfd4l0ds7r] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
}

.definition-group[b-xfd4l0ds7r] {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-top: 1rem;
}

    .definition-group dt[b-xfd4l0ds7r] {
        font-weight: 600;
        color: #2c3e50;
        font-size: 0.8rem;
        padding: 0.25rem 0;
        position: relative;
    }

        .definition-group dt[b-xfd4l0ds7r]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 1.5rem;
            height: 2px;
 background-color: #F4511E
        }

    .definition-group dd[b-xfd4l0ds7r] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

/* Field styles */
.field-group[b-xfd4l0ds7r] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

    .field-group label[b-xfd4l0ds7r] {
        font-size: 0.8rem;
        color: #555;
        font-weight: 500;
    }

.field-row[b-xfd4l0ds7r] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-grid[b-xfd4l0ds7r] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-item[b-xfd4l0ds7r] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .switch-item label[b-xfd4l0ds7r] {
        margin: 0;
        font-size: 0.8rem;
    }

.form-actions[b-xfd4l0ds7r] {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* Handle validation messages */
[b-xfd4l0ds7r] .validation-message {
    color: #d32f2f;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Style for all input elements */
[b-xfd4l0ds7r] .fluent-text-field,
[b-xfd4l0ds7r] .fluent-select,
[b-xfd4l0ds7r] .fluent-number-field,
[b-xfd4l0ds7r] .fluent-autocomplete,
[b-xfd4l0ds7r] .fluent-date-picker {
    width: 100%;
    min-height: 0;
    font-size: 0.9rem;
}

[b-xfd4l0ds7r] .fluent-date-picker {
    min-width: unset;
}

/* Fix for small screens */
@media (max-width: 500px) {
    .definition-group[b-xfd4l0ds7r] {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

        .definition-group dt[b-xfd4l0ds7r] {
            padding-bottom: 0.25rem;
            margin-bottom: 0.25rem;
        }

    .field-row[b-xfd4l0ds7r], .switch-grid[b-xfd4l0ds7r] {
        grid-template-columns: 1fr;
    }
}
/* _content/PyroCrm/Components/Domain/DataOverview/DataOverview.razor.rz.scp.css */
/* Data Overview Component Styles */

.data-overview-container[b-m5nbvxkf0y] {
    padding: 20px;
    max-width: 100%;
}

[b-m5nbvxkf0y] .fluent-card {
    padding: 20px;
}

[b-m5nbvxkf0y] .fluent-data-grid {
    margin-top: 20px;
    height: calc(100vh - 250px);
    overflow: auto;
}

.loading-container[b-m5nbvxkf0y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

    .loading-container p[b-m5nbvxkf0y] {
        margin-top: 16px;
    }

.grid-wrapper[b-m5nbvxkf0y] {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
}

[b-m5nbvxkf0y] .fluent-button {
    min-height: 38px;
}

    [b-m5nbvxkf0y] .fluent-button[appearance="accent"] {
        background-color: #0078d4;
        color: white;
    }

        [b-m5nbvxkf0y] .fluent-button[appearance="accent"]:hover {
            background-color: #106ebe;
        }

    /* Export to Excel button */
    [b-m5nbvxkf0y] .fluent-button:nth-child(2) {
        background-color: #107c10;
        color: white;
    }

        [b-m5nbvxkf0y] .fluent-button:nth-child(2):hover {
            background-color: #0b5a0b;
        }

    /* Clear filters and Clear sort buttons */
    [b-m5nbvxkf0y] .fluent-button:nth-child(3),
    [b-m5nbvxkf0y] .fluent-button:nth-child(4) {
        background-color: #d83b01;
        color: white;
    }

        [b-m5nbvxkf0y] .fluent-button:nth-child(3):hover,
        [b-m5nbvxkf0y] .fluent-button:nth-child(4):hover {
            background-color: #a83001;
        }

/* Header styles */
[b-m5nbvxkf0y] .fluent-data-grid-header {
    background-color: #212121;
    color: white;
    font-weight: bold;
    padding: 8px;
    position: sticky;
    top: 0;
    z-index: 1;
}

[b-m5nbvxkf0y] .fluent-data-grid-cell {
    padding: 8px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}

/* Filter row styles */
[b-m5nbvxkf0y] .filter-row {
    background-color: #f3f2f1;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

[b-m5nbvxkf0y] .fluent-text-field {
    margin-right: 10px;
    min-width: 150px;
}
/* _content/PyroCrm/Components/Domain/ProjectNote/ProjectNoteComponent.razor.rz.scp.css */
.project-notes-container[b-o24h7yif8e] {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: visible; /* Allow content to flow naturally */
}

/* Action buttons below text area */
.action-buttons[b-o24h7yif8e] {
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
    margin-top: 10px;
}

/* Note input section styling - fixed at top */
.note-input-section[b-o24h7yif8e] {
    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-o24h7yif8e] {
    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-o24h7yif8e]::-webkit-scrollbar {
    width: 8px;
}

.notes-scroll-area[b-o24h7yif8e]::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.notes-scroll-area[b-o24h7yif8e]::-webkit-scrollbar-track {
    background: transparent;
}

.notes-header[b-o24h7yif8e] {
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eaeaea;
}

/* Individual note styling */
.notes-list[b-o24h7yif8e] {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 50px; /* Add significant space at the bottom of the scrollable area */
}

.note-card[b-o24h7yif8e] {
    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-o24h7yif8e] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.note-metadata[b-o24h7yif8e] {
    display: flex;
    flex-direction: column;
}

.date[b-o24h7yif8e] {
    font-weight: bold;
    font-size: 0.9rem;
}

.author[b-o24h7yif8e] {
    font-size: 0.8rem;
    color: #666;
}

.note-actions[b-o24h7yif8e] {
    display: flex;
    gap: 5px;
}

.note-content[b-o24h7yif8e] {
    padding: 5px 0;
}

.content[b-o24h7yif8e] {
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.no-notes[b-o24h7yif8e] {
    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-o24h7yif8e] {
    margin-bottom: 0.5rem;
}

.mb-3[b-o24h7yif8e] {
    margin-bottom: 1rem;
}

.me-2[b-o24h7yif8e] {
    margin-right: 0.5rem;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .note-header[b-o24h7yif8e] {
        flex-direction: column;
        align-items: flex-start;
    }

    .note-actions[b-o24h7yif8e] {
        margin-top: 5px;
    }
    
    .notes-scroll-area[b-o24h7yif8e] {
        max-height: calc(100vh - 200px); /* Smaller on mobile */
    }
}

/* Small height screens */
@media (max-height: 600px) {
    .notes-scroll-area[b-o24h7yif8e] {
        max-height: calc(100vh - 180px);
    }
    
    .note-input-section[b-o24h7yif8e] {
        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-pss5k7oukr] {
    max-width: 100%;
    padding: 0.5rem;
}

.form-section[b-pss5k7oukr] {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
}

.section-divider[b-pss5k7oukr] {
    margin: 0.25rem 0 0.5rem 0;
}

/* Definition list styles */
.definition-list[b-pss5k7oukr] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
}

.definition-group[b-pss5k7oukr] {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-top: 1rem;
}

    .definition-group dt[b-pss5k7oukr] {
        font-weight: 600;
        color: #2c3e50;
        font-size: 0.8rem;
        padding: 0.25rem 0;
        position: relative;
    }

        .definition-group dt[b-pss5k7oukr]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 1.5rem;
            height: 2px;
            background-color: #F4511E
        }

    .definition-group dd[b-pss5k7oukr] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

/* Field styles */
.field-group[b-pss5k7oukr] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

    .field-group label[b-pss5k7oukr] {
        font-size: 0.8rem;
        color: #555;
        font-weight: 500;
    }

.field-row[b-pss5k7oukr] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-grid[b-pss5k7oukr] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-item[b-pss5k7oukr] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .switch-item label[b-pss5k7oukr] {
        margin: 0;
        font-size: 0.8rem;
    }

.checkbox-item[b-pss5k7oukr] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .checkbox-item label[b-pss5k7oukr] {
        margin: 0;
        font-size: 0.8rem;
    }

.form-actions[b-pss5k7oukr] {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* Accordion styles */
.accordion-content[b-pss5k7oukr] {
    padding: 0.5rem;
}

/* Handle validation messages */
[b-pss5k7oukr] .validation-message {
    color: #d32f2f;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Style for all input elements */
[b-pss5k7oukr] .fluent-text-field,
[b-pss5k7oukr] .fluent-select,
[b-pss5k7oukr] .fluent-number-field,
[b-pss5k7oukr] .fluent-text-area,
[b-pss5k7oukr] .fluent-date-picker {
    width: 100%;
    min-height: 0;
    font-size: 0.9rem;
}

[b-pss5k7oukr] .fluent-date-picker {
    min-width: unset;
}

[b-pss5k7oukr] .fluent-text-area {
    min-height: 60px;
}

/* Adjust FluentHeader size inside accordion */
[b-pss5k7oukr] .fluent-accordion-item fluentheader {
    font-size: 0.9rem;
}

/* Fix for small screens */
@media (max-width: 500px) {
    .definition-group[b-pss5k7oukr] {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

        .definition-group dt[b-pss5k7oukr] {
            padding-bottom: 0.25rem;
            margin-bottom: 0.25rem;
        }

    .field-row[b-pss5k7oukr], .switch-grid[b-pss5k7oukr] {
        grid-template-columns: 1fr;
    }
}
/* _content/PyroCrm/Components/Domain/Projects/Details/ProjectCompaniesContacts.razor.rz.scp.css */
.empty-state[b-tee8on8hw9] {
    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-tee8on8hw9] {
    color: var(--neutral-foreground-hint);
    font-style: italic;
}

.definition-list[b-tee8on8hw9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px 24px;
    margin: 16px 0;
    padding: 5px;
}

.definition-item[b-tee8on8hw9] {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #EBEBEB;
    padding-bottom: 8px;
}

dt[b-tee8on8hw9] {
    font-weight: 600;
    color: #505050;
    margin-bottom: 4px;
    font-size: 14px;
}

dd[b-tee8on8hw9] {
    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-u43kmddd0j] {
    margin-bottom: 2.5rem;
    max-width: 1200px;
}

.section-divider[b-u43kmddd0j] {
    margin: 0.5rem 0 1.25rem 0;
}

.definition-list[b-u43kmddd0j] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

.definition-group[b-u43kmddd0j] {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding:0.5rem;
    padding-top:1rem;
}

    .definition-group dt[b-u43kmddd0j] {
        font-weight: 600;
        color: #2c3e50;
        padding: 0.5rem 0;
        position: relative;
    }

        .definition-group dt[b-u43kmddd0j]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 2rem;
            height: 2px;
            background-color: var(--accent-fill-rest);
        }

    .definition-group dd[b-u43kmddd0j] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

.field-group[b-u43kmddd0j] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .field-group label[b-u43kmddd0j] {
        font-size: 0.9rem;
        color: #555;
        font-weight: 500;
    }

.field-grid[b-u43kmddd0j] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.three-column[b-u43kmddd0j] {
    grid-template-columns: repeat(3, 1fr);
}

.four-column[b-u43kmddd0j] {
    grid-template-columns: repeat(4, 1fr);
}

.checkbox-grid[b-u43kmddd0j] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-item[b-u43kmddd0j] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .checkbox-item label[b-u43kmddd0j] {
        margin: 0;
        font-size: 0.9rem;
    }

.form-actions[b-u43kmddd0j] {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
}

.loading-container[b-u43kmddd0j] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .four-column[b-u43kmddd0j] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .definition-group[b-u43kmddd0j] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

        .definition-group dt[b-u43kmddd0j] {
            padding-bottom: 0.5rem;
            margin-bottom: 0.5rem;
        }

    .three-column[b-u43kmddd0j] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .field-grid[b-u43kmddd0j], .three-column[b-u43kmddd0j], .four-column[b-u43kmddd0j] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .checkbox-grid[b-u43kmddd0j] {
        grid-template-columns: 1fr;
    }
}
/* _content/PyroCrm/Components/Domain/Projects/Details/ProjectSummary.razor.rz.scp.css */
.project-overview[b-u0gdr2cfji] {
    position: relative;
    width: 100%;
    padding: 0.5rem;
    background-color: white;
}

.header-actions[b-u0gdr2cfji] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.info-section[b-u0gdr2cfji] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.info-row[b-u0gdr2cfji] {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.info-label[b-u0gdr2cfji] {
    font-weight: 600;
    min-width: 170px;
    color: #333;
}

.info-value[b-u0gdr2cfji] {
    flex: 1;
}

.section-header[b-u0gdr2cfji] {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: #333;
}

.opportunities-section[b-u0gdr2cfji] {
    margin-bottom: 1rem;
}

.opportunities-list[b-u0gdr2cfji] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.opportunity-item[b-u0gdr2cfji] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 200px;
}

.details-section[b-u0gdr2cfji] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.details-column[b-u0gdr2cfji] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.loading-container[b-u0gdr2cfji] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .info-section[b-u0gdr2cfji] {
        grid-template-columns: 1fr;
    }

    .details-section[b-u0gdr2cfji] {
        grid-template-columns: 1fr;
    }

    .info-row[b-u0gdr2cfji] {
        flex-direction: column;
    }

    .info-label[b-u0gdr2cfji] {
        min-width: auto;
        margin-bottom: 0.25rem;
    }

    .opportunities-list[b-u0gdr2cfji] {
        flex-direction: column;
        gap: 0.5rem;
    }
}
/* _content/PyroCrm/Components/Domain/Projects/Pages/Details.razor.rz.scp.css */
.primary-panel[b-r38dnj1qhd] {
    margin: 0.15rem;
    position: relative;
}

.secondary-panel[b-r38dnj1qhd] {
    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-r38dnj1qhd] [slot="2"] {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.collapse-button-container[b-r38dnj1qhd] {
    position: absolute;
    top: 50px; /* Position below the tabs */
    right: 0px;
    z-index: 10;
}

.collapse-button[b-r38dnj1qhd] {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.icon-button[b-r38dnj1qhd]{
    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-w0p1espcgl] {
    max-width: 100%;
    padding: 0.5rem;
}

.form-section[b-w0p1espcgl] {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
}

.section-divider[b-w0p1espcgl] {
    margin: 0.25rem 0 0.5rem 0;
}

/* Definition list styles */
.definition-list[b-w0p1espcgl] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
}

.definition-group[b-w0p1espcgl] {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-top: 1rem;
}

    .definition-group dt[b-w0p1espcgl] {
        font-weight: 600;
        color: #2c3e50;
        font-size: 0.8rem;
        padding: 0.25rem 0;
        position: relative;
    }

        .definition-group dt[b-w0p1espcgl]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 1.5rem;
            height: 2px;
            background-color: #F4511E
        }

    .definition-group dd[b-w0p1espcgl] {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

/* Field styles */
.field-group[b-w0p1espcgl] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

    .field-group label[b-w0p1espcgl] {
        font-size: 0.8rem;
        color: #555;
        font-weight: 500;
    }

.field-row[b-w0p1espcgl] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-grid[b-w0p1espcgl] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.switch-item[b-w0p1espcgl] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .switch-item label[b-w0p1espcgl] {
        margin: 0;
        font-size: 0.8rem;
    }

.form-actions[b-w0p1espcgl] {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* Handle validation messages */
[b-w0p1espcgl] .validation-message {
    color: #d32f2f;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Style for all input elements */
[b-w0p1espcgl] .fluent-text-field,
[b-w0p1espcgl] .fluent-select,
[b-w0p1espcgl] .fluent-number-field,
[b-w0p1espcgl] .fluent-autocomplete,
[b-w0p1espcgl] .fluent-date-picker,
[b-w0p1espcgl] .fluent-text-area {
    width: 100%;
    min-height: 0;
    font-size: 0.9rem;
}

[b-w0p1espcgl] .fluent-date-picker {
    min-width: unset;
}

/* Fix for small screens */
@media (max-width: 500px) {
    .definition-group[b-w0p1espcgl] {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

        .definition-group dt[b-w0p1espcgl] {
            padding-bottom: 0.25rem;
            margin-bottom: 0.25rem;
        }

    .field-row[b-w0p1espcgl], .switch-grid[b-w0p1espcgl] {
        grid-template-columns: 1fr;
    }
}
/* _content/PyroCrm/Components/Domain/Todos/Data/TodoGrid.razor.rz.scp.css */
.wrapped-cell[b-quqkq4bc8c] {
    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-if4vasmcju] {
    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 */
    transition: height 0.2s ease-in-out; /* Smooth transitions */
}
/* _content/PyroCrm/Components/Layout/PageContentHeader.razor.rz.scp.css */


.page-content-header.dark[b-gwewbe7198] {
    border-color: #4B5563; /* Tailwind's dark:border-gray-600 */
}

.page-content-header[b-gwewbe7198] {
    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-gwewbe7198] {
    padding: 1rem;
}

.overlay-image[b-gwewbe7198] {
    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-gwewbe7198] {
    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-gwewbe7198] {
    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-gwewbe7198] {
    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-gh9axy7ha4] {
    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-gh9axy7ha4] {
        color: var(--neutral-foreground-hint);
        font-style: italic;
    }

.company-list[b-gh9axy7ha4] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.company-item[b-gh9axy7ha4] {
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.company-header[b-gh9axy7ha4] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.company-name[b-gh9axy7ha4] {
    font-size: 1.2rem;
}

.company-details[b-gh9axy7ha4] {
    display: flex;
    gap: 2rem;
}

.label[b-gh9axy7ha4] {
    font-weight: 700;
    margin-right: 0.5rem;
}

.contacts-container[b-gh9axy7ha4] {
    padding: 1rem;
}

.contacts-header[b-gh9axy7ha4] {
    margin-bottom: 0.5rem;
}

    .contacts-header h4[b-gh9axy7ha4] {
        margin: 0;
        font-weight: 600;
        color: var(--neutral-foreground-1);
    }

.contacts-table[b-gh9axy7ha4] {
    width: 100%;
    border-collapse: collapse;
}

    .contacts-table th[b-gh9axy7ha4],
    .contacts-table td[b-gh9axy7ha4] {
        padding: 0.75rem;
        text-align: left;
        border-bottom: 1px solid var(--neutral-stroke-divider-rest);
    }

    .contacts-table th[b-gh9axy7ha4] {
        background-color: var(--neutral-layer-3);
        font-weight: 600;
        color: var(--neutral-foreground-1);
    }

    .contacts-table tr:hover[b-gh9axy7ha4] {
        background-color: var(--neutral-layer-3);
    }

.empty-contacts[b-gh9axy7ha4] {
    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-b068ru8wyx] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.empty-state[b-b068ru8wyx] {
    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-b068ru8wyx] {
        color: var(--neutral-foreground-hint);
        font-style: italic;
    }
