/*.sidebar {*/
/*    background-color: #EDEDED!important;*/
/*}*/

.app-header {
    /*background-color: #EDEDED!important;*/
    height: 100px!important;
}

.app-header.navbar {
    height: 100px !important;
    min-height: unset !important; /* Annule la hauteur minimale imposée */
    padding: 0 !important; 
    align-items: center;
}

.app-header .navbar-brand {
    color: #ffffff;
}

.sidebar .nav-link:hover .nav-icon { /*Color of icons in sidebar on hover*/
    color: #3D82A9!important;
}

.sidebar.sidebar-pills .nav-link:hover {
    color: #3D82A9!important;
}

.sidebar.sidebar-pills .nav-link.active {
    color: #3D82A9!important;
}

.sidebar.sidebar-pills .nav-link, .sidebar.sidebar-pills .nav-title {
    padding: 0.5rem 0rem 0.5rem 0rem;
}

.sidebar .nav-link{
    font-size: 1.2rem;
}

.sidebar-img{
    max-width: 30px;
    max-height: 30px;
    object-fit: cover;
    border: 1px #3D82A9 solid;
}

.nav-parent{
    display: flex;
    justify-content: center;
}

.nav-title{
    padding: 0!important;
}

.nav-subtitle{
    font-size: 1.2rem!important;
}

.nav-title-name{
    display: inline-block;
    padding-top: 3px;
    padding-left: 5px;
    font-size: 1.2rem;
}

.divider-parent{
    padding-top: 1vh;
    border-bottom: 1px solid darkgray;
    width: 75%;
    margin-left: 2vw;
}

.nav-icon {
    color: #3D82A9!important;
}

.nav-icon-top {
    margin-left: 1vh!important;

    color: #3D82A9!important;
}

.navbar-toggler {
    display: block;
}

.btn-primary{
    background-color: #3D82A9;
    border-color: #3D82A9;
}

.btn-primary a:hover{
    background-color: #3D82A9;
    border-color: #3D82A9;
}

.btn-sm {
    background-color: #ededed;
    color: #666666;
}

.btn-sm:hover {
    background-color: #dedede;
    color: #000000;
    cursor: pointer;
}

.btn-outline-primary {
    border-color: #3D82A9;
    color: #3D82A9;
}

.btn-outline-primary:hover {
    background-color: #3D82A9;
    border-color: #3D82A9;
}

.nav-main {
    font-size: 1.2rem!important;
}


.nav-dropdown {
    margin-left: 1vh!important;
}

.div-dropdown {
    padding-left: 1vw!important;
}

.item-title{
    font-weight: bold;
}

hr.solid-round-center {
    border-top: 2px solid;
    border-radius: 3px;
    margin-left: 15%;
    margin-right: 15%;
    border-color:#3D82A9 ;
}

i.las.la-times{
    position: absolute;
    right: 0;
    vertical-align: center;
    line-height: 1.5;
}

.vertical-divider {
    border-left: 2px solid #3D82A9;
    height: 800px;
}

.pac-logo:after {
    display: none !important;
    content: none !important;
}

.tag-margin {
    margin: 5px;
    position: relative;
    padding-right: 20px;
}

.tag-search {
    margin-bottom: 1rem;
    border: 1px grey solid;
    border-radius: 10px;
}

.result-tag {
    border: 1px solid #DCE3F0;
    padding-bottom: 10px;
    padding-top: 10px;
    border-radius: 5px;
    max-width: 100%;
    display: none;
    overflow: auto!important;
    max-height: 20vh!important;
}

.result-tag::-webkit-scrollbar {
    width: 6px;
}

.result-tag::-webkit-scrollbar-track {
    background-color: transparent;
}

.result-tag::-webkit-scrollbar-thumb {
    background-color: #999999;
    border-radius: 3px;
}

.ul {

}

.tag-list{
    list-style: none;
    margin-bottom: 10px;
    display: block;
    margin-inline-start: 10px;
    margin-inline-end: 10px;
    padding-inline-start: 0px;
}

.tag-list-element{
    margin-bottom: 10px;
    cursor: pointer;
}

/*DASHBOARD PARTNER*/

.main .container-fluid
{

}
.app-body .main {
    margin-left: 1vw;
}

.top-section{
    margin-bottom: 1rem;
    margin-top: 5vh;
    display: grid;
    width: 100%;
    grid-template-areas:
        "divimg numbers"
        "divinfo numbers";
    grid-template-columns: 20vw auto;
    column-gap: 3vw;
    row-gap: 2vh;
}

