/** GLOBAL HTML BEGINNING **/
*
{
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-tap-highlight-color: transparent;
}
html,
body {
    height: auto;
    color : var(--main-text-color);
    background: #F0F4F7;
    font-size: 16px;
    font-family: Outfit, serif;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    scrollbar-color: var(--main-scrollbar-color);
    scrollbar-width: thin;
}
.hidden{
    display: none!important;
}
/** Font-Size **/
.fs-1-5 {
    font-size: 1.5rem!important;
}
a {
    text-decoration: none;
    color: var(--main-color);
    transition: .1s ease-in-out;
}
a,
i,
select {
    cursor: pointer;
}
i {
    margin-right: 4px;
}
img {
    max-width: 100%;
}
h3 {
    color: var(--main-text-color);
}
h4 {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    font-size: 1.30rem;
    font-weight: 600;
}
h4 span[id^="catinfo_"] {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    opacity: .8;
}
h6 {
    margin: 0 0 1.5rem;
    font-size: .9rem;
    text-transform: uppercase;
}
ul {
    line-height: 1.6rem;
}
.title_comment {
    font-size: 1rem;
    opacity: .4;
}
.height_fit {
    height: fit-content;
}
.scroll_x {
    overflow-x: scroll;
}
.bold {
    font-weight: 600;
}
.italic {
    font-style: italic;
}
.underline {
    text-decoration: underline;
}
#arrowTop {
    display: none;
}
/** GLOBAL HTML END **/

/** GLOBAL APP BEGINNING **/
#dateTimeLive {
    font-size: .9rem;
    text-transform: uppercase;
    font-weight: 600;
}
.home_background {
    position: relative;
    min-height: calc(100vh - 64px - 3.2rem);
    margin: 1.6rem;
    border-radius: 10px;
    background-size: cover;
    background-position: top right;
    overflow: hidden;
}
.home_background ul {
    position: absolute;
    top: 1rem;
    left: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-right: 3rem;
    padding: 1.6rem 1.9rem;
    list-style: none;
}
.home_background ul li i {
    color: var(--main-text-color);
    margin-right: 0;
}
.wrapper {
    min-height: 100vh;
}
.container_wrapper {
    display: flex;
}
.container {
    min-height: 100vh;
    width: 100%;
    padding-top: 64px;
    padding-left: 280px;
    transition: width 0.3s ease, padding 0.3s ease;
}
.page-head {
    position: fixed;
    margin-top: -65px;
    padding: 1.2rem 3rem 1.2rem 2.6rem;
    z-index: 3;
}
.page-head.scrolled {
    z-index: 4;
}
.page-head h2 {
    display: flex;
    align-items: center;
    margin-top: 6px;
    margin-bottom: 5px;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -1px;
    line-height: 36px;
}
.page-head h2 a {
    margin-left: 8px;
}
.page-head h2 i.fa-arrow-right-from-bracket {
    font-size: 1.5rem;
    transform: rotateY(180deg);
}
.page-head h2 i.fa-circle-question {
    font-size: 1.4rem;
}
.page-head h2.page-head-title-with-help {
    display: flex !important;
    gap: 8px;
}
.page-head h2.page-head-title-with-help .page-head-title-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.page-head h2.page-head-title-with-help .page-head-help-link {
    flex: 0 0 auto;
    margin-left: 0;
    line-height: 1;
}
@media (max-width: 1119px) {
    .page-head h2.page-head-title-with-help .page-head-title-text {
        overflow: visible;
        text-overflow: unset;
    }
}
.container_content {
    padding: 1.6rem;
}
.panel-block {
    padding: 1.2rem 2rem;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px 0 rgba(154, 161, 171, 0.05);
}
.panel-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    padding: 0 0 1rem;
    font-size: 18px;
    font-weight: 300;
    border-bottom: 1px solid #F0F4F7;
}
.panel-heading-2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: .8rem;
    align-items: center;
}
.panel-heading-2 .item:nth-child(1) {
    justify-self: start;
}
.panel-heading-2 .item:nth-child(2) {
    justify-self: center;
}
.panel-heading-2 .item:nth-child(3) {
    justify-self: end;
}
.panel-body {
    margin-top: 2rem;
    /*padding-top: 1rem;*/
}
.panel-body .icons
{
    margin-right: 5px;
    font-size: 1.4rem;
    color: var(--main-color);
}
.panel-body h5 {
    line-height: 24px;
}

.manual-invoice-lines-scroll {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.manual-invoice-lines-panel {
    min-width: 0;
}

@media (max-width: 760px) {
    .manual-invoice-lines-scroll #tableArticle {
        min-width: 760px;
    }
}
.flex_form {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.flex_form_row {
    height: 100%;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}
.block_background {
    padding: 1rem 2rem 2rem;
    background-color: #F0F4F757;
    border-radius: 5px;
}
.flash_message {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    border-radius: 5px;
}
.error {
    color: #ff00007a;
    background-color: #ff000012;
}
.success {
    color: #61cab2d6;
    background-color: #61cab217;
}
.card_file {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    border-radius: 10px;
    background-color: #f9f9f9;
}
.card_file_icon div {
    height: 140px;
    background-repeat: no-repeat;
    background-position: center;
}
.card_file_icon span {

}
.wrong_user p {
    padding: .8rem;
    border-radius: 5px;
}
.wrong_user p:last-child {
    margin-bottom: 0;
}
.wrong_user ul {
    margin: 0;
}
.block_text_mini {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
}
.block_text a {
    text-decoration: underline;
}
.block_text i {
    cursor: unset;
}
.block_text p {
    margin: 1rem 0 !important;
    font-size: 1rem !important;
}
.block_text_success {
    color: #38B2AC;
    background-color: #E6FFFA;
}
.block_text_success a {
    color: #38B2AC !important;
}
.block_text_info {
    color: #566CB0;
    background-color: #EBF8FF;
}
.block_text_info a {
    color: #566CB0 !important;
}
.block_text_warning {
    color: #ef8718;
    background-color: #ffede4;
}
.block_text_warning a {
    color: #ef8718 !important;
}
.block_text_danger {
    color: #F56565;
    background-color: #FFF5F5;
}
.block_text_classic {
    color: var(--main-color);
    background-color: #61cab217;
}
.block_text_center {
    text-align: center;
}
.legend h4 {
    margin-bottom: 1rem;
}
.legend {
    display: flex;
    gap: 4px;
}
.legend .legend_color {
    padding: 4px 10px;
    color: #ffffff;
    font-size: .8rem;
    text-align: center;
    border-radius: 3px;
}
/** GLOBAL APP END **/

/** SWAL MODAL CUSTOM BEGINNING **/
.swal2-container {
    z-index: 6;
}
.swal2-modal {
    max-height: 90vh;
    max-width: 90vw !important;
    width: auto !important;
    padding: 2rem !important;
}
/* Modale à largeur STABLE : le « width: auto » global fait rétrécir la popup sur
   son contenu et elle change de taille quand des champs apparaissent (ex. mode de
   facturation transport). À poser via customClass sur les formulaires concernés. */
.swal2-modal.swal-fixed-width {
    width: min(900px, 90vw) !important;
}
.swal2-title {
    margin-bottom: 2rem !important;
}
.swal2-toast .swal2-title {
    margin-bottom: 0 !important;
}
.swal2-content {
    padding: 0 !important;
    text-align: left !important;
    overflow-y: auto;
}
.swal-extra-wide,
.swal-extra-wide-folder {
    width: 100vw !important;
    max-width: 100vw !important;
}
.swal-super-wide,
.swal-super-wide-file {
    width: 90vw !important;
    max-width: 90vw !important;
}
.swal-super-wide-file {
    height: 100%;
}
.swal-wide{
    width: 70vw !important;
    max-width: 70vw !important;
}
.swal-medium {
    width: 50vw !important;
    max-width: 50vw !important;
}
.swal-small {
    width: 32vw !important;
    max-width: 32vw !important;
}
.swal-extra-small {
    width: 22vw !important;
    max-width: 22vw !important;
}
body.gmao-module .swal2-popup:not(.swal2-toast) {
    width: min(520px, calc(100vw - 2rem)) !important;
    max-width: calc(100vw - 2rem) !important;
    padding: clamp(1rem, 2vw, 1.5rem) !important;
}
body.gmao-module .swal2-popup.swal-wide {
    width: min(760px, calc(100vw - 2rem)) !important;
    max-width: calc(100vw - 2rem) !important;
}
body.gmao-module .swal2-html-container {
    max-width: 100%;
    overflow-x: hidden;
}
body.gmao-module .swal2-popup .ts-wrapper,
body.gmao-module .swal2-popup .ts-control {
    width: 100% !important;
    max-width: 100% !important;
}
body.gmao-module > .ts-dropdown {
    z-index: 9999 !important;
}
.swal2-textarea {
    resize: none;
}
.swal2-styled.swal2-confirm {
    background-color: var(--main-color) !important;
}
.swal2-content table td {
    text-align: left;
}
.swal2-icon.swal2-success .swal2-success-ring {
    border: .25em solid #61cab230 !important;
}
.swal2-icon.swal2-success {
    border-color: #9fded0 !important;
    color: #9fded0 !important;
}
.swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: #9fded0 !important;
}
.swal_modal_text_block {
    text-align: left;
}
.swal2-checkbox,
.swal2-file,
.swal2-input,
.swal2-radio,
.swal2-select,
.swal2-textarea {
    margin: 0 !important;
}
.swal2-input[type=number] {
    max-width: 100% !important;
}
.swal2-content ul {
    text-align: left;
}
.swal2-close,
.modal_close_icon {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    align-items: center;
    justify-content: center;
    width: 1.2em;
    height: 1.2em;
    padding: 0;
    overflow: hidden;
    transition: color .1s ease-out;
    border: none;
    border-radius: 0;
    background: 0 0;
    color: #ccc;
    font-family: serif;
    font-size: 2.5em;
    line-height: 1.2;
    cursor: pointer;
}
.swal2-close:hover,
.modal_close_icon:hover {
    transform: none;
    background: 0 0;
    color: #f27474 !important;
}
/** SWAL MODAL CUSTOM END **/

