/* ==================================== */
/* =============== COLORS ============= */
/* ==================================== */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
    --white-color: #FFFFFF;
    --light-gray-color: #EEEEEE;
    --dark-gray-color: #2D2D2D;
    --black-color: #000000;


    --main-color: #b5cd41;
    --main-color-hover: #9cb61a;

    --second-color: #2aa4a9;
    --second-color-hover: #078d92;

    /* 
      --main-color-2: #CCFF26;
      --second-color-2: #472829;
    */

    --alt-color: #EEEEEE;
    --alt-color-hover: #ECECEC;

    --magasin-color: #ED1748;
    --fournisseur-color: #FBB03F;
    --adherent-color: #4FBDEC;
    --marque-color: #05B085;
    --produit-color: #AEBC21;
    --rapport-color: #BE854B;
    --document-color: #D291BF;
    --module-color: #EF4E91;

    /* pour les icones ou messages */
    --green-color: #1a9c0e;
    --red-color: #FF0000;
}

.main-color {
    background-color: var(--main-color);
}

.second-color {
    background-color: var(--second-color);
}

.magasin-color {
    background-color: var(--magasin-color);
    border-color: var(--magasin-color) !important;
}

.fournisseur-color {
    background-color: var(--fournisseur-color);
}

.adherent-color {
    background-color: var(--adherent-color);
}

.marque-color {
    background-color: var(--marque-color);
}

.produit-color {
    background-color: var(--produit-color);
}

.rapport-color {
    background-color: var(--rapport-color);
}

.magasin-color {
    background-color: var(--magasin-color);
}

.document-color {
    background-color: var(--document-color);
}

.module-color {
    background-color: var(--module-color);
}

.white-color {
    color: black;
    background-color: var(--white-color);
}
.green {
    color:var(--green-color);
}

.red-color {
    background-color: var(--red-color);
    border-color: var(--red-color) !important;
}

.red {
    color:var(--red-color);
}

.white {
    color:var(--white-color) !important;
}

.black {
    color:var(--black-color) !important;
}

.black-color {
    background-color: var(--black-color);
    border-color: var(--black-color) !important;
}

/* ============================================== */
/* =================== GENERAL ================== */
/* ============================================== */

* {
    /*font-family: 'Lexend', sans-serif;*/
    font-family: 'Montserrat', sans-serif;
}

/*
.montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
*/

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    scrollbar-color: var(--main-color) var(--light-gray-color);
    background-color: var(--light-gray-color);
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    font-size: 90%;
    /* font-size: 62.5%; */
}

.body-general {
    display: flex;
    justify-content: center;
    width: 100vw;
    height: auto;
}

body {
    padding: 0;
    margin: 0 !important;
    max-width: 100vw;
    background-color: var(--light-gray-color) !important;
}

.section-general {
    display: flex;
    flex-direction: column;
    width: 90%;
    height: auto;
    padding: 10px 0;
    max-width: 1920px;
    box-sizing: border-box;
}

.none {
    display: none !important;
}

/* ==================================== */
/* =========== FONT STYLE ============= */
/* ==================================== */

h1 {
    color: var(--black-color);
    font-size: 1.8rem;
    margin-bottom: 0;
}

@media (max-width: 940px) {
    h1 {
        font-size: 1.6rem !important;
    }
}

h2 {
    margin: 0;
    font-weight: 600;
    color: var(--black-color);
    font-size: 1.6rem;
}