.dashboard-div-img{
    width: 20vw;
}

.dashboard-img{
    width: 100%;
    height: 100%;
    border: 1px solid #3D82A9;
    flex-shrink: 0;
    max-width: 48vh;
    max-height: 24vh;
    min-height: 24vh;
    object-fit: cover;
}

.dashboard-div-partner{
    margin-top: 1vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x:auto;
    background-color: white;
    padding-top: 2vh;
    padding-left: 0.5vw;
}

.dashboard-div-numbers{
    overflow-x:auto;
    width: 100%;
    min-height: fit-content;
    background-color: white;
}

.numbers-up{
    display: flex;
    flex-direction: row;
    min-height: 50%;
}

.numbers-down{
    display: flex;
    flex-direction: row;
    min-height: 50%;
}

.numbers{
    background-color: #CFE0E9;
    width: 50%;
    max-width: 50%;
    min-width: 30%;
    color: black;
    padding-top: 1vw;
    padding-left: 2vw;
    padding-right: 2vw;
    font-size: 100%;
    justify-content: center;
}

.numbers-btn{
    border-radius: 5px;
    min-width: 70px;
    width: 25%;
    font-size: 100%;
    background: rgba(61, 130, 168, 0.6);
    border: none;
    color: white;
    text-align: center;
}

.justify-between{
    justify-content: space-between;
}

.flex-row {
    display: flex;
    flex-direction: row;
 }

.flex-column{
    display: flex;
    flex-direction: column;
}

.number {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 5px;
}

.numbers-btn:hover {
    color: white;
    text-decoration: none;
}

.charts {
    border-radius: 3px;
    border: 1px solid rgba(0,40,100,.12);
    margin-bottom: 3vh;
    margin-top: 2vh;
}

.charts .card{
    height: fit-content;
}

.charts-most{
    display: flex;
}

.charts-offers{
    width: 50%;
    height: 15vh;
    background-color: green;
}

.charts-offers{
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: fit-content;
    background-color: white;
    font-size: 1.5rem;
    padding: 1rem;
}

.charts-off-text span{
    color: #78A7C2;
    font-size: 1.2rem;
}

.charts-off-text{
    font-size: 1.4rem;
}
.charts-elm{
    flex: 40%;
}

.first {
    color: green;
    font-weight: bold;
}

.offer-table{
    overflow-x:auto;
}

.offer-table table {
    margin: 0;
}

.table--offers{
    background-color: white;
}

.table--offers tr{
    font-size: 1.2rem;
}