/** BUTTONS BEGINNING **/
.group_button {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
/*.group_button i,*/
/*.group_button .secondary_button i,*/
/*.group_button .secondary_button span i {*/
/*    margin-right: 0 !important;*/
/*}*/
.double_button {
    gap: 0;
}
.double_button button:first-of-type {
    border-right: none !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.double_button button:last-of-type {
    border-left: none !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.double_button button:last-of-type i {
    color: var(--main-color);
}
.group_button_center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.support_ticket_header_actions {
    display: grid;
}
.support_ticket_header_actions > :first-child {
    grid-column: 2;
    justify-self: center;
}
.support_ticket_header_actions > :last-child {
    grid-column: 3;
    justify-self: end;
    display: flex;
    gap: 4px;
}
.group_button_right {
    justify-content: end;
}
.group_button_left {
    align-items: center;
    justify-content: start;
}
.group_button_space {
    justify-content: space-between;
}
.primary_button,
.dt-button {
    width: fit-content;
    width: max-content;
    max-height: 40px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    padding: 10px 14px !important;
    color: #fff !important;
    font-size: 15px !important;
    line-height: initial !important;
    border: 1px solid var(--main-color) !important;
    border-radius: 5px !important;
    background-image: none !important;
    background-color: var(--main-color) !important;
    cursor: pointer !important;
    transition: .1s ease-in-out;
}
.dt-button span {
    display: flex;
    align-items: center;
}
.primary_button span {
    display: flex;
    align-items: center;
}
.danger_button {
    width: fit-content;
    width: max-content;
    max-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px !important;
    font-size: 15px !important;
    border: 1px solid #f56565 !important;
    border-radius: 5px !important;
    background-image: none !important;
    background-color: rgb(255 240 240) !important;
    color: #f56565 !important;
    cursor: pointer !important;
    transition: .1s ease-in-out;
}
.danger_button span {
    display: flex;
    align-items: center;
    color: #f56565 !important;
}
.success_button {
    width: fit-content;
    width: max-content;
    max-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px !important;
    font-size: 15px !important;
    border: 1px solid #38b2ac !important;
    border-radius: 5px !important;
    background-image: none !important;
    background-color: #f3fffd !important;
    color: #38b2ac !important;
    cursor: pointer !important;
    transition: .1s ease-in-out;
}
.success_button span {
    display: flex;
    align-items: center;
}
.validate_button {
    width: fit-content;
    width: max-content;
    max-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px !important;
    color: #fff !important;
    font-size: 15px !important;
    border: 1px solid #22c55ec9 !important;
    border-radius: 5px !important;
    background-image: none !important;
    background-color: #22c55ec9 !important;
    cursor: pointer !important;
    transition: .1s ease-in-out;
}
.secondary_button {
    width: fit-content;
    width: max-content;
    max-height: 40px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    padding: 10px 14px !important;
    color: var(--main-color) !important;
    font-size: 15px !important;
    border: 1px solid var(--main-button-icon-border-color) !important;
    border-radius: 5px !important;
    background-color: #ffffff !important;
    cursor: pointer !important;
    transition: .1s ease-in-out;
}
.primary_button i,
.danger_button i,
.success_button i,
.validate_button i,
.secondary_button i,
.add_button i,
.remove_button i,
.edit_button i {
    color: inherit !important;
}
.secondary_button span {
    display: flex;
    align-items: center;
}
/*.secondary_button i,*/
/*.secondary_button span i {*/
/*    margin-right: 10px !important;*/
/*}*/
button i {
    margin-right: 0;
    font-size: 20px;
}
button i.fa-trash,
button i.fa-trash-can,
button.fa-trash,
button.fa-trash-can {
    font-size: 17px;
}
.page_link_button_group {
    display: flex;
}
.page_link_button {
    width: fit-content;
    width: max-content;
    max-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    border: 1px solid #d5e9e5 !important;
    background-color: #61cab252 !important;
    cursor: pointer !important;
    transition: .1s ease-in-out;
}
.page_link_button:hover {
    opacity: .8;
}
.page_link_button_left {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-right: none !important;
}
.page_link_button_right {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: none !important;
}
.page_link_button_middle {
    border-left: none !important;
    border-right: none !important;
}
.page_link_button_left.current_page,
.page_link_button_right.current_page,
.page_link_button_middle.current_page {
    color: #ffffff !important;
    border-color: var(--main-color) !important;
    background-color: var(--main-color) !important;
}
.add_button,
.js_click_status {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    font-size: 28px;
    border: 1px solid var(--main-color-transparent-2);
    border-radius: 5px !important;
    background-color: var(--main-color-transparent-2);
    cursor: pointer !important;
    transition: .1s ease-in-out;
}
form .add_button,
form .js_click_status,
form .remove_button {
    height: 44px;
}
.ts-wrapper {
    min-height: 44px !important;
}
/* Les en-têtes scrollés sont recréés par DataTables après un changement de
   colonnes. Le select natif reste compact pendant sa réinitialisation TomSelect. */
.smart-dt-header-filter-row th {
    padding: 6px 4px !important;
    vertical-align: top;
}
.smart-dt-header-filter-row .smart-dt-header-filter {
    display: block;
    width: 100% !important;
    min-width: 140px;
    max-width: 100%;
    height: 36px;
    min-height: 36px;
    box-sizing: border-box;
}
.smart-dt-header-filter-row .ts-wrapper {
    width: 100%;
    min-width: 140px;
    min-height: 36px !important;
}
.smart-dt-header-filter-row .ts-control {
    min-height: 36px;
    max-height: 76px;
    overflow-y: auto;
    box-sizing: border-box;
}
.remove_button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff00007a;
    font-size: 28px;
    border: none;
    border-radius: 5px !important;
    background-color: #ff000012;
    cursor: pointer !important;
    transition: .1s ease-in-out;
}
.edit_button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    font-size: 28px;
    border: 1px solid #f4f5f7;
    border-radius: 5px !important;
    background-color: #8595ab17;
    cursor: pointer !important;
    transition: .1s ease-in-out;
}
.edit_button i {
    font-size: 1rem;
}
.file_button[type="file"]::-webkit-file-upload-button {
    padding: 10px 0 !important;
    color: var(--main-color) !important;
    font-size: 15px !important;
    text-decoration: underline;
    border: none !important;
    border-radius: 5px !important;
    background-image: none !important;
    background-color: #ffffff !important;
    cursor: pointer !important;
    transition: .1s ease-in-out;
}
.small_button {
    height: fit-content;
    margin-left: 2px;
    padding: 3px 8px;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    transition: .1s ease-in-out;
}
.primary_small_button {
    color: var(--main-color);
    background-color: #61cab226;
}
.danger_small_button {
    color: #ff00007a;
    background-color: #ff000012;
}
.absolute_wide_button {
    width: auto;
}
.absolute_button {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 1.6rem;
    display: flex;
    justify-content: center;
}
.center_button {
    justify-content: center;
    margin: auto;
}
.primary_button:hover,
.secondary_button:hover,
.add_button:hover,
.remove_button:hover,
.edit_button:hover,
.danger_button:hover,
.file_button[type="file"]::-webkit-file-upload-button:hover,
.dt-button:hover {
    opacity: .8;
}
.secondary_button:hover {
    background-color: rgba(47, 189, 114, 0.05) !important;
}
.danger_small_button:hover {
    color: rgba(255, 0, 0, 0.62);
    background-color: rgba(255, 0, 0, 0.13);
}
.input_button {
    display: flex;
}
.input_button button {
    color: var(--main-color);
    border: 1px solid #61cab2a3;
    border-radius: 5px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    background-color: #61cab214;
}
.input_button input,
.input_button .ts-control {
    line-height: unset;
    border-left: none !important;
    border-radius: 5px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.ts-control > * {
    display: flex !important;
    align-items: center;
}
.dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 2px;
    padding-left: 2px;
    text-align: unset !important;
    float: none !important;
}
.dt-button {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    padding: 9px 14px !important;
    vertical-align: unset;
    box-shadow: none !important;
}
.dt-button i {
    color: #ffffff;
    margin-right: 0;
}
.dt-button .fa-solid.fa-arrows-rotate {
    margin-right: 8px;
}
.dt-button .dt-button-down-arrow {
    display: none;
}
.dt-button-collection {
    padding: 2px !important;
}
.dt-button-collection > div:first-of-type {
    display: grid;
    gap: 2px;
}
.buttons-columnVisibility {
    background-color: #a9a9a9 !important;
    border: 1px solid #a9a9a9 !important;
}
.dt-button-active {
    background-color: var(--main-color) !important;
    border: 1px solid var(--main-color) !important;
}
button span {
    color: #ffffff;
}
.dt-length,
.dt-search {
    font-size: 1rem !important;
}
.dt-length,
.dt-search,
.dt-paging {
    display: flex;
    align-items: center;
}
.dt-scroll {
    display: grid;
    scrollbar-color: #69a9b521 #69a9b521;
    scrollbar-width: thin;
}
.top_datatables {
    padding-bottom: 2rem;
}
.top_datatables_buttons .dt-length {
    padding-bottom: 1rem;
    justify-content: center;
}
.bottom_datatables {
    padding: 2rem 0 1rem;
}
.dt-length .dt-input {
    margin: 0 4px;
    border-radius: 5px !important;
}
/* DataTables - "Afficher X elements" : une seule fleche, comme dans GMAO. */
.dt-container .dt-length select,
.dt-length select.dt-input,
.dt-length .dt-input,
div.dataTables_length select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'%3E%3Cpath fill='%238c98ad' d='M5.5 7.5 10 12l4.5-4.5 1.5 1.5-6 6-6-6z'/%3E%3C/svg%3E") !important;
    background-position: right 10px center !important;
    background-size: 14px 14px !important;
    background-repeat: no-repeat !important;
    padding: 6px 34px 6px 10px !important;
    min-width: 86px;
    min-height: 38px;
    border: 1px solid #dfe3eb !important;
    border-radius: 8px !important;
    color: #273041 !important;
    font-size: .875rem !important;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
    box-sizing: border-box;
    text-overflow: ellipsis;
}
.dt-container .dt-length select::-ms-expand,
div.dataTables_length select::-ms-expand {
    display: none;
}
.dt-search .dt-input {
    margin-left: 8px !important;
    border-radius: 5px !important;
}
.dt-search,
.dt-paging {
    justify-content: end;
}
.wide_button {
    width: 100%;
    justify-content: center;
    margin-top: 1.2rem;
}
.grid_button #swal2-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.grid_button .wide_button {
    margin-top: 0;
}
.accordion_button {
    margin: 0;
    padding: 7px 7px 7px 14px !important;
    border: none;
}
.accordion_button span {
    margin-left: 10px;
}
.accordion_button:hover,
.accordion_button.click {
    background-color: #61cab2ab;
}
/** BUTTONS END **/