h3 {
    font-weight: 600;
    color: var(--black-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

td {
    line-height: 1.4 !important;
}

/* ========================================== */
/* =============== BUTTON STYLE ============= */
/* ========================================== */

.main-btn {
    font-size: 1.2rem;
    border: 1px solid transparent;
    color: var(--white-color) !important;
    white-space: nowrap;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    padding: .6rem 1.2rem;
    line-height: 1.5;
    border-radius: 8px;
    cursor: pointer;
    transition: color .15s ease-in-out, background-color 2.15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.main-btn-input {
    font-size: 1.2rem;
    border: 1px solid transparent;
    color: var(--white-color) !important;
    white-space: nowrap;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    line-height: 1.5;
    border-radius: 8px;
    cursor: pointer;
    transition: color .15s ease-in-out, background-color 2.15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.main-btn-alt {
    border: 1px solid black;
    color: var(--black-color) !important;
}

.main-btn:hover {
    filter: brightness(90%);
    color: var(--white-color);
    text-decoration: none;
}

.second-btn {
    background-color: transparent !important;
    color: var(--black-color) !important;
}

.btn-large {
    padding: 12px 20px;
    font-weight: 600;
    width: 24%;
    white-space: nowrap;
    min-width: 250px;
}

.a-btn-desactive {
    background-color: lightgray !important;
    color: grey !important;
    filter: brightness(100%) !important;
    cursor: default;
}

/* anciens boutons */
.btn {
    font-size: 1.2rem;
    border: 1px solid transparent;
    /*color: var(--white-color) !important;*/
    /*background-color:lightgray;*/
    white-space: nowrap;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    padding: .6rem 1.2rem;
    line-height: 1.5;
    border-radius: 8px;
    cursor: pointer;
    transition: color .15s ease-in-out, background-color 2.15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* .btn-primary {
    background-color:#3B71CA !important;
} */
.btn-default:hover {
    filter: brightness(90%);
    color: var(--white-color);
    text-decoration: none;
}
.btn-primary:hover {
    filter: brightness(90%);
    color: var(--white-color);
    text-decoration: none;
}

.nav-link {
    color: var(--main-color) !important;
}

.container-icons {
    display: flex; 
    gap: 4px;
}

.main-icon {
    border: 1px solid black;
    color: var(--black-color) !important;
    border-radius: 4px; 
    padding: 4px 4px 1px 4px; 
}

.main-icon-contrat {
    width: 24px; 
    display: flex; 
    justify-content: center;
    align-items: center;
}

.main-icon-rfa {
    background-color: #f39f79;
}

.main-icon-media {
    background-color: #f379bc;
}

.main-icon-cat {
    background-color: #a6f379;
}

.main-icon-vert {
    color: #79f37f !important;
}

.main-icon-anniv {
    background-color: #79bcf3;
}

.main-icon-charte {
    background-color: #f3f179;
}

.main-icon-libre {
    background-color: #b8dfff;
}


.red-link {
    color: var(--red-color); 
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--red-color);
}
  

/* ================================================================ */
/* ======================== COMPOSANTS ============================ */
/* ================================================================ */

.top-container {
    width: 100%;
    display: flex;
    height: auto;
    white-space: nowrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.flex-space {
    display: flex;
    gap: 20px;
}

.cotisation-input {
    display: flex;
    gap: 20px;
}

.cotisation-input input {
    min-width: 80px;
}

@media (max-width: 998px) {
    .flex-space {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.top-container-left h1 {
    font-size: 1.2rem;
    font-weight: 500;
}

.top-container-left-edit-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-container-left h2 {
    font-size: 2.4rem;
    font-weight: 700;
}

.top-container-left a {
    color: var(--black-color);
}

table a {
    color: #212529 !important;
}

.container_panel {
    display: flex;
    gap: 20px;
}

@media (max-width: 1024px) {
    .container_panel {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.panel {
    padding: 30px;
    margin-bottom: 2rem;
    border-radius: 15px;
    background-color: #fff;
    width: 100%;
    position: relative;
}

.element_panel {
    padding: 30px;
    border-radius: 15px !important;
    background-color: #fff;
    width: 100%;
    position: relative;
}

.element_panel table {
    width: 100%;
}

.element_panel td {
    border-bottom: 16px solid transparent;
    font-size: 1.2rem;
    font-weight: 600;
    width: 50%;
    vertical-align: top;
    padding: 10px;
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .element_panel td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}

.element_panel td span {
    color: grey;
    font-size: 0.9rem;
    font-weight: 500;
}

.element_panel td .word-break {
    word-break: break-all;
    color: inherit;
    transition: 0.1s ease;
}

.element_panel td .word-break:hover {
    color: var(--main-color) !important;
}

.element_panel .alert-warning span {
    font-weight: 600;
}

.container_bottom_btn {
    margin-top: 2rem;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1224px) {

    .container_bottom_btn {
        flex-wrap: nowrap;
        gap: 32px;
    }
}

/* ================================================================ */
/* ====================== VIEW FOURNISSEUR ======================== */
/* ================================================================ */

.title_panel_contact_fournisseur {
    margin: 40px 0;
    border-radius: 12px;
    padding: 12px 0;
    text-align: center;
    background-color: var(--black-color);
    width: 100%;
    height: auto;
}

.title_panel_contact_fournisseur h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    color: var(--white-color);
}

/* =========================================================== */
/* ===================== DATATABLE =========================== */
/* =========================================================== */

.dataTables_wrapper {
    background: white;
    border-radius: 10px;
    padding: 1rem 2rem;
    overflow-x: auto;
    scrollbar-width: thin; 
    scrollbar-color: var(--main-color) #ffffff;
}

/* ==================================== */
/* =============== NAVBAR ============= */
/* ==================================== */

.navbar {
    padding: 20px 40px;
    margin: 0 0 1.6rem 0;
}

.navbar-expand-lg .navbar-collapse {
    gap: 20px;
}

nav .container-fluid {
    gap: 40px;
}

nav .navbar-nav {
    gap: 20px;
}

@media (max-width: 994px) {

    nav .navbar-nav {
        gap: 10px;
    }
}

nav .nav-link {
    color: var(--black-color) !important;
}


nav .nav-right, nav .account-bloc, nav .account-bloc a {
    display: flex;
    align-items: center;
}

nav .nav-right {
    gap: 40px;
}

nav .account-bloc {
    gap: 20px; 
}

nav .account-bloc a {
    gap: 10px; 
}

@media screen and (min-width: 994px) and (max-width: 1128px) {

    nav .account-bloc span {
        display: none;
    }
}

.btn-outline-success {
    --bs-btn-color: var(--main-color) !important;
    --bs-btn-border-color: var(--main-color) !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--main-color) !important;
    --bs-btn-hover-border-color: var(--main-color) !important;
    --bs-btn-focus-shadow-rgb: 25,135,84;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--main-color) !important;
    --bs-btn-active-border-color: var(--main-color) !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--main-color) !important;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--main-color) !important;
    --bs-gradient: none;
}

/* ============================================================================================================== */
/* ============================================= READY ========================================================== */
/* ============================================================================================================== */



::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--main-color);
}

@media (max-width: 1280px) {

    section {
        padding: 0 80px 0 80px;
        box-sizing: border-box;
    }
}

.container {
    width: 100%;
    padding-right: var(--bs-gutter-x, .75rem);
    padding-left: var(--bs-gutter-x, .75rem);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}


.flex {
    display: flex;
}

.flex_align {
    display: flex;
    align-items: center;
}

/* ==================================== */
/* =========== Style : fonts ========== */
/* ==================================== */

h4 {
    font-weight: 500;
    color: var(--black-color);
    font-size: 1.2rem;
}

p {
    font-weight: 400;
    color: var(--black-color);
    font-size: 1rem;
}

/* ==================================== */
/* ========== Style : boutons ========= */
/* ==================================== */



/* ==================================== */
/* ========= Section recherche ======== */
/* ==================================== */

.search-section {
    position: relative;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    z-index: 2;
}

.search-section .background-image {
    position: absolute;
    top: -5%;
    left: -5%;
    filter: brightness(60%) blur(8px) !important;
    height: 110%;
    width: 110%;
    background-size: cover;
    background-position: center;
}

.search-section .container {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.search-section .container h1 {
    color: var(--black-color);
    font-weight: 600;
}

.search-section .container form {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0;
}

.search-section .container form input[type="text"] {
    flex-grow: 1;
    padding: 10px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px 0 0 5px;
    height: auto;
}

.search-section .container form input:focus,
.search-section .container form #searchBtn:focus {
    outline: none;
}

.search-section .container form #searchBtn {
    background-color: var(--second-color);
    color: var(--white-color);
    border: none;
    border-radius: 0 10px 10px 0;
    padding: 10px 30px;
    height: 100%;
    font-size: 1.2rem;
    cursor: pointer;
}

@media (max-width: 767px) {


    .search-section .container form #searchBtn {
        font-size: 16px;
    }

    .search-section .container form #searchBtn {
        font-size: 16px;
        padding: 10px;
    }
}

/* ==================================== */
/* ======= Boutons accès rapide ======= */
/* ==================================== */

section.direct-access .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px auto;
}

/* ==================================== */
/* == Tableau dernières consultation == */
/* ==================================== */

section.tables-categories .container {
    display: flex;
    justify-content: space-between;
    max-width: none;
    margin: 2rem 0;
}

section.tables-categories .container .category-table {
    width: 32%;
}

.category-table {
    border-radius: 10px;
    border: 2px solid var(--main-color);
    overflow: hidden;
    background-color: var(--white-color);
}

@media (max-width: 990px) {
    section.tables-categories .container  {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    section.tables-categories .container .category-table {
        width: 100%;
    }

}

.category-table.membre {
    border-color: var(--adherent-color);
}

.category-table.magasin {
    border-color: var(--magasin-color);
}

.category-table.fournisseur {
    border-color: var(--fournisseur-color);
}

.category-table.adherent {
    border-color: var(--adherent-color);
}

.category-table.module {
    border-color: var(--module-color);
}

.category-table .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    gap: 5px;
    background-color: var(--main-color);
    text-align: center;
}

.category-table.membre .header {
    background-color: var(--adherent-color);
}

.category-table.magasin .header {
    background-color: var(--magasin-color);
}

.category-table.fournisseur .header {
    background-color: var(--fournisseur-color);
}

.category-table.adherent .header {
    background-color: var(--adherent-color);
}

.category-table.module .header {
    background-color: var(--module-color);
}

.category-table .header i, .category-table .content i {
    font-size: 3rem;
    color: white;
 }

.category-table .header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--white-color);
}

.category-table .header h2 a {
    color: var(--white-color);
    text-decoration: none;
}

.category-table .header h2:hover a {
    text-decoration: underline;
}

.category-table .content {
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
}

.category-table .content>a.element {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    text-decoration: none !important;
}

.category-table .container-vignette {
    display: flex;
    align-items: center;
    justify-content: center;
 }

.category-table .content i {
    font-size: 3rem;
    color: rgb(0, 0, 0);
 }

.category-table .content>a.element:not(:last-child) {
    border-bottom: 1px solid var(--dark-gray-color);
}

