p.reco {
	margin-left: 10px;
	margin-top:0.5rem;
	margin-bottom:0.5rem;
}
.statut-arm {
	text-align: center;
    font-weight: 700;
    box-shadow: 0px 0px 4px 0px rgba(76.5, 76.5, 76.5, 0.2);
    border-radius: 10px 10px 10px 10px;
    padding: 15px 15px;
    width: 330px;
    margin: auto;
}
.pagination-link.active {
    background-color: #ffba00;
    color: #000000;
    padding: 5px 10px;
    border-radius: 3px;
}
.pagination-link.active:hover {
	color: #000000 !important;
}
.pagination-link {
	padding: 5px 5px;
	color: #000000 !important;
}
.pagination-link:hover {
	color: #ffba00 !important;
}
.score-container {
    position: relative;
    display: inline-block;
    width: 130px;
    height: 20px;
    border: 1px solid #c3c3c3;
    background-color: #FFFFFF;
	border-radius: 15px;
}
@media screen and (max-width: 960px) {
	.score-container {
    width: 100%;
	}
}
.score-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}

.score-text {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
	font-weight: 700;
}

/* Style général du tableau */
.stats-rtr table {
    width: 100%;
    border-collapse: collapse;
}
.stats-rtr th {
	background-color:#ffba00 !important;
	font-family: Open Sans, sans-serif, 'Trebuchet MS' !important;
    font-size: 16px !important;
    color: #32323a !important;
    font-weight: bold !important;
    font-style: normal !important;
    text-decoration: none !important;
	text-align: left;
    padding: 8px;
}
.stats-rtr td {
	font-family: Open Sans, sans-serif, 'Trebuchet MS' !important;
    font-size: 15px !important;
    color: #727277 !important;
    font-weight: normal !important;
    font-style: normal !important;
    text-decoration: none !important;
	padding: 8px;
    text-align: left;
}
.table-empty th {
	background-color:#ffba00 !important;
	font-family: Open Sans, sans-serif, 'Trebuchet MS' !important;
    font-size: 16px !important;
    color: #32323a !important;
    font-weight: bold !important;
    font-style: normal !important;
    text-decoration: none !important;
	text-align: left;
    padding: 8px;
}
.texte-table-empty {
	text-align:center;
}