/** SWITCH BEGINNING **/
.heading_switch {
    width: 328px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.switch_button {
    position: relative;
    width: 52px;
    height: 26px;
    margin: 0 12px;
}
.switch_button input {
    width: 0;
    height: 0;
    opacity: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
input:checked + .slider {
    background-color: var(--main-color);
}
input:focus + .slider {
    box-shadow: 0 0 1px var(--main-color);
}
input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
/** SWITCH END **/

/** ADVANCED SEARCH **/
.advanced-search {
    margin: 0;
}
.listing-buttons {
    display: flex;
    padding: 20px 20px 0;
    margin: 0 20px;
    margin-right: 6px;
}
.listing-buttons button {
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--main-color);
    font-size: 14px;
    margin-right: 6px;
    padding: 8px 12px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: .1s ease-in-out;
}
.listing-buttons button {
    width: auto;
}
#listingText textarea {
    min-height: 200px;
}
.accordion_button button:hover,
.accordion_button button.click,
.listing-buttons button:hover {
    background-color: #61cab2ab;
    transition: .1s ease-in-out;
}
.advanced-search-panel > div > div {
    margin: unset;
}
.advanced-search > div.show {
    height: auto;
    display: block;
    flex-direction: column;
    padding: 1rem 0;
    overflow: unset;
    transition: .1s ease-in-out;
}
.advanced-search p {
    margin-left: 20px;
    margin-right: 20px;
}
.advanced-search p span {
    color: var(--main-color);
    text-decoration: underline;
    opacity: .8;
}
.advanced-search > div {
    height: 0;
    overflow: hidden;
    transition: .1s ease-in-out;
}
.advanced-search > div.show {
    height: auto;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    overflow: auto;
    transition: .1s ease-in-out;
}
.advanced-search-panel-form {
    display: block;
}
.advanced-search-panel-form div div {
    margin: 8px 0 20px;
}
.advanced-search-panel-form label {
    margin: 10px 0 6px;
    font-weight: 600;
    font-size: .9rem;
}
.advanced-search-panel-form input,
.advanced-search-panel-form select {
    height: 44px !important;
    width: 100% !important;
    line-height: 1.5;
    padding: 10px 12px;
    margin-top: 8px;
    font-size: .9rem;
    border: 2px solid #eaeaea;
}
.advanced-search-panel-form select {
    cursor: pointer;
}
.checkbox {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.checkbox h3 {
    margin-top: 0;
    font-weight: 600;
    font-size: .9rem;
}

/** FORM FIELDS BEGINNING **/
.form_title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: 1rem;
}
.form_title h4 {
    font-weight: 600;
}
.form_parent {
    margin-bottom: 1rem;
}
.form_content {
    display: grid;
    gap: 1.2rem;
}
.form_group {
    height: fit-content;
    display: grid;
    gap: .5rem;
    margin-bottom: 1.4rem;
}
.form_group_label {
    display: flex;
    justify-content: space-between;
}
.form_group_label div {
    display: flex;
}
.form_group_label div span {
    color: #ef4444;
    font-weight: 600;
}
.form_group_label .help-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.form_group_label .help-icon i {
    margin-left: 6px;
    margin-right: 0;
    color: #3d3c3cb5;
    font-size: .9rem;
    opacity: .7;
}
.form_group_label .help-icon:hover i {
    opacity: 1;
}
.form_group_label .tooltip_text {
    height: fit-content;
    width: max-content;
    max-width: 400px;
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
    text-align: left;
    line-height: 20px;
    color: #ffffff;
    font-size: 14px;
    border-radius: 5px;
    background-color: #3d3c3cb5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    visibility: hidden;
    box-shadow: rgb(0 0 0 / 2%) 0 1px 10px -1px;
    z-index: 1;
}
.form_group_label .help-icon:hover .tooltip_text {
    visibility: visible;
    opacity: 1;
}