.category-table .content>a.element .text-infos {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-table .content>a.element .text-infos h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.category-table .content>a.element:hover .text-infos h3 {
    text-decoration: underline;
}

.category-table .content>a.element .text-infos .ref {
    color: #787878;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

/* ==================================== */
/* === Tableau résultats recherche ==== */
/* ==================================== */

.search-results {
    width: 800px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: 250ms all;
    gap: 15px;
}

.search-results .text-result {
    color: var(--black-color);
    text-align: center;
    font-weight: 600;
}

.search-results.searching {
    transform: scaleY(1);
}

.search-results .category-table {
    flex-direction: row;
    display: none;
}

.search-results .category-table.check {
    display: flex;
}

.search-results .category-table .header {
    width: 25%;
    padding: 10px 8px;
}

.search-results .category-table .header i {
    font-size: 36px;
    color: white;
}

.search-results .category-table .content {
    width: 75%;
}

.search-results-centered {
    margin: 0 auto;
}

.search-results-centered .text-result{
    
}

.search-results .content .text-infos span {
    width: 60px;
    padding: 8px 0;
}
/* ==================================== */
/* =============== Footer ============= */
/* ==================================== */


.modal-dialog .modal-content {
    border-radius: 8px !important;
}

.modal-dialog .modal-header {
    justify-content: center;
}

.modal-dialog .modal-header h4, .modal-dialog .modal-body p{
    margin: 0 2rem !important;
}

.modal-footer {
    justify-content: center !important; 
    gap: 20px;
}

.modal-large {
    width: 1000px !important; max-width: 1000px !important;
}


.footer {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
}

.footer-text {
    margin: 0;
}

.footer-link {
    color: #0066cc;
    text-decoration: none;
	font-weight: 600;
}

.footer-link:hover {
    text-decoration: underline;
}

/* ======================================================== */
/* =============== VIEW FOURNISSEUR & MAGASIN ============= */
/* ======================================================== */


@media (max-width: 1440px) {
    .main-btn {
        font-size: 1rem;
        padding: 6px 12px;
        border-radius: 6px;
    }
}

@media (max-width: 1240px) {
    .ma_class_div_header {
        flex-direction: column;
        align-items: center;
    }

    .top-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .top-container-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

}


/* ============================================== */
/* =============== VIEW FOURNISSEUR ============= */
/* ============================================== */













.container_panel_contact {
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}



.ma_class_div_modif_contact_fournisseur {
    position: absolute;
    bottom: 1%;
    right: 2%;
}

.ma_class_div_modif_contact_fournisseur .compte-actif {
    color: var(--main-color);
}

.ma_class_div_modif_contact_fournisseur .compte-desactive {
    color: var(--magasins-color);
}

@media (min-width: 1025px) and (max-width: 1920px) {

    .container_panel_contact-fournisseur {
        flex-wrap: wrap;
    }

    .element_panel_contact-fournisseur {
        width: calc(100%/2 - 10px);
    }

    .element_panel_contact-fournisseur td {
        padding-left: 40px;
    }
}

@media (min-width: 1920px) {

    .container_panel_contact-fournisseur {
        flex-wrap: wrap;
    }

    .element_panel_contact-fournisseur {
        max-width: calc(100%/3 - 20px);
    }
}

/* ============================================== */
/* =============== VIEW MAGASIN ============= */
/* ============================================== */

.area-view-container-magasin {
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    grid-template-rows: 0.8fr 0.8fr 1fr 0.6fr; 
    gap: 20px 20px;
    grid-template-areas: 
      "area1 area2 area5"
      "area1 area2 area6"
      "area3 area3 area7"
      "area3 area3 area8"; 
  }
  .area-view-container-magasin .area3 { grid-area: area3; }
  .area-view-container-magasin .area1 { grid-area: area1; }
  .area-view-container-magasin .area2 { grid-area: area2; }
  .area-view-container-magasin .area5 { grid-area: area5; }
  .area-view-container-magasin .area6 { grid-area: area6; }
  .area-view-container-magasin .area7 { grid-area: area7; }
  .area-view-container-magasin .area8 { grid-area: area8; }

@media (max-width: 1680px) {
    .area-view-container-magasin {
        grid-template-rows: 0.7fr 0.7fr 1fr 0.6fr !important; 
    }
}

@media (max-width: 1280px) {
    .area-view-container-magasin {
        display: flex;
        flex-direction: column;
        grid-template-rows: 0.7fr 0.7fr 1fr 0.6fr !important; 
    }
}

.area-view-container-magasin div {
    height: 100%;
}

.area-view-container-magasin p {
    margin: 10px 0;
}

.area-view-container-magasin span {
    font-weight: bold;
}

h2 span {
    color: grey; 
    font-size: 1.6rem; 
    font-weight: 400;
}


.area-view-container-magasin td {
    width: auto !important;
}

.area6 div {
    display: flex;
    gap: 20px;
}

.area6 .container-icon-link i{
    font-size: 2.4rem;
    transition: font-size 0.3s ease;
    color: var(--second-color);
}

.area6 .container-icon-link i:hover {
    font-size: 2.6rem;
}

.area6 a img {
    width: 60px; 
    transition: transform 0.3s ease;
}

.area6 a img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .area6 a img {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .area6 a img {
        width: 30px; 
    }

    .area6 h3 {
        font-size: 1.2rem;
    }
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
}

#selectRole {
    background: transparent !important;
    border: 1px solid #AAAAAA !important;
    width: 300px !important;
    padding: 4px !important;
    color: black !important;
}

.section-general .formulaire_subtitle {
    margin-bottom: 40px;
}

.add-membre-magasin form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.add-membre-magasin span .selection span{
    width: 300px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    left: 96% !important;
}

/* Style de base pour masquer la case à cocher native */
.modern-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Style de l'élément de remplacement de la checkbox */
.modern-checkbox .checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: #ccc;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

/* Lorsque la case est cochée, applique une couleur différente */
.modern-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: var(--main-color);
}

/* Ajouter un symbole de check (coché) */
.modern-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

/* Style du symbole de check */
.modern-checkbox input[type="checkbox"]:checked + .checkmark::after {
    display: block;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* =========================================================== */
/* =============== VIEW LIST  ============= */
/* =========================================================== */


.container-vignette {
    width: 60px;
    height: 60px;
    overflow: hidden;
}

.container-vignette img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.vignette-icon i{
    font-size: 3.6rem;
}



/* =========================================================== */
/* ===================== DATATABLE =========================== */
/* =========================================================== */



.dataTables_wrapper tr {
    background: white !important;
}

@media (min-width: 769px) {
    .dataTables_wrapper .dataTables_filter input {
        width: 500px;
    }

    .nowrap {
        white-space: nowrap;
    }
}

.dataTables_length {
    padding-top: 6.2px;
    padding-left: 20px;
}

/* Ne fonctionne pas - pour que la ligne de ma datatable au survole change de couleur 
  .dataTables_wrapper tbody tr:hover {
    background-color: var(--fournisseur-color);
    transition: background-color 0.3s; 
  } */

/* =========================================================== */
/* ========================== FORMULAIRES ==================== */
/* =========================================================== */

.mon_formulaire input,
select,
textarea {
    background-color: #F5F5F5;
    border: none;
    width: 100%;
    border-radius: 5px;
    padding: 12px 24px;
    line-height: 1.5;
    color: #212529;
    font-size: 1rem;
}

.mon_formulaire .special input,
.mon_formulaire .special select,
.mon_formulaire .special textarea {
    width: auto !important; 
}

.mon_formulaire .special td {
    width: 100% !important;
    font-weight: 400 !important;
}

.mon_formulaire .special td label{
    font-weight: 600 !important;
}

/* Provoque un problème avec les checkbox de type switch (remises)
input[type="checkbox"] {
    width: auto !important;
}*/

.mon_formulaire td {
    padding: 0;
}

.mon_formulaire tr td:first-child {
    padding-right: 40px;
}


.mon_formulaire h3 {
    margin-bottom: 1rem !important;
}

.mon_formulaire .element_panel {
    margin-bottom: 2rem !important;
}

.mon_formulaire label,
.add-container label {
    margin-right: 20px;
    font-size: 1.2rem;
}

.photo-container tbody {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.photo-container img {
    width: auto;
    height: 200px;
}

.add-container {
    display: flex;
}

.add-container tr {
    display: flex;
    flex-direction: column;
}


/* =================== formulaire contrat =================== */

#conditions-magasins > div {
    display:flex; 
    flex-direction:column; 
    gap:20px;
}

#conditions-magasins div label {
    font-weight: 600;
}

