/*
- CSS GENERAL
- CSS_GENERAL_ICON_INFO
- CSS_HEADER_FOOTER_LOGO
- CSS_MENU_NAV
- CSS_DONNEES_PERSONNELLES - Section NOM-PRENOM-DATE NAISSANCE
- CSS_GESTION_INPUT - CHECKBOX_RADIO_
- CSS PAGE TOUTE AUTORISATION
*/


/**============================= CSS GENERAL =============================**/
#contenu
{ 
	width: 1200px !important; 
  margin-top: 10px !important;  
  margin-bottom: 10px !important;  
  border-radius: 8px !important; 
}

#entete
{ 
	height: 100% !important; 
  background-image: none !important;
  background-repeat: no-repeat !important; 
  background-position: initial !important;
  background-color: transparent !important;
}


form
{
	border-bottom-width: 0px !important;
}

h1
{
	background-color: #00975f !important;
}

input[readonly] 
{
  background-color: #f2f2f2 !important;
  color: #666 !important;
  cursor: not-allowed !important;
}

#menu
{
	/*display: none;*/
}

/*=== CCS Section ===*/
.infos-exp-container {
  border: 2px solid #ccc !important;
  border-radius: 8px !important;
  background-color: #fdfdfd !important;
  padding: 20px !important;
  margin: 10px auto 30px auto !important;
  max-width: 1100px !important;
  font-family: Arial, sans-serif !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
}

.infos-exp-container h3 {
  margin-top: 0 !important;
  color: #2c3e50 !important;
  font-size: 20px !important;
  margin-bottom: 15px !important;
}

.infos-exp-container p, .infos-exp-container table{
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #444 !important;
  margin-bottom: 0px !important;
}

.infos-exp-container table {
  width: 100% !important;;
  border-collapse: collapse !important;
}

.infos-exp-container th {
  text-align: left !important;
  color: #555 !important;
  padding: 8px 10px !important;
  width: 21% !important;
  font-weight: normal !important;
  background-color: #f2f2f2 !important;
  font-size: 16px !important;
}

.infos-exp-container td {
  padding: 8px 10px !important;
  color: #333 !important;
  font-size: 17px !important;
  width: 30% !important;
}

.infos-exp-container li {
  font-size: 16px !important;
  color: #444 !important;
}

.infos-exp-container a {
  display: inline-block !important;
  margin-top: 8px !important;
  text-decoration: none !important;
  color: #507EB2 !important;
  font-weight: bold !important;
}

.infos-exp-container a:hover {
  text-decoration: underline !important;
}

.infos-exp-container input {
  	margin: 0px !important;
  	width: 80% !important;
}

.infos-exp-container select {
  	margin: 0px !important;
  	width: 83% !important;
}


/*** CSS bouton ***/
#bouton {
  background-color: #00975f /* Vert HETS -- #6c94c2;  bleu plus doux que #507EB2 */ !important;
  color: white !important;
  padding: 10px 25px !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 16px !important;
  font-family: Arial, sans-serif !important;
  font-weight: bold !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  transition: background-color 0.3s ease, transform 0.2s ease !important;
  display: block !important;
  margin: 10px auto !important;
}

#bouton:hover {
  background-color: #00b377 !important; /*#5a85b5; assombri légèrement au survol */
  transform: scale(1.02) !important;
}

#bouton:active {
  background-color: #007c4d !important;
  transform: scale(0.98) !important;
}

/*=== CSS validation positive / finalisation ===*/
.confirmation-zone {
  max-width: 800px !important;
  margin: 40px auto !important;
  background-color: #eafaf1 !important;
  padding: 20px 30px !important;
  border-radius: 8px !important;
  font-family: Arial, sans-serif !important;
  color: #2c3e50 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
}

.confirmation-zone h3 {
  margin-top: 0 !important;
  font-size: 18px !important;
  color: #27ae60 !important;
}

.confirmation-zone p {
  margin: 10px 0 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

/*** MESSAGE ERREUR ***/
#erreur {
  background-color: #fee2e2 !important;      /* rouge clair */
  border: 1px solid #ef4444 !important;      /* rouge vif */
  color: #991b1b !important;                 /* texte rouge foncé */
  padding: 10px 14px !important;
  border-radius: 6px !important;
  font-size: 16px !important;
  margin: 16px auto !important;
  max-width: 1100px !important;
  font-family: Arial, sans-serif !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
  animation: fadeIn .3s ease !important;
}

@keyframes fadeIn {
  from { opacity: 0 !important; transform: translateY(-5px) !important; }
  to { opacity: 1 !important; transform: translateY(0) !important; }
  }
  /* televersement - n affiche pas le texte pour message erreur */
  .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/** obligatoire **/
.required-marker {
  color: #e11d48 !important;
}

/**============================= FIN CSS GENERAL =============================**/

/*--------------------------------------------------------------------------*/

