/* fichier : css/dirigeant_chatgpt.css */
/* Typo et reset minimal */
body {
  /*margin: 0;
  padding: 0;*/
  font-family: 'Noto Sans Display', sans-serif;
  background: #ffffff;
  
}
.news-tickers {
	background:none !important;
}
.news-ticker {
        top: 0 !important;
}
.main-container {
    position: relative; /* nÃ©cessaire pour le positionnement du ::before */
    overflow: hidden; /* pour Ã©viter que le blur dÃ©borde */
}

.main-container::before {
    content: "";
    position: fixed;
    top: 0 !important;
    left: 0;
	right:0;
	bottom:0;
    width: 100vw;
    height: 100vh;

    background-image: url('/images/fond/elections.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px) brightness(0.85);
    z-index: -1; /* met l'image derriÃ¨re le contenu */
}
 .page-container {
            position: relative;
            width: 100%;
            max-width: 1170px;
            margin: 30px auto 0 auto;
			 padding: 20px;
            background: rgba(72,92,116,0.45);
			color:#fff;
            border-radius: 20px;
            z-index: 1;
            box-shadow: 0 0 18px #bbb8;
            padding-bottom: 32px;
			text-align:justify;
        }
.content-block { background:none !important; box-shadow:none !important; }
.header-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            margin-bottom: 32px;
            margin-top: 24px;
			
        }
        .header-container img {
            width: 64px; height: auto;
			border-radius:8px;
			
        }
        .header-container h1 {
            
            color: #0b2d68;
            letter-spacing: 1px;
            margin: 0;
			
        }
/* ==== FILIGRANE GÃ‰NÃ‰RAL ==== */
.dirigeant-page {
  position: relative;
  width: 750px;
  margin-top:25px;
  overflow: hidden;
  background: #ffffff;
  margin-left:40px;
  padding-top:40px;
  border-radius:8px;
}
.dirigeant-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}
.dirigeant-page > * {
  position: relative;
  z-index: 1;
}
/*regions*/
.regions-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.regions-list li {
  margin: 10px 0;
}

.regions-list a {
  color: #0e4c92;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.regions-list a:hover {
  color: #e86c00;
}

details summary {
  font-weight: bold;
  cursor: pointer;
  padding: 12px 15px;
  background: #f7f7f7;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: background 0.3s;
  list-style: none;
  color:#00507D;
}

details[open] summary {
  background: #00507D;
  color: #fff;
  border-color: #00507D;
}
.regions-list li {
  margin: 8px 0;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.3s;
}

/* Alternance des lignes */
.regions-list li:nth-child(odd) {
  background-color: #f9f9f9; /* Gris très clair */
}

.regions-list li:nth-child(even) {
  background-color: #eef4fa; /* Bleu très clair */
}

.regions-list li:hover {
  background-color: #e0ecff; /* Bleu un peu plus vif au survol */
}

.regions-list a {
  display: block;
  width: 100%;
  color: #0e4c92;
  font-weight: bold;
  text-decoration: none;
}

.regions-list a:hover {
  color: #e86c00;
}





/* Boutons Biographie & Galerie */
.dirigeant-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto;
  max-width: 700px;
}
.action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: #FFD290;
  color: #00507D;
  font-weight: 600;
  border: 2px solid #FFD290;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.action-btn .icon {
	color:#FF6A00;
  font-size: 1.2rem;
  line-height: 1;
}
.action-btn:hover,
.action-btn:focus {
  background: #E6C07A;
  color: #00507D;
  outline: none;
}

/* Section PrÃ©dÃ©cesseurs */
.predecessors {
  position: relative;
  padding: 2rem 1rem 1rem;
  background: transparent;
   text-align: center;
}
.predecessors::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #FF6A00;
  border-radius: 2px;
}


.pre-title {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: 1px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  
  /* ðŸ’¥ C'est ici qu'on ajoute pour le centrer */
  margin: 1rem auto 2rem;
  text-align: center;
}

.pre-title-wrapper {
  width: 100%;
  text-align: center;
}




