@import '_content/AgoraShared.Components/AgoraShared.Components.1v5zrqvn79.bundle.scp.css';
@import '_content/BlazorDatasheet/BlazorDatasheet.mymudobx2n.bundle.scp.css';
@import '_content/BlazorDateRangePicker/BlazorDateRangePicker.iitr8bszy4.bundle.scp.css';

/* /Pages/Files/Visualizations/FileDetailsInfos.razor.rz.scp.css */
.file-dropzone-shell[b-ddn9ig3lzn] {
    position: relative;
    width: 100%;
    min-height: 118px;
    padding: 1.25rem 1.2rem;
    border: 2px dashed #7fa2b8;
    border-radius: 0.9rem;
    background: linear-gradient(180deg, #f8fbfd 0%, #eef4f8 100%);
    box-shadow: 0 6px 18px rgba(23, 61, 86, 0.06);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.file-dropzone-inner[b-ddn9ig3lzn] {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.file-dropzone-shell:hover[b-ddn9ig3lzn] {
    border-color: #4f7d9b;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(23, 61, 86, 0.1);
    transform: translateY(-1px);
}

.file-dropzone-input[b-ddn9ig3lzn] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 5;
    display: block;
}

.file-dropzone-input[b-ddn9ig3lzn]  .custom-file,
.file-dropzone-input[b-ddn9ig3lzn]  .b-file-picker {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 5;
}

.file-dropzone-input[b-ddn9ig3lzn]  .custom-file-input,
.file-dropzone-input[b-ddn9ig3lzn]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    cursor: pointer;
}

.file-dropzone-input[b-ddn9ig3lzn]  .custom-file-label,
.file-dropzone-input[b-ddn9ig3lzn]  .custom-file-label::after,
.file-dropzone-input[b-ddn9ig3lzn]  button,
.file-dropzone-input[b-ddn9ig3lzn]  .btn {
    display: none !important;
}

.file-dropzone-input[b-ddn9ig3lzn]  .custom-file-label::after {
    content: none !important;
}

@media (max-width: 767.98px) {
    .file-dropzone-shell[b-ddn9ig3lzn] {
        min-height: auto;
        padding: 1rem;
    }
}
/* /Pages/Financial/Visualizations/OrderProductsManager/GridProducts/GridProducts.razor.rz.scp.css */
.custom-table .table-responsive[b-5rnwio2xvd] {
    max-height: 500px;
    height: auto !important;
}

.custom-table-no-scroll .table-responsive[b-5rnwio2xvd] {
    max-height: none !important;
    height: auto !important;
    width: max-content !important;
    min-width: 100% !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

.custom-table-no-scroll .table-responsive > .datagrid-financial[b-5rnwio2xvd],
.custom-table-no-scroll .table-responsive > .datagrid-planning[b-5rnwio2xvd] {
    width: max-content !important;
    min-width: 100% !important;
    table-layout: fixed !important;
}

.custom-table-no-scroll .table-responsive > .datagrid-financial > table[b-5rnwio2xvd],
.custom-table-no-scroll .table-responsive > .datagrid-planning > table[b-5rnwio2xvd],
.custom-table-no-scroll .table-responsive > table.datagrid-financial[b-5rnwio2xvd],
.custom-table-no-scroll .table-responsive > table.datagrid-planning[b-5rnwio2xvd] {
    width: max-content !important;
    min-width: 100% !important;
    table-layout: fixed !important;
}

/* L'en-tête et les lignes sont rendus dans des DataGrid distincts dans le
   mode aperçu. Un layout automatique recalculerait donc une largeur différente
   pour chaque grille selon son contenu. */
.custom-table-no-scroll .table-responsive > .datagrid-financial table[b-5rnwio2xvd],
.custom-table-no-scroll .table-responsive > .datagrid-planning table[b-5rnwio2xvd] {
    table-layout: fixed !important;
}

.datagrid-financial-readOnlyMode[b-5rnwio2xvd] {
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 250, 252, 0.98) 100%);
    box-shadow: 0 18px 42px rgba(19, 38, 63, 0.08);
    overflow: hidden;
}

.datagrid-financial-readOnlyMode table[b-5rnwio2xvd] {
    background: transparent;
}

.datagrid-financial-readOnlyMode table tbody tr[b-5rnwio2xvd] {
    transition: background-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.datagrid-financial-readOnlyMode table tbody tr:hover[b-5rnwio2xvd] {
    background-color: rgba(112, 180, 144, 0.08);
}

.datagrid-financial-readOnlyMode table tbody tr td[b-5rnwio2xvd] {
    border-color: rgba(112, 180, 144, 0.12);
    padding-top: .75rem;
    padding-bottom: .75rem;
    vertical-align: middle;
}

.datagrid-financial-readOnlyMode .name-cell[b-5rnwio2xvd] {
    background: linear-gradient(90deg, rgba(112, 180, 144, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: .75rem;
    padding-right: .5rem;
}

.datagrid-financial-readOnlyMode .name-cell .form-control[b-5rnwio2xvd],
.datagrid-financial-readOnlyMode .name-cell input[b-5rnwio2xvd],
.datagrid-financial-readOnlyMode .form-control[b-5rnwio2xvd],
.datagrid-financial-readOnlyMode input[b-5rnwio2xvd],
.datagrid-financial-readOnlyMode select[b-5rnwio2xvd] {
    pointer-events: none;
    background-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #24324a;
    font-weight: 600;
    padding-left: .25rem;
    padding-right: .25rem;
}

.datagrid-financial-readOnlyMode .name-cell input[b-5rnwio2xvd] {
    font-size: 1.02rem;
}

.datagrid-financial-readOnlyMode .name-cell .form-control[b-5rnwio2xvd],
.datagrid-financial-readOnlyMode .name-cell input[b-5rnwio2xvd] {
    color: #1f2d3d;
}

.datagrid-financial-readOnlyMode .check-cell-wrapper[b-5rnwio2xvd] {
    display: none !important;
}

.datagrid-financial-readOnlyMode .selection-check-cell-wrapper[b-5rnwio2xvd],
.datagrid-financial-readOnlyMode .selection-check-cell-wrapper *[b-5rnwio2xvd],
.datagrid-financial-readOnlyMode .selection-check-cell[b-5rnwio2xvd] {
    pointer-events: auto !important;
}

.datagrid-financial-readOnlyMode .selection-check-cell-wrapper[b-5rnwio2xvd] {
    display: inline-flex;
    align-items: center;
}

.datagrid-financial-readOnlyMode .expand-toggle[b-5rnwio2xvd] {
    background: rgba(112, 180, 144, 0.10);
    color: var(--avt-colorModFinancial);
}

.datagrid-financial-readOnlyMode .expand-toggle:hover[b-5rnwio2xvd] {
    background: rgba(112, 180, 144, 0.16);
}

.datagrid-financial-readOnlyMode .price-pad[b-5rnwio2xvd],
.datagrid-financial-readOnlyMode .text-right[b-5rnwio2xvd] {
    font-variant-numeric: tabular-nums;
}

.datagrid-financial-readOnlyMode .custom-select:disabled[b-5rnwio2xvd] {
    color: #24324a;
    opacity: 1;
}

.selection-check-cell-wrapper[b-5rnwio2xvd] {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selection-check-cell-column[b-5rnwio2xvd] {
    vertical-align: middle;
}

.selection-check-cell[b-5rnwio2xvd] {
    display: block;
    margin: 0;
}
