/* Conteneur popover */
.popover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1060;
    display: block;
    max-width: 350px;
    font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif; /* KT Theme font */
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: break-word;
    background-color: #ffffff; /* couleur sombre KT Theme */
    background-clip: padding-box;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgb(18 38 63 / 0.25);
    color: #000000;
}

/* Flèche du popover */
.popover .popover-arrow {
    position: absolute;
    width: 1rem;
    height: 0.5rem;
    background: transparent;
}

/* Flèche (avant) selon la position */
.popover.bs-popover-top .popover-arrow::before {
    bottom: 0;
    border-width: 0.5rem 0.5rem 0;
    border-top-color: #1e1e2d; /* même couleur que fond popover */
}

.popover.bs-popover-bottom .popover-arrow::before {
    top: 0;
    border-width: 0 0.5rem 0.5rem;
    border-bottom-color: #1e1e2d;
}

.popover.bs-popover-start .popover-arrow::before {
    right: 0;
    border-width: 0.5rem 0.5rem 0.5rem 0;
    border-left-color: #1e1e2d;
}

.popover.bs-popover-end .popover-arrow::before {
    left: 0;
    border-width: 0.5rem 0 0.5rem 0.5rem;
    border-right-color: #1e1e2d;
}

/* Contenu du popover */
.popover-header {
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    font-size: 1rem;
    background-color: #141424; /* un ton plus foncé */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    color: #fff;
    font-weight: 600;
}

.popover-body {
    padding: 1rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.popover-body .score-popover-content {
    display: flex;
    flex-direction: column;
}

.popover-body .score-interpretation,
.popover-body .score-conclusion {
    font-weight: 600;
}
.text_score_a {
    color: #038141;
}

.text_score_b {
    color: #85bb2f;
}

.text_score_c {
    color: #fecb02;
}

.text_score_c {
    color: #fecb02;
}

.text_score_d {
    color: #ee8100;
}