/* Grille responsive */
.cards-container {
  display: grid !important;
  gap: 0.75rem !important;
  justify-content: center !important;
  max-width: 700px;
  margin: 0 auto !important;
  grid-template-columns: repeat(4, 165px) !important;
}
.suggestions01 {
  position: relative !important; /* ou simplement supprime "position: absolute" */
  border: 1px solid #ff7200 !important;
  background: white !important;
  z-index: 1000 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  margin-top: 6px !important; /* petit espacement sous le champ */
  max-height:200px;
  overflow-y:auto;
}
.suggestions02 {
  position: relative !important; /* ou simplement supprime "position: absolute" */
  border: 1px solid #ff7200 !important;
  background: white !important;
  z-index: 1000 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  margin-top: 6px !important; /* petit espacement sous le champ */
  max-height:200px;
  overflow-y:auto;
}

/* affichage 15 elections */
.election-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes fixes */
  gap: 16px;
}

.election-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* occupera la même hauteur que les autres */
  border: 1px solid #ccc;
  border-left: 6px solid #ff7200;
  border-radius: 12px;
  padding: 16px;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.election-card:hover {
  transform: translateY(-4px);
}

.election-card .title {
  font-size: 18px;
  font-weight: bold;
}

.election-card .meta {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
}

.election-card .pourcentage {
  font-size: 20px;
  font-weight: bold;
  color: #0077cc;
}

.election-card .scrutin {
  font-size: 13px;
  font-style: italic;
  color: #999;
}


@media (max-width: 1024px) {
  .cards-container {
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: 540px;
  }
}
@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 360px;
  }
.election-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
}

.election-card {
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 16px;
  width: 300px;
  background-color: #fdfdfd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s;
  overflow: hidden;
}
}