/**============================= CSS_GENERAL_ICON_INFO =============================**/
.icon-info {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 5px !important;
  font-size: 16px !important;
  color: #0074B7 !important; /* Bleu HES-SO */
  cursor: help !important;
  transition: color .2s, transform .2s !important;
}
.icon-info:hover {
  color: #005f8f !important;
  transform: scale(1.1) !important;
}

/* === Icône info : position et apparence === */
.icon-info[ewnet\\:infobulle] {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 6px !important;
  font-size: 15px !important;
  color: #0074B7 !important; /* Bleu HES-SO */
  cursor: help !important;
  user-select: none !important;
  transition: color .2s, transform .2s !important;
}

.icon-info[ewnet\\:infobulle]:hover,
.icon-info[ewnet\\:infobulle]:focus {
  color: #005f8f !important;
  transform: scale(1.15) !important;
}

/* === Infobulle stylisée === */
.icon-info[ewnet\\:infobulle]::after {
  content: attr(ewnet\\:infobulle) !important;
  position: absolute !important;
  bottom: 130% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  max-width: 320px !important;
  background: rgba(17, 24, 39, 0.95) !important; /* fond sombre */
  color: #fff !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  text-align: left !important;
  white-space: pre-line !important; /* pour les sauts de ligne dans l''attribut */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: opacity .25s ease !important;
  z-index: 999 !important;
}

/* Petite flèche sous la bulle */
.icon-info[ewnet\\:infobulle]::before {
  content: "" !important;
  position: absolute !important;
  bottom: 118% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border-width: 6px !important;
  border-style: solid !important;
  border-color: rgba(17, 24, 39, 0.95) transparent transparent transparent !important;
  opacity: 0 !important;
  transition: opacity .25s ease !important;
}

/* Apparition au survol ou focus */
.icon-info[ewnet\\:infobulle]:hover::after,
.icon-info[ewnet\\:infobulle]:hover::before,
.icon-info[ewnet\\:infobulle]:focus::after,
.icon-info[ewnet\\:infobulle]:focus::before {
  opacity: 1 !important;
}

.icon-titre{
 	font-size: 25px !important; 
}

.icon{
 	font-size: 18px !important; 
}

/**============================= FIN CSS_GENERAL_ICON_INFO =============================**/

/*--------------------------------------------------------------------------*/

/**============================= CSS_HEADER_FOOTER_LOGO =============================**/
/* === Styles du bandeau institutionnel === */
.school-banner {
  background: linear-gradient(90deg, var(--hes-mint, #00975f) 0%, var(--hes-blue-600, #004b7b) 100%) !important;
  color: #fff !important; 
  width: 100% !important;
  padding: 1rem 0 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
  border-radius: 8px 8px 0px 0px !important; 
}

.banner-inner {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
}

.logo-left, .logo-right {
  height: 80px !important; 
  width: auto !important;
}

.banner-title {
  text-align: center !important;
  flex: 1 !important;
}

.banner-title h1 {
  margin: 0 !important;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem) !important;
  font-weight: 600 !important;
}

.banner-title p {
  margin: 0.3rem 0 0 !important;
  font-size: 0.95rem !important;
  opacity: 0.9 !important;
}

/* Responsive */
@media (max-width: 760px) {
  .banner-inner {
    flex-direction: column !important;
    text-align: center !important;
  }
  .logo-left, .logo-right {
    height: 40px !important;
  }
  .banner-title h1 {
    font-size: 1.3rem !important;
  }
}

/**============================= FIN CSS_HEADER_FOOTER_LOGO =============================**/

/*--------------------------------------------------------------------------*/

/**============================= CSS_MENU_NAV =============================**/
#parcours
{
	padding-left: 0px !important;
  margin-bottom: 0px !important;
}

/* === Structure principale === */
.nav-parcours {
  background: #f8fafc !important; /* fond doux */
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 12px 18px !important;
  margin: 10px auto !important;
  max-width: 1100px !important;
  font-family: Arial, sans-serif !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04) !important;
}

/* Liste horizontale fluide */
.nav-parcours ul {
  list-style: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 8px !important;
}

