body {
    background: #00041C;
    color: #809FB8;
    font-family: Roboto, Arial, sans-serif !important;
    color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Barlow', Roboto, Arial, sans-serif !important;
    color: white;
}

#banner_intro_1 {
    background: url('/assets/img/bg_home_1.png');
    border-radius: 0 0 18px 18px;
    /* arrondi en bas uniquement */
    overflow: hidden;
    /* permet à la section du bas de glisser dessous */
    position: relative;
    z-index: 10;
    background-size: cover;
    background-position: center;
}

#banner_intro_2 {
    background: url('/assets/img/bg_home_2.png');
    border-radius: 0 0 18px 18px;
    /* arrondi en bas uniquement */
    margin-top: -18px;
    /* remonte sous l’arrondi */
    overflow: hidden;
    /* permet à la section du bas de glisser dessous */
    position: relative;
    z-index: 9;
    background-size: cover;
    background-position: center;
}

#banner_intro_3 {
    background: url('/assets/img/bg_home_3.png');
    border-radius: 0 0 18px 18px;
    /* arrondi en bas uniquement */
    margin-top: -18px;
    /* remonte sous l’arrondi */
    overflow: hidden;
    /* permet à la section du bas de glisser dessous */
    position: relative;
    z-index: 8;
    background-size: cover;
    background-position: center;
}

#banner_intro_4 {
    background: url('/assets/img/bg_home_4.png');
    border-radius: 0 0 18px 18px;
    /* arrondi en bas uniquement */
    margin-top: -18px;
    /* remonte sous l’arrondi */
    overflow: hidden;
    /* permet à la section du bas de glisser dessous */
    position: relative;
    z-index: 8;
    background-size: cover;
    background-position: center;
}

#banner_intro_5 {
    background: #060d2c;
    border-radius: 0 0 18px 18px;
    /* arrondi en bas uniquement */
    margin-top: -18px;
    /* remonte sous l’arrondi */
    overflow: hidden;
    /* permet à la section du bas de glisser dessous */
    position: relative;
    z-index: 8;
    background-size: cover;
    background-position: center;
}

#banner_intro_6 {
    background: #00041c;
    border-radius: 0 0 18px 18px;
    /* arrondi en bas uniquement */
    margin-top: -18px;
    /* remonte sous l’arrondi */
    overflow: hidden;
    /* permet à la section du bas de glisser dessous */
    position: relative;
    z-index: 8;
    background-size: cover;
    background-position: center;
}

.nb-gen .nav-item a {
    position: relative;
    border: 2px solid transparent;
    padding: 8px 17px !important;
    border-radius: 13px;
}