.planning-dates {
    display: flex;
    justify-content: space-between;
}

.date-field {
    width: 48%;
}



/* =========================================================== */
/* ========================== LOGIN ========================== */
/* =========================================================== */

.login_section {
    height: 100vh;
    padding: 0 40px;
    width: 100%;
    background: #F4F3ED;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.login_section .login_logo {
    margin-bottom: 4rem;
}

.login_section img {
    width: 240px
}

.login_section .form {
    max-width: 720px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.login_section h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 40px
}

.login_section .login_input {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.login_section label {
    font-weight: 600;
}

.login_section input {
    background: #E8E7E0;
    border: none;
    border-radius: 5px;
    padding: 12px 24px;
    margin-bottom: 10px;
}

.login_section button {
    margin: 20px 0;
    border-radius: 50px;
    background: var(--main-color);
    padding: 12px 24px;
    color: white;
    width: 50%;
}

.login_section button:hover {
    border: solid 1px var(--main-color-hover);
    background: transparent;
    color: var(--main-color-hover);
}

.login_section div a {
    color: var(--main-color);
}

.login_section h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 40px
}

.login_section h5 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 40px
}

.login_section .checkbox {
    margin-top: 10px;
}

.container_mdp {
    width: 100%;
    position: relative
}

.container_mdp span {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    cursor: pointer;
}

.container_mdp input {
    margin: 0 10px 0 0 !important;
}

.secuPass {
    display: inline-block;
    text-align: center;
    background: #E8E7E0;
    border: none;
    border-radius: 4px;
    padding: 10px 0;
    margin-bottom: 10px;
    width: 150px;
    font-size: 0.9em;
    position: relative;

}

.secuPass span {
    position: relative;
    z-index: 2;
}

.short {
    font-weight: 600;
    color: #FF0000;
    font-size: medium;
}

.faible:before {
    position: absolute;
    width: 25%;
    height: 100%;
    background-color: #d1c719;
    top: 0;
    left: 0;
    content: "";
}

.moyen:before {
    position: absolute;
    width: 50%;
    height: 100%;
    background-color: #81d118;
    top: 0;
    left: 0;
    content: "";
}

.bon:before {
    position: absolute;
    width: 75%;
    height: 100%;
    background-color: #43d118;
    top: 0;
    left: 0;
    content: "";
}

.fort:before {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #18d133;
    top: 0;
    left: 0;
    content: "";
}


/* Ne fonctionne pas - pour que la ligne de ma datatable au survole change de couleur 
  .dataTables_wrapper tbody tr:hover {
    background-color: var(--fournisseur-color);
    transition: background-color 0.3s; 
  } */


/* évite les retour à la ligne dans le bloc "Afficher X éléments" des datatables */
.dataTables_length {
    white-space: nowrap;
}

/* Page des responsables régionaux - styles récupérés depuis l'ancienne version */
/*table#classic td.resp_regionaux { background-color:#D4D700; }
table#classic td.none { background-color:#DDDDDD; }
.white { color:white }
table#classic th { text-align:left; }
table#classic th { font-size:0.8em; }
#scroll { width:70%; overflow-x:scroll; float:right; }
#nomresp_regionaux { width:30%; overflow-x:hidden; float:left; }*/


.list-image-size {
    height: 40px;
    width: auto;
}

.text-center {
    text-align: center;
}

#subheader form {
    display: flex;
}

.readonly-input {
    background-color: #dfdfdf !important;
}

.nav-right .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

#Articles_wrapper {
    margin-top: 1rem;
}

.icon-container {
    display:flex; 
    justify-content:center; 
    gap: 20px;
}


@media (max-width: 1280px) {
    .icon-container {
        flex-direction: column;
    }
}

/* Notifications (remises) */
#notification, #notification_erreur { display: none; }
.hidden { display: none !important; }







  /* --- datatable loading --- */
  .loading {
    background: #999;
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    filter: alpha(opacity=80);
    filter: progid: DXImageTransform.Microsoft.Alpha(opacity=80);
    -moz-opacity: 0.80;
    opacity: 0.8;
  }
  .loading .bi-arrow-repeat {
    position: fixed;
    color: white;
    top: 50%;
    left: 50%;
    font-size: 5rem; 
    animation: spin 2s linear infinite;
  }

  @keyframes spin {
    100% {
      transform: rotate(360deg);
    }
  }

/* ================================================================= */
/* ========================== COTISATION  ========================== */
/* ================================================================= */


  #tableBilan {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: 'Arial', sans-serif;
    }

    #tableBilan thead {
        background-color: #dddddd;
        border: 1px solid #ddd;
        color: black;
    }

    #tableBilan th {
        padding: 15px;
        text-align: left;
        font-size: 1.2em;
        vertical-align: middle;
    }

    #tableBilan tbody tr {
        transition: background-color 0.3s;
    }

    #tableBilan tbody tr:hover {
        background-color: #f1f1f1;
    }

    #tableBilan td {
        padding: 10px;
        border: 1px solid #ddd;
        width: auto !important;
    }

    #tableBilan tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    #tableBilan tbody tr:nth-child(odd) {
        background-color: #fff;
    }

    @media screen and (max-width: 600px) {
        #tableBilan {
            font-size: 0.8em;
        }
    }

    #zoneMsg {
        z-index: 100;
        position: fixed;
        top: 100px;
        right: 10px;
        max-width: 400px;
    }

    #caMagasin th.cId,
    #caMagasin th.cDerogation {
        max-width: 55px;
    }

    #caMagasin th.cCa {
        min-width: 100px;
    }

    #caMagasin th,
    .dtfh-floatingparent th {
        padding: 2px;
        font-size: 0.8em;
    }

    #caMagasin td {
        padding: 2px;
    }

    tr.separatorBottom {
        border-bottom: solid 2px #CCC;
    }

    tr.table-subheader {
        font-weight: bold;
        font-size: 1.1em;
        border-bottom: solid 0px white;
    }

    tr.table-line-first,
    tr.table-line,
    tr.table-line-last {
        border-left: solid 2px #000;
        border-right: solid 2px #000;
    }

    tr.table-line-first {
        border-top: solid 2px #000;
    }

    tr.table-line-last {
        border-bottom: solid 2px #000;
    }

    .cout_net_ht {
        background-color: #C3D535;
        padding: 4px;
        border-color: #DDD;
        font-size: 1.2em;
        font-weight: bold;
    }