/* Keep this checkbox's help inside its form column, including SweetAlert modals. */
.wb-client-discounted-pricing {
    position: relative;
}
.wb-client-discounted-pricing .form_group_label {
    gap: .4rem;
}
.wb-client-discounted-pricing .help-icon {
    position: static;
}
.wb-client-discounted-pricing .tooltip_text {
    left: 0;
    right: auto;
    bottom: calc(100% + 8px);
    max-width: min(400px, 100%);
}
.wb-client-discounted-pricing:focus-within .tooltip_text {
    visibility: visible;
    opacity: 1;
}
.form_group input[readonly],
.form_group input[disabled] {
    background-color: #eee;
    color: #939393;
}
.form_group_button {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.4rem;
}
.form_group_unique {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 0 !important;
}
.form_group_unique input[type="checkbox"] {
    width: 16px;
    margin-right: 0;
    padding: 0;
}
.form_group label {
    display: flex;
    align-items: center;
    gap: 4px;
}
.block_background label {
    justify-content: space-between;
}
#displayBillable {
    display: flex;
    justify-content: center;
    margin-bottom: 1.8rem;
}
.form_group_checkbox {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 1.4rem;
}
.form_group_checkbox label {
    cursor: pointer;
}
.form_group_checkbox input {
    margin: 0 10px 0 0;
    cursor: pointer;
}
[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    min-height: unset !important;
    border-radius: 5px;
    border: 1px solid #b8b8b8;
    cursor: pointer;
    display: inline-block;
    position: relative;
}
[type="checkbox"]:checked {
    background-color: var(--main-color);
}
[type="checkbox"]::after {
    content: "✓";
    color: white;
    font-size: 10px;
    display: none;
    position: absolute;
    top: 0px;
    left: 3px;
}
input[type="checkbox"]:checked::after {
    display: block;
}
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
    cursor: unset !important;
}
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    cursor: pointer;
}
.form_group_label {
    font-size: 1.1rem;
}
.form_group input,
.form_group select,
.form_group textarea,
.form_group .ts-control,
.table input,
.table select {
    min-height: 44px;
    width: 100%;
    margin: auto;
    padding: .7rem;
    font-size: 1rem;
    border: 1px solid #b8b8b8;
    border-radius: 5px;
    background-image: none !important;
}
.form_group input[type="file"] {
    padding: .5rem .7rem;
}
.form_group textarea {
    min-height: 300px;
    font-family: Outfit, serif;
}
.form_group_unique input,
.form_group_unique select,
.form_group_unique textarea,
.form_group_unique .ts-control,
.form_group_date .ts-control,
.table_unique input {
    width: fit-content;
    padding: .5rem .7rem;
    font-size: .9rem;
    border: 1px solid #b8b8b8;
    border-radius: 5px;
    background-image: none !important;
}
.form_group_date input,
.form_group_date select {
    padding: .6rem .7rem !important;
    font-size: .9rem;
    border: 1px solid #b8b8b8;
    border-radius: 5px;
    background-image: none !important;
}
.form_group .ts-control {
    z-index: 0;
}
.form_group.has-error input,
.form_group.has-error select,
.form_group.has-error textarea,
.form_group_checkbox.has-error input,
.form_group.has-error .ts-control,
.invalid-field {
    border: 1px solid #ef4444 !important;
    border-color: #ef4444 !important;
}
.form_group .ts-control input {
    width: auto;
    font-size: 1rem;
    border: none !important;
}
.form_group .ts-control .clear-button,
.form_group .ts-control .remove {
    margin-top: -2px;
}
.form_group textarea {
    min-height: 140px;
    resize: none;
}
.form_group .ts-wrapper {
    width: 100% !important;
}
.ts-wrapper.multi .ts-control > div,
.form_group .ts-wrapper.multi .ts-control .item {
    color: #ffffff !important;
    text-shadow: none !important;
    background-image: linear-gradient(to bottom, var(--main-color), var(--main-color)) !important;
    box-shadow: none !important;
}
.ts-wrapper.multi .ts-control > div {
    background: var(--main-color) !important;
    border: 1px solid var(--main-color) !important;
}
.form_group .ts-wrapper.plugin-remove_button:not(.rtl) .item .remove {
    border-left: 1px solid #e1ffef !important;
}
.form_group .ts-dropdown .active {
    background-color: #61cab217 !important;
}
.ts-dropdown .optgroup-header,
.ts-dropdown [data-selectable].option {
    text-align: left;
}
.form_group_date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}
.form_group_date div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.form_group_date input {
    padding: .5rem .7rem;
    border: 1px solid #b8b8b8;
    border-radius: 5px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.form_group_date_row {
    align-items: center;
}
.form_group_date_row select {
    padding: .2rem .7rem !important;
}
.form_group_input_column,
.form_group_input_file {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form_group_input_row {
    display: flex;
    gap: 8px;
}
.form_group_input input {
    padding: .6rem .7rem !important;
}
.form_group_input_file input {
    padding: 0;
}
.hiddenSelectField{
    display: none !important;
}
.form_group_login {
    position: relative;
    margin-bottom: .8rem !important;
}
.form_group_login input {
    max-height: unset;
    padding: 1rem .7rem 1rem 3rem !important;
}
.form_group_login i {
    position: absolute;
    top: 17px;
    left: 16px;
    opacity: .8;
}
.form_group_login a {
    margin-top: .4rem;
}
.form_group_login #togglePassword {
    top: 17px;
    left: unset;
    right: 16px;
    color: var(--main-color);
}
/** FORM FIELDS END **/

/** CK EDITOR BEGINNING **/
.ck.ck-editor {
    width: 100% !important;
}
.ck .ck-content {
    min-height: 150px;
}
.ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items {
    flex-wrap: wrap !important;
}
/** CK EDITOR END **/

/** FIP & BSD CONTENT BEGINNING **/
.fip_block input[type="checkbox"] {
    display: none;
}
.fip_block {
    margin-top: 2rem;
}
.fip_block label {
    position: relative;
    display: block;
    padding: 10px 8px 10px 30px;
    margin-bottom: 4px;
    color: #606b89;
    border-radius: 4px;
    cursor: pointer;
}
.fip_block .years label {
    background-color: #e4eaf8a1 !important;
}
.fip_block .years label:hover {
    background-color: #d9e2f8 !important;
}
.fip_block .months label:hover {
    background-color: rgba(224, 231, 246, 0.63) !important;
}
.fip_block .months {
    margin-left: 1rem;
}
.fip_block .months label {
    background-color: rgba(228, 234, 248, 0.49) !important;
}
.fip_block label:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    border-left: 6px solid #afb9d2;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-top: -6px;
    margin-left: -17px;
}
.fip_block .labelHideAndShowDiv-open:before {
    border-left: 6px solid transparent;
    border-top: 6px solid #afb9d2;
    border-right: 6px solid transparent;
    margin-left: -20px;
    margin-top: -3px;
}
.fip_block .hide {
    display: table;
    width: 100%;
    background-color: #ffffff !important;
    overflow: hidden;
    transition: all 0.5s ease;
}
.fip_block .months .fip_block {
    margin-top: 0;
    padding: 1.2rem;
}
.fip_file img,
.bsd_file img,
.fip_file h5,
.bsd_file h5 {
    font-size: .9rem !important;
    font-weight: 600 !important;
    color: #353535 !important;
    transition: .1s;
}
.bsd_file h5 {
    margin-bottom: 0;
}
.fip_file a,
.bsd_file a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.fip_file img,
.bsd_file img {
    max-width: 90px;
    margin: auto;
}
.fip_file:hover img,
.bsd_file:hover img {
    transform: scale(1.2);
}
/** FIP & BSD CONTENT END **/

/** MODAL GLOBAL BEGINNING **/
.modal_bg_overlay {
/*    height: 100vh;*/
    height: 100%;
    width: calc(100% - 280px);
    position: fixed;
    top: 0;
    left: 280px;
    padding: 9rem;
    background: rgba(0, 0, 0, 0.70);
    z-index: 5;
}
.left_sidebar--collapsed .modal_bg_overlay {
    width: calc(100% - 80px);
    left: 80px;
}
.modal_table{
    position: relative;
    height: 100%;
    min-width: 32vw;
    max-width: max-content;
    margin: auto;
}
.modal_close_icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
}
.modal_close_icon:hover {
    color: var(--main-color);
}
.modal_table .panel-block {
    height: 100%;
    position: relative;
    overflow-y: scroll;
}
/** MODAL GLOBAL END **/

/** WB WEIGH BEGINNING **/
#numericDisplay {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: .65rem;
    margin-bottom: 1rem;
}
.weightDisplay {
    width: fit-content;
    padding: 1.1rem 2rem;
    font-family: 'Courier New', monospace;
    font-size: 35px;
    color: #ffffff;
    letter-spacing: 2px;
    border-radius: 10px 0 0 10px;
    background-color: #3d3c3c;
}
.weightDisplayWithoutTare {
    border-radius: 10px;
}
.weightDisplayContainer:has(> .bridgeSelected) {
    box-shadow:
            0 0 0 2px rgba(50,205,50,0.9),
            0 0 12px 6px rgba(50,205,50,0.45),
            0 0 24px 14px rgba(50,205,50,0.25);
    border-radius: 10px;
}
#numericTare {
    height: 75.1px;
    padding: .7rem;
    font-size: 1.4rem;
    color: #d7d7d7;
    border: 2px solid #ffffff;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: .2s;
    cursor: pointer;
}
#numericTare:hover {
    color: #a5a5a5;
    box-shadow: 0 10px 15px 3px rgba(0, 0, 0, 0.1);
    transition: .2s;
}
@media (max-width: 900px) {
    #numericDisplay {
        flex-direction: column;
        align-items: stretch;
        gap: 1.4rem;
    }
    #numericDisplay .weightDisplay {
        width: 100%;
        flex: 1 1 auto;
        text-align: center;
    }
}
/** WB WEIGH END **/

/** DROPZONE BEGINNING **/
.dropzone {
    margin: 1.4rem 0 1.4rem;
    border: 1px solid #b8b8b8 !important;
    border-radius: 5px;
}
.dz-message {
    margin: 2.5em 0 2em !important;
    opacity: .8;
}
/** DROPZONE END **/

