
/* 
    Created on : 6 oct. 2025, 09:50:37
    Author     : mehrez
*/
/* pour mettre responsive les profils strategique avec chiffres*/
div.custom-select div.select-header span{
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge {
    display: inline-block;
    padding-top: .40em;
    padding-bottom: .20em;
    padding-left: .3em;
    padding-right: .3em;
    /* font-size: 24px;*/
    font-weight: 700;
    /* line-height: 1; */
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.badge:after {
    content: attr(value);
    font-size: 11px;
    /* font-size: 12px; */
    font-family: Roboto, Helvetica Neue, Arial;
    font-weight: 400;
    color: #fff;
    background: #4b9d19;
    border-radius: 100%;
    padding: 3px 6px;
    position: relative;
    left: -8px;
    top: -14px;
    opacity: 0.9;
}
.bg-gold {
    background-color: #dfa817 !important;
}
*, ::after, ::before {
    box-sizing: border-box;
}
.no-after-content::after {
    display: none;
}



/* PERSONALISATION DE LA LISTE DEROULANTE */
.custom-select {
    /* position: relative;
    width: 100%; */

    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem .375rem .90rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    /* background-image: none;
   appearance: auto;
   -webkit-appearance: auto;
   -moz-appearance: auto;  */
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s
        ease-in-out, box-shadow .15s
        ease-in-out;
}

.select-header {
    /* background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 12px 40px 12px 15px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    min-height: 20px; */
}

.select-header:hover {
    border-color: #003366;
}

.select-header::after {
    /* content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #003366;
    font-size: 12px;
    transition: transform 0.3s ease; */
}

.select-header.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.select-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.select-dropdown.active {
    display: block;
}

.option-category {
    padding: 12px 15px;
    font-weight: 600;
    color: #003366;
    background: #f8f9ff;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e5e7eb;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.option-item {
    padding: 10px 15px 10px 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 3px solid transparent;
}

.option-item:hover {
    background: #f0f4ff;
    border-left-color: #003366;
    padding-left: 43px;
}

.option-item.selected {
    background: #e0e7ff;
    color: #003366;
    font-weight: 500;
}

.option-icon {
    font-size: 12px;
    opacity: 0.6;
}

.selected-value {
    color: #333;
}

/* .placeholder {
    color: #999;
} */

/* Style de la scrollbar */
.select-dropdown::-webkit-scrollbar {
    width: 8px;
}

.select-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
}

.select-dropdown::-webkit-scrollbar-thumb {
    background: #003366;
    border-radius: 8px;
}

.select-dropdown::-webkit-scrollbar-thumb:hover {
    background: #5568d3;
}



.accordion>.card {
    overflow: visible !important; /* sinon les listes deroulantes passent sous le header suivant */
}
.bkg_gold_elite {
    background-color: #e7c236 !important;
    color: #003366;
}
.card-header{
    padding-top: 0.5rem;
    padding-right: 1rem;
    padding-bottom: 0;
    padding-left: 1rem;
}
.btn-link2,
.btn-link2:hover,
.btn-link2:focus,
.btn-link2:active {
    text-decoration: none !important;
}
.btn-link2  {
    /*  
    align-items:center;
    justify-content:space-between;
    width:100%;
    background:none;
    border:none;
    padding:0.5rem 0;
    cursor:pointer;
    text-decoration:none;*/
    display: flex;
    align-items: flex-start;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.5rem 0;
}
.btn-link2  h3 {
    margin:0;
}
.btn-link2  i {
    display:inline-block;
    transition: transform 0.25s ease;
    font-size:1.4rem;
    margin-left:8px;

    flex-shrink: 0;            /* Le chevron garde sa largeur */
    margin-right: 12px;        /* Espace entre chevron & texte */
}
.btn-link2:not(.collapsed) i,
.btn-link2[aria-expanded="true"] i {
    transform: rotate(90deg);
}

.elite>.card>.card-header {
    background-color: #FFFFFF;
    color: #666666;
    display: inline;
    border: none;
}
.btn-block:focus,
.btn-block:active {
    outline: none !important;
    box-shadow: none !important;
}
/*
.badge {
    display: inline-block;
    padding-top: .40em;
    padding-bottom: .20em;
    padding-left: .3em;
    padding-right: .3em;
    font-size: 24px;
    font-weight: 700;
    /* line-height: 1; *//*S
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}/*
.badge:after {
    content: attr(value);
    font-size: 11px;
    /* font-size: 12px; *//*
    font-family: Roboto, Helvetica Neue, Arial;
    font-weight: 400;
    color: #fff;
    background: #4b9d19;
    border-radius: 100%;
    padding: 3px 6px;
    position: relative;
    left: -8px;
    top: -14px;
    opacity: 0.9;
}*/
.bg-gold {
    background-color: #dfa817 !important;
}
*, ::after, ::before {
    box-sizing: border-box;
}
.no-after-content::after {
    display: none;
}