.nav-item #navbarChallenges.not-selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 13px;
    padding: 2px;
    /* Épaisseur de la bordure */
    background: linear-gradient(90deg, #00E9C9, #00ADF0);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.nav-item #navbarDW.not-selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 13px;
    padding: 2px;
    /* Épaisseur de la bordure */
    background: linear-gradient(90deg, #0388CC, #11217F);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.nav-item #navbarAnalyzer.not-selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 13px;
    padding: 2px;
    /* Épaisseur de la bordure */
    background: linear-gradient(90deg, #192687, #5C60CB);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.nav-item #navbarChallenges.selected {
    text-decoration: none;
    display: inline-block;
    padding: 6px 0px !important;
    padding-bottom: 3px;

    border: 0px solid transparent;
    border-radius: 0;
    /* Dégradé sur le texte */
    background: linear-gradient(90deg, #00E9C9, #00ADF0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    /* Trait dégradé en dessous */
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #00E9C9, #00ADF0) 1;
}

.nav-item #navbarDW.selected {
    text-decoration: none;
    display: inline-block;
    padding: 6px 0px !important;
    padding-bottom: 3px;

    border: 0px solid transparent;
    border-radius: 0;
    /* Dégradé sur le texte */
    background: linear-gradient(90deg, #192687, #5C60CB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    /* Trait dégradé en dessous */
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #192687, #5C60CB) 1;
}


.nav-item #navbarAnalyzer.selected {
    text-decoration: none;
    display: inline-block;
    padding: 6px 0px !important;
    padding-bottom: 3px;

    border: 0px solid transparent;
    border-radius: 0;
    /* Dégradé sur le texte */
    background: linear-gradient(90deg, #192687, #5C60CB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    /* Trait dégradé en dessous */
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #192687, #5C60CB) 1;
}

.announcement {
    color: #F96F56;
}

.modal-xxl .modal-dialog {
    max-width: 95%;
}

.modal-content {
    background: #00041C;
}

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

.ql-size-large {
    font-size: 1rem;
    color: white;
}

.ql-size-huge {
    font-size: 1.125rem;
    color: white;
}

.card-debrief {
    background: linear-gradient(to bottom, #00041C, #222935);
    border: 1px solid #809FB8;
    border-radius: 18px;
}

.navbar-nav-menu .dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5em;
    vertical-align: middle;
    border-left: 0.4em solid transparent;
    border-right: 0.4em solid transparent;
    border-top: 0.4em solid currentColor;
    transform: translateY(8%) rotate(0deg);
    margin-top: 0px;
    border-bottom: 0;
}

.bg-navbar-theme .navbar-nav>.nav-item>.nav-link,
.bg-navbar-theme .navbar-nav>.nav>.nav-item>.nav-link {
    color: white;
    font-weight: 600;
}

.bg-navbar-theme {
    background-color: #00041C !important;
}

.text-end-center {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.card-answer {
    border-radius: 10px !important;
    background: linear-gradient(to bottom, #00041C, #222935);
    border: 1px solid #809FB8;
}

@media (min-width: 1200px) {

    .layout-menu-fixed .layout-navbar-full .layout-navbar,
    .layout-menu-fixed-offcanvas .layout-navbar-full .layout-navbar {
        height: 170px;
    }

    #layout-menu {
        display: none !important;
    }
}

p {
    margin: 0;
}

.white {
    color: white !important;
}

.card,
.card-title {
    background: #060D2C;
    color: #809FB8;
    color:white;
}

.icon-round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: #007bff;
    border-radius: 50%;
    color: white;
    font-size: 15px;
}

.icon-round-sm {
    min-width: 36px;
    width: 36px;
    height: 36px;
    font-size: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.label-bg-code {
    background: #217EFD4D;
    color: #0068F5
}

.label-bg-ctf {
    background: #EA3A3D4D;
    color: #EA1616
}

.label-bg-mcq {
    background: #1AD5984D;
    color: #1AD598
}

.progress .apexcharts-canvas {
    margin: auto;
}

.btn {
    border: 1px solid #566780 !important;
    border-radius: 21px !important;
    color: rgb(128, 159, 184) !important;
}

.btn-danger,
.btn-warning {
    color: white !important;
}

.btn.active-page {
    background-color: #060D2C !important;
}

input:not([type="submit"]):not(.select2-search__field):not(.form-check-input):not(.cur-year):not(.cur-month),
textarea {
    border: 1px solid white !important;
    border-radius: 21px !important;
    padding-right: 1.5rem !important;
    padding-left: 1rem !important;
    padding: 0.25rem;
    background: transparent !important;
    color: white !important;
}

.dropdown-item:not(.disabled).active,
.dropdown-item:not(.disabled):active {
    background-color: #33334a;
    color: #fff !important;
}

.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text {
    border: 1px solid white !important;
}

input[type="checkbox"] {
    padding: 6px !important;
    background-color: initial;
    margin-right: 5px !important;
    appearance: auto;
}

input[type="number"] {
    padding-right: 8px !important;
    padding-left: 12px !important;
}

input[type="password"].form-control {
    border-top-right-radius: 0 !important;
    border-right: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group-text {
    border: 1px solid #566780 !important;
    border-radius: 21px !important;
    padding-right: 1.5rem !important;
    padding-left: 1rem !important;
    padding: 0.25rem;
    background: transparent !important;
    /* border-right: 0 !important; */
    border-top-left-radius: 0 !important;
    border-left: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.filter .input-group-text,
#modalADChallenge .input-group-text {
    display: flex;
    align-items: center;
    padding: 0.422rem 0.45rem !important;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #b6bee3;
    text-align: center;
    white-space: nowrap;
    background-color: #161618 !important;
    border: 1px solid white !important;
    border-radius: var(--bs-border-radius) !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

#modalADChallenge .select2-container--default .select2-search--inline .select2-search__field {
    background-color: transparent !important;
    border: none !important;
}

#modalADChallenge textarea:not(.codeInput),
#modalADChallenge .ql-editor {
    background-color: #161618 !important;
    background-clip: padding-box;
    border: 1px solid white !important;
    border-radius: var(--bs-border-radius) !important;
    height: fit-content;
    /* max-height: fit-content !important; */
    text-align: left;
}

#modalADChallenge .ql-editor {
    min-height: 8rem;
}

select {
    border: 1px solid #566780 !important;
    border-radius: 21px !important;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
}

.filter select,
.filter .select2-container--default,
#modalADChallenge select {
    border: var(--bs-border-width) solid #434968 !important;
    border-radius: var(--bs-border-radius);
    padding: 0.422rem 2.45rem 0.422rem 0.875rem !important;
    font-size: 0.9375rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    border-radius: var(--bs-border-radius) !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.filter .input-group {
    margin-bottom: 0.6em !important;
    color:white !important;
}

.filter .input-group-text,
.filter select {
    background-color: transparent !important;
    border: 1px solid #060D2C !important;
}

#modalADChallenge .container-AdChallengeQuestion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1rem;
}

#modalADChallenge .select2 {
    background-color: transparent !important;
    border: none !important;
}

#modalADChallenge input:not(#save_q):not(.select2-search__field) {
    display: block;
    /* width: 100%; */
    padding: 0.422rem 0.45rem !important;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #b6bee3;
    appearance: none;
    background-color: #161618 !important;
    background-clip: padding-box !important;
    border: var(--bs-border-width) solid #434968 !important;
    border-radius: var(--bs-border-radius) !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    /* margin-left: calc(var(--bs-border-width) * -1); */
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

#modalADChallenge .input-group> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: calc(var(--bs-border-width) * -1);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#modalADChallenge input[type="checkbox"] {
    border-radius: 0.25em !important;
}