.table--selections {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.table--tr{
    border: none;
    font-size: 1.2rem;
}

.table--tr td{
    border: none;
    font-weight: bold;
    font-size: 1.2rem;
}

.table--img{
    width: 25%;
}

.table--tbody{
    line-height: 5vh;
}

.break-tag{
    margin-top: 2vh;
}

.subcategory-title-tag{
    margin-top: 2vh;
}

/*   ################ Rating ############## */
.input-comment{
    border-radius: 5px;
    width: 50%;
    height: 10vh;
    background-color: #f1f1f1;
    border: 1px solid #8e8e8e;
}

.modal-header .close {
    color: white;
}

.modal-dialog{
    margin-top: 10vh;
}

.modal-body{
    display: flex;
    flex-direction: column;
    alignment: left;
}

.modal-title{
    font-size: 2rem;
}

.modal-header{
    background-color: #161C2D;
    color: white;
}

.rate {
    display: flex;
    flex-direction: row-reverse;
    justify-content: start;
}

.rate-label{
    left: 0;
    margin-top: 3vh;
}

.rate:not(:checked) > input {
    position:absolute;
    display: none;
}
.rate:not(:checked) > label {
    float:right;
    width:1em;
    overflow:hidden;
    white-space:nowrap;
    cursor:pointer;
    font-size:50px;
    color:#ccc;
}
.rate:not(:checked) > label:before {
    content: '★ ';
}
.rate > input:checked ~ label {
    color: #ffc700;
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
    color: #deb217;
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
    color: #c59b08;
}


/* ############### Help ################*/
.help-page{
    position: relative;
    width: 100%;
}

.help-objective h2{
    font-size: 150%;
    font-weight: bold;
    margin-top: 2vh;
    margin-bottom: 4vh;
}
.help-text{
    font-size: 130%;
    line-height: 1;
}

.help-text:first-child{
    margin-top: 6vh;
}

.footer-help{
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
}

.bottom-help{
    position: absolute;
}

.nav-dropdown-items{
    list-style: none;
}

.div-dropdown{
    list-style: none;
}

.nav-icon{
    display: inline-block;
    font-size: 1.2rem;
    margin: 0 0.5rem 0 0;
    text-align: center;
    width: 1.25rem;
}

.visit{
    margin-bottom: 2vh;
}

.nav-dropdown-toggle-main{
    width: 20%;
}

.nav-dropdown-toggle-accounting{
    width: 20%;
}

.nav-dropdown-toggle-offers{
    width: 20%;
}

.nav-items{
    width: 20%;
}

.shepherd-content{
    border: 1px solid;
}

.shepherd-element{
    margin-left: 3vw;
}

.shepherd-arrow:before{
    background-color: #31457f;
}

.shepherd-footer{
    margin-top: 10%;
}

.shepherd-footer button{
    background-color: #31457f;
}

.shepherd-footer .bouton-done:hover{
    background-color: #4678ff;
}

.shepherd-footer .bouton-previous:hover{
    background-color: #4678ff;
}

.shepherd-footer .bouton-next:hover{
    background-color: #4678ff;
}

.bouton-done{
    margin-right: 25%;
}

.bouton-previous{
    grid-area: previous;
}

.bouton-next{
    grid-area: next;
}


/* ################ FORM CREATE ##################*/

.card-logo{
    margin-top: 2vh;
    width: 30%;
}

.card-header{
    font-size: 1.2rem;
}

.card-form{
    width: 70%;
    align-items: center;
    border-radius: 25px;
}

input[name="Position"] {
    grid-area: position;
}

input[name="Civility"] {
    grid-area: gender;
}

input[name="LastName"] {
    grid-area: lastname;
}

input[name="FirstName"] {
    grid-area: firstname;
}

.form-control{
    border: 1px solid;
    background-color: #ececec;
}

.form-control:focus{
    border: 1px solid;
    background-color: #ececec;
}

.select2{
    background-color: #ececec;
}

form .select2-container--bootstrap .select2-selection--single{
    background-color: #ececec;
    border: 1px solid #506690!important;
}

.btn-success{
    background-color: #0c5480;
    border-color: #0c5480;
}

.btn-success:hover{
    background-color: #4778FF;
    border-color: #4778FF;
}

.input-group input{
    background-color: #ececec!important;
}

.input-group-text{
    color: black;
    border-color: #0c5480;
}

.input-sm::placeholder{
    color: black;
    opacity: 0.5;
}

.pac-target-input::placeholder{
    color: black;
    opacity: 0.4;
}

.info-logo{
    width: 30%;
    margin-bottom: 2vh;
}

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

.tab-content{
    align-items: center;
    border-radius: 25px;
    border-top-left-radius: 0px;
}

.nav-tabs{
    width: 80%;
}

.list-name{
    text-decoration: none;
    color: #0c5480;
}

.list-name:hover{
    text-decoration: none;
    color: #1b2a4e;
}

.parent-partner{
    color: #012252;
}

.parent-partner:hover{
    color: #024ba6;
}

.tag-client{
    background-color: #acd9fc;
}

.tag-client:hover{
    background-color: #6cb6f1;
}

#saveActions{
    margin-left: 1vw;
}

/* Exemple CSS */
.navbar-partner {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s;
    border: 1px solid #ddd;
}

.navbar-partner:hover {
    background-color: #f3f3f3;
}

.partner-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
}

.partner-text {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    margin-right: 8px;
}

.dropdown-arrow {
    font-size: 12px;
    color: #666666;
}

#partner-list {
    position: absolute;
    top: 100%;
    width: 20%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

#partner-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#partner-list ul li {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

#partner-list ul li:hover {
    background-color: #f3f3f3;
}

.row-view {
    display: flex;
    flex-direction: row;
}

.column-view {
    display: flex;
    flex-direction: column;
}

.justify-center{
    justify-content: center;
}

.justify-around{
    justify-content: space-around;
}

.justify-between{
    justify-content: space-between;
}

.justify-evenly{
    justify-content: space-evenly;
}

.ml50{
    margin-left: 50px;
}

.ml20{
    margin-left: 20px;
}


/* NEW DESIGN TESTS*/

/* Conteneur principal */
.container-partner {
    display: flex;
    justify-content: flex-start;
    align-items: stretch; /* Permet d'étendre les enfants en hauteur */
    padding: 20px;
    gap: 10px;
}

/* User Card (à gauche) */
.user-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: center;
    flex-shrink: 0;
    height: auto; /* Hauteur ajustée au contenu */
}
.user-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #00aaff;
}

