:root {
  --bleu-fonce: #103184;
  --jaune: #fdd835;
  --gris-clair: #f5f5f5;
  --gris-moyen: #cccccc;
  --gris-fonce: #444;
  --blanc: #ffffff;
}

#pagesimulateur {
  font-family: 'Segoe UI', sans-serif;
  background-color: white;
  color: var(--gris-fonce);
  margin: 0;
  padding: 0;
}



#menucontainer {
    margin-top: 63px;
 margin-bottom: 20px;
  padding: 15px;
  background-color: var(--gris-clair);
  border-left: 5px solid var(--bleu-fonce);
  border-radius: 6px;
}

ul#menu {
  display: table;
  width: 100%;
  margin: 10px 0 0;
  border: 4px solid #08077d;
  table-layout: fixed; /* Pour que chaque colonne ait la même largeur */
  border-radius: 8px;
}

ul#menu li {
  display: table-cell;
  width: 20%;
  /*height: 110px; */
  vertical-align: middle; /* Centrage vertical */
  text-align: center;      /* Centrage horizontal */
  border-right: 1px solid #08077d;
}

ul#menu li:last-child {
  border-right: none; /* Supprime la bordure à droite du dernier élément */
}

ul#menu li a {
  
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: #083b6d;
  box-sizing: border-box;
  font-size: 20px;
}

ul#menu li a span {
  display: block;
  width: 100%;
  background: transparent !important;
}

input.cbxQuantiteBox {
  margin: 0 0 0 14px;
  width: 20%;
  border: 1px solid black !important;
}

#page {
  max-width: 1000px;
  margin: 40px auto;
  background-color: var(--blanc);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}

#poste_sante {
  margin-bottom: 30px;
}


.cadreEtape {
  background-color: var(--gris-clair);
  border-left: 6px solid var(--bleu-fonce);
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 6px;
}

.cadreEtape h2 {
  color: var(--bleu-fonce);
  margin-bottom: 15px;
  font-size: 20px;
}

.cadreEtape .selectbox {
  width: 80% !important;
}
select,
input[type="text"],
input[type="radio"] {
  font-size: 14px;
  padding: 8px;
  border: 1px solid var(--gris-moyen);
  border-radius: 4px;
}

select:focus,
input[type="text"]:focus {
  border-color: var(--bleu-fonce);
  outline: none;
}

label {
  margin-right: 15px;
  font-weight: 500;
  color: var(--gris-fonce);
}

.rCell {
  display: flex;
  align-items: center;
  gap: 5px;
}

.errmsg {
  color: red;
  font-size: 12px;
  margin-left: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

table td {
  padding: 10px;
  border-bottom: 1px solid var(--gris-moyen);
}

#menu li button {
  all: unset; /* Supprime tous les styles par défaut du bouton */
  display: inline-block;
  width: 100%;
  padding: 6px 0px;
  text-align: center;
  color: #083b6d;
  font-weight: bold;
  cursor: pointer;
  /*border-radius: 6px;*/
  transition: background-color 0.3s;
}




#menu li button.active {
  background-color: #083b6d;
  color: white;
}

thead td,
.tr.thead td {
  background-color: var(--bleu-fonce);
  color: var(--blanc);
  font-weight: bold;
}
.montantConsultation {
  background-color: #ffff2c88;
}
tfoot td,
.tr.tfoot td {
  background-color: var(--jaune);
  font-weight: bold;
}

.moduHospi {
  margin-top: 20px;
}

.moduHospi h3 {
  color: var(--bleu-fonce);
  font-size: 18px;
  margin-bottom: 10px;
}

.moduHospiDescription {
  display: flex;
  gap: 20px;
}

#illustrationFormule {
  width: 100px;
  height: 100px;
  background-color: var(--gris-moyen);
  border-radius: 4px;
}

#descFormule {
  flex: 1;
  font-size: 14px;
  color: var(--gris-fonce);
}
.annees {
  background-color: var(--jaune);
  padding: 15px;
  border-radius: 6px;
  margin-top: 20px;
}

.annees p {
  font-weight: bold;
  color: var(--bleu-fonce);
  margin-bottom: 10px;
}

.annees ul {
  list-style: none;
  padding: 0;
}

.annees ul li {
  margin-bottom: 5px;
}
.helpIcon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-left: 5px;
}

.btn_modal,
.btn_module {
  cursor: pointer;
}

.modal,
.modal_cas {
  background-color: var(--blanc);
  padding: 20px;
  border: 2px solid var(--bleu-fonce);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.rgmAlMo {
  margin-bottom: 20px;
  padding: 15px;
  background-color: var(--gris-clair);
  border-left: 5px solid var(--bleu-fonce);
  border-radius: 6px;
}

.rgmAlMo .libelle-alsace {
  font-weight: bold;
  color: var(--bleu-fonce);
  margin-bottom: 10px;
}

.rgmAlMo ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.rgmAlMo li {
  display: flex;
  align-items: center;
}

.rgmAlMo label {
  font-weight: 500;
  color: var(--gris-fonce);
  display: flex;
  align-items: center;
  gap: 6px;
}

.rgmAlMo input[type="radio"] {
  accent-color: var(--bleu-fonce);
  cursor: pointer;
}
.cadreEtape .table1 {
  width: 405px !important;
}
.cadreEtape .table2 .rCell {
  width: 95% !important;
}

.cadreEtape .table2 {
  width: 180px !important;
}
.centerCl {
  text-align: center;
}
.cadreEtape .table1 .rCell,
.cadreEtape .table2 .option_renfort .rCell {
  margin-left: auto;
  margin-right: auto;
  width: 71px !important;
}

.cadreEtape h2.remboursements-axa {
  display: block;
  float: left;
  width: 100%;
  margin-top: 15px;
}
#bloc-remboursements table .thead br,
#bloc-renforts table .thead br,
#menucontainer .blue-sep-line,
.btn_srs img,
.tooltip .detail-tooltip {
  display: none;
}

#bloc-remboursements,
#bloc-renforts {
  display: table-cell !important;
  float: none !important;
  margin: 0;
}
#bloc-remboursements table,
#bloc-renforts table {
  width: 100% !important;
}

#bloc-remboursements table .thead td,
#bloc-renforts table .thead td {
  height: 3.7em;
  background: 0 0;
}

#bloc-remboursements table .thead td div,
#bloc-remboursements table td div,
#bloc-renforts table .thead td div,
#bloc-renforts table td div {
  width: auto !important;
}

#bloc-remboursements table td,
#bloc-renforts table td {
  height: 2.4em;
  border-bottom: 2px solid #fff;
  background: #f2f2f2;
}

#bloc-remboursements table td + td,
#bloc-renforts table td + td {
  min-width: 4em;
  border-left: 2px solid #fff;
}

#bloc-remboursements table tr.tfoot td,
#bloc-renforts table tr.tfoot td {
  color: #333;
  background: #d9d9d9 !important;
}
#bloc-renforts table {
  border-left: 2px solid #fff;
}
@media (max-width: 768px) {
  .moduHospiDescription {
    flex-direction: column;
  }

  .fleft {
    float: none;
    display: block;
    margin-bottom: 10px;
  }

  table td {
    font-size: 14px;
  }

  .rCell {
    flex-direction: column;
    align-items: flex-start;
  }
}