/* ================================================================= */
/* ========================== PERMISSION  ========================== */
/* ================================================================= */


    .permission .top-container h1 {
        font-size: 2.4rem;
        color: #333;
        border-left: 5px solid var(--main-color);
        padding-left: 1rem;
        margin-bottom: 2rem;
    }

    .permission .element-panel {
        background-color: #f9f9f9;
        padding: 2rem;
        border-radius: 12px;
        margin-bottom: 2rem;
    }

    /* Table des permissions */
    .permission .permissions-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 2rem;
    }

    .permission .permissions-table tr {
        transition: background-color 0.4s ease;
    }

    .permission .permissions-table tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .permission .permissions-table tr:nth-child(even):hover {
        background-color: lightgrey;
    }

    .permission .permissions-table tr:hover {
        background-color: lightgrey;
    }

    .permission .permissions-table td {
        padding: 1rem;
        font-size: 1.1rem;
        color: #555;
    }

    .permission .permissions-table input[type="checkbox"] {
        width: 20px;
        height: 20px;
        border-radius: 4px;
    }



    /* Responsive */
    @media (max-width: 768px) {
        .permission .top-container h1 {
            font-size: 2rem;
        }
    }


/* ================================================================= */
/* ========================== CONFIGURATION ========================== */
/* ================================================================= */


.configuration .top-container h1 {
    font-size: 2rem;
    color: #1a1a1a;
    border-left: 5px solid var(--main-color);
    padding-left: 1rem;
}

/* Liens */
.configuration .element_panel ul {
    list-style-type: none;
    padding: 0;
}

.configuration .element_panel ul li {
    margin-bottom: 1.5rem;
}

.configuration .element_panel ul li > a {
    font-size: 1.1rem;
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.8rem 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.configuration .element_panel ul li > a:hover {
    background-color: var(--main-color);
    color: #fff;
}

/* Description */
.configuration .description {
    display: block;
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.5rem;
    margin-left: 1rem;
    line-height: 1.5;
}

.configuration .description a {
    color: var(--main-color);
}

.configuration .description a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .configuration .mon_formulaire {
        flex-direction: column;
        align-items: center;
    }

    .configuration .element_panel {
        width: 100%;
        padding: 1.5rem;
    }

    .configuration .top-container h1 {
        font-size: 1.75rem;
    }
}


/* ================================================================= */
/* ========================== PARAMETRES ========================== */
/* ================================================================= */

    /* Catégories de paramètres */
    .parametre .settings-category {
        margin-bottom: 2rem;
    }
    
    .parametre .settings-category h3 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        color: #1a1a1a;
        border-left: 4px solid var(--main-color);
        padding-left: 1rem;
    }
    
    .parametre .settings-category ul {
        list-style: none;
        padding: 0;
    }
    
    .parametre .settings-category ul li {
        margin: 0.5rem 0;
    }
    
    .parametre .settings-category ul li a {
        font-size: 1.1rem;
        color: #1a1a1a;
        text-decoration: none;
        padding: 0.5rem 1rem;
        background-color: #f9f9f9;
        border-radius: 8px;
        display: inline-block;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    .parametre .settings-category ul li a:hover {
        background-color: var(--main-color);
        color: #fff;
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .parametre .element-panel {
            padding: 1.5rem;
        }
    
        .parametre h1 {
            font-size: 2rem;
        }
    
        .parametre .settings-category h3 {
            font-size: 1.5rem;
        }
    }


/* ================================================================= */
/* ========================== RAPPORTS ========================== */
/* ================================================================= */


    .rapport a {
        text-decoration: none;
        color: #1a73e8;
        transition: color 0.3s ease;
    }

    .rapport a:hover {
        color: #0056b3;
    }

    /* Container principal */
    .rapport .dashboard-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
    }

    .rapport .dashboard-section {
        width: 100%;
        margin-bottom: 2rem;
        background-color: #fff;
        padding: 2rem;
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .rapport .dashboard-section:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    .rapport .dashboard-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: center;
        color: #333;
    }

    /* Grille pour les cartes */
    .rapport .report-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
        justify-items: center;
    }

    /* Style des cartes */
    .rapport .icon-card {
        text-align: center;
        background-color: #fdfdfd;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        width: 100%;
        max-width: 400px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .rapport .icon-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }

    .rapport .icon-card span, 
    .rapport .icon-card a {
        font-size: 1rem;
        color: #1a1a1a;
        display: block;
        margin-top: 0.5rem;
    }

    .rapport .icon-card a {
        font-weight: 600;
        font-size: 1.1rem;
        color: #333;
        margin-top: 0.5rem;
        text-align: center;
        display: block;
    }

    .rapport .icon-card i {
        font-size: 2.5rem;
        margin-bottom: 0.25rem;
    }

    /* TODO à retirer si nouvelle proposition ok */
    /* Texte petit pour les détails */
    .rapport .small {
        font-size: 0.875rem;
        color: #888;
        margin-top: 2rem;
    }

    /* Mobile et responsive */
    @media (max-width: 768px) {
        .rapport .dashboard-container {
            padding: 1rem;
        }

        .rapport .dashboard-section {
            padding: 1rem;
        }

        .rapport .report-cards {
            grid-template-columns: 1fr;
        }
    }


/* ================================================================= */
/* ========================== MEMBRES ========================== */
/* ================================================================= */

