/* Styles pour la modale Eurocode avec carte et panneau d'infos */
.modal-eurocode-content {
  /* Fond neutre type "plan de travail" */
  background: #f8f9fa; 
  
  /* Rigueur géométrique : on réduit l'arrondi pour un look plus industriel */
  border-radius: 0 0 2px  2px; 
  
  width: 90vw;
  height: 85vh;
  max-width: 1200px;
  max-height: 800px;
  
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 100;

  /* Ombre portée plus "technique" : tranchée et moins diffuse */
  box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.1); 

  /* Optionnel : Ajout d'une police monospace pour l'aspect data */
  font-family: 'Inter', 'Roboto Mono', monospace;
}
#eurocode-modal .modal-body {
  display: flex;
  flex-direction: row;
  padding : unset;
}

#eurocode-map-container {
  flex: 0 0 80%;
  height: 100%;
  min-width: 0;
}

#eurocode-info-panel {
  flex: 0 0 20%;
  height: auto;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 20px;
}

#eurocode-info-content {
  font-size: 13px;
  margin-top: 10px;
}
#eurocode-type-selector{
   color: #333;
   padding: 20px;
}

#eurocode-modal .modal-footer {
    padding: 12px 32px;
    text-align: right;
    padding-top: 0px;
}
#eurocode-modal .modal-btn {
    min-width: 200px;
}

#eurocode-type-select{
   /* Structure et Typographie */
  
  /* Structure et Typographie */
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace; /* Police monospace pour le côté technique */
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  
  /* Couleurs et Bordures */
  background: #2a364d; /* Bleu sombre plus profond */
  color: #e0e6ed;
  border: 1px solid #4a5a7b;
  border-radius: 2px; /* Angles vifs pour la précision */
  cursor: pointer;
  
  /* Animation */
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
#eurocode-close-button {
   /* Structure et Typographie */
  position: absolute;
  min-width: 100%;
  bottom: 0px;
  
  /* Structure et Typographie */
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace; /* Police monospace pour le côté technique */
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  
  /* Couleurs et Bordures */
  background: #2a364d; /* Bleu sombre plus profond */
  color: #e0e6ed;
  border: 1px solid #4a5a7b;
  border-radius: 2px; /* Angles vifs pour la précision */
  cursor: pointer;
  
  /* Animation */
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
#eurocode-close-button:hover {
  background: #3a4a6b;
  border-color: #667eea;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

#eurocode-info-wrapper {
  position: relative;
  flex: 0 0 20%;
  box-sizing: border-box;
  font-size: 13px;
}


@media (max-width: 900px) {
  #eurocode-modal .modal-body {
    flex-direction: column;
  }
  #eurocode-map-container, #eurocode-info-panel {
    flex: 1 1 100%;
    min-width: 0;
    height: 300px;
  }
}