@media (max-width: 480px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr) !important;
    
  }
    .info-cards {
  width: 360px;
}
  .info-card {
  max-width: 80px;
}


}
/* Cartes prÃ©dÃ©cesseurs */
.card {
  background: #F2F8FB;
  width: 165px;
  border-radius: 6px;
  color: #00507D;
  border: 1px solid #FF6A00;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out,
              transform 0.6s ease-out,
              box-shadow 0.3s ease,
              transform 0.3s ease;
}
.cards-container .card.visible {
  opacity: 1;
  transform: translateY(0);
}
.cards-container .card:hover,
.cards-container .card:focus {
  transform: translateY(-6px) rotateZ(-1deg);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  outline: none;
}
.card-image {
  text-align: center;
  padding: 0.5rem 0;
  z-index: 1;
}
.card-image img {
  width: 65px;
  height:101px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #FF6A00;
}
.card-content {
  flex: 1;
  padding: 0.4rem 0.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  text-align: center;
  z-index: 1;
}
.card-lastname { font-size: 0.95rem; font-weight: 700; text-transform: uppercase; color: #00507D; margin-bottom: 0.15rem; }
.card-title     { font-size: 0.9rem;  font-weight: 600; color: #007A9E; margin: 0.1rem 0; }
.card-function  { font-size: 0.8rem;  font-weight: 500; color: #333; margin: 0.15rem 0; }
.card-source    { font-size: 0.7rem; line-height: 1.3; color: #FF6A00; white-space: pre-line; overflow: visible; }

/* Animation pour IntersectionObserver */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ======================= *//*     RESPONSIVE FONTS    *//* ======================= *//* Petites tablettes et smartphones */
@media (max-width: 768px) {  
body {    font-size: 0.96rem;  } 
.dirigeant-page { width:100%; margin-right:10px; padding: 0 10px; } 
.profile-hero {       padding: 0.5rem 0.5rem 2rem 0.5rem;  }  
.hero-image img {    width: 65px;    margin-left: 0;  }  
.hero-info .profile-name {    font-size: 2rem;  }  
.hero-info .profile-role {    font-size: 1.1rem;  }  
.pre-title,  .biographie-titre {    font-size: 1.25rem;  }  
.biographie-contenu {    padding: 16px;    font-size: 1rem;  }  
.info-card .icon { font-size: 1.2rem; }  
.info-card .label { font-size: 0.8rem; }  
.info-card .value { font-size: 1rem; }  
.info-card .subvalue { font-size: 0.7rem; }  
.card-lastname { font-size: 0.8rem; }  
.card-title { font-size: 0.77rem; }  
.card-function { font-size: 0.68rem; }  
.card-source { font-size: 0.62rem; }  
.action-btn {    font-size: 0.98rem;    padding: 0.5rem 0.8rem;  }
}

@media (max-width: 480px) {  

body {    font-size: 0.90rem; }  
.dirigeant-page { width:100%; margin:75px 5px auto 5px; } 
.profile-hero {    padding: 0.5rem 0.2rem 1.5rem 0.2rem;  }  
.hero-info .profile-name {    font-size: 1.3rem;  } 
.pre-title,  .biographie-titre {    font-size: 1.02rem;  }  
.biographie-contenu {    padding: 8px;    font-size: 0.98rem;  }  
.info-card .icon { font-size: 1.1rem; }  
.info-card .label { font-size: 0.68rem; }  
.info-card .value { font-size: 0.72rem; }  
.info-card .subvalue { font-size: 0.64rem; }  
.card-lastname { font-size: 0.72rem; }  
.card-title { font-size: 0.68rem; }  
.card-function { font-size: 0.6rem; }  
.card-source { font-size: 0.53rem; } 
.action-btn {    font-size: 0.92rem;    padding: 0.4rem 0.6rem;  }
 }
 
 
    .chart-container {
		 width:480px;
		 height:240px;
	}
	#demiDonut {
		
		 width:480px;
		 height:240px;
	}
    @media (max-width: 480px) {
		  .chart-container {
		 width:340px;
		 height:270px;
	}
	}
    .top-zone {
      display: flex;
      flex-direction: row;
      justify-content: center;
      gap: 30px;
      margin-top: 40px;
	  color:#00507D;
	  
    }
    .left-zone, .right-zone {
      width: 530px;
      background: #fff;
      border-radius: 18px;
      box-shadow: 0 4px 18px rgba(20,40,100,.09);
      padding: 36px 36px 24px 36px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      min-height: 420px;
	      color: #fff;
    }
	.left-zone-pres {
		width: 800px;
      background: #fff;
      border-radius: 18px;
      box-shadow: 0 4px 18px rgba(20,40,100,.09);
      padding: 36px 36px 24px 36px;
      display: flex;
      flex-direction: row;
      min-height: 420px;
	   
	}
	.right-zone-pres {
      width: 350px;
      background: #fff;
      border-radius: 18px;
      box-shadow: 0 4px 18px rgba(20,40,100,.09);
      padding: 36px 36px 24px 36px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      min-height: 420px;
	      color: #fff;
    }
	
	
    .right-zone {
      align-items: flex-start;
      padding: 36px 36px 24px 36px;
    }
    .scrutin-title {
      font-weight: 700;
      font-size: 1.3em;
      margin-bottom: 10px;
    }
    .scrutin-info {
            color: #fff;
      font-size: 1em;
      margin-bottom: 18px;
	  text-align:justify;
    }
    .scrutin-list {
      list-style: none;
      padding-left: 0;
      margin: 0;
      font-size: 1em;
    }
    .scrutin-list li {
      margin-bottom: 6px;
    }
    .seats-number {
      font-size: 2.3em;
      font-weight: bold;
      margin-top: 15px;
      color: #fff;
      letter-spacing: 2px;
    }
    .bottom-zone {
      margin: 32px auto 0 auto;
      max-width: 1100px;
      background: none;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
	   color:#00507D;
    }
    .cards-row {
      display: flex;
      flex-direction: row;
      gap: 18px;
      margin-bottom: 10px;
    }
	

  .result-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(50,50,100,0.07);
  padding: 20px 24px;
  min-width: 220px;
  min-height: 160px;
  position: relative; /* Nécessaire pour que le ruban soit bien positionné */
  margin: 12px 0;
  overflow: hidden;
}

.cards-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 18px;
  width: 100%;
}
.cards-grid .result-card {
  margin: 0 !important;
  width: 100%;
  min-width: 0;
}
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr !important;
  }
}

.color-ribbon {
  position: absolute;
  left: 15px;
  top: 0;
  width: 22px;
  height: 70%; /* Ajuste ici selon l'effet souhaité */
  
  margin-right: 0;
}