#modalADChallenge .form-check-input[type=checkbox] {
    border-radius: 0.25em !important;
}

.progress {
    background: #8B8C91;
    margin-top: 3px;
}

.progress-bar {
    background-color: #4EEC68;
}


.fs-12 {
    font-size: 12px;
}

/* Tableau */
.styled-table {
    font-weight: 300;
    color: #809FB8;
    width: 100%;
    border-collapse: separate;
    /* Nécessaire pour que border-radius fonctionne */
    border-spacing: 0;
    font-size: 13px;
}

.styled-table a {
    color: #809FB8;
}

/* Colonnes */
.styled-table th,
.styled-table td {
    padding: 10px 15px;
    text-align: left;
    /* Alignement du texte */
}

/* Alternance des couleurs */
.styled-table tbody tr:nth-child(odd) td {
    background-color: #00041C;
    /* Couleur alternée pour les lignes paires */
}

/* Coins arrondis : première cellule */
.styled-table tbody tr td:first-child {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

/* Coins arrondis : dernière cellule */
.styled-table tbody tr td:last-child {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* Ombre optionnelle sur les lignes */
.styled-table tbody tr {
    margin-bottom: 10px;
    /* Sépare les lignes */
}

.styled-table.dataTable>thead>tr>th,
.styled-table.dataTable>thead>tr>td,
.styled-table.dataTable>tfoot>tr>th,
.styled-table.dataTable>tfoot>tr>td,
.styled-table.dataTable {
    border-bottom: none !important;
    text-align: center !important;
}

.dt-container .dt-paging .dt-paging-button.current,
.dt-container .dt-paging .dt-paging-button.current:hover,
.swiper-pagination-bullet-active,
.swiper-pagination-bullet.swiper-pagination-bullet-active,
.swiper-pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    border: 1px solid rgb(89, 91, 94) !important;
    background: #00041C !important;
    border: 0.5px solid #566780 !important;
    border-radius: 11px !important;
    color: #809FB8 !important;
    padding: 0.21em 0.72em;
}

.swiper-pagination-bullet {
    color: white !important;
    width: auto !important;
    height: auto !important;
    background: #00041C !important;
    padding: 0.21em 0.72em;
}

.swiper-pagination-bullet-active {
    width: auto !important;
    height: auto !important;
}

.m-auto {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

.btn-wait {
    background: #979797;
    color: white !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: white !important;
    font-family: "Orbitron", sans-serif;
}

.dt-container .dt-paging .dt-paging-button:hover {
    border: none;
    background: none;
}

.dt-container .dt-paging,
.swiper-pagination {
    color: inherit;
    text-align: center;
    margin-top: 13px;
    background: #00041C 0% 0% no-repeat padding-box !important;
    border-radius: 10px !important;
    display: inline-block !important;
    padding: 3px;
}

.dt-container .dt-paging .dt-paging-button:hover {
    border: none !important;
    background: none !important;
}

.swiper-pagination {
    background: #00041C !important;
    top: 0 !important;
    margin-top: 22px !important;
    margin-bottom: 15px !important;
    color: white !important;
    width: auto !important;
    position: relative;
}

.white-styled-table td {
    color: white !important;
}

.nodrop.dropdown-toggle::after {
    display: none;
}


.highcharts-color-1 {
    fill: #809FB8 !important;
    stroke: #809FB8 !important;
}

.highcharts-legend-item>text,
.highcharts-data-label text {
    color: #809FB8 !important;
    fill: #809FB8 !important;
}

.highcharts-data-label text tspan {
    stroke-width: 0;
}

.highcharts-background,
.highcharts-container {
    fill: transparent;
    color: #809FB8;
    font-family: "Inter", sans-serif;
}

/* Optional: Ensure specific elements inherit the font */
.highcharts-title,
.highcharts-subtitle,
.highcharts-axis-labels,
.highcharts-legend-item,
.highcharts-tooltip {
    font-family: inherit;
}

.badge {
    border-radius: 10px;
}

.fw-13 {
    font-size: 13px
}

.select2-container--default .select2-selection--single {
    background: transparent !important;
    border: 1px solid #566780 !important;
    border-radius: 21px !important;
    min-width: 150px;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection {
    border-bottom: none;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.select2-container--default .select2-selection__placeholder,
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white !important;
}

.select2-dropdown {
    background: #00041C !important;
    color: white !important;
    border: 1px solid #566780 !important;
    border-bottom-left-radius: 21px !important;
    border-bottom-right-radius: 21px !important;
    border-top: none !important;
}

.select2-container .select2-search--dropdown {
    /* display: none !important; */
    /* Cache le champ de recherche */
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='10,13 5,8 15,8' fill='%23FFFFFF'/%3E%3C/svg%3E") !important;
}

.select2-results__option[role=option][aria-selected=true] {
    background-color: rgba(115, 103, 240, 0.08) !important;
    color: #6173f7 !important;
}

.nav-align-left .nav-tabs,
.nav-align-left .nav-tabs button,
.nav-align-left .tab-content {
    background: transparent !important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}



.custom-checkbox-group {
    display: inline-flex;
    flex-direction: column;
    gap: 7px;
}

/* Shared styles for custom inputs */
.custom-input {
    display: flex;
    align-items: center;
    color: white;
    border-radius: 9px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    //margin-left: -24px;
}

.custom-input input {
    display: none;
}

.custom-input span,
.custom-input div {
    padding: 8px 26px;
    width: 100%;
}

/* Hover effect */
.custom-input:hover {
    background-color: #33334a;
}

/* Checkbox-specific styles */
.custom-input.checkbox input:checked+span,
.custom-input.checkbox input:checked+div {
    background: transparent radial-gradient(closest-side at 50% 50%, #24718D 0%, #413585 100%) 0% 0% no-repeat padding-box;
    border-radius: 9px;
}

.custom-input.checkbox input:checked+span::before {
    /*content: "✓ ";*/
    color: #4fc3f7;
}

/* Radio-specific styles */
.custom-input.radio input:checked+span,
.custom-input.radio input:disabled:checked+span {
    color: #ffffff;
    background: transparent radial-gradient(closest-side at 50% 50%, #24718D 0%, #413585 100%) 0% 0% no-repeat padding-box;
    border-radius: 9px;
}

.custom-input.radio input:checked+span::before,
.custom-input.radio input:disabled:checked+span::before {
    /*content: "✓ ";*/
    color: #4fc3f7;
}

.circle_question {
    position: absolute;
    margin-left: -50px;
    margin-top: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    /* Taille du cercle */
    height: 36px;
    /* Taille du cercle */
    background-color: #7D27D3;
    /* Couleur de fond */
    color: white;
    /* Couleur du texte */
    font-size: 17px;
    /* Taille du texte */
    font-weight: bold;
    /* Style du texte */
    border-radius: 50%;
    /* Rend le div en forme de cercle */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    /* Ajoute une ombre */
}

.btn-primary {
    background: transparent radial-gradient(closest-side at 50% 50%, #24718D 0%, #413585 100%) 0% 0% no-repeat padding-box;
    color: #c6cfd7 !important;
}

.dark-style .swal2-modal.swal2-popup {
    background: transparent;
    box-shadow: none;
}

.nav-pills.top_card_menu {
    margin-left: auto !important;
    margin-top: -42px;
    background: #00041c !important;
    border-radius: 10px !important;
    padding: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
}

.top_card_menu .nav-item {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

.top_card_menu .nav-link {
    font-weight: 400 !important;
    background: #00041C !important;
    border: 0.5px solid transparent !important;
    border-radius: 11px !important;
    color: #809FB8 !important;
    line-height: 1.125;
    padding-right: 0.25rem !important;
    padding-left: 0.25rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.top_card_menu .nav-link.active {
    border: 0.5px solid #566780 !important;
}

.btn-questions,
.btn-primary {
    position: relative;
    border: none !important;
    font-size: 13px !important;
    color: white !important;
    border-radius: 21px !important;
    padding: 8px 21px;
    background: transparent !important;
}

.btn-questions:hover,
.btn-primary:hover {

    background: transparent !important;
}

.btn-check:checked+.btn-primary,
.btn-check:active+.btn-primary,
.btn-primary:active,
.btn-primary.active,
.btn-primary.show.dropdown-toggle,
.show>.btn-primary.dropdown-toggle {
    background-color: transparent !important;
}

.btn-primary:active::before,
.btn-questions::before,
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 21px;
    padding: 2px;
    /* Épaisseur de la bordure */
    background: linear-gradient(90deg, #00E9C9, #00ADF0);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.btn-questions:hover,
.btn-primary:hover {
    #background: linear-gradient(90deg, #00E9C9, #00ADF0) !important;
}

.btn-cancel {
    background: linear-gradient(90deg, rgba(120, 120, 120, 1) 0%, rgba(60, 60, 60, 1) 100%);
    border: 0 !important;
    border-radius: 8px !important;
    color: white !important;
    font-family: "Orbitron", sans-serif;
    padding: 0.5rem 1rem;
    transition: border 0.2s;
}

.btn-cancel:hover {
    border: 1px solid #4EEC68 !important;
}

.challenge_yourself {
    font-size: 13px !important;
    font-weight: 600;
    border-radius: 21px !important;
    padding: 8px 21px;
}

.swal_bg {
    background-color: #0D1421 !important;
}


.highcharts-dark {
    --highcharts-background-color: rgb(48, 48, 48);
    --highcharts-neutral-color-100: rgb(255, 255, 255);
    --highcharts-neutral-color-80: rgb(214, 214, 214);
    --highcharts-neutral-color-60: rgb(173, 173, 173);
    --highcharts-neutral-color-40: rgb(133, 133, 133);
    --highcharts-neutral-color-20: rgb(92, 92, 92);
    --highcharts-neutral-color-10: rgb(71, 71, 71);
    --highcharts-neutral-color-5: rgb(61, 61, 61);
    --highcharts-neutral-color-3: rgb(57, 57, 57);
    --highcharts-highlight-color-100: rgb(122, 167, 255);
    --highcharts-highlight-color-80: rgb(108, 144, 214);
    --highcharts-highlight-color-60: rgb(94, 121, 173);
    --highcharts-highlight-color-20: rgb(65, 74, 92);
    --highcharts-highlight-color-10: rgb(58, 63, 71);

    --highcharts-color-1: #D2691E;
    /* Database Management */
    --highcharts-color-2: #9FD74A;
    /* UI/UX Design */
    --highcharts-color-3: #BC4749;
    /* Testing & QA */
    --highcharts-color-4: #DAA520;
    /* Software Development */
    --highcharts-color-5: #7D5BDB;
    /* Machine Learning */
    --highcharts-color-6: #5C9EA1;
    /* Artificial Intelligence */
    --highcharts-color-7: #FF6347;
    /* Networking */
    --highcharts-color-8: #8B88F8;
    /* DevOps */
    --highcharts-color-9: #FFA07A;
    /* Data Analysis */
    --highcharts-color-10: #45C7C0;
    /* Cloud Services */
    --highcharts-color-11: #EE7F67;
    /* APIs, backends & server */
    --highcharts-color-12: #51AFCB;
    /* Encoding & Cryptography */
    --highcharts-color-13: #8143F3;
    /* Client Side */
    --highcharts-color-14: #FFB536;
    /* Architecture */
    --highcharts-color-15: #57E94E;
    /* Security Principles */
    --highcharts-color-16: #217EFD;
    /* Mobile Apps */
    --highcharts-color-17: #DB5AEE;
    /* Salesforce */
}


.user_profile_details .d_title {
    width: 150px;
    display: inline-block !important;
}

.user_profile_details .d_title_d {
    font-weight: 500 !important;
    color: #fff !important;
}


.email-container {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    //margin: 20px auto;
    padding: 15px;
    width: 600px;
}

.email-header {
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.email-from,
.email-to,
.email-subject {
    font-weight: bold;
    color: #333;
    margin: 5px 0;
}

.email-content {
    line-height: 1.6;
    color: #555;
}

.email-content a {
    color: #007bff;
    text-decoration: none;
}

.email-content a:hover {
    text-decoration: underline;
}

.email-body p {
    margin: 10px 0;
}

.avatar-group .avatar img,
.avatar-group .avatar .avatar-initial {
    border: 1px solid #161618 !important;
}

.tooltip-inner {
    background-color: #00041C;
    font-family: "Inter", sans-serif;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip.bs-tooltip-end .tooltip-arrow::before {
    background-color: #00041C;
}

.ql_important {
    overflow-wrap: anywhere;
}

#congratulationsModal img {
    max-width: 100%;
    height: auto;
}

pre.ql-syntax {
    max-width: 100%;
    /* Limite la largeur */
    overflow-x: auto;
    /* Ajoute une barre de défilement si nécessaire */
    white-space: pre-wrap;
    /* Coupe les longues lignes */
    word-break: break-word;
    /* Coupe les mots trop longs */
    padding: 10px;
    /* Optionnel : améliore l'esthétique */
    box-sizing: border-box;
    /* Inclut les marges dans la largeur totale */
}

.avatar-m {
    width: 4rem;
    height: 4rem;
}
.avatar-xl {
    width: 6rem;
    height: 6rem;
}

.avatar-xxl {
    width: 10rem;
    height: 10rem;
}

.avatar-xxl .avatar-initial {
    font-size: 3.2rem;
}




#contact-panel {
    font-family: "Public Sans", BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
    font-size: inherit !important;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 99999999;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 400px;
    background: #fff;
    -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    -webkit-transform: translateX(420px);
    -ms-transform: translateX(420px);
    transform: translateX(420px);
}

#contact-panel.contact-panel-open {
    -webkit-transition-delay: 0.1s;
    -o-transition-delay: 0.1s;
    transition-delay: 0.1s;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}

.form-check-input:checked[type=radio] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='5' width='8' height='8' rx='4' fill='%23FFF'/%3E%3C/svg%3E%0A");
}

.custom-option.checked {
    border: 1px solid #325687;
}

.form-check-input:checked,
.form-check-input[type=checkbox]:indeterminate {
    background-color: #325687;
    border-color: #374885;
}

#contact-panel .contact-panel-open-btn {
    position: absolute;
    top: 32%;
    left: 0;
    z-index: -1;
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 0% !important;
    border-top-left-radius: 15% !important;
    border-bottom-left-radius: 15% !important;
    color: #fff !important;
    text-align: center;
    font-size: 18px !important;
    line-height: 42px;
    opacity: 1;
    -webkit-transition: all 0.1s linear 0.2s;
    -o-transition: all 0.1s linear 0.2s;
    transition: all 0.1s linear 0.2s;
    -webkit-transform: translateX(-62px);
    -ms-transform: translateX(-62px);
    transform: translateX(-62px);
}

#contact-panel.contact-panel-open .contact-panel-open-btn {
    opacity: 0;
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}

.collapsible-content {
    max-height: 150px;
    position: relative;
    /* Ajustez pour limiter à 4 lignes */
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.collapsible-content.expanded {
    max-height: 1000px;
    /* Une hauteur suffisante pour tout afficher */
}


.show-more {
    margin-top: 10px;
    display: block;
    margin-top: -208px;
    border: 0 !important;
    width: 98% !important;
    padding-top: 100px;
    background: linear-gradient(to bottom, transparent, #222935);
}

.expanded.show-more {
    background: transparent;
}


.circle_questions {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: transparent;
    color: white;
    font-size: 13px;
    font-weight: bold;
    border-radius: 50%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #809FB8;
    color: #809FB8;
    font-weight: 600 !important;
}

.active .circle_questions {
    border: 1px solid #1D4CBD;
    background: #1D4CBD;
    color: white !important;
}

.circle_questions.VALIDATED {
    border: 1px solid #045736;
    background: #045736;
    color: #28c76f !important;
}

.circle_questions.PARTIAL_VALIDATED {
    border: 1px solid #a0c96b;
    background: #a0c96b;
    color: rgba(88, 115, 54, 1) !important;
}

.circle_questions.NOT_VALIDATED {
    border: 1px solid #ea5455;
    background: #ea5455;
}

.circle_questions.disabled {
    border: 1px solid #9f9f9f;
    background: #9f9f9f;
    color: white !important;
    cursor: not-allowed;
}

.bg-partial-success {
    background: rgba(88, 115, 54, 1) !important;
}

.text-partial-success {
    color: rgba(88, 115, 54, 1) !important;
}

.challenge-content pre {
    margin-top: 15px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 22px !important;
}

.bg-label-org {
    background: #7D27D326;
    color: #A552F7;
}

.form-check-input {
    appearance: none !important;
    -webkit-appearance: none !important;
}

.bg-label-org .form-check-input:checked,
.bg-label-org .form-check-input[type=checkbox]:indeterminate {
    background-color: #7D27D326;
    border-color: #A552F7;
}

.bg-label-warning .form-check-input:checked,
.bg-label-warning .form-check-input[type=checkbox]:indeterminate {
    background-color: #504448;
    border-color: #ff9f43;
}

.form-check-info .form-check-input:focus {
    border-color: #A552F7;
}

select.transparent {
    width: auto;
    min-width: 150px;
    padding-right: 1.5rem !important;
    padding-left: 1rem !important;
    padding: 0.25rem;
    display: block;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2300041C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='white' stroke-opacity='0.2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hljs-ln-line.hljs-ln-numbers {
    width: 52px;
}

code:not(.ql-syntax) {
    color: #e83e8c !important;
}

.swal2-html-container {
    text-align: left !important;
    font-size: 1em !important;
}

.swal2-html-container p,
.swal2-html-container li {
    margin-bottom: 8px;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    padding: 0 0 0 0.5ch !important;
}

.bg-gradient-primary {
    background: linear-gradient(90deg, rgba(36, 113, 141, 1) 0%, rgba(65, 53, 133, 1) 100%) !important;
}

.bg-gradient-primary .card-title {
    background: transparent !important;
}

.card_menu {
    border: 1px solid #060D2C;
    border-radius: 18px;
}

.card {
    /* background: #232a35 0% 0% no-repeat padding-box !important; */
    border-radius: 22px !important;
}

.card.blue_card,
.blue_card {
    /* background: #232a35 0% 0% no-repeat padding-box !important; */
    border-radius: 22px !important;
    border: 1.5px solid white !important;
        background: #00041c !important;
}


.jstree-default .jstree-hovered,
.jstree-default .jstree-clicked {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}


.modal .modal-header {
    height: 45px;
}

.indicatorsCQ {
    margin: 0 12px;
    font-size: 12px;
    text-align: center;
    background: none !important;
    text-indent: 0 !important;
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 34px;
    height: 5px;
    padding: 0;
    margin-right: 5px;
    margin-left: 5px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-top: 0 solid transparent;
    border-bottom: 0 solid transparent;
    opacity: 0.4;
    transition: opacity 0.6s ease;
}

.indicatorsCQ .circle_questions {
    margin: 0;
}

.jstree-leaf {
    /* padding: 4px 0 !important; */
}

.jstree-node .selected {
    border: 0.5px solid #566780 !important;
    padding: 4px !important;
    border-radius: 11px !important;
    background-color: #060D2C !important;
    height: 32px !important;
}

.jstree-leaf .department {
    border: 0.5px solid #566780 !important;
    padding: 4px !important;
    border-radius: 11px !important;
    background-color: #060D2C !important;
    height: 32px !important;
}

.jstree-icon.fa-users {
    color: #6173f7 !important;
}

/* rouge */

.vakata-context li>a {
    color: white !important;
}

.vakata-context .vakata-context-hover a {
    background: #00041C !important;
    border-radius: 10px !important;
}

.dark-style .vakata-context.jstree-contextmenu {
    border: 0.5px solid #566780 !important;
    border-radius: 10px !important;
    background: #00041C !important;
    color: white !important;
}

.dark-style .vakata-context.jstree-contextmenu li a i {
    display: inline-block !important;
    padding: 0 1rem !important;
}

.modal_back {
    z-index: 1029
}

.dataTable tfoot input {
    width: 100%;
    box-sizing: border-box;
    /* évite que l’input fasse déborder la cellule */
    padding: 2px;
    margin: 0;
    height: 25px;
    /* ajustez la hauteur à votre goût */
}

.jstree-default .jstree-themeicon-custom:not(.jstree-file):not(.jstree-folder).icon-owasp,
.jstree .jstree-icon.icon-owasp,
.icon-owasp {
    background-color: currentColor !important;
    /* Remettre un fond transparent, mais n'écrase pas l'image */
    background-image: url('/assets/img/icon_owasp.svg') !important;
    background-size: auto !important;
    /* Redimensionne l'image pour qu'elle s'ajuste */
    background-repeat: no-repeat !important;
    fill: currentColor;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url('/assets/img/icon_owasp.svg');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    width: 17px !important;
    height: 17px !important;
}

.icon-owasp {
    width: 15px !important;
    display: inline-block;
    height: 15px !important;
    line-height: 27px;
    vertical-align: middle;
    font-size: 1.25rem;
    line-height: 1;
    display: inline-block;
    margin: 0 2px;
}

.row-to-add {
    transition: opacity .25s ease;
}

.code-editor {
    background: #1a1a1a;
    position: relative;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
    font-size: 14px;
    line-height: 1.5;
    overflow: auto;
}

/* Le textarea, transparent, pour la saisie */
.code-editor textarea {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    resize: none;
    border: none;
    background: transparent;
    color: transparent;
    /* masquer le texte saisi */
    caret-color: black;
    /* couleur du curseur */
    z-index: 2;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    overflow: auto;
    height: 100%;
    padding-left: 22px !important;
    font-weight: 600;
    padding-top: 15px !important;
    caret-color: white;
    border: none !important;
    /* affiche le curseur en noir */

}

.code-editor textarea:focus,
.code-editor textarea:active,
.code-editor textarea:hover {
    border: none;
    outline: none;
    box-shadow: none;
}

/* Le bloc affichant le code formaté */
.code-editor pre {
    margin: 0;
    pointer-events: none;
    white-space: break-spaces !important;
    /* désactive l'interaction sur le bloc formaté */
}

.code-editor code {
    background: transparent !important;
    white-space: break-spaces !important;
    padding: 0 !important;
    padding-right: 7px !important;
    padding-left: 7px !important;
}

#modalADChallenge .main-content {
    margin-left: 60%;
    height: 100%;
    width: 40%;
    transition: all 0.3s ease;
    overflow-x: auto;
}

#modalADChallenge .collapsed~.main-content {
    margin-left: 0;
    width: calc(100%);
}

#modalADChallenge .sidebarChallenge {
    width: 60%;
    height: 100vh;
    transition: all 0.3s ease;

}

#modalADChallenge .sidebarChallenge.collapsed {
    width: 7px;
    padding-left: 0px !important;
}

#modalADChallenge .sidebarChallenge.collapsed .card {
    padding-left: 0px !important;
    padding-right: 0px !important;
    overflow: hidden !important;
}

#modalADChallenge .toggle-btn {
    position: absolute;
    right: -15px;
    top: 42px;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 100;
    cursor: pointer;
    transition: transform 0.3s ease;
    color: black;
}

#modalADChallenge .toggle-full-btn {
    position: absolute;
    right: -15px;
    top: 80px;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 100;
    cursor: pointer;
    transition: transform 0.3s ease;
    color: black;
}