/** IDRA BEGINNING **/
#resultImageCouverture,
#resultImageMinia1,
#resultImageMinia2,
#resultImageLogoClient {
    margin-top: 14px;
}
#resultImageCouverture img,
#resultImageMinia1 img,
#resultImageMinia2 img,
#resultImageLogoClient img {
    max-width: 200px;
}
#pac-input {
    top: 10px !important;
    height: 40px;
    padding: 8px;
    border: none;
    border-radius: 5px;
    font-family: Roboto, Arial, sans-serif;
    font-size: 18px;
    box-shadow: rgba(0, 0, 0, 0.3) 0 1px 4px -1px;
}
.poleColorSSP {
    color: #eb843a !important;
    font-weight: 600;
    border-radius: 5px;
}
.poleColorDragage {
    color: #5eb34e !important;
    font-weight: 600;
    border-radius: 5px !important;
}
.poleColorICPE {
    color: #f3c600 !important;
    font-weight: 600;
    border-radius: 5px !important;
}
.poleColorGeophysique {
    color: #9999ff !important;
    font-weight: 600;
    border-radius: 5px !important;
}
.statut-archivé  {
    background-color: rgba(185,185,185,0.8) !important;
}
.statut-accepté {
    background-color: #f7f7f7 !important;
}
.statut-nouvelle {
    background-color: #f7f7f7 !important;
}
.statut-attente {
    background-color: #fff3cd !important;
}
.statut-encours {
    background-color: #e0f2fe !important;
}
.statut-rendue {
    background-color: #61cab25c !important;
}
.statut-refusée {
    background-color: #f8d7da !important;
}
.pinnedListChoice {
    margin-top: 1rem;
}
.pinnedListChoice span {
    margin-left: 1.2rem;
    font-weight: 600;
    text-align: left;
}
.pinnedListChoice ul {
    padding: 0 !important;
    text-align: left;
}
.pinnedListChoice ul li {
    display: flex;
    list-style: none;
}
.pinnedListChoice {
    display: flex;
    flex-direction: column;
    justify-content: left;
}
#listingText textarea {
    width: 100%;
}
.sensor_day_data h5 {
    margin: 0;
}
.sensor_day_data h5,
.sensor_day_data span {
    font-weight: 600 !important;
}
.sensor_flex_center_div {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.sensor_flex_center_div img {
    max-height: 90px;
    max-width: 90px;
}
.sensor_flex_div {
    display: flex;
    justify-content: space-around;
}
.keywords-management h5 {
    margin-top: 0;
    font-size: .9rem;
    font-weight: 600;
    opacity: 0.7;
}
.keywords-management span {
    display: flex;
    align-items: center;
    background-color: #008d8324;
    margin: 0 12px 12px 0;
    padding: 0.5rem 0.9rem 0.5rem 0.9rem;
    border-radius: 20px;
    font-size: .9rem;
    color: #003135;
    font-weight: 600;
    opacity: .8;
}
.keywords-management span a {
    padding: 0 0 0 10px;
}
.keywords-management span a:first-child {
    font-size: 1rem;
}
.keywords-management span a:last-child {
    color: #dc2626bd;
}
.keywords-container > div > div > div,
.keywords-categories-container {
    display: flex;
    flex-wrap: wrap;
}
#advancedSearchFormDiv h5 {
    font-weight: 600;
}
.map_idra {
    height: 800px;
    width: 100%;
    border-radius: 10px;
}
.map_idra h3 {
    margin-top: 0;
}
.map_idra h3:focus-visible {
    outline: none;
}
.map_idra #viewProject {
    display: flex;
    align-items: center;
}
.map_idra #viewProject i {
    margin-left: 5px;
}
.map_idra .gm-style img {
    max-width: 595px;
}
.map_idra img {
    min-width: inherit;
}
.statut-archivé  {
    background-color: rgba(185,185,185,0.8) !important;
}
.statut-accepté {
    background-color: #f7f7f7 !important;
}
.ardi-sheets .table td {
    font-size: 1rem;
    padding: 0.6rem 0;
    border-top: 0;
}
.ardi-sheets .table .table-sheets-desc {
    display: flex;
}
.ardi-sheets .table .table-sheets-desc img {
    height: 60px;
    min-width: 80px;
    max-width: 80px;
    object-fit: cover;
    border-radius: 3px;
}
.ardi-sheets .table h3 {
    font-size: 1rem;
    margin: 0 0 0 10px;
}
.ardi-sheets .table tr th,
.ardi-sheets .table tr td {
    padding: .6rem;
}
.listing-buttons input {
    margin-right: 6px;
}
#swapToCommonList {
    float: right;
    cursor: pointer;
    padding: 10px 12px;
    border: 2px solid #eaeaea;
}
.getMapCommonList {
    float: right;
    margin-top: 8px;
    margin-left: 14px;
}
#modeles {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
#modeles div#modele1,
#modeles div#modele2,
#modeles div#modele3,
#modeles div#modele4 {
    width: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 2rem;
    border: 1px solid var(--main-color);
    border-radius: 10px;
}
#modeles ul {
    padding-left: 1.6rem;
}
#modeles h5 {
    margin-top: 0;
    font-weight: 600;
}
#modeles div div h5:nth-child(3),
#modeles div div ul:nth-child(4) {
    opacity: .6;
}
#modeles button.inactive_button {
    border-color: #d5d5d5 !important;
    background-color: #d5d5d5 !important;
}
#modeles div.inactive_button {
    border-color: var(--main-color-transparent) !important;
}
.tag_phase {
    display: block;
    min-width: 56px;
    padding: 3px 8px;
    border-radius: 5px;
}
.tag_phase_common {
    background-color: #f8fafc;
}
.tag_phase_success {
    background-color: #86efac;
}
.tag_phase_warning {
    background-color: #fdba74;
}
.tag_phase_danger {
    background-color: #f87171;
}
.search-button {
    margin-top: 1rem;
}
.current-file {
    width: max-content;
    padding: 2px 12px 5px;
    color: #0d9488;
    border-radius: 100px;
    background-color: #f0fdfa;
}
.current-file a,
.current-file i {
    color: #0d9488;
    opacity: .9;
}
.current-file a:hover {
    opacity: 1;
    text-decoration: underline;
}
/** IDRA END **/

/** CHART BEGINNING **/
.chart-container canvas,
#chartusers svg {
    width: 100% !important;
    /*height: 400px !important;*/
}
.chart-container-height-100 canvas,
#chartusers svg {
    height: 100% !important;
}
#chartusers svg {
    display: block;
    box-sizing: border-box;
}
/** CHART END **/

/** GRID BEGINNING **/
.grid,
.grid_gap_2 {
    width: 100%;
    display: grid;
    gap: 2rem;
}
.grid_tag {
    width: 100%;
    display: grid;
    gap: .4rem;
}
.grid_gap_1 {
    gap: 1rem;
}
.grid .select2 {
    width: 100% !important;
}
.grid_1 {
    grid-template-columns: 1fr;
}
.grid_2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid_3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid_4 {
    grid-template-columns: repeat(4, 1fr);
}
.grid_5 {
    grid-template-columns: repeat(5, 1fr);
}
.grid_6 {
    grid-template-columns: repeat(6, 1fr);
}
.grid_1_5 {
    grid-template-columns: 1fr 5fr;
}
.grid_1_6 {
    grid-template-columns: 1fr 6fr;
}
.grid_1_8 {
    grid-template-columns: 1fr 8fr;
}
.grid_3_1 {
    grid-template-columns: 3fr 1fr;
}
.grid_5_1 {
    grid-template-columns: 5fr 1fr;
}
.grid_8_1 {
    grid-template-columns: 8fr 1fr;
}
/** GRID END **/