.result-content {
  margin-left: 30px; /* Pour laisser la place au ruban */
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
    .result-card .parti {
      font-weight: 700;
      font-size: 1.1em;
      margin-bottom: 4px;
    }
    .result-card .pourcent {
      font-size: 2em;
      font-weight: bold;
      margin-bottom: 2px;
    }
    .result-card .votes, .result-card .deputes {
      font-size: 1em;
      margin-bottom: 2px;
    }
    .liste-autres {
      background: #fff;
      border-radius: 14px;
	  border:1px solid #ff7200;
      box-shadow: 0 1px 5px rgba(20,40,100,0.06);
      padding: 15px 22px 8px 22px;
      margin-top: 0px;
    }
    .liste-autres ul {
      margin: 0;
      padding-left: 0;
      list-style: none;
    }
    .liste-autres li {
      padding: 6px 0;
      border-bottom: 1px solid #f2f2f7;
      font-size: 1.1em;
      display: flex;
	   align-items: center;
      justify-content: space-between;
    }
	.liste-autres li > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 2;
}
    .liste-autres li:last-child {
      border-bottom: none;
	    flex: 1;
  text-align: right;
    }
	.liste-autres li span {
  /*flex: 1;*/
  text-align: left;
}
.puce-couleur {
  width: 16px;
  height: 16px;
  border-radius: 6px;
  margin-right: 8px;
  display: inline-block;
  border: 1px solid #e0e0e0;
}
.scrutin-tabs {
  display: flex;
  flex-direction: row;
  gap: 7px;
  margin-bottom: 28px;
  border-bottom: 2px solid #e3e9f2;
  padding-bottom: 2px;
}
.tab-btn {
  background: rgba(72,92,116,0.45);
  border: none;
  font-size: 1.1em;
  font-weight: 600;
  /*color: #5d6f88;*/
  color: #00507D;
  padding: 8px 18px 10px 18px;
  margin-bottom: -2px;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: background 0.13s, color 0.13s;
  border-bottom: 3px solid transparent;
}
.tab-btn.active, .tab-btn:hover {
  color: #00507D;
  background: #f7fafd;
  border-bottom: 3px solid #ff7200;
}
.scrutin-tab-content {
  width: 100%;
  animation: fadeIn 0.18s;
}
@keyframes fadeIn {
  from { opacity:0; transform: translateY(18px);}
  to { opacity:1; transform: none;}
}
.open-recaps-modal {
  background: #00507D;
  color: #fff;
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1em;
  margin: 12px 0 0 0;
  cursor: pointer;
  transition: background 0.2s;
}
.open-recaps-modal:hover {
  background: #0178C6;
}
/* Style commun pour les boutons primaires */
.open-recaps-modal,
.harmonise-btn {
  background: #00507D;
  color: #fff;
  padding: 10px 22px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1em;
  margin: 10px 0 10px 0;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(30,60,120,0.07);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.open-recaps-modal:hover,
.harmonise-btn:hover {
  background: #0178C6;
}

/* Harmonisation du select */
.harmonise-select {
  background: #fff;
  color: #00507D;
  padding: 9px 18px;
  border: 1.5px solid #00507D;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1em;
  box-shadow: 0 1px 5px rgba(30,60,120,0.05);
  outline: none;
  transition: border 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
  min-width: 160px;
  height: 44px;
}
.harmonise-select:focus {
  border-color: #3392e3;
  box-shadow: 0 0 0 2px #e1edfa;
}
.harmonise-select option {
  color: #00507D;
  background: #fff;
  font-weight: 500;
}
label[for="scrutin-select"] {
  font-weight: 600;
  color: #00507D;
  margin-bottom: 3px;
  display: inline-block;
}
.center-form {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centre horizontalement */
  width: 100%;
}
.header-container {
            display: flex;
           gap: 20px;
            margin-bottom: 32px;
            margin-top: 24px;
			display: flex;
            flex-direction: row;
			flex-wrap: wrap;
			justify-content: center;
			align-items: stretch; /* ÉTIRE chaque enfant à la même hauteur */
			
        }
        .header-container img {
            width: 64px; height: auto;
			border-radius:8px;
			
        }
        .header-container h1 {
            font-size: 2.4rem;
            color: #0b2d68;
            letter-spacing: 1px;
            margin: 0;
        }
		.header-container h2 {
            font-size: 2.4rem;
            color: #fff;
            letter-spacing: 1px;
            margin: 0;
        }
        .leaders-container {
            display: flex;
            justify-content: center;
            gap: 24px;
            flex-wrap: wrap;
            margin-bottom: 25px;
        }
		
.tour-block {
  margin-bottom: 32px; /* espace entre les blocs de tours */
}

.tour-block h2 {
  width: 100%;
  text-align: left;   /* ou left selon goût */
  margin-bottom: 16px;
  font-size: 2.4rem;
            color: #fff;
            letter-spacing: 1px;
            margin: 0;/* espace sous le titre */
} 
.resultats-container {
	
    display: flex;
	justify-content:left;
    flex-direction: column;
    gap: 20px;
}

.candidat {
    display: flex;
    align-items: center;
	justify-content:left;
    /*justify-content: space-between;*/
    gap: 0px;
}

.candidat-nom {
    width: 200px;
    font-weight: 400;
    color: #0b2d68;
	vertical-align:center;
	display:flex;
	flex-direction:row;
	
}
.winner-nom {
    width: 150px;
    font-weight: 700;
    color: #fff;
}

.barre-container {
    width: 120px; /* Définit une largeur uniforme */
    height: 25px;
    background: #e6e9ee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

.barre {
    width: 100%; /* Assure une barre pleine par défaut */
    height: 100%;
    transition: width 0.6s ease;
}

.pourcentage {
    width: 60px;
    text-align: right;
    font-weight: 700;
    color: #0b2d68;
}
.profile-hero {
 width: 330px;
   margin: 0 auto;
  display: flex;
  justify-content: left;
  align-items: left;
  padding: 1rem 1rem;
  gap: 1rem;
  /* fond semi-transparent pour laisser apparaître le filigrane de .dirigeant-page */
  background-color: #fff;
  padding-bottom:30px;
  padding-right:10px;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.12);
 

}
.profile-winner {
 width: 450px;
   margin: 0 5px;
  display: flex;
  justify-content: left;
  align-items: left;
  padding: 1rem 1rem;
  gap: 1rem;
  /* fond semi-transparent pour laisser apparaître le filigrane de .dirigeant-page */
  background-color: #fff;
  padding-bottom:30px;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.12);
  flex-direction:column;

 

}
.cadre {
 width: 150px;
   display: flex;
  justify-content: left;
  align-items: center;
  flex-direction:column;
  
}
.cadre-int {
	  /* fond semi-transparent pour laisser apparaître le filigrane de .dirigeant-page */
  
   width: 150px;
   margin: 0 auto;
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 0.5rem 0.5rem;
  gap: 0.5rem;
  background-color: #fff;
 padding-bottom:15px;
  margin-bottom:15px;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.12);
  flex-direction:column;
}
.cadre-int h2 {
	  margin: 0.1rem 0 0;
  font-size: 1.0rem;
  font-weight: 600;
  color: #0b2d68;
}
.cadre-int p {
	  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0b2d68;
}
 .leader-card {
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 2px 14px rgba(0,0,0,0.12);
            width: 350px;
            padding: 15px 8px 18px 8px;
                       display: flex;
            flex-direction: column;
        }
        
        .leader-card h2 {
            font-size: 1.02rem;
            margin: 6px 0 3px 0;
            color: #0b2d68;
            font-weight: 700;
			text-align:center;
        }
        .leader-card p {
            font-size: 1rem;
            color: #0b2d68;
            margin: 0 0 9px 0;
        }
