/** Partenaire MaNewCo - Espace Formalité **/

table {
    background: linear-gradient(97.35deg, #ffffff 57.7%, rgba(255, 255, 255, 0) 100%) !important;
}

#formalities-table thead tr th, #DataTables_Table_Formalities thead tr th, #DataTables_Table_Client thead tr th,
#DataTables_Table_Signature thead tr th, #DataTables_Table_Societe thead tr th, #card-table thead tr th,
#iban-table thead tr th, #transaction-table thead tr th, #admin-admin-table thead tr th, #admin-manager-table thead tr th,
#admin-collaborator-table thead tr th, #admin-formalist-table thead tr th, #list-partner-table thead tr th,
#address-partner-table thead tr th, #user-team-table thead tr th, #user-pro-table thead tr th, #user-table thead tr th,
#user-email-table thead tr th, #user-newsletter-table thead tr th, #promotion-table thead tr th, #starter-prices-table thead tr th,
#f-offre-module-table thead tr th, #f-frais-module-table thead tr th, #f-forfait-module-table thead tr th,
#f-frais-option-table thead tr th,
#f-frais-admin-table thead tr th, #business-prices-table thead tr th, #invoices-table thead tr th {
    color: var(--theme_primary_color) !important;
}

#formalities-table thead tr,
#DataTables_Table_Formalities thead tr,
#DataTables_Table_Client thead tr,
#DataTables_Table_Signature thead tr,
#DataTables_Table_Societe thead tr,
#card-table thead tr,
#iban-table thead tr,
#transaction-table thead tr,
#admin-admin-table thead tr,
#admin-manager-table thead tr,
#admin-collaborator-table thead tr,
#admin-formalist-table thead tr,
#list-partner-table thead tr,
#address-partner-table thead tr,
#user-team-table thead tr,
#user-pro-table thead tr,
#user-table thead tr,
#user-email-table thead tr,
#user-newsletter-table thead tr,
#promotion-table thead tr,
#starter-prices-table thead tr,
#f-offre-module-table thead tr,
#f-frais-module-table thead tr,
#f-forfait-module-table thead tr,
#f-frais-option-table thead tr,
#f-frais-admin-table thead tr,
#business-prices-table thead tr,
#invoices-table thead tr {
    background: transparent !important;
    background-color: transparent !important;
}

.label-file {
    color: #618C90 !important;
}

.img-border-dashed {
    background: #C2D6D9 !important;
}

.unvalidated-upload svg .svg-upload-file-path {
    fill: #618C90 !important;
}

.file-delete svg .file-delete-circle {
    fill: var(--theme_primary_color) !important;
}

.menu-subcontainer.partner-648caef0b504b19021106c8af3e2aba5 .arrow-menu-deroulant {
    color: #ffffff !important;
}

/* Toolbox — Stepper aligné sur l'identité visuelle Manewco (manewco-front) */
.partner-648caef0b504b19021106c8af3e2aba5 .depot-stepper-progress {
    background: linear-gradient(90deg, #0a8a96, #06d6a0) !important;
}
.partner-648caef0b504b19021106c8af3e2aba5 .depot-stepper-item.active .depot-stepper-icon {
    background: linear-gradient(135deg, #0a8a96, #06b6c8) !important;
    border-color: #0a8a96 !important;
}
.partner-648caef0b504b19021106c8af3e2aba5 .depot-stepper-item.done .depot-stepper-icon {
    background: #06d6a0 !important;
    border-color: #06d6a0 !important;
}
.partner-648caef0b504b19021106c8af3e2aba5 .depot-stepper-item.active .depot-stepper-text {
    color: #014247 !important;
}
.partner-648caef0b504b19021106c8af3e2aba5 .depot-stepper-item.done .depot-stepper-text {
    color: #06a07a !important;
}

/* Tables thead — annule les border-top-radius migration-only (front n'a pas ces règles) */
table[id$="-table"] thead tr:first-of-type th:first-of-type,
table[id^="DataTables_Table_"] thead tr:first-of-type th:first-of-type,
table[id$="-table"] thead tr:first-of-type th.first-th,
table[id^="DataTables_Table_"] thead tr:first-of-type th.first-th {
    border-top-left-radius: 0 !important;
}
table[id$="-table"] thead tr:first-of-type th:last-of-type,
table[id^="DataTables_Table_"] thead tr:first-of-type th:last-of-type,
table[id$="-table"] thead tr:first-of-type th.last-th,
table[id^="DataTables_Table_"] thead tr:first-of-type th.last-th {
    border-top-right-radius: 0 !important;
}

/* Hover/selected rows — migration utilise var(--theme_body_background_color), front utilise les hex ci-dessous */
table.dataTable tbody tr:hover {
    background-color: #f2f7f8 !important;
}
.data-table-row.selected,
.data-table-row.selected:hover {
    background-color: #99c1ca !important;
}

/* Invoices table — hover sur row sélectionnée : couleur Manewco-front (les autres tenants utilisent var(--theme_body_background_color)) */
#invoices-table.dataTable.display > tbody > tr.selected:hover > * {
    box-shadow: inset 0 0 0 9999px #99c1ca !important;
}
#invoices-table_wrapper table.dataTable.display tbody tr.selected:hover > td.payment-col,
#invoices-table_wrapper table.dataTable.display tbody tr.selected:hover > td.actions-col {
    box-shadow: inset 0 0 0 9999px #99c1ca !important;
}

.dataTables_wrapper {
    padding-bottom: 0!important;
    border-top: 1px solid #ffffff!important;
    border-left: 1px solid #ffffff!important;
    border-right: 1px solid #ffffff!important;
    border-radius: 10px 10px 0 0!important;
}