.rr { display:inline-block; padding:2px 3px; background-color:#ffb200; color:#FFF; }
.ca { display:inline-block; padding:2px 3px; background-color:#ff004c; color:#FFF; }
.cs { display:inline-block; padding:2px 3px; background-color:#0083ff; color:#FFF; }
.commission { color:#a47fc6; }


/* ================================================================= */
/* ========================== ACHATS ========================== */
/* ================================================================= */

.input-group {
    align-items: center !important; 
    margin-bottom: 2rem; 
    gap: 4px;
}

/* ================================================================= */
/* ========================== COMMUNIQUER ========================== */
/* ================================================================= */

.communiquer .panel {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.communiquer .panel-heading {
    color: white;
    padding: 15px;
}

.communiquer .panel-body {
    padding: 20px;
}

.communiquer .message {
    border-bottom: 1px solid #eaeaea;
    padding: 10px 0;
}

.communiquer .message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.communiquer .frs {
    font-weight: bold;
    color: #333;
}

.communiquer .date {
    font-size: 0.9em;
    color: #999;
}

.communiquer .message-content {
    padding-left: 5px;
}

.communiquer .message-link {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s;
}

.communiquer .message-link:hover {
    color: #0056b3;
}

.communiquer .modal-header {
    color: white;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.communiquer .modal-title {
    font-size: 1.5em;
    margin: 0;
}

.communiquer .modal-body {
    padding: 20px;
    background-color: #f9f9f9;
    color: #333;
}

.communiquer .modal-footer {
    padding: 15px;
    border-top: none;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 1080px) {
    .modal-content img {
        max-width: 400px;
    }
}

.brevo-liste-1 { color:#2851d1; }
.brevo-liste-1 { color:#d128d1; }
.brevo-liste-1 { color:#7dd128; }

.grayscale1 { filter: grayscale(1); }


.caRed {
    color: #d9534f;
    font-weight: bold;
}
.caGreen {
    color: #5cb85c;
    font-weight: bold;
}
.caGrey {
    color: #DDDDDD;
}
.label {
    font-size:0.8em;
    line-height:1em;
    margin:2px;
    padding:1px;
    white-space:nowrap;
    border-radius:.25rem;
}
.label-prospectus, .label-offre_filiere, .label-offre_prix {
    padding: 2px 4px;
}
.label-prospectus1 {
  background-color:#E90649;
}
.label-prospectus2 {
  background-color:#3364ff;
}
.label-offre_filiere {
  background-color:#fa7300;
}
.label-offre_prix {
  background-color:#99d400;
}
.label-selection {
  background-color:#856ab0;
  color:#FFF;
}
.label-tac1 {
  background-color:#62b5e5;
  color:#FFF;
}
.label-tac2 {
  background-color:#6bcaba;
}
  .top_categorie {
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 26px;
  background-size: contain;
  background-image: url('/gestion/images/top_categorie.png');
  }
  .top_fournisseur {
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 26px;
  background-size: contain;
  background-image: url('/gestion/images/top_fournisseur.png');
  }
/*
  .top {
  display:inline-block;
  vertical-align: middle;
  font-weight: 900;
  font-size:1.4em;
  }
  .noca {
    color: #f55e00;
  }
  .nocontrat {
    color: #67008c;
  }
*/


/* ========================================================================== */
/* ========================== INDEX RESP_REGIONAUX ========================== */
/* ========================================================================== */

.resp_region h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.resp_region .regions-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.resp_region .region-responsable {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    flex: 1 1 30%;
    min-width: 250px;
    text-align: center;
    transition: transform 0.3s ease;
}

.resp_region .region-responsable:hover {
    transform: translateY(-5px);
}

.resp_region .region-responsable h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #343a40;
}

.resp_region .region-options {
    display: flex;
    justify-content: center;
    align-items: center;
}

.resp_region .option-link {
    text-decoration: none;
    color: var(--main-color);
    font-weight: bold;
    display: flex;
    align-items: center;
}

.resp_region .option-link i {
    margin-right: 8px;
}

.resp_region .option-link:hover {
    color: var(--main-color);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .resp_region .regions-container {
        flex-direction: column;
        align-items: center;
    }

    .resp_region .region-responsable {
        width: 100%;
        margin-bottom: 20px;
    }
}


/* ========================================================================== */
/* ========================== VENTES MAGASINS =============================== */
/* ========================================================================== */

.stat-general td {
  vertical-align: middle;

}

/* Désactivation du backdrop des modales de SummerNote */
.modal-backdrop {
    display: none !important;
}

/* ========================================================================== */
/* ==================== CALENDRIER DES EVENEMENTS =========================== */
/* ========================================================================== */

.eventType {
  color:#FFFFFF;
  padding:5px;
  font-weight:bold;
  border-radius: 5px;
}
.calendar {
  display:flex;
  gap: 20px;
  margin-bottom: 100px;
}
.gridCalendar {
  flex:2;
}
.listCalendar {
  flex:1;
}

/* filtres */
#filters > label {
  line-height: 2.2em;
  cursor: pointer;
}
#filters > label > span {
  margin:5px;
}
#filters > input[type="checkbox"]  {
   display: none;
}

/* Evènements */
#events, #communiques {
    overflow-y: auto;
    height: 380px;
    margin-bottom:20px;
}
.event {
  display: flex;
  gap: 10px;
}
.eventCode {
  padding-top: 6px
}
.eventTxt {
  line-height: 1.2em;
  margin-bottom: 10px;
}
.eventDate, #eventModalDate {
  font-weight: 700;
}

/* Modal */
.eventModalBodyHeader {
  display: flex;
  padding-bottom:10px;
  border-bottom: solid 1px #EEEEEE;
  margin-bottom: 10px;
}
.eventModalBodyHeaderLeft {

}
.eventModalBodyHeaderRight {
  margin-left: auto;
  margin-right: 0;
}

/* Calendrier */
.fc-event {
  font-size:1em;
  padding:3px;
  font-weight:bold;
  border-radius: 5px;
}
.fc-event-title-container {
  cursor: pointer;
}
.attachment {
    padding-top:5px;
}
.gridCalendar h2.green { 
    font-size: 2em;
}
h2.green { 
    display:block;
    background-color: var(--main-color);
    color: #FFFFFF;
    width:100%;
    text-transform:uppercase;
    text-align: center;
    padding:8px;
    margin-bottom:10px;
}
.fc-button {
    background-color: var(--main-color);
    color: #FFFFFF;    
}
.fc-toolbar-title {
    color: var(--main-color);
    text-transform: capitalize;
}
.fc-button, .fc-col-header-cell {
    background-color: var(--main-color);
}
.fc-col-header-cell a {
    color: #FFFFFF;    
}
.message-header > .date {
    font-weight: 700;
}
.fc .fc-button-primary {
    background-color: var(--main-color);
    border-color: var(--main-color);  
}
a.fc-col-header-cell-cushion {
    color: #FFFFFF !important;
}
.listCalendar .message {
    margin: 15px 0;
    padding: 15px;
    background-color: #F9F9F9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .message-link, .eventTxt .eventBtn {
    color: #4e94ef;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.message-link:hover, .eventTxt .eventBtn:hover {
    color: #4e86ef;
}

/* Documents - explorateur Nextcloud */
.ico {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-left: 8px;
    margin-top: 3px;
    float:left;
    background-size:32px auto;
}
.ico-application {
    background-image:url("https://cloud.nature-et-developpement.com/core/img/filetypes/application.svg");
}
.ico-application-pdf {
    background-image:url("https://cloud.nature-et-developpement.com/core/img/filetypes/application-pdf.svg");
}
.ico-audio {
    background-image:url("https://cloud.nature-et-developpement.com/core/img/filetypes/audio.svg");
}
.ico-file {
    background-image:url("https://cloud.nature-et-developpement.com/core/img/filetypes/file.svg");
}
.ico-folder {
    background-image:url("https://cloud.nature-et-developpement.com/core/img/filetypes/folder.svg");
}
.ico-folder-shared {
    background-image:url("https://cloud.nature-et-developpement.com/core/img/filetypes/folder-shared.svg");
}
.ico-image {
    background-image:url("https://cloud.nature-et-developpement.com/core/img/filetypes/image.svg");
}
.ico-video {
    background-image:url("https://cloud.nature-et-developpement.com/core/img/filetypes/video.svg");
}
.ico-text {
    background-image:url("https://cloud.nature-et-developpement.com/core/img/filetypes/text.svg");
}
.ico-x-office-document {
    background-image:url("https://cloud.nature-et-developpement.com/core/img/filetypes/x-office-document.svg");
}
.ico-x-office-presentation {
    background-image:url("https://cloud.nature-et-developpement.com/core/img/filetypes/x-office-presentation.svg");
}
.ico-x-office-spreadsheet {
    background-image:url("https://cloud.nature-et-developpement.com/core/img/filetypes/x-office-spreadsheet.svg");
}
.ico-zip {
    background-image:url("https://cloud.nature-et-developpement.com/core/img/filetypes/package-x-generic.svg");
}
#breadcrumbs {
    clear:left;
}
.crumb {
    float:left;
    display:block;
    background-image:url("https://cloud.nature-et-developpement.com/core/img/breadcrumb.svg");
    background-repeat: no-repeat;
    background-position: right center;
    height:44px;
    background-size: auto 24px;
}
div.crumb a {
    position:relative;
    top:12px;
    padding:14px 20px 14px 13px;
    color:#555;
    cursor:pointer;
}
.file, .folder, .size, .modified, .shared {
    display:inline-block;
    padding:10px 0px 0px 10px;
}
.addButton {
    margin:5px 0px 0px 10px;
}

/* Tooltip container */
.modified {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.modified .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */
}

/* Show the tooltip text when you mouse over the tooltip container */
.modified:hover .tooltiptext {
    visibility: visible;
}

#Sharing.table-striped tbody tr td { cursor: pointer; cursor: hand; }


/* ========================================================================== */
/* ========================== CONFIRMATION ================================== */
/* ========================================================================== */

.custom-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #333;
  }
  
  .custom-checkbox-wrapper input{
    width: 20px;
    padding: 12px;
  }
  
  .custom-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #666;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s ease;
  }
  
  .custom-checkbox:checked {
    background-color: #4CAF50;
    border-color: #4CAF50;
  }
  
  .custom-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
  }
  
  .custom-checkbox-wrapper .custom-label {
    cursor: pointer;
    user-select: none;
  }


  /* ARTISANS */

  .artisanBloc {
    border-top:solid 1px #CCC;
    padding-top:7px;
    padding-bottom:20px;
  }
  .artisanNom {
    font-size:1.6em;
    font-weight:bold;
  }
  .artisanMetier {
    font-size:1.2em;
    font-style:italic;
  }
  .artisanVisuel {
    height:96px;
    margin-top:20px;
  }
  .artisanStatus0, .artisanStatus1, .artisanStatus2, .artisanStatus3, .artisanStatus4, .artisanStatus5, .artisanStatus6 {
    width:96px;
    height:96px;
  }
  .artisanStatus0 { background-image:url('images/status0.png'); }
  .artisanStatus1 { background-image:url('images/status1.png'); }
  .artisanStatus2 { background-image:url('images/status2.png'); }
  .artisanStatus3 { background-image:url('images/status3.png'); }
  .artisanStatus4 { background-image:url('images/status4.png'); }
  .artisanStatus5 { background-image:url('images/status5.png'); }
  .artisanStatus6 { background-image:url('images/status2.png'); }
  

  .flex-parent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
  }

  .input-flex-container {
    display: flex;
    justify-content: space-around;
    align-items: end;
    width: 22vw;
    height: 100px;
    max-width: 350px;
    position: relative;
    z-index: 0;
  }

  .input {
    width: 15px;
    height: 15px;
    background-color: #00b300;
    position: relative;
    border-radius: 50%;
  }
  .input:hover {
    cursor: pointer;
  }
  .input::before, .input::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 50%;
    transform: translateY(-50%);
    background-color: #00b300;
    width: 2.2vw;
    height: 5px;
    max-width: 35px;
  }
  .input::before {
    left: calc(-2.2vw + 7.5px);
  }
  .input::after {
    right: calc(-2.2vw + 7.5px);
  }
  .input.active {
    background-color: #00b300;
  }
  .input.active::before {
    background-color: #00b300;
  }
  .input.active::after {
    background-color: #AEB6BF;
  }
  .input.active span {
    font-weight: 700;
  }
  .input.active span::before {
    font-size: 10px;
  }
  .input.active span::after {
    font-size: 10px;
  }
  .input.active ~ .input, .input.active ~ .input::before, .input.active ~ .input::after {
    background-color: #AEB6BF;
  }
  .input span {
    width: 1px;
    height: 1px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
  }
  .input span::before, .input span::after {
    visibility: visible;
    position: absolute;
    left: 50%;
  }
  .input span::after {
    content: attr(data-year);
    top: 25px;
    transform: translateX(-50%);
    font-size: 10px;
  }
  .input span::before {
    content: attr(data-info);
    top: -70px;
    width: 100px;
    transform: translateX(-5px) rotateZ(-45deg);
    font-size: 10px;
    text-indent: -10px;
  }
  .input p {
    margin-top: 0;
    display: none;
  }
  .input p.active {
    display: block;
  }

  @media (max-width: 600px) {
    .flex-parent {
      justify-content: initial;
    }

    .input-flex-container {
      flex-wrap: wrap;
      justify-content: center;
      width: 100%;
      /*height: auto */
      /*margin-top: 15vh */
    }

    .input {
      width: 60px;
      height: 60px;
      margin: 0 10px 50px;
      background-color: #AEB6BF;
    }
    .input::before, .input::after {
      content: none;
    }
    .input span {
      width: 100%;
      height: 100%;
      display: block;
    }
    .input span::before {
      top: calc(100% + 5px);
      transform: translateX(-50%);
      text-indent: 0;
      text-align: center;
    }
    .input span::after {
      top: 50%;
      transform: translate(-50%, -50%);
      color: #ECF0F1;
    }
  }

  /* Customisation des tabs et étapes artisan */
.nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #555;
    transition: 0.3s;
  }
  
  .nav-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
    background-color: transparent;
  }
  
  .artisanBloc {
    border: 1px solid #dee2e6;
    background: #ffffff;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }
  
  .artisanNom {
    font-weight: 600;
    display: block;
    font-size: 1.1rem;
    margin-bottom: .25rem;
  }
  
  .flex-parent .input-flex-container .input.active span {
    font-weight: bold;
    color: #0d6efd;
  }
  
  .nav-tabs-modern .nav-link {
    background-color: #f8f9fa;
    border: none;
    margin-right: .25rem;
    border-radius: .5rem .5rem 0 0;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .nav-tabs-modern .nav-link.active {
    background-color: #ffffff;
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
  }
  
  .card-title {
    font-size: 1.25rem;
    font-weight: 600;
  }
  
  .card-body .row > div {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .card-title i,
  .card-body i {
    color: #6c757d;
  }
  
  .editDate i {
    font-size: 0.9rem;
    color: #6c757d;
  }
  
  /* onglets */
  
  .nav-tabs-modern .nav-link {
    border: none;
    background-color: #f1f3f5;
    border-radius: .5rem .5rem 0 0;
    font-weight: 500;
    color:rgb(255, 64, 64);
    transition: background-color 0.3s ease;
  }
  
  .nav-tabs-modern .nav-link:hover {
    background-color: #e9ecef;
  }
  
  .nav-tabs-modern .nav-link.active {
    background-color: #ffffff;
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
  }

  .confirm-demande-modal .print-pdf{
    margin: 1rem 0 0 2rem;
  }

  .confirm-demande-modal .modal-footer > div:first-of-type {
    display: flex; 
    gap: 20px; 
    align-items: center;
  }


/* ========================================================================== */
/* ========================== RAPPORT ======================================= */
/* ========================================================================== */

    .rapport h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #111111;
    }

    .rapport p {
    font-size: 0.95em;
    color: #444444;
    line-height: 1.6;
    }

    .rapport #classic {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 40px;
    border: 1px solid #11111122; /* bordure noir très légère */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .rapport #classic th,
    .rapport #classic td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
    }

    .rapport #classic th {
    background-color: #f9fafb;
    color: #222222;
    font-weight: 600;
    font-size: 0.9em;
    }

    .rapport #classic td {
    font-size: 0.9em;
    color: #222;
    background-color: #ffffff;
    }
    
    .rapport #classic.rapport_annuel_ca td {
    white-space: nowrap;
    }
    
    .rapport #classic td.blue a {
    color: #15803d; /* vert foncé doux */
    text-decoration: none;
    font-weight: 600;
    }

    .rapport #classic td.blue a:hover {
    text-decoration: underline;
    }

    .rapport #classic .gris {
    color: #6b7280;
    }

    .rapport .confirm1 {
    color: #16a34a; /* vert moderne doux */
    font-weight: bold;
    }

    .rapport .confirm0 {
    color: #dc2626; /* rouge désaturé */
    font-weight: bold;
    }

    .rapport .confirm_box,
    .rapport .contest_box {
    margin-top: 8px;
    font-size: 0.85em;
    text-align: center;
    border-radius: 6px;
    padding: 10px 12px;
    line-height: 1.4;
    transition: all 0.3s ease-in-out;
    }

    .rapport .confirm_box {
    background-color: #ecfdf5;
    border: 1px solid #16a34a;
    color: #15803d;
    }

    .rapport .contest_box {
    background-color: #fef2f2;
    border: 1px solid #dc2626;
    color: #b91c1c;
    margin-top: 6px;
    }

    .rapport .confirm_box a,
    .rapport .contest_box a {
    color: inherit;
    text-decoration: none;
    display: block;
    }