/** MARKETPLACE BEGINNING **/
.marketplace_grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.2rem;
}
.marketplace_card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    border: 1px solid #F0F4F7;
    background: #ffffff;
    box-shadow: 0 0 15px 0 rgba(154, 161, 171, 0.05);
    overflow: hidden;
    transition: transform 0.12s ease-in-out, box-shadow 0.12s ease-in-out;
}
.marketplace_card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
}
.marketplace_card_media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--main-color-transparent-2), #F0F4F7);
    display: flex;
    align-items: center;
    justify-content: center;
}
.marketplace_card_media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.marketplace_card_media i {
    margin-right: 0;
    font-size: 2.2rem;
    opacity: 0.55;
}
.marketplace_card_body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    min-height: 140px;
}
.marketplace_card_title {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.2rem;
    color: var(--main-text-color);
}
.marketplace_card_desc {
    opacity: .75;
    line-height: 1.35rem;
    display: -webkit-box;
    overflow: hidden;
}
.marketplace_card_meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.marketplace_badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--main-color-transparent-2);
    color: var(--main-color);
    font-weight: 600;
    font-size: .85rem;
}
.marketplace_layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.2rem;
    align-items: start;
}
.marketplace_cart {
    position: sticky;
    top: 1rem;
    border-radius: 12px;
    border: 1px solid #F0F4F7;
    background: #ffffff;
    box-shadow: 0 0 15px 0 rgba(154, 161, 171, 0.05);
    overflow: hidden;
}
.marketplace_cart_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1rem;
    border-bottom: 1px solid #F0F4F7;
}
.marketplace_cart_header h4 {
    margin: 0;
}
.marketplace_cart_count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--main-color-transparent-2);
    color: var(--main-color);
    font-weight: 700;
}
.marketplace_cart_body {
    padding: 1rem;
}
.marketplace_cart_empty {
    opacity: .7;
}
.marketplace_cart_items {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.marketplace_cart_item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: .25rem .75rem;
    padding: .75rem;
    border-radius: 10px;
    border: 1px solid #F0F4F7;
    background: #fff;
}
.marketplace_cart_item_img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, var(--main-color-transparent-2), #F0F4F7);
}
.marketplace_cart_item_img_placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.marketplace_cart_item_img_placeholder i {
    margin-right: 0;
    font-size: 1.2rem;
    opacity: .55;
}
.marketplace_cart_item_title {
    font-weight: 600;
    line-height: 1.2rem;
}
.marketplace_cart_item_qty {
    font-weight: 700;
    text-align: right;
}
.marketplace_cart_item_remove {
    grid-column: 1 / -1;
    justify-self: start;
    border: none;
    background: transparent;
    padding: 0;
    color: var(--main-color);
    font-weight: 600;
    cursor: pointer;
}
.marketplace_cart_footer {
    padding: 1rem;
    border-top: 1px solid #F0F4F7;
}
.marketplace_card_actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
}
.marketplace_qty_btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid #F0F4F7;
    background: #fff;
    font-weight: 800;
    cursor: pointer;
}
.marketplace_qty_btn:disabled {
    cursor: not-allowed;
    opacity: .45;
}
.marketplace_qty_value {
    width: 28px;
    text-align: center;
    font-weight: 800;
}
.marketplace_card_alert_incompat {
    margin-bottom: 8px;
    padding: 8px 10px;
    border: 1px solid #dc2626;
    background: #fef2f2;
    color: #991b1b;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}
@media (max-width: 1100px) {
    .marketplace_layout {
        grid-template-columns: 1fr;
    }
    .marketplace_cart {
        position: static;
    }
}
/** MARKETPLACE END **/

/** DATATABLES BEGINNING **/
table {
    height: 100%;
}
.table_custom {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.table_custom tbody th:first-of-type,
.table_custom tbody tr:last-of-type {
    border: 1px solid #61cab217 !important;
}
.table_custom tbody th:first-of-type {
    padding: 8px 1rem !important;
}
.table_custom tbody th,
.table_custom tbody td {
    font-weight: normal !important;
}
.table td ul {
    margin: 0;
    padding-left: 18px;
}
.table-hover > tbody > tr:hover {
    background-color: var(--main-color-transparent-2) !important;
}
.table.table_custom thead tr th,
.table.table_custom tbody tr td,
.table.table_custom_ tbody tr td {
    padding: 8px 1rem !important;
    border: 1px solid #F0F4F7;
    vertical-align: middle;
}
table.dataTable > thead > tr > th,
table.dataTable > thead > tr > td {
    border-bottom: 1px solid var(--main-color-transparent-2) !important;
}
table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:before,
table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:after,
table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:before,
table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:after,
table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:before,
table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:after,
table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:before,
table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:after,
table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order:before,
table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order:after,
table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order:before,
table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order:after,
table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:before,
table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:after,
table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order:before,
table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order:after {
    color: var(--main-color) !important;
}
.table_custom img {
    max-height: 46px;
    max-width: 110px;
    display: flex;
    margin: auto;
    padding: 4px;
}
.table_custom_2 {
    width: 100%;
}
.table_custom_2 tr {
    /*height: 50px;*/
}
.table_custom_2 th,
.table_custom_2 td {
    width: 50%;
    padding: 8px;
    text-align: center;
    border: 1px solid #F0F4F7;
}
.table_custom tr td:first-of-type,
.table_custom_2 tr td:first-of-type,
.table_custom_3 tr td:first-of-type,
.table_custom_5 tr td:first-of-type {
    font-weight: 600;
}
.table_custom tr td,
.table_custom_2 tr td,
.table_custom_4 tr th {
    text-align: right;
}
.table_custom_5 tr td {
    text-align: right;
    line-height: 2rem;
    white-space: nowrap;
}
.table_custom_5 tbody {
    overflow-x: scroll;
}
.table_custom tr td:first-of-type,
.table_custom_2 tr td:first-of-type,
.table_custom_5 tr td:first-of-type {
    text-align: left;
}
.table_custom_5 tr td i {
    opacity: .6;
}
.table_custom_6 {
    width: 100%;
}
.table_custom_6 tr th {
    padding: 4px 10px;
    text-align: center;
    border-radius: 3px;
    background-color: var(--main-color-transparent-2);
}
.table_custom_6 tr td {
    padding: 6px 16px 6px 0;
}
.table_custom_6 tr td:nth-child(2),
.table_custom_6 tr td:nth-child(3) {
    text-align: right;
}
.table_custom_7 {
    margin-bottom: 2rem;
}
.table_custom_7 tr th {
    padding: 1rem 1rem .2rem;
}
.table_custom_7 tr td {
    vertical-align: top;
    padding: 1rem;
    border: 1px none #61cab236;
    border-bottom-style: solid;
}
.table.table_custom_8 thead tr th,
.table.table_custom_8 tbody tr td {
    padding: 4px 1rem !important;
    color: var(--main-text-color);
    border: none;
    background-color: unset;
}
.table.table_custom_8 thead tr th {
    display: flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 10px;
    padding: 8px 1rem 9px !important;
    color: #7bc3b2;
    background-color: #f6fcfa;
    border-radius: 40px;
}
.table.table_custom_8 tbody tr td input {
    height: 32px;
}
.table.table_custom_8 tbody tr td input[type="time"] {
    cursor: pointer;
}
.table.table_custom_8 tbody tr {
    background: none;
}
.table_custom_9 {
    width: 100%;
}
.table_custom_9 tr th {
    padding: 4px 10px;
    border-radius: 3px;
    background-color: var(--main-color-transparent-2);
}
.table_custom_9 tr td {
    padding: 6px 16px 6px 0;
}
.table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
.odd {
    background-color: #F0F4F7;
}
.table tbody tr.selected td {
    box-shadow: inset 0 0 0 9999px var(--main-color) !important;
}
.panel-body table tbody tr {
    line-height: 23px;
    border-bottom: 1px solid #61cab217;
}
.panel-body table tbody tr:last-of-type {
    border: none;
}
.table > thead > tr > th {
    padding: 12px 10px;
    vertical-align: top;
}
.table > thead > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > th,
.table > tfoot > tr > td {
    padding: 25px 10px !important;
    font-size: 1rem !important;
    text-align: left !important;
}
.table > thead > tr > th {
    vertical-align: middle;
}
.table > tbody > tr > td {
    vertical-align: top;
}
.table > tbody > tr > td > p {
    margin: 0;
}
div.dt-container.dt-empty-footer tbody > tr:last-child > * {
    border-bottom: none !important;
}
.table .icons {
    padding: 0 .4rem 0 .4rem;
    font-size: 1.4rem;
}
.dt-paging-button {
    color: var(--main-text-color) !important;
    border: 1px solid lightgrey !important;
    box-shadow: none !important;
}
.dt-paging-button:hover {
    border: 1px solid var(--main-color) !important;
    background: none !important;
    background-color: var(--main-color) !important;
}
.dt-paging-button.current {
    color: #ffffff !important;
    border: 1px solid var(--main-color) !important;
    background-color: var(--main-color) !important;
    box-shadow: none !important;
}
.ts-dropdown .active {
    color: #2c806d !important;
}
.dt-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 16px !important;
}
.dt-info span {
    margin-top: .5em;
    margin-right: .5em;
    margin-left: 0 !important;
}
.center_cell {
    text-align: center !important;
}
.compact-table .table thead tr th,
.compact-table .table tbody tr td {
    padding: 8px 20px !important;
}
.compact-table .table tbody tr.table-info {
    background-color: var(--main-color-transparent);
}
.compact-table2 .table {
    margin-bottom: 2rem;
}
.compact-table2 .table thead tr th,
.compact-table2 .table tbody tr td {
    padding: .1rem .7rem !important;
    vertical-align: middle !important;
}
.compact-table2 .table thead tr th:last-of-type,
.compact-table2 .table tbody tr td:last-of-type {
    padding-right: 8px !important;
}
.compact-table2 .table tr th input,
.compact-table2 .table tr td input {
    padding: .1rem .7rem !important;
    font-size: .9rem !important;
}
.compact-table2 .table tbody tr.table-info {
    background-color: var(--main-color-transparent);
}
.table.dataTable > tbody > tr.selected a {
    color: #ffffff;
}
/** DATATABLES END **/

/** DATATABLES RESPONSIVE CUSTOM BEGINNING **/
.table.cards {
    display: block !important;
}
.table.cards tbody,
.table.cards tfoot {
    display: block !important;
}
table.cards th.dt-type-numeric, table.cards th.dt-type-date, table.cards td.dt-type-numeric, table.cards td.dt-type-date {
    padding: 3px !important;
    font-size: .89em !important;
}
.table.cards tbody tr,
.table.cards tfoot tr {
    width: 100%;
    display: inline-block !important;
    padding: 1.2rem 0;
}
.table.cards tbody tr td,
.table.cards tfoot tr td {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 6px 1.6rem !important;
    font-size: .9rem !important;
    text-align: right !important;
}
.table.cards tfoot tr td {
    padding-right: 1rem !important;
    font-weight: 600;
    border: none;
}
.table.cards tbody tr td span,
.table.cards tfoot tr td span {
    text-align: right;
}
.table.cards tbody tr td ul li,
.table.cards tfoot tr td ul li {
    list-style: none;
}
.table.cards td.action_icon_group {
    max-width: 100% !important;
    min-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
}
.table.cards td.action_icon_group a {
    margin-right: 1.2rem;
    font-size: 1.1rem;
}
.table.cards thead {
    display: none;
}
.table.cards td:before {
    content: attr(data-label);
    position: relative;
    float: left;
    min-width: 4rem;
    margin-left: 0;
    margin-right: 1rem;
    color: #808080;
    font-weight: 600;
    text-align: left;
}
.table.cards td.action_icon_group:before {
    display: none;
}
/* CRM mobile cards: badges/chips align to the right edge like text values (margin auto ends a grid item) */
body.crm-module .table.cards tbody tr td .status-badge,
body.crm-module .table.cards tbody tr td .interaction-type-badge,
body.crm-module .table.cards tbody tr td .status-badge-link {
    margin-left: auto;
}
/** DATATABLES RESPONSIVE CUSTOM END **/

/** PLANNING CALENDAR CUSTOM BEGINNING **/
#calendar table thead tr th {
    background-color: #475569;
}
#calendar table thead tr th a {
    color: #ffffff;
}
.fc-direction-ltr .fc-toolbar > * > :not(:first-child) {
    margin-left: 0 !important;
}
.fc .fc-toolbar {
    flex-wrap: wrap;
    gap: 4px;
}
.fc .fc-toolbar.fc-header-toolbar {
    margin-top: 1.5rem;
}
.fc-toolbar-chunk {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: end;
}
.fc .fc-timegrid-col.fc-day-today,
.fc .fc-daygrid-day.fc-day-today {
    background-color: rgba(97, 202, 178, 0.11) !important;
}
.fc .fc-button-primary {
    border-color: #475569;
    background-color: #475569;
}
.fc-scroller-harness {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.fc-event {
    height: 100%;
    min-height: fit-content;
    padding: .6rem;
}
.fc-event-time {
    text-align: center;
    font-size: .9rem !important;
    font-weight: 600;
    opacity: .8;
}
.fc-event-title {
    text-align: center;
}
.fc-event-title i {
    color: #ffffff !important;
}
.fc-toolbar-title {
    text-transform: capitalize;
}
.spanCAPName {
    text-transform: uppercase;
    margin-bottom: .6rem !important;
}
.bargeExutoire,
.bargeClient {
    overflow-y: auto;
    overflow-x: hidden;
}
/** PLANNING CALENDAR CUSTOM END **/

/** ICONS & FONTAWESOME ICONS BEGINNING **/
table > tbody > tr > td.action_icon_group {
    height: 100%;
    max-width: 116px;
    min-width: 116px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 40px;
    justify-items: center;
    align-items: center;
    gap: 18px;
    padding: 19px 20px !important;
}

table > tbody > tr > td.action_icon_group form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

table > tbody > tr > td.action_icon_group button.fa-solid,
table > tbody > tr > td.action_icon_group button.fas,
table > tbody > tr > td.action_icon_group button.far,
table > tbody > tr > td.action_icon_group button.fa-regular {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-size: inherit;
    line-height: inherit;
}

.fa-solid,
.fas,
.far,
.fa-regular {
    text-align: center;
}
.fa-comment-dots,
.fa-message {
    color: var(--main-color);
}
.fa-comments{
    color: #a78bfa;
    --fa: "\f086";
}
.fa-thumbs-up {
    color: #22c55ec9;
}
.fa-thumbtack {
    color: #b97cfb;
}
.fa-thumbtack-slash {
    color: #a454fd;
}
.fa-thumbs-down {
    transform: rotateY(180deg) rotateX(0deg) !important;
    color: #ff000073;
}
.fa-stopwatch {
    color: #f59e0b;
}
.fa-lock {
    color: #f59e0b;
}
.fa-lock-open {
    color: #8595ab;
}
.fa-pen-to-square {
    color: #8595ab;
}
.fa-eye-slash,
.fa-trash-can {
    color: #b91c1c;
}
.fa-envelope,
.fa-envelope-open-text {
    color: #10b981;
}
.fa-piggy-bank {
    color: #fda4af;
}
.fa-briefcase {
    color: #0ea5e9;
}
.fa-share-square {
    transform: rotateY(180deg);
}
.fa-arrow-rotate-left,
.fa-file-circle-minus {
    color: #f59e0b;
}
.fa-sync,
.fa-sync-alt {
    color: #f59e0b;
}
.fa-up-right-from-square {
    color: #f59e0b;
}
.fa-calendar-plus {
    color: #f59e0b;
}
.fa-print {
    color: #60a5fa;
}
.fa-file-arrow-down {
    color: #60a5fa;
}
.fa-eye {
    color: #60a5fa;
}
.fa-clone {
    color: #a78bfa;
}
.fa-magnifying-glass-arrow-right {
    color: #a78bfa;
}
.fa-clipboard-list {
    color: #8595ab;
}
.fa-ban {
    color: #f59e0b;
}
.fa-bell {
    color: #f59e0b;
}
.fa-bell.reminder-empty {
    color: #9ca3af;
    opacity: 0.75;
}
.fa-repeat.reminder-empty {
    color: #9ca3af;
    opacity: 0.75;
}
.fa-circle-info {
    color: var(--main-color) !important;
    margin-left: 0 !important;
}
/*.fa-ban {*/
/*    color: #dc2626bd;*/
/*}*/
.fa-check {
    color: #22c55ec9;
}
/*.fa-diagram-project {*/
/*    color: #0d9488;*/
/*}*/
/*.fa-file-arrow-down {*/
/*    color: #84cc16;*/
/*}*/
.fa-table-list {
    /*color: rgb(8, 152, 11);*/
    color: #68d3a3;
}
.fa-folder-open {
    color: #ffd354;
}
.fa-rectangle-list {
    color: rgb(177 213 93);
}
.fa-wand-magic-sparkles {
    color: #a78bfa
}
.fa-user-group {
    color: #ffad55;
}
.fa-calendar-days {
    color: #22c55ec9;
}
.fa-gear {
    color: #8595ab;
}
.fa-ellipsis-h {
    color: #8595ab;
}
/*.fa-rectangle-list {*/
/*    color: rgba(174, 158, 10, 0.76);*/
/*}*/
/*.fa-credit-card {*/
/*    color: #60a5fa;*/
/*}*/
/*.fa-thumbtack {*/
/*    color: #fbbf24;*/
/*}*/
/*.fa-thumbtack-slash {*/
/*    color: #dc2626bd;*/
/*}*/
/*.fa-folder-open {*/
/*    color: #fcd34d;*/
/*}*/
.table .fa-circle {
    margin-top: 6px;
    font-size: .9rem;
}
/** FONTAWESOME ICONS END **/

/** CKEDITOR BEGINNING **/
.ck-powered-by {
    display: none;
}
/** CKEDITOR END **/

/** GLOBAL OPTIONS BEGINNING **/
.m-0 {
    margin: 0 !important;
}
.mt-0 {
    margin-top: 0 !important;
}
.mt-1 {
    margin-top: 1rem !important;
}
.mt-2 {
    margin-top: 2rem !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.mb-1 {
    margin-bottom: 1rem !important;
}
.mb-2 {
    margin-bottom: 2rem !important;
}
.mr-0 {
    margin-right: 0 !important;
}
.mr-1 {
    margin-right: 5px !important;
}
.pt-0 {
    padding-top: 0 !important;
}
.pb-0 {
    padding-bottom: 0 !important;
}
.pl-0 {
    padding-left: 0 !important;
}
.pl-1 {
    padding-left: 1rem !important;
}
.pr-0 {
    padding-right: 0 !important;
}
.pr-0 {
    padding-right: 0 !important;
}
/** GLOBAL OPTIONS ENDING **/

/** LOADER SPINNER BEGINNING **/
#loader-wrapper {
    position: fixed;
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: flex;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
}
.loader {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: inline-block;
    border-top: 4px solid var(--main-color);
    border-right: 4px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border-left: 4px solid color-mix(in srgb, var(--main-color) 40%, white);
    border-bottom: 4px solid transparent;
    animation: rotation 0.5s linear infinite reverse;
}
.loader_text {
    position: absolute;
    color: #fff;
    opacity: .7;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/** LOADER SPINNER ENDING **/

/** MEDIA QUERIES BEGINNING **/
@media screen and (max-width: 1600px) {
    /** GRID BEGINNING **/
    .grid_3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    /** GRID END **/

    /** SWAL MODAL BEGINNING **/
    .swal-extra-wide,
    .swal-wide,
    .swal-medium,
    .swal-small,
    .swal-extra-small {
        max-width: 70vw !important;
        width: 70vw !important;
    }
    /** SWAL MODAL END **/
    .container_blur {
        background-size: 300px;
    }
}
@media screen and (max-width: 1500px) {
    /** GRID BEGINNING **/
    .grid_2 {
        grid-template-columns: repeat(2, 1fr);
    }
    /** GRID END **/
}
@media screen and (max-width: 1200px) {
    .swal2-content .grid_2 {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 1120px) {
    body.gmao-module .swal2-popup:not(.swal2-toast),
    body.gmao-module .swal2-popup.swal-wide {
        width: calc(100vw - 1rem) !important;
        max-width: calc(100vw - 1rem) !important;
    }

    .container {
        padding-left: 0 !important;
    }
    .container_content {
        padding: .6rem;
    }
    .page-head {
        position: unset;
        margin-top: unset;
        padding: 1rem 1.6rem 0;
    }
    .panel-heading-2 {
        grid-template-columns: 1fr;
    }
    .panel-heading-2 .item:nth-child(1),
    .panel-heading-2 .item:nth-child(2),
    .panel-heading-2 .item:nth-child(3) {
        justify-self: start;
    }
    .panel-block {
        padding: 1.1rem 1rem 1rem;
    }

    .table.cards tbody tr {
        padding: .8rem 0;
    }
    .table.cards tbody tr td {
        padding: 6px .8rem !important;
    }
    .grid {
        gap: .6rem;
    }
    .grid_1_5,
    .grid_1_6,
    .grid_1_8,
    .grid_3_1,
    .grid_5_1 {
        grid-template-columns: 1fr;
    }
    .heading_switch {
        justify-content: left;
    }
    /** SWAL MODAL BEGINNING **/
    .swal-extra-wide,
    .swal-wide,
    .swal-medium,
    .swal-small,
    .swal-extra-small {
        max-width: 100vw !important;
        width: 100vw !important;
    }
    /** SWAL MODAL END **/

    .home_background {
        margin: 0.6rem;
    }
    #arrowTop {
        position: fixed;
        bottom: 14px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        width: 42px;
        margin: auto;
        text-align: center;
        color: #fff;
        font-size: 20px;
        padding: 10px 12px;
        background-color: var(--main-color);
        border-radius: 5px;
        cursor: pointer;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }
    #arrowTop i {
        margin-right: 0;
    }
    #arrowTop.show {
        opacity: .4;
        visibility: visible;
    }
    #arrowTop:hover {
        background-color: var(--main-color);
        opacity: 1;
    }
}
/*@media (min-width: 1120px) {*/
/*    .page-head h2 {*/
/*        width: calc(100% - 380px - 1rem);*/
/*        height: 36px;*/
/*        display: flex;*/
/*        align-items: baseline;*/
/*        overflow: hidden;*/
/*    }*/
/*}*/
@media (max-width: 1000px) {
    h2 {
        font-size: 1.4rem !important;
    }
}
@media (max-height: 990px) {
    .container_blur {
        background-size: 300px;
    }
}
@media (max-width: 768px) {
    /** GRID BEGINNING **/
    .grid_1,
    .grid_1_2 {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    /** GRID END **/

    /** BUTTON BEGINNING **/
    .center_button {
        margin: unset;
        justify-content: unset;
    }
    .group_button_center,
    .group_button_space {
        flex-wrap: wrap;
        justify-content: left;
    }
    /** BUTTON END **/

    /** WB WEIGH BEGINNING **/
    .numeric_display {
        width: 100%;
    }
}
@media (max-width: 700px) {
    .container {
        margin-top: 0;
    }
    .container_blur {
        background-size: 200px;
    }
}
@media (max-width: 580px) {
    h2 {
        font-size: 1.2rem !important;
    }
}
/** MEDIA QUERIES END **/

/*-------------------------------------------------------HSE------------------*/

.bird{
    margin: 15% 0;
}
.triangle {
    position: relative;
    height: 25vh;
    clip-path: polygon(50% 0%, 20% 100%, 80% 100%);
}

.triangle div {
    position: absolute;
    top: 0;
    line-height: 57px;
    text-align: center;
    background: #FF6384;
    width: 100%;
    margin: 0 auto;
    /*transition: all ease 0.6s;*/
    color: #3c3c3c;
}

.triangle .important {
    top: 60px;
    background: #FFB764;
}

.triangle .intermediaire {
    top: 120px;
    background: #FFFB64;
}

.triangle .faible {
    top: 180px;
    background: #ADFF64;
}

.triangle .reversible {
    top: 240px;
    background: #64B2FF;
}

/*-------------------------------------------------------CRM----------------------------*/
/** Info Card **/
.info-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.info-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--main-text-color);
    line-height: 1.2;
}
.info-card-subtitle {
    font-size: 0.95rem;
    color: #64748B;
}
.info-card-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #475569;
    margin-top: 4px;
}
.info-card-row i {
    color: #94A3B8;
    width: 16px;
    text-align: center;
    font-size: 1rem;
}
.info-card-tag {
    border-radius: 30px;
    padding: 3px 8px;
    color : green;
    background-color: #61cab226;
}
.info-card-link {
    color: green;
    text-decoration: none;
}
.info-card-link i {
    color: green;
    text-decoration: none;
}