.user-card h2 {
    font-size: 1.5em;
    margin: 10px 0;
    color: #005580;
}

.user-card p {
    margin: 5px 0;
    font-size: 1.2em;
    color: #666;
    word-wrap: break-word; /* Permet le retour à la ligne des mots longs */
    overflow-wrap: break-word; /* Une autre manière de gérer le retour à la ligne */
}

.user-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: center;
    flex-shrink: 0;
    height: auto;
}


.user-card a i {
    margin-right: 5px;
    font-size: 1em;
}

.user-card a span {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis; /* Ajoute des "..." en cas de débordement */
    max-width: 100%; 
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Toujours deux colonnes */
    gap: 10px;
    flex-grow: 1; 
    align-content: stretch;
}

.card-numbers {
    background: #eaf6ff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%; /* Prend toute la hauteur disponible de la ligne */
}

.card-numbers:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.card-numbers h3 {
    font-weight: bold;
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #005580;
}

.card-numbers p {
    font-weight: bold;
    margin: 5px 0;
    font-size: 1.4em;
    color: #333;
}


/* Styles pour les écrans de taille moyenne (tablettes, par exemple) */
@media (max-width: 768px) {
    .card-numbers h3 {
        font-weight: bold;
        font-size: 1.2em;
        margin-bottom: 15px;
        color: #005580;
    }

    .card-numbers p {
        margin: 5px 0;
        font-size: 1em;
        color: #333;
    }
}

/* Styles pour les petits écrans (smartphones, par exemple) */
@media (max-width: 480px) {
    .card-numbers h3 {
        font-size: 1.1em;
        margin-bottom: 8px;
    }

    .card-numbers p {
        font-size: 0.8em;
    }
}

.card-numbers .details-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #005580;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 0.8em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.card-numbers .details-btn:hover {
    background: #0077b3;
}

.cards-container .card-numbers button {
    display: none; /* Par défaut, cache les boutons */
}

.cards-container .card-numbers button a {
    color: white;
    text-decoration: none;
    list-style-type: none;
}

.cards-container .card-numbers:hover button {
    display: block; /* Affiche le bouton au survol uniquement */
}

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

    .cards-container {
        max-width: 100%;
    }

    .card-numbers {
        width: 100%; /* Les cartes prennent toute la largeur sur mobile */
    }
}

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

.titles {
    position: relative;
    font-size: 2rem;
    font-weight: bold;
    color: #1a2e4a;
}

.revenue-box {
    background-color: #E9F6FF;
    border: 1px solid #dddddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
}

.revenue-box h2 {
    color: #333333;
    margin-bottom: 10px;
    font-weight: bold;
}

.revenue-box p {
    color: #555555;
    font-size: 1.5em;
    margin: 0;
}

.table--tr--selections {
    border-bottom: 1px solid #ddd;
}

.table--tr--selections:first-child {
    background-color: #A7C9E1;
    font-weight: bold;
}

.table--tr--selections:last-child {
    border-bottom: none;
}

.table--tr--selections td {
    padding: 15px;
    text-align: center;
}

.table--tr--selections:nth-child(even) {
    background-color: #f1f1f1;
}

.widget-banner-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.revenue-box-custom {
    flex: 0 0 75%;
    background-color: #eaf6ff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.revenue-box-custom h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.revenue-box-custom p {
    font-size: 1.3rem;
    margin: 0;
}

.circle-progress-container {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.circle-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-ring {
    width: 120px;
    height: 120px;
}

.progress-ring__background {
    fill: none;
    stroke: #e6e6e6;
    stroke-width: 10;
}

.progress-ring__circle {
    fill: none;
    stroke: #69a7d3;
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.progress-ring-text {
    font-weight: bold;
    font-size: 1.3rem;
    fill: #1a2b44;
    dominant-baseline: middle;
}

.progress-ring-subtext {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #666;
    text-align: center;
}

.missing-fields-tooltip {
    display: none;
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 0.85rem;
    width: max-content;
    max-width: 200px;
    z-index: 10;
}

.circle-progress-container:hover .missing-fields-tooltip {
    display: block;
}

.missing-fields-tooltip ul {
    margin: 5px 0 0;
    padding-left: 18px;
}

.missing-fields-tooltip li {
    margin-bottom: 3px;
}


.mb10{
    margin-bottom: 10px;
}

.mb20{
    margin-bottom: 20px;
}

.mb50{
    margin-bottom: 50px;
}

.mt10{
    margin-top: 10px;
}

.mt20{
    margin-top: 20px;
}

.mt50{
    margin-top: 50px;
}