/* Éléments */
.nav-parcours li {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

/* Petites flèches entre les étapes */
.nav-parcours li:not(:last-child)::after {
  color: #94a3b8 !important;
  margin: 0 6px !important;
  font-weight: bold !important;
  font-size: 16px !important;
}

/* Liens inactifs (étapes passées ou à venir) */
.nav-parcours a.pageeditable {
  text-decoration: none !important;
  background: #e2e8f0 !important;
  color: #334155 !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  transition: all .2s ease !important;
}
.nav-parcours a.pageeditable:hover {
  background: #cbd5e1 !important;
  color: #0f172a !important;
}

/* Étape courante */
.nav-parcours a.pagecourante {
  background: #00975f !important; /* vert HETS */
  color: #ffffff !important;
  padding: 6px 14px !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
  font-size: 14px !important;
}

/* Responsive : en colonnes sur mobile */
@media (max-width: 700px) {
  .nav-parcours ul {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  
  .nav-parcours a {
    width: 100% !important;
  }
}

/*** ICONE ***/
.circle {
  width: 20px !important;
  height: 20px !important;
  line-height: 20px !important;
  border: 3px solid #ccc !important;
  border-radius: 50% !important;
  text-align: center !important;
  background-color: white !important;
  margin: 0 10px !important;
  font-size: 15px !important;
}

.arrow {
  content: "\2192" !important; /* &#8594; */
  font-size: 24px !important;
  color: #ccc !important;
  margin: 0 5px !important;
}

/**============================= FIN CSS_MENU_NAV =============================**/

/*--------------------------------------------------------------------------*/

/**============================= CSS_DONNEES_PERSONNELLES =============================**/
/* Style pour les données personnelles */
.identite-section {
  max-width: 800px !important; /* largeur personnalisable */
  margin: 0 auto 40px auto !important;
  background-color: #fdfdfd !important;
  padding: 20px 30px !important;
  border-radius: 10px !important;
  border: 1px solid #ddd !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
  font-family: Arial, sans-serif !important;
}

.identite-section table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.identite-section th {
  text-align: left !important;
  color: #555 !important;
  padding: 8px 10px !important;
  width: 20% !important;
  font-weight: normal !important;
  background-color: #f2f2f2 !important;
  font-size: 16px !important;
}

.identite-section td {
  padding: 8px 10px !important;
  font-style: italic !important;
  color: #333 !important;
  font-size: 15px !important;
}

/**============================= FIN CSS_DONNEES_PERSONNELLES =============================**/

/*--------------------------------------------------------------------------*/

/**============================= CSS_GESTION_INPUT=============================**/

/* Checkbox agrandie */
.big-checkbox, .big-radio {
  transform: scale(1.6) !important;        /* augmente la taille */
  -webkit-transform: scale(1.6) !important;
  accent-color: #00975f !important;        /* vert HETS */
  cursor: pointer !important;
  position: relative !important;
  top: 0 !important;                       /* réaligne verticalement */
  flex-shrink: 0 !important;  /* empêche la case de rétrécir */
  
}

/* Effet hover */
.checkbox-container:hover .big-checkbox, .radio-container:hover .big-radio {
  filter: brightness(1.1) !important;
}

/**============================= CSS_GESTION_INPUT=============================**/

/*--------------------------------------------------------------------------*/

/**============================= CSS PAGE TOUTE AUTORISATION   =============================**/

<style>
/* === Conteneur principal === */
.autorisation-block {
  display: flex !important;
  align-items: flex-start !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
  margin-top: 15px !important;
  margin-bottom: 10px !important;
}

/* === Bloc Oui / Non === */
.autorisation-options {
  display: flex !important;
  gap: 16px !important;
}

.option-radio {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 18px !important;
  border-radius: 8px !important;
  border: 2px solid #e2e8f0 !important;
  background-color: #f9fafb !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  user-select: none !important;
}

.option-radio input[type="radio"] {
  display: none !important;
}

/* === État au survol === */
.option-radio:hover {
  border-color: #00975f !important;
  background-color: #f0fdf4 !important;
}

/* === État au click oui === */
.option-yes:has(input[type="radio"]:checked) {
  background-color: #d1fae5 !important;
  color: #065f46 !important;
  border-radius: 6px !important;
  box-shadow: 0 0 5px rgba(0, 151, 95, 0.3) !important;*/
}

/* === État au click non === */
.option-no:has(input[type="radio"]:checked) {
	background-color: #fee2e2 !important;
  color: #991b1b !important;
  border-radius: 6px !important;
  box-shadow: 0 0 5px rgba(239, 68, 68, 0.3) !important;
}



/* === Oui === */
.option-yes .option-label::before {
  /*content: "&#x2705; ";*/
}

/*.option-radio.option-yes input:checked + .option-label {
  background-color: #d1fae5 !important;
  color: #065f46 !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  box-shadow: 0 0 5px rgba(0, 151, 95, 0.3) !important;
}*/

/* === Non === */
.option-no .option-label::before {
  /*content: "&#x274C; ";*/
}

/*.option-radio.option-no input:checked + .option-label {
  background-color: #fee2e2 !important;
  color: #991b1b !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  box-shadow: 0 0 5px rgba(239, 68, 68, 0.3) !important;
}*/


/* === Note explicative à droite === */
.autorisation-note {
  flex: 1 !important;
  font-size: 16px !important;
  color: #444 !important;
  line-height: 1.5 !important;
  background-color: #ededed !important;
  padding: 10px 15px !important;
  border-radius: 6px !important;
  border-left: 3px solid #00975f !important;
}

@media (max-width: 700px) {
  .autorisation-block {
    flex-direction: column !important;
  }
  .autorisation-options {
    justify-content: center !important;
  }
  .autorisation-note {
    margin-top: 10px !important;
  }
}


/**============================= FIN PAGE TOUTE AUTORISATION =============================**/

/*--------------------------------------------------------------------------*/