#modalADChallenge .collapsed .toggle-btn {
    transform: rotate(180deg);
}

#modalADChallenge .collapsed .hide-on-collapse {
    opacity: 0;
    visibility: hidden;
}

#modalADChallenge .carousel-item {
    height: calc(100% - 65px) !important;
}

#modalADChallenge .sidebarChallenge.full {
    width: 98%;
}

#modalADChallenge .sidebarChallenge.full~.main-content {
    display: none;
}

#modalADChallenge .sidebarChallenge,
#modalADChallenge .sidebarChallenge.full~.main-content {
    transition: all 0.3s ease;
}

#modalADChallenge .quill_sm .ql-editor {
    min-height: auto !important;
    max-height: 100%;
    background-color: transparent !important;
    padding: 0.25em;
    border: none !important;
    color: white !important;
}

#modalADChallenge .quill_sm_div .ql-toolbar {
    margin-top: -50px;
    /* background-color: #161618 !important; */
    border: var(--bs-border-width) solid #434968 !important;
    width: auto;
    display: none;
}

#modalADChallenge .ql-focused .ql-toolbar {
    display: block !important;
}

#modalADChallenge .quill_sm.ql-container {
    max-height: 100%;
    background-color: transparent !important;
    padding: 0.25em;
    border: none !important;
    padding-bottom: 0;
    /* padding-top: 0.75em; */
}

