/*
	CHARTE GRAPHIQUE
*/

:root {
    --primary-color: #006d77; /* Vert canard foncé */
    --secondary-color: #edf6f9; /* Bleu gris très clair */
    --text-color: #222222; /* Noir doux */
    --background-color: #ffffff; /* Blanc pur */
    --border-color: #cccccc; /* Gris clair pour les bordures */
    --complete-color: #2ecc71; /* Vert */
    --partial-color: #f1c40f;  /* Orange */
    --incomplete-color: #e74c3c; /* Rouge */
}

body {
    margin: 3%;
    padding: 1%; 
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
}

h1, h4 {
    font-size: 24px;
    font-weight: 400;
    color: var(--primary-color);
    margin: 20px 0;
}


/* 
	BANDEAU 
*/

.bandeau {
    position: fixed;
    top: 0;
    left: 0;
    width: 99%;
    height: 80px; /* Hauteur du bandeau */
    background: linear-gradient(90deg, #edf6f9, #bde0fe); /* Dégradé clair */
    color: #006d77; 
    display: flex;
    align-items: center; 
    padding: 0 7px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-family: 'Arial', sans-serif;
    gap: 20px;
}

.logo-container2 {
    height: 100%;
    width: 1%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    padding: 5px;
}

.logo-bandeau {
    max-height: 100%;
    max-width: 31px;
    height: auto;
    width: auto;
    display: block;
    cursor: pointer;
}

.content-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.annee-selector {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 10px;
}

.annee-selector label {
    font-size: 14px;
    color: #006d77;
    font-weight: bold;
    margin-bottom: 5px;
}

.annee-selector select {
    background-color: #ffffff;
    color: #222222;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.annee-selector select:hover {
    background-color: #f0f0f0;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-info .user-name {
    font-size: 16px;
    font-weight: bold;
}

.user-info .user-role {
    font-size: 14px;
    font-style: italic;
    color: #555555;
    margin-top: 2px;
}

.icon-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-links a:link,
.icon-links a:visited {
    color: inherit; 
    text-decoration: none;
}

.icon-links img {
    max-height: 40px;
    width: auto;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.icon-links img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* 
	CONNEXION 
*/

.login-page {
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh; 
    box-sizing: border-box;
}

.login-container {
    width: 100%;
    max-width: 400px;
    background-color: var(--background-color);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo {
    max-width: 179px;
    max-height: 179px;
    height: auto;
    width: auto;
}

.login-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    text-align: left;
}

.form-group label {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 5px;
    display: block;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 4px rgba(0, 109, 119, 0.2);
    outline: none;
}

.form-actions {
    margin-top: 20px;
}

.error-message {
    color: #ff0000;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}

.button {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
    background-color: #005b63;
    transform: scale(1.02);
}

@media (max-width: 480px) {
    .login-container {
        padding: 20px 15px;
        max-width: 90%;
    }
}

/* 
	CARTES DEPARTEMENTS/FORMATIONS/GROUPES/GRILLES
*/

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--background-color);
    width: 220px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.card h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 400;
}

.card p {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.card canvas {
    margin: 0 auto;
    max-width: 150px;
    max-height: 150px;
}

.card-footer {
    font-size: 12px;
    color: var(--text-color);
    margin-top: 10px;
}

.container {
    margin: 0 auto;
    padding: 20px;
    max-width: 1200px;
    background-color: var(--background-color);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 
	GRILLES
*/

.grille-container {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.competence-sidebar {
    position: fixed;
    top: 100px;
    left: 20px;
    width: 200px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.competence-sidebar h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.competence-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.competence-sidebar li {
    font-size: 14px;
    margin-bottom: 8px;
}

.grille-form {
    flex: 1;
    padding-left: 240px; 
}

.section {
    margin-bottom: 30px;
}

.section h4 {
    font-size: 20px;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.critere {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.critere-details {
    flex: 0 0 200px;
}

.critere-details label {
    font-size: 16px;
    font-weight: bold;
}

.description {
    font-size: 12px;
    color: #555;
    font-style: italic;
    margin-top: 5px;
}

.slider-line {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.slider-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    flex: 1;
    position: relative;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 5px;
}

.slider-labels .label {
    font-size: 12px;
    color: #555;
    text-align: center;
}

.slider {
    width: 100%;
    background: linear-gradient(to right, red, yellow, green);
    cursor: pointer;
    border-radius: 8px;
    appearance: none;
    height: 12px;
    outline: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.slider:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    margin-top: -4px;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.slider-value {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
    width: 60px;
    text-align: right;
}

.slider-status {
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
}

.save-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: fadeout 2s forwards;
}

@keyframes fadeout {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

@media (max-width: 768px) {
    .competence-sidebar {
        position: static;
        width: 100%;
        margin-bottom: 20px;
    }

    .grille-form {
        padding-left: 0;
    }
}

/*
	TABLEAU DES ETUDIANTS
*/

.table-etudiants {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: var(--background-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.table-etudiants thead {
    background-color: var(--secondary-color);
}

.table-etudiants th, .table-etudiants td {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-size: 14px;
}

.table-etudiants th {
    color: var(--primary-color);
    font-weight: bold;
}

.table-etudiants tbody tr:hover {
    background-color: #f5f5f5;
}

.statut-non-inscrit {
    color: #999; 
    font-style : italic;
    font-size: 12px;
}

.statut-voir{
    color: var(--text-color); 
}

.statut-evaluer{
    background-color: var(--incomplete-color); 
	color : var(--background-color);
}

.statut-evaluer a, .statut-voir a, .statut-modifiable a{
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
	color : var(--text-color);
}

.statut-evaluer:hover{
	color : var(--incomplete-color);
}

.statut-finir{
    background-color: var(--partial-color); 
	color : var(--background-color);
}

.statut-finir a{
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
	color : var(--text-color);
}

.statut-finir:hover{
	color : var(--partial-color);
}


.statut-termine{
    background-color: rgba(46, 204, 113, 0.79); 
	color : var(--background-color);
}

.statut-termine a{
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
	color : var(--text-color);
}

.statut-termine:hover{
	color : var(--complete-color); 
}

.button-grille-ids {
	width : 100%;
	margin : auto;
	text-align : center;
}

.liste-comp{
    display: inline-block;
    align-items: center;
    justify-content: center;
	padding : 0 1%;
	margin : 0 1%;
	text-align : center;
}

.liste-comp .comp-nom{
	text-transform: uppercase;
    font-weight: bold;
}

.button-grille-ids button{
	margin : 0 1%;
}

.vos-grilles-bloc{
	padding : 0 1%;
}

/* 
    CARTE ETUDIANTS/COMPETENCES
*/

.carte-dep-etu{
	width : 97%;
	margin : auto;
	background-color : var(--secondary-color);
	border-radius : 19px;
	padding : 0 1%;
	box-shadow: 0 0 19px rgba(0,0,0,0.5);
}

.carte-anne-etu{
	border : 1px solid var(--primary-color);
	width : 97%;
	margin : 1% auto;
	display : flex;
	border-radius : 19px;
	padding : 0 1%;
}

/* Conteneur des cartes avec flexbox */
.grille-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

/* Carte individuelle avec largeur fixe et hauteur variable */
.grille-card {
    width: 231px; 
    margin: 10px;
    perspective: 1000px; 
    box-shadow: 0 0 10px transparent; /* Halo par défaut transparent */
    transition: box-shadow 0.3s ease;
    position: relative; /* Pour le positionnement absolu des faces */
    display: flex;
    flex-direction: column;
}

.card-inner.complete {
    box-shadow: 0 0 19px var(--complete-color);
    border-radius: 10px;
}

.card-inner.partial {
    box-shadow: 0 0 19px var(--partial-color);
    border-radius: 10px;
}

.card-inner.incomplete {
    box-shadow: 0 0 19px var(--incomplete-color);
    border-radius: 10px;
}

/* Inner card pour l'effet de retournement */
.card-inner {
    display: grid; /* Utilisation de CSS Grid pour superposer les faces */
    position: relative;
    width: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

/* Effet de retournement au survol */
.grille-card:hover .card-inner {
    transform: rotateY(180deg);
}

/* Face avant de la carte */
.card-front, .card-back {
    grid-area: 1 / 1 / 2 / 2; /* Superposition dans le même espace */
    backface-visibility: hidden;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--background-color);
    padding: 20px;
    box-sizing: border-box;
}

/* Face arrière de la carte */
.card-back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #fff; /* Texte blanc pour la lisibilité */
}

.card-back.complete {
	background-color : var(--complete-color);
}

.card-back.partial {
    background-color : var(--partial-color);
}

.card-back.incomplete {
    background-color : var(--incomplete-color);
}

.card-back ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.card-back ul li{
	text-align : center;
}


/* Titre de la face avant */
.card-front h5 {
    margin-top: 0;
    font-size: 1.1em;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

/* Liste des compétences */
.competence-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

/* Items de la liste des compétences */
.competence-list li {
    margin-bottom: 8px;
    font-size: 14px;
}

.button-action{
    background-color: #ffffff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
	padding : 1%;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button-action:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Bouton d'action */
.card-action {
    background-color: #ffffff;
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 10px; /* Espacement par rapport au contenu */
}

/* Effet au survol du bouton d'action */
.card-action:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.filtre-groupe{
	text-align : center;
}

/* Responsivité pour les petits écrans */
@media (max-width: 768px) {
    .grille-card {
        width: 100%; /* Les cartes prennent toute la largeur disponible */
    }

    .card-inner {
        /* Aucun ajustement spécifique nécessaire */
    }

    .card-front, .card-back {
        /* Aucun ajustement spécifique nécessaire */
    }
}

/*
	Page d'inscription
*/

.button-group {
    display: flex;
    gap: 5px;
    justify-content: center; 
    margin-top: 5px; 
}

.bulk-action-button {
    padding: 5px 8px;
    font-size: 0.8em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.bulk-inscrire-button {
    background-color: #28a745;
    color: white;
}

.bulk-inscrire-button:hover {
    background-color: #218838; 
}

.bulk-desinscrire-button {
    background-color: #dc3545; 
    color: white;
}

.bulk-desinscrire-button:hover {
    background-color: #c82333; 
}


.bulk-action-form {
    display: inline; 
}

.bulk-action-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.5);
}

.alert {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745; 
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
    z-index: 1001;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.alert.error {
    background-color: #dc3545; 
}

.alert.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

/*
	affectation
*/

.affectation-button{
	padding: 5px 8px;
    font-size: 0.8em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.affectation-button:hover {
    background-color: var(--border-color);
}

.affectation-button img{
	width : 11px;
}

/*
	Rechercher
*/

.rechercher{
	width : 100%;
	text-align : center;
}

.form-group-rechercher {
	display : inline-block;
    margin-bottom: 20px;
    padding : 0 3%;
	vertical-align : top;
}

.form-group-rechercher label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.form-group-rechercher input[type="text"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.result-count-rechercher {
    font-size: 12px;
    color: #555;
    margin-top: 5px;
}

.results-rechercher {
	width : 87%;
    margin-top: 30px;
}

.results-rechercher button{
	margin : 0 1%;
}

.results-rechercher h3 {
    font-size: 18px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.results-rechercher ul {
    list-style-type: none;
    padding: 0;
}

.results-rechercher li {
    margin-bottom: 8px;
}

/*
	Statistiques
*/
.section-stat{
	border : 1px solid var(--primary-color);
	margin : 1%;
	padding : 0 1%;
	background-color : #e0e6fd;
	border-radius : 19px;
}

.diagbat-stat{
	margin :auto;
}

/*
	Création des grilles
*/


.clone-grille-btn {
    background-color: #28a745;
    color: white;
}

.clone-grille-btn:hover {
    background-color: #218838; 
}

.crea-grille-paneau{
	flex:1; 
	border:1px solid green; 
	border-radius:5px; 
	padding:10px;
	text-align : center;
}

.section-block {
	border:1px solid #ccc; 
	padding:10px; 
	margin-bottom:10px; 
	border-radius:5px;
    background-color: var(--secondary-color);
}

#ajouter-section{
	display : block;
	margin : auto;
}

.section-block-tit{
	display:flex; 
	justify-content:space-between; 
	align-items:center;
	width : 100%;
}

.section-nom-input{
	border : 1px solid green;
}

.critere-block {
	border:1px dashed #aaa; 
	padding:1%; 
	border-radius:5px; 
	margin : 1% 3%;
	
}

.critere-block h3{
	margin : 0;
}

.critere-block-tit{
	display:flex; 
	justify-content:space-between; 
	align-items:center;
}

.bloc-gauche, .bloc-milieu, .bloc-droite {
	flex: 1;
	border:1px solid #aaa;
    background-color: #fef7fa;
	border-radius:5px;
	padding : 1%;
}

.mini-table-comp {
	margin : 1%;
	padding : 1%;
	text-align : right;
    border-collapse: collapse;
    background-color: var(--background-color);
    border-radius: 5px;
}

.mini-table-comp thead {
	
	text-align : right;
    background-color: var(--secondary-color);
}

.mini-table-comp th, .mini-table-comp td {
    padding: 7px;
    border-bottom: 1px solid var(--border-color);
	font-size: 14px;
}

.mini-table-comp th {
    color: var(--primary-color);
    font-weight: bold;
}

.mini-table-comp td {
	width : 50%;
    color: var(--text-color);
}

/*
	info
*/


.block-info{
	margin-left : auto;
	padding : 1%;
	
}
.block-info .info-img{
	display : inline-block;
	vertical-align : middle;
	width : 11%
}

.block-info .info-img img{
	width : 100%;
}

.block-info .info{
	display : inline-block;
	vertical-align : middle;
	text-align : justify;
	width : 87%;
	background-color: var(--background-color);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	padding : 0.5% 1% 2% 0.5%;
}

.block-info .info h1{
	margin : 1% 10%;
}

.block-info .info img{
	width : 101px;
}

/*
	SCODOC
*/
.scodoc-connect{
	color : var(--complete-color);
}

.scodoc-disconnect{
	color : var(--incomplete-color);
	font-weight : bold;
	text-transform: uppercase;
}
.scodoc-connect img, .scodoc-disconnect img{
	display : inline-bloc;
	vertical-align : middle;
	width : 43px;
}

/*
	Historique	
*/

.historique-grille-container {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.historique-grille-form {
    flex: 1;
    padding-left: 240px; 
}

.historique-section {
	display : inline-block;
	vertical-align : top;
	margin : 1%;
}

.historique-table-etudiants {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: var(--background-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.historique-table-etudiants thead {
    background-color: var(--secondary-color);
}

.historique-table-etudiants th, .historique-table-etudiants td {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.historique-table-etudiants th {
    color: var(--primary-color);
    font-weight: bold;
}

.historique-table-etudiants tbody tr:hover {
    background-color: #f5f5f5;
}

.historique-critere-nom{
	width : 143px;
    font-size: 14px;
    color: var(--text-color);
    text-align: right;
}

.historique-critere-value {
	width : 87px;
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: left;
}

/* Conteneur principal à 2 colonnes */
.historique-main-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 99%;
    height: 80px;
    background: linear-gradient(90deg, #bde0fe, #edf6f9);
    color: #006d77;
    align-items: center; 
    padding: 0 7px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-family: 'Arial', sans-serif;
    gap: 20px;
}

.historique-left, .historique-right{
	width : 49%;
	display : inline-block;
	vertical-align : top;	
	margin-top : 10px;
}

.historique-left h3 , .historique-right h3{
    font-size: 18px;
    margin: 0;
	text-align : center;
}

.historique-controls{
	display : inline-block;
	width : 100%;
	text-align : center;
}

.historique-slider-input{
	width : 99%;
}

.historique-slider-input input{
	width : 100%;
}

.historique-right{
    font-size: 18px;
}

#historique-date-display{
	font-weight : bold;
}

#historique-modification-display{
	text-align : center;
}

#historique-ancienne-note{
	font-style : italic;
	color : red;
	font-weight : bold;
}

#historique-nouvelle-note{
    font-size: 23px;
	font-weight : bold;
	color : green;
}

#historique-utilisateur-modifiant{
    font-weight: bold;
}

#historique-num-critere{
	font-weight: bold;
	color : var(--text-color);
}
.flash {
  background-color: var(--partial-color); 
  color : var(--background-color);
  transition: background-color 0.23s ease;
}

/**********************************
	consultation
**********************************/

.mess_err{
	border : 3px solid red;
	border-radius : 23px;
	background-color : rgba(255, 0, 0, 0.57);
	padding : 3%;
	margin : auto;
	width : 57%;
	text-align : center;
	font-size : 2em;
}

.competence-sidebar h5{
	margin : 0;
}

.competence-sidebar .nom{
	text-align : right;
	font-size : x-small;
}