.win-image img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #FF6A00;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);

 
}		
.hero-image img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
 /* border: 4px solid #FF6A00;*/
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  margin-left:8%;
 
}
.hero-info {
   justify-content:left;
} 
.hero-info .profile-name {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}
.hero-info .profile-role {
  margin: 0.2rem 0 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFD290;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
 
}
.hero-info h2 {
 margin: 0.2rem 0 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0b2d68;
  
  
}

        .info-cards {
            display: flex;
            gap: 20px;
            margin: 35px auto 0 auto;
            flex-wrap: wrap;
        }
        .info-card {
            background: #d1dded;
			justify-content: left;
			border-radius: 12px;
            padding: 13px 10px 13px 10px;
            width: 100%;
            box-shadow: 0 2px 8px rgba(0,0,0,0.10);
        }
        .info-card h3 {
            margin-bottom: 7px;
            color: #0b2d68;
            font-size: 1.06rem;
        }
        .info-card p {
            font-size: 1rem;
            font-weight: bold;
            color: #000;
            margin: 0;
        }
		.info-card .icon   { font-size: 1.6rem; color:#054780; }
		
		.info-row {
    display: flex;
    align-items: left;
    gap: 5px; /* espace entre le h3 et le p */
}

.info-row h3, .info-row p {
    margin: 0;
}
/*ACCORDEON*/
.scrutin-accordion {
  border-radius: 8px;
  overflow: hidden;
}
.accordion-item {
	max-width:320px;
  border-bottom: 1px solid #b3bed2;
  background:rgba(72,92,116,0.45);
}
.accordion-header {
  background: #00507D;
  color: #fff;
  padding: 16px 18px;
  cursor: pointer;
  border: none;
  outline: none;
  width: 100%;
  font-size: 1.1em;
  text-align: left;
  transition: background 0.15s;
}
.accordion-header.active, .accordion-header:hover {
  background: #e86c00;
}
.accordion-panel {
  background: rgba(72,92,116,0.45);
    color: #fff;
  padding: 0 18px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s cubic-bezier(.4,0,.2,1);
  /* Pour cacher le contenu quand fermé */
}
.accordion-panel > * {
  margin-top: 18px;
}
.accordion-panel.open {
  /* Optionnel, mais utile si tu veux mettre autre chose quand ouvert */
}
/*LEGENDE*/
.legend-modern {
  max-width: 600px;
  margin: 50px auto 0 auto;
  background: rgba(255,255,255,0.95);
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.13);
  padding: 32px 28px 22px 28px;
  font-family: 'Inter', Arial, sans-serif;
}