/** SweetAlert modals (interaction) **/
.swal-wide-plus {
    max-width: 900px !important;
    width: 900px !important;
}
.swal-wide-plus .swal2-content,
.swal-wide-plus .swal2-html-container {
    max-width: 100%;
}

/* Ne pas laisser le select multiple / TomSelect étirer la modale */
.swal-wide-plus .ts-wrapper.multi,
.swal-wide-plus select[multiple],
.swal-wide-plus .choices__inner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    white-space: normal;
}

/* Forcer les tags/labels de sélection multiple à passer à la ligne */
.swal-wide-plus .ts-wrapper.multi .ts-control,
.swal-wide-plus .choices__inner {
    white-space: normal;
    flex-wrap: wrap;
}

/* Champs verrouillés (entreprise / contact) : même look mais non cliquables */
.swal-wide-plus .locked-field select,
.swal-wide-plus .locked-field input,
.swal-wide-plus .locked-field .form-control {
    pointer-events: none;
    background-color: #f5f5f5;
    opacity: 1; /* évite l'effet trop "grisé" natif des disabled */
}

.grid_1_2 {
    grid-template-columns: 1fr 2fr;
}
/* Global product-update toast ------------------------------------------------ */
.changelog-toast {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 10050;
    display: flex;
    width: min(420px, calc(100vw - 32px));
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow: hidden;
    color: #172033;
    background: #fff;
    border: 1px solid #e4e9f1;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(24, 39, 75, .18), 0 3px 10px rgba(24, 39, 75, .08);
    opacity: 0;
    transform: translateY(18px) scale(.98);
    transition: opacity .25s ease, transform .25s ease;
}
.changelog-toast[hidden] { display: none; }
.changelog-toast.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.changelog-toast__accent { flex: 0 0 5px; background: var(--main-color); }
.changelog-toast__body { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.changelog-toast__header,
.changelog-toast__footer { min-width: 0; }
.changelog-toast__header {
    position: static;
    top: auto;
    z-index: auto;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    width: auto;
    height: auto;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #edf0f5;
    transition: none;
}
.changelog-toast__eyebrow { display: flex; align-items: center; gap: 12px; justify-content: space-between; color: var(--main-color); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.changelog-toast__meta { display: flex; align-items: center; flex: 0 0 auto; gap: 8px; }
.changelog-toast__eyebrow time { color: #8490a4; font-weight: 600; white-space: nowrap; }
.changelog-toast h3 { margin: 9px 0 0; color: #172033; font-size: 18px; line-height: 1.35; }
.changelog-toast__content { flex: 0 1 auto; min-height: 0; max-height: min(260px, 38vh); overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px; color: #536078; font-size: 14px; line-height: 1.6; scrollbar-gutter: stable; }
.changelog-toast__content > :first-child { margin-top: 0; }
.changelog-toast__content > :last-child { margin-bottom: 0; }
.changelog-toast__footer { padding: 12px 20px 16px; background: #fafbfc; border-top: 1px solid #e8ecf2; }
.changelog-toast__pagination { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 30px; }
.changelog-toast__pagination[hidden] { display: none; }
.changelog-toast__pagination button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; color: var(--main-color); background: #f1f4f8; border: 0; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; }
.changelog-toast__pagination button:hover:not(:disabled) { color: #fff; background: var(--main-color); }
.changelog-toast__pagination button:disabled { cursor: default; opacity: .35; }
.changelog-toast__pagination span { min-width: 42px; color: #8490a4; font-size: 12px; font-weight: 700; text-align: center; }
.changelog-toast__training { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; margin-top: 10px; padding: 7px 12px; color: var(--main-color); background: color-mix(in srgb, var(--main-color) 7%, white); border: 1px solid color-mix(in srgb, var(--main-color) 22%, white); border-radius: 8px; font-size: 12px; font-weight: 700; text-align: center; }
.changelog-toast__training[hidden] { display: none; }
.changelog-toast__training:hover { background: color-mix(in srgb, var(--main-color) 14%, white); }
.changelog-toast__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.changelog-toast__actions a { color: var(--main-color); font-size: 12px; text-decoration: underline; }
.changelog-toast__actions button { padding: 9px 15px; color: #fff; background: var(--main-color); border: 0; border-radius: 9px; cursor: pointer; font-weight: 700; white-space: nowrap; }
.changelog-toast__actions button:hover { background: var(--main-color-active); }
.changelog-toast__actions button:disabled { cursor: wait; opacity: .6; }
.changelog-toast__close { flex: 0 0 28px; width: 28px; height: 28px; padding: 0; color: #7d8798; background: transparent; border: 0; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 26px; }
.changelog-toast__close:hover { color: #172033; background: #f1f4f8; }
@media (max-width: 600px) {
    .changelog-toast { right: 16px; bottom: 16px; width: calc(100vw - 32px); max-height: calc(100dvh - 32px); border-radius: 14px; }
    .changelog-toast__header { padding: 15px 16px 12px; }
    .changelog-toast__content { padding: 15px 16px; }
    .changelog-toast__footer { padding: 10px 16px 14px; }
    .changelog-toast__actions { gap: 12px; }
    .changelog-toast__actions a { max-width: 145px; }
}