/* Rendre le tableau responsive */
@media screen and (max-width: 767px) {
	.texte-table-empty-2 {
	text-align:center;
	}
    .stats-rtr table, .stats-rtr thead, .stats-rtr tbody, .stats-rtr td, .stats-rtr tr {
        display: block;
    }
	.stats-rtr th {
        display: none;
    }

    .stats-rtr thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .stats-rtr tr { border: 1px solid #ccc; }

    .stats-rtr td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    .stats-rtr td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    .stats-rtr td:nth-of-type(1):before { content: "Simulation"; }
    .stats-rtr td:nth-of-type(2):before { content: "Date"; }
    .stats-rtr td:nth-of-type(3):before { content: "Score"; }
	.stats-rtr.stat-cat td:nth-of-type(1):before { content: "Catégorie"; }
    .stats-rtr.stat-cat td:nth-of-type(2):before { content: "% bonnes réponses"; }
}
/*Fonction stat line*/
.quiz-stat-line {
    margin-bottom: 20px;
}

.box-result {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    box-shadow: 0px 0px 4px 0px rgba(76.5, 76.5, 76.5, 0.2);
	border-radius: 10px 10px 10px 10px;
    padding: 8px;
}
.box-result i {
	color: #ffba00;
}

.quiz-stat-line h3 {
	font-size:16px !important;
	margin-bottom: 0.5rem !important;
}
.box-result img {
width: 50%;
}
.colonne-resultat img {
width: 50%;
}
.colonne-faute-grave img {
width: 43%;
}
.colonne-faute img {
width: 50%;
}
.colonne-date img {
width: 43%;
}
.pagination-link.next-page {
display:none;
}	
.box-result .colonne-resultat,
.box-result .colonne-faute,
.box-result .colonne-faute-grave,
.box-result .colonne-score,
.box-result .colonne-temps,
.box-result .colonne-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.box-result i {
    font-size: 24px;
    margin-bottom: 10px;
}

.box-result .label-resultat,
.box-result .label-faute,
.box-result .label-faute-grave,
.box-result .label-score,
.box-result .label-temps,
.box-result .label-date {
    font-size: 10px;
    margin-bottom: 0px;
	text-transform: uppercase;
}

.box-result .valeur-resultat,
.box-result .valeur-faute,
.box-result .valeur-faute-grave,
.box-result .valeur-score,
.box-result .valeur-temps,
.box-result .valeur-date,
.box-result .valeur-heure {
    font-size: 14px;
	text-transform: uppercase;
	font-weight: bold;
}

.box-result .resultat-reussi {
    color: #0fd50f;
}

.box-result .resultat-echec {
    color: #FF0000;
}
.box-result .valeur-heure {
	display:none;
}
.title-quizz {
    display: flex;
    align-items: center;
}
@media screen and (min-width: 501px) {
.date-mobile {
	display:none;
}
}
@media screen and (max-width: 500px) {
.colonne-date {
	display:none !important;
}
}
img.date-mobile {
    width: 6%;
    margin: 0px 10px 0px 25px;
}
/*Badge et infobulle*/
.badge {
    display: inline-block;
    position: relative;
    margin: 0 10px;
}
@media screen and (max-width: 960px) {
	.badge {
    display: table-cell;
	}
}
.badge img {
    width: 50px; /* Ajustez la taille selon vos besoins */
    height: auto;
    vertical-align: middle;
}

.badge:hover .tooltip {
    display: block;
}

.tooltip {
    display: none;
    position: absolute;
    top: 100%; /* Changement ici pour afficher en dessous */
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff; /* Fond blanc */
    padding: 5px;
    border: 1px solid #ffba00; /* Bordure jaune */
    border-radius: 4px;
    white-space: nowrap;
	 z-index: 9; /* Valeur de z-index plus élevée */
	text-align: center;
	font-weight: 400;
}
.tooltip h4 {
font-size:16px !important;
margin-block-end: 0.5rem;
}
@media (max-width: 768px) {
    .badge:hover .tooltip {
		left: 0;
        transform: translateX(-50%);
		white-space: normal;
		width:150px;
    }
	.badge-container:hover .tooltip {
        transform: translateX(-50%);
		white-space: normal;
		width:150px;
	}
}
.badge-container {
    display: inline-block;
    position: relative;
}

.badges-container img {
    width: 100px;
    height: auto;
    margin: 5px;
}

/* Sur les petits écrans (mobiles), afficher les badges en lignes de 3 */
@media (max-width: 480px) {
    .badges-container {
        flex-direction: row;
        justify-content: space-around;
    }

    .badges-container img {
        margin-bottom: 10px;
    }
}
.badge-container:hover .tooltip {
    display: block; /* Afficher l'info-bulle lorsque le badge est survolé */
}

#compteur-container {
  margin: auto;
  position: relative;
}

#aiguille {
  transition: transform 1s ease-in-out;
}
#aiguille-moto {
  transition: transform 1s ease-in-out;
}
#aiguille-cyclo {
  transition: transform 1s ease-in-out;
}
.compteur {
        width: 100%; /* ou une largeur fixe, selon la mise en page */
        margin: auto;
    }
.compteur-svg {
        width: 100% !important; /* Assurez-vous que le SVG est responsive et s'adapte à la largeur du conteneur */
        height: auto;
        transform-origin: 50% 100%; /* Pour que l'aiguille pivote autour du bon point */
    }
.aiguille-image {
  x: -0.9;
  y: -0.89;
  width: 90%;
  height: 90%;
}