.legend-modern h6 {
  margin-bottom: 22px;
  letter-spacing: 0.5px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #222;
}

.legend-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Deux colonnes */
  gap: 16px 18px;
}

@media (max-width: 768px) {
  .legend-modern {
    max-width: 98vw;
    padding: 20px 8px 12px 8px;
  }
  .legend-list {
    grid-template-columns: 1fr 1fr;  /* <-- Garde deux colonnes ! */
    gap: 10px 10px;  /* Réduit l'espacement */
  }
  .legend-item {
    font-size: 0.90rem;   /* Un peu plus petit */
    padding: 3px 0 3px 0; /* Moins de hauteur */
    min-height: 26px;     /* Optionnel : force une petite hauteur */
  }
  .legend-color {
    width: 18px; 
    height: 18px;  /* Petites pastilles */
    margin-right: 10px;
  }
}
.legend-item {
  display: flex;
  align-items: center;
  font-size: 0.98rem;
  line-height: 1.3;
  color: #222;
  background: transparent;
  border-radius: 10px;
  padding: 5px 0 5px 0;
  transition: background 0.16s;
}
.legend-item:hover {
  background: #f4f4f6;
}
.legend-color {
  width: 22px; height: 22px;
  border-radius: 50%;
  margin-right: 14px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  border: 1.2px solid #eee;
  flex-shrink: 0;
}
    /* Responsive */
    @media (max-width: 1100px) {
      .top-zone { flex-direction: column; align-items: center;}
      .left-zone, .left-zone-pres, .right-zone, .right-zone-pres { width: 95vw; min-width: 0; }
      .bottom-zone { max-width: 98vw;}
      .cards-row { flex-direction: column; gap: 10px;}
    }
	 @media (max-width: 768px) {
	.left-zone-pres {
		   
          width:98%;
			padding-left:20px;
    	   	}
	 .page-container {
           
            width: 98%;
            
        }

	 }
	 
.scrutin-arrow {
  background: #314151;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 6px 13px;
  font-size: 1.25em;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 1px 6px rgba(0,0,0,.10);
}
.scrutin-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.harmonise-select {
  border-radius: 7px;
  padding: 7px;
  min-width: 110px;
}
  
  .recap-scrutin-block {
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ececec;
}
.recap-scrutin-block:last-child {
  border-bottom: none;
}