#modalADChallenge .answer-box {
    gap: 3px;
    align-items: center !important;
    background-color: #161618 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

#modalADChallenge .answer-row .input-group {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

#modalADChallenge .answer-row .input-group-text,
#modalADChallenge .answer-row .form-control {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.input-group-upload {
    cursor: pointer;
    display: block;
    align-items: center;
    padding: 0.422rem 0.45rem !important;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #b6bee3;
    text-align: center;
    white-space: nowrap;
    background-color: #161618 !important;
    border: 2px dashed #434968 !important;
    border-radius: var(--bs-border-radius) !important;
}

.ql-editor img.ql-float-left {
    float: left;
    margin: 0 1rem 1rem 0;
}

.ql-editor img.ql-float-right {
    float: right;
    margin: 0 0 1rem 1rem;
}

.ql-editor img.ql-size-sm {
    width: 150px;
}

.ql-editor img.ql-size-md {
    width: 300px;
}

.ql-editor img.ql-size-lg {
    width: 600px;
    max-width: 100%;
}

blockquote {
    margin: 0 0 1rem;
    border-left: 5px solid white;
    padding-left: 10px;
    margin: 0 !important;
    border-left: 5px solid white;
    padding-left: 10px;
}

.swiper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    background: linear-gradient(to left, #060D2C 0%, rgba(34, 37, 49, 0) 100%);
    opacity: 0;
    /* caché par défaut */
    transition: opacity 0.3s;
}

