body {
    background: #eef4f6;
    font-family: 'Segoe UI', Arial, sans-serif;
  }
  
  .header{
    background-color: #1A4E44;
    color: white;
    display:flex;
    justify-content:space-between;
    align-items: center;
    padding: 0 24px;
    height: 80px;
  }
  .header-logo { height: 48px; }
  .header-title, .subtitle { margin: 0; }
  .header-title { text-align: center; }
  .subtitle { font-size: 1rem; }
  
  .content-txt-intro {
    margin: 20px 200px 0 200px;
    border: 1px solid #1A4E44;
    border-radius: 5px;
    border-left: 5px solid #1A4E44;
    text-align: center;
  }
  
  .accueil-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .accueil-header {
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #286990;
    letter-spacing: 1px;
    text-align: center;
  }
  .accueil-section {
    width: 100%;
    max-width: 430px;
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
  }
  .accueil-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 22px 30px;
    border-radius: 18px;
    box-shadow: 0 2px 10px #0001;
    justify-content: space-between;
  }
  .accueil-btn {
    background: #286990;
    color: #fff;
    border: none;
    border-radius: 22px;
    font-size: 1.1rem;
    padding: 10px 22px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s;
    box-shadow: 0 2px 4px #0002;
  }
  .accueil-btn.disabled,
  .accueil-btn:disabled {
    background: #b4c8d4;
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
  }
  .accueil-icone {
    font-size: 1.9rem;
    color: #286990;
  }
  
  .footer {
    height:80px;
    background-color: #1A4E44;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    font-size: 1.2rem;
    letter-spacing: 1px;
  }
  .modal-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  
  .modal-content {
    background: #fff;
    border-radius: 18px;
    padding: 36px 28px;
    min-width: 500px;
    max-width: 900px;
  
    max-height: 80vh;
    overflow-y: auto;
  
    box-shadow: 0 4px 24px #0004;
    position: relative;
  
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  
  .modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  .content-form-modal { width: 100%; }
  .content-input { width: 100%; margin-top: 16px; }
  
  .form-control {
    height: 28px;
    margin-left: 20px;
  }
  
  /* Consentement */
  #bloc-consentement {
    margin-top: 18px;
    margin-bottom: 18px;
  }
  #bloc-consentement label {
    display: block;
    margin-bottom: 10px;
    line-height: 1.3;
  }
  #bloc-consentement .form-check {
    display: inline-flex;
    align-items: center;
    margin-right: 16px;
  }
  #bloc-consentement input[type="radio"] {
    margin-right: 6px;
  }
  
  /* Boutons */
  .container-btn-modal {
    display: flex;
    justify-content: space-evenly;
    margin-top: 20px;
    gap: 16px;
  }
  
  .btn-annuler,
  .btn-valider {
    width: 150px;
    height: 45px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.17s;
  }
  
  .btn-annuler {
    background: #e95a5a;
    color: #fff;
  }
  .btn-annuler:hover { background: #c14444; }
  
  .btn-valider {
    background: #41b663;
    color: #fff;
  }
  .btn-valider:hover { background: #348f4c; }
  
  .btn-valider:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .mention {
    color: #2a7ae2;
    text-decoration: none;
    font-weight: bold;
  }
  .mention:hover {
    color: #ff6600;
    text-decoration: underline;
  }
  
  @media (max-width: 600px) {
    .accueil-header { font-size: 1.6rem; }
    .accueil-section { max-width: 99vw; }
    .accueil-card { flex-direction: column; gap: 10px; padding: 18px 10px; }
    .footer { font-size: 1rem; height:60px; }
  
    .modal-content {
      min-width: auto;
      width: 92vw;
      padding: 22px 16px;
    }
    .container-btn-modal {
      flex-direction: column;
      align-items: center;
    }
  }

.content-input {
    display: flex !important;
    flex-direction: column !important;
  }
  .content-input > *:nth-child(1) { order: 1; }  /* numEde */
  .content-input > *:nth-child(2) { order: 2; }  /* date */
  .content-input > *:nth-child(3) { order: 3; }  /* structure */
  
  #bloc-consentement { 
    order: 4 !important;
    margin-top: 18px;
    margin-bottom: 18px;
  }
  
  .container-btn-modal { 
    order: 5 !important;
    margin-top: 20px !important;
    position: static !important;
  }
.consentement-input { 
    display: flex;
    justify-content: center;
  }