/* Rapport Actions */

.rapport #classic2 {
  width: 100%;
  margin-top: 30px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #11111122; /* fine bordure noire */
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.rapport #classic2 td {
  padding: 16px;
  vertical-align: top;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95em;
}

.rapport #classic2 td.right {
  text-align: right;
  font-weight: 600;
  color: #333;
}

.rapport #classic2 input[type="text"],
.rapport #classic2 textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9fafb;
  transition: border-color 0.3s ease;
}

.rapport #classic2 input[type="text"]:focus,
.rapport #classic2 textarea:focus {
  outline: none;
  border-color: #16a34a; /* vert focus */
  background-color: #ffffff;
}

.rapport #classic2 .required {
  color: #dc2626;
  margin-left: 6px;
  font-weight: bold;
}

.rapport input[type="submit"],
.rapport input[type="button"],
.rapport .main-btn {
    font-size: 1.2rem;
    border: 1px solid transparent;
    color: var(--white-color) !important;
    white-space: nowrap;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    padding: .6rem 1.2rem;
    line-height: 1.5;
    border-radius: 8px;
    cursor: pointer;
    transition: color .15s ease-in-out, background-color 2.15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* 
.rapport input[type="submit"] {
  background-color: #16a34a;
  color: #fff;
}

.rapport input[type="submit"]:hover {
  background-color: #15803d;
}*/

.rapport input[type="button"]:hover {
   filter: brightness(90%);
}

.rapport-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
  background: #f8f9fa;
  border: 1px solid #e2e6ea;
  border-radius: 12px;
  padding: 10px 16px;
  margin: 20px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.rapport-nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14.5px;
  color: #444;
  text-decoration: none;
  transition: all 0.25s ease;
}

.rapport-nav a:hover {
  background-color: var(--main-color);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,120,212,0.3);
}

.rapport-nav a.active {
  background: var(--main-color);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,120,212,0.35);
  font-weight: 600;
}

@media (max-width: 700px) {
  .rapport-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .rapport-nav a {
    width: 100%;
    text-align: center;
  }
}

/* --- FORMULAIRE --- */
.rapport-form {
  background: #f8f9fa;
  border: 1px solid #e2e6ea;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.rapport-form .form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px;
}

.rapport-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 150px;
}

.rapport-form .form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #444;
}

.rapport-form .form-group select,
.rapport-form .form-group input {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  color: #333;
  background: #fff;
  transition: all 0.2s ease;
}

.rapport-form .form-group select:focus,
.rapport-form .form-group input:focus {
  outline: none;
  border-color: var(--main-color);
  box-shadow: 0 0 0 2px rgba(0,120,212,0.2);
}

.rapport-form .progression-input {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rapport-form .progression-input span {
  color: #666;
  font-size: 14px;
}

@media (max-width: 700px) {
  .rapport-form .form-row {
    flex-direction: column;
    align-items: stretch;
  }
  .rapport-form .form-group {
    width: 100%;
  }
}

.rapport .selects-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.rapport .selection {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rapport .selection label {
  font-weight: 500;
  color: #222;
  white-space: nowrap;
}

.rapport .selection select {
  min-width: 120px;
}

.rapport .table-enter-data table {
  width: 100%;
  border-spacing: 20px 15px;
}

.rapport .table-enter-data input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #f9fafb;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.rapport .table-enter-data input[type="number"]:focus {
  border-color: #16a34a;
  background-color: #ffffff;
  outline: none;
}

.filter-box {
  border: 1px solid #ddd;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fafafa;
  max-height: 220px;
  overflow-y: auto;
  width: 240px;
}

.filter-list label {
  display: block;
  font-size: 14px;
  margin: 2px 0;
}

.filter-actions {
  font-size: 13px;
  margin-bottom: 6px;
  text-align: right;
}

.filter-actions a {
  color: var(--main-color);
  text-decoration: none;
}

.filter-actions a:hover {
  text-decoration: underline;
}

/* rapports */
.grade-positive {
  background-color: #ecfdf5 !important;
  color: #065f46 !important;
  position: relative !important;
  padding: 12px !important;
}

.grade-positive .evolution::after {
  content: "▲";
  color: #059669;
  font-size: 0.75em;
  margin-left: 4px;
  position: relative;
  top: -2px;
}

.grade-negative {
  background-color: #fef2f2 !important;
  color: #b91c1c !important;
  position: relative !important;
  padding: 12px !important;
}

.grade-negative .evolution::after {
  content: "▼";
  color: #dc2626;
  font-size: 0.75em;
  margin-left: 4px;
  position: relative;
  top: -2px;
}

/* TODO à retirer si nouvelle proposition ok */
/* .grade-positive {
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
    position: relative !important;
}

.grade-positive::after {
    content: "▲";
    color: #059669;
    font-size: 0.8em;
    position: absolute;
    top: 4px;
    right: 6px;
}

.grade-negative {
    background-color: #fef2f2 !important;
    color: #b91c1c !important;
    position: relative;
}

.grade-negative::after {
    content: "▼";
    color: #dc2626;
    font-size: 0.8em;
    position: absolute;
    top: 4px;
    right: 6px;
} */

  table#classic td.total-col,
  table#classic th.total-col {
    background-color: #eaffefff;
    font-weight: bold;
    color: #1b785cff;
  }

  table#classic td.total-col-n1,
  table#classic th.total-col-n1 {
    background-color: #f2ffe0ff;
    font-weight: bold;
    color: #74a600ff;
  }

.cell-content {
    position: relative;
    padding: 5px 8px;
    text-align: center;
}

.cell-content .top-right {
  position: absolute;
  top: 4px;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.cell-content .evolution {
  font-size: 0.8em;
  opacity: 0.9;
}

.cell-content .ca-display {
  font-weight: 500;
  color: var(--black-color);
  font-size: 1.2rem;
  margin-top: 12px;
}

.cell-content .caref-display {
  font-size: 0.875rem;
  color: #888;
  margin-top: 12px;
}


/* ===================================================================================== */
/* ========================== TEXTE FOURNISSEURS ======================================= */
/* ===================================================================================== */

.membres-texte-fournisseurs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.membre-texte-fournisseurs {
    flex: 1 1 250px;
    background-color: #fdfdfd;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.membre-texte-fournisseurs:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.membre-texte-fournisseurs-icon {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-top: 4px;
}

.membre-texte-fournisseurs-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.membre-texte-fournisseurs b {
    font-size: 1.1rem;
    color: #1f2a38;
}

.membre-texte-fournisseurs .petit {
    font-size: 0.85rem;
    color: #e67e22;
    margin-left: 0.5rem;
}

.membre-texte-fournisseurs p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

.membre-texte-fournisseurs a {
    color: #0d6efd;
    text-decoration: none;
}

.membre-texte-fournisseurs a:hover {
    text-decoration: underline;
}


/* ===================================================================================== */
/* =============================== GRAPH FLOT.JS ======================================= */
/* ===================================================================================== */


#graph {
    width: 90vw;
    height: 400px;
}

#graph .legend{
    display: none;
}

.repartitions .pieLabelBackground {
    opacity: 0 !important;
}
.repartitions .legend-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    margin-top: 10px;
}
.repartitions .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 6px 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.repartitions .legend-item:hover { transform: scale(1.05); }
.repartitions .legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.repartitions .legend-item.active {
    background: #e0e7ff;
    transform: scale(1.08);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}