.swiper.show-right-gradient::after {
    opacity: 1;
}



.btn-r13 {
    border-radius: 13px !important;
}

.btn-r8 {
    border-radius: 8px !important;
}

.btn-primary.btn-r13::before {
    border-radius: 13px !important;
}

.btn-primary.btn-r8::before {
    border-radius: 8px !important;
}

.btn-full {
    background: linear-gradient(90deg, rgba(36, 113, 141, 1) 0%, rgba(65, 53, 133, 1) 100%);
    border: 0 !important;
    border-radius: 13px !important;
    color: white !important;
    font-size: 13px;
    padding: 8px 21px;
}

.btn-white {
    background: transparent;
    border: 1px solid white !important;
    border-radius: 13px !important;
    color: white !important;
}

.btn-full:hover {
    /* border: 1px solid #4EEC68 !important; */
}

.title_blue {
    color: #0388cc !important;
    font-weight: bold !important;
}

.bg_blueg {
    background: #060d2c;
    border-radius: 21px !important;
    color: white !important;
}

.bg_white {
    background: white;
    border-radius: 21px !important;
    color: black !important;
}

.b1w {
    border: 1px solid white !important;
    border-radius: 13px !important;
    line-height: 28px;
    font-weight: 400;
    color: white;
    margin-top: 15px;
}