/*Quiz détails*/
.resultat-echec, .resultat-reussi {
	background: none !important ;
	box-shadow: none !important ;
}
.quiz-question-detail {
    margin: 30px 0 40px 0;
    padding: 0;
    border-bottom: 2px solid #eee;
    background: #fff;
}
.quiz-flex {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}
@media (max-width: 800px) {
    .quiz-flex {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    .question-image-wrap {
        margin-bottom: 10px;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        justify-content: flex-start;
    }
    .question-image {
        width: 100% !important;
        height: auto !important;
        max-height: 240px;
        object-fit: contain;
    }
}
.question-image-wrap {
    min-width: 400px;
    max-width: 400px;
    width: 400px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafaf0;
    border-radius: 10px;
    overflow: hidden;
}
.question-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: 10px;
}
.question-content {
    flex: 1 1 0;
    min-width: 0;
}
.question-title {
    margin-bottom: 20px;
    font-weight: bold;
}
.answers-list {
    margin: 0 0 18px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.answer label {
	font-family: "Roboto", "Helvetica", "Arial", sans-serif !important;
}
.answer {
    border: none;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    border-radius: 7px;
    padding: 12px 22px;
    font-size: 1.08em;
    display: flex;
    align-items: center;
    min-width: 220px;
    margin-bottom: 4px;
    transition: border-color .2s, background .2s;
}
.answer.good {
    background: #a7a7a726;
    box-shadow: -3px 3px 3px rgb(102, 195, 0), 0px 3px 3px rgba(0,0,0,0.24);
}

.answer.good-user {
    border-color: #66c300;
    background: #66c300;
}
.answer.good-user label {
    color: #fff;
    font-weight: 700;
}
.answer.bad-user {
    border-color: #f96949;
    background: #f96949;
}
.answer.bad-user label {
    color: #fff;
    font-weight: 700;
}
.explain-block {
    background: #ffba0047 !important;
    border-radius: 8px;
    border: 1.5px solid #f3e481;
    padding: 18px 28px 12px 28px;
    margin: 26px 0 0 0;
    color: #564c18;
    box-shadow: 0 4px 18px 0 #e9e2b6;
}
.cat-link {
    color: #c28600;
    font-weight: 600;
    font-size: 1.03em;
    text-decoration: underline;
}
.txt-normal, .txt-wrong {
	text-align: center;
}

.quiz-header {
    text-align: center;
    margin-bottom: 60px;
}
.quiz-header h2 {
    font-size: 2.0em;
    margin-bottom: 16px;
}
.quiz-meta-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 1.12em;
}
.quiz-meta-row span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f6fa;
    border-radius: 7px;
    padding: 7px 18px 7px 14px;
    font-weight: 500;
    color: #444;
    box-shadow: 0 2px 10px 0 #e7e7e7;
}
.quiz-meta-score i {
    color: #66c300;
    font-size: 1.2em;
}
.quiz-meta-date i {
    color: #ffba00;
    font-size: 1.18em;
}
.debug-stats {
    font-size: 13px;
    color: #888;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

p.stat-quizz {
    margin-bottom: 1px;
    margin-left: 10px;
    padding: 1px 10px;
    background-color: #f9f9f9;
    border-radius: 30px;
	border: 1px solid #000;
}
p.stat-quizz a {
    color: #000;
}

/*Nav css detail*/
.quiz-detail-summary {
    max-width: 950px; /* adapte si besoin */
    margin: 0 auto;
    padding: 0 10px;
    background: #fff;
}

#quiz-nav-summary {
    margin-bottom: 30px;
	margin-top: 30px;
    padding: 18px 16px 18px 16px;
    overflow-x: auto;
    width: 100%;
	justify-content: center;
	text-align: center !important;
}

.nav-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
	justify-content: center;
}

.nav-legend-box {
    padding: 8px 18px;
    font-size: 0.8em;
    color: #fff;
    text-shadow: 1px 1px 3px #0001;
}

.nav-nums {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.nav-num {
    width: 40px;
    height: 40px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.06em;
    color: #fff;
    box-shadow: 0 1px 5px #0002;
    cursor: pointer;
    border: 2px solid #f4f3d7;
    transition: border .1s, background .2s;
}

.quiz-toggle-false {
    border: 1.5px solid #66c300 !important;
    background: #fff !important;
    color: #111 !important;
    font-weight: 500 !important;
    border-radius: 30px !important;
    padding: 11px 23px !important;
    font-size: 1.08em !important;
    margin: 10px 0 0 0 !important;
    cursor: pointer !important;
    transition: background .2s, color .2s !important;
	box-sizing: border-box!important;
	white-space: normal !important;
    word-break: break-word !important;
}
@media (max-width: 600px) {
    .quiz-toggle-false {
        font-size: 0.98em;
        padding: 12px 4px;
    }
}
.quiz-toggle-false.is-active {
    background: #66c300 !important;
    color: #fff !important;
    border-color: #66c300 !important;
}
