/**
 * Styles publics du formulaire d'inscription GFAC / AEA.
 *
 * Ce fichier reprend à l'identique la feuille de style fournie par le client.
 * Aucune règle n'a été modifiée : seule la présence du sélecteur racine
 * .aea-form-container-ART5B garantit qu'aucun conflit CSS ne peut survenir
 * avec le thème actif ou un autre plugin (toutes les règles sont scopées).
 *
 * @package AEA_GFAC_Inscriptions
 */

/* ========== STYLES AVEC SUFFIXE ART5B ET !important POUR LES TITRES ========== */
.aea-form-container-ART5B {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: #f4f6f4;
  font-family: Arial, sans-serif;
  font-size: 16px;
  box-sizing: border-box;
}
.aea-form-container-ART5B * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.aea-form-container-ART5B .stepper-ART5B {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}
.aea-form-container-ART5B .step-col-ART5B {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.aea-form-container-ART5B .step-nav-ART5B {
  cursor: pointer;
}
.aea-form-container-ART5B .step-circle-ART5B {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  color: #999;
  background: #fff;
  transition: all .25s;
}
.aea-form-container-ART5B .step-circle-ART5B.active-ART5B {
  border-color: #0F6E56;
  background: #0F6E56;
  color: #fff;
}
.aea-form-container-ART5B .step-circle-ART5B.done-ART5B {
  border-color: #0F6E56;
  background: #E1F5EE;
  color: #0F6E56;
}
.aea-form-container-ART5B .step-label-ART5B {
  font-size: 13px;
  color: #999;
  margin-top: 6px;
  text-align: center;
  white-space: nowrap;
}
.aea-form-container-ART5B .step-label-ART5B.active-ART5B {
  color: #0F6E56;
  font-weight: 600;
}
.aea-form-container-ART5B .step-line-container-ART5B {
  flex: 1;
  height: 4px;
  background: #e0e0e0;
  margin: 0 8px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.aea-form-container-ART5B .step-line-bg-ART5B {
  width: 100%;
  height: 100%;
  background: #ccc;
}
.aea-form-container-ART5B .step-line-progress-ART5B {
  width: 0%;
  height: 100%;
  background: #0F6E56;
  transition: width 1.2s ease-out;
  position: absolute;
  top: 0;
  left: 0;
}
.aea-form-container-ART5B .progress-dots-ART5B {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.aea-form-container-ART5B .dot-ART5B {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ccc;
  transition: background .25s;
}
.aea-form-container-ART5B .dot-ART5B.active-ART5B {
  background: #0F6E56;
}
.aea-form-container-ART5B .form-header-ART5B {
  text-align: center;
  margin-bottom: 1.5rem;
}
.aea-form-container-ART5B .form-header-ART5B h1 {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #103A10 !important;
  margin-bottom: 6px !important;
}
.aea-form-container-ART5B .form-header-ART5B p {
  font-size: 16px !important;
  color: #666 !important;
}
.aea-form-container-ART5B .panel-ART5B {
  display: none;
  animation: fadeInART5B .25s ease;
}
.aea-form-container-ART5B .panel-ART5B.active-ART5B {
  display: block;
}
@keyframes fadeInART5B {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.aea-form-container-ART5B .panel-title-ART5B {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #103A10 !important;
  margin-bottom: 6px !important;
}
.aea-form-container-ART5B .panel-sub-ART5B {
  font-size: 15px !important;
  color: #666 !important;
  margin-bottom: 1.25rem !important;
}
.aea-form-container-ART5B .section-label-ART5B {
  font-size: 13px;
  font-weight: 700;
  color: #0F6E56;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin: 2.2rem 0 .8rem;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #e0ede8;
}
.aea-form-container-ART5B .field-group-ART5B {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px 20px;
  margin-bottom: 1rem;
  width: 100%;
}
.aea-form-container-ART5B .field-ART5B {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aea-form-container-ART5B .field-ART5B.full-ART5B {
  grid-column: 1/-1;
}
.aea-form-container-ART5B .field-ART5B label {
  font-size: 15px;
  color: #444;
  font-weight: 600;
}
.aea-form-container-ART5B .field-ART5B input,
.aea-form-container-ART5B .field-ART5B select,
.aea-form-container-ART5B .field-ART5B textarea {
  font-size: 15px;
  padding: 11px 14px;
  border: 1.5px solid #ddd;
  border-radius: 7px;
  background: #fff;
  color: #222;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.aea-form-container-ART5B .field-ART5B input:focus,
.aea-form-container-ART5B .field-ART5B select:focus,
.aea-form-container-ART5B .field-ART5B textarea:focus {
  outline: none;
  border-color: #0F6E56;
  box-shadow: 0 0 0 3px rgba(15,110,86,.1);
}
.aea-form-container-ART5B .field-ART5B input.filled-ART5B,
.aea-form-container-ART5B .field-ART5B select.filled-ART5B,
.aea-form-container-ART5B .field-ART5B textarea.filled-ART5B {
  background: #f0f9f5;
  border-color: #0F6E56;
  color: #103A10;
}
.aea-form-container-ART5B .field-ART5B input[readonly] {
  background: #f5f5f5;
  color: #666;
  cursor: default;
}
.aea-form-container-ART5B .field-ART5B textarea {
  resize: vertical;
  min-height: 80px;
}
.aea-form-container-ART5B .required-ART5B {
  color: #D85A30;
}
.aea-form-container-ART5B .err-input-ART5B {
  border-color: #D85A30 !important;
  box-shadow: 0 0 0 3px rgba(216,90,48,.1) !important;
}
.aea-form-container-ART5B .err-msg-ART5B {
  font-size: 13px;
  color: #D85A30;
  margin-top: 2px;
}
.aea-form-container-ART5B .cb-grid-ART5B {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
  margin-bottom: .75rem;
}
.aea-form-container-ART5B .cb-grid-ART5B.two-ART5B {
  grid-template-columns: repeat(2,1fr);
}
.aea-form-container-ART5B .cb-grid-ART5B.single-ART5B {
  grid-template-columns: repeat(2,1fr);
}
.aea-form-container-ART5B .cb-item-ART5B {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  user-select: none;
}
.aea-form-container-ART5B .cb-item-ART5B:hover {
  border-color: #0F6E56;
  background: #f6fbf9;
}
.aea-form-container-ART5B .cb-item-ART5B.checked-ART5B {
  border-color: #0F6E56;
  background: #E1F5EE;
}
.aea-form-container-ART5B .cb-item-ART5B input[type=checkbox] {
  margin-top: 2px;
  accent-color: #0F6E56;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.aea-form-container-ART5B .cb-name-ART5B {
  font-size: 15px;
  color: #222;
  font-weight: 500;
  line-height: 1.35;
}
.aea-form-container-ART5B .cb-price-ART5B {
  font-size: 13px;
  color: #666;
  display: block;
  margin-top: 2px;
}
.aea-form-container-ART5B .recap-grid-ART5B {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 1rem;
}
.aea-form-container-ART5B .recap-card-ART5B {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}
.aea-form-container-ART5B .recap-card-ART5B.full-ART5B {
  grid-column: 1/-1;
}
.aea-form-container-ART5B .recap-head-ART5B {
  background: #103A10;
  color: #fff;
  padding: 11px 15px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.aea-form-container-ART5B .recap-body-ART5B {
  padding: 0 15px;
}
.aea-form-container-ART5B .recap-row-ART5B {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  gap: 12px;
}
.aea-form-container-ART5B .recap-row-ART5B:last-child {
  border: none;
}
.aea-form-container-ART5B .recap-row-ART5B span:first-child {
  color: #666;
  flex-shrink: 0;
  min-width: 140px;
}
.aea-form-container-ART5B .recap-row-ART5B span:last-child {
  color: #222;
  text-align: right;
  font-weight: 500;
}
.aea-form-container-ART5B .total-row-ART5B {
  background: #E1F5EE;
  border: 1.5px solid #b3dece;
  border-radius: 9px;
  padding: 13px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: .75rem 0;
}
.aea-form-container-ART5B .total-row-ART5B span {
  font-size: 16px;
  color: #0F6E56;
  font-weight: 600;
}
.aea-form-container-ART5B .total-row-ART5B strong {
  font-size: 24px;
  color: #0F6E56;
  font-weight: 700;
}
.aea-form-container-ART5B .consent-box-ART5B {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px;
  background: #f9f9f9;
  border-radius: 9px;
  border: 1.5px solid #ddd;
  margin: .75rem 0;
  cursor: pointer;
  transition: border-color .15s;
}
.aea-form-container-ART5B .consent-box-ART5B:hover {
  border-color: #0F6E56;
}
.aea-form-container-ART5B .consent-box-ART5B.checked-ART5B {
  border-color: #0F6E56;
  background: #f0f9f5;
}
.aea-form-container-ART5B .consent-box-ART5B input {
  margin-top: 2px;
  accent-color: #0F6E56;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.aea-form-container-ART5B .consent-box-ART5B label {
  font-size: 15px;
  color: #333;
  cursor: pointer;
  line-height: 1.55;
}
.aea-form-container-ART5B .nav-bar-ART5B {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: .9rem;
  border-top: 1.5px solid #f0f0f0;
}
.aea-form-container-ART5B .btn-ART5B {
  padding: 11px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.aea-form-container-ART5B .btn-outline-ART5B {
  background: #fff;
  border: 1.5px solid #bbb;
  color: #333;
}
.aea-form-container-ART5B .btn-outline-ART5B:hover {
  background: #f5f5f5;
  border-color: #888;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.aea-form-container-ART5B .btn-primary-ART5B {
  background: #103A10;
  color: #fff;
}
.aea-form-container-ART5B .btn-primary-ART5B:hover {
  background: #0F6E56;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15,110,86,0.3);
}
.aea-form-container-ART5B .btn-primary-ART5B:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.aea-form-container-ART5B .alert-ART5B {
  padding: 11px 15px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 10px;
  display: none;
}
.aea-form-container-ART5B .alert-danger-ART5B {
  background: #fdf0ef;
  border: 1.5px solid #f5c6c6;
  color: #8b1a1a;
}
.aea-form-container-ART5B .alert-info-ART5B {
  background: #fff8e1;
  border: 1.5px solid #ffe082;
  color: #5d4037;
}
.aea-form-container-ART5B .alert-success-ART5B {
  background: #e1f5ee;
  border: 1.5px solid #b3dece;
  color: #0f6e56;
}
.aea-form-container-ART5B .success-panel-ART5B {
  text-align: center;
  padding: 2.5rem 1rem;
}
.aea-form-container-ART5B .success-icon-ART5B {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #E1F5EE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.aea-form-container-ART5B .icon-ART5B {
  display: inline-block;
  vertical-align: middle;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ========== EFFETS DE SURVOL ========== */
.aea-form-container-ART5B .info-card-ART5B:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border-color: #0F6E56;
}
.aea-form-container-ART5B .info-card-ART5B:hover .info-card-icon-ART5B {
  background: #0F6E56 !important;
}
.aea-form-container-ART5B .info-card-ART5B:hover .info-card-icon-ART5B svg {
  stroke: #fff !important;
}
.aea-form-container-ART5B .info-main-card-ART5B:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.aea-form-container-ART5B .reward-item-ART5B:hover {
  background: #E1F5EE;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.aea-form-container-ART5B .reward-item-ART5B:hover > div:first-child {
  background: #103A10 !important;
  transform: scale(1.1);
}

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 768px) {
  .aea-form-container-ART5B > div { padding: 0.75rem 1rem; }
  
  /* Stepper mobile */
  .aea-form-container-ART5B .stepper-ART5B { flex-wrap: nowrap; overflow-x: auto; gap: 0; }
  .aea-form-container-ART5B .step-circle-ART5B { width: 32px; height: 32px; font-size: 12px; }
  .aea-form-container-ART5B .step-label-ART5B { font-size: 9px; white-space: nowrap; }
  .aea-form-container-ART5B .step-line-container-ART5B { margin: 0 3px; min-width: 15px; }
  
  /* Header mobile */
  .aea-form-container-ART5B .form-header-ART5B h1 { font-size: 20px !important; }
  .aea-form-container-ART5B .form-header-ART5B p { font-size: 13px !important; }
  
  /* Grilles mobiles */
  .aea-form-container-ART5B .field-group-ART5B { grid-template-columns: 1fr !important; gap: 12px; }
  .aea-form-container-ART5B .cb-grid-ART5B { grid-template-columns: 1fr !important; }
  .aea-form-container-ART5B .recap-grid-ART5B { grid-template-columns: 1fr !important; }
  
  /* Grille info mobile */
  .aea-form-container-ART5B .info-grid-ART5B { grid-template-columns: 1fr !important; gap: 12px; }
  .aea-form-container-ART5B .reward-grid-ART5B { grid-template-columns: 1fr !important; gap: 12px; }
  
  /* Cartes mobiles */
  .aea-form-container-ART5B .info-main-card-ART5B { padding: 20px !important; }
  .aea-form-container-ART5B .info-main-card-ART5B p { font-size: 15px !important; }
  .aea-form-container-ART5B .info-card-ART5B { padding: 20px 15px !important; }
  
  /* Nav bar mobile */
  .aea-form-container-ART5B .nav-bar-ART5B { 
    flex-direction: column !important; 
    gap: 10px;
    align-items: stretch;
  }
  .aea-form-container-ART5B .nav-bar-ART5B .btn-ART5B { 
    justify-content: center; 
    width: 100%;
    padding: 12px 20px;
  }
  .aea-form-container-ART5B .nav-bar-ART5B .btn-ART5B .btn-text-ART5B { display: inline; }
  
  /* Boutons mobiles */
  .aea-form-container-ART5B .btn-ART5B { 
    font-size: 14px; 
    padding: 10px 18px;
    justify-content: center;
  }
  
  /* Panel mobile */
  .aea-form-container-ART5B .panel-title-ART5B { font-size: 18px !important; }
  .aea-form-container-ART5B .panel-sub-ART5B { font-size: 13px !important; }
  
  /* Recap mobile */
  .aea-form-container-ART5B .recap-row-ART5B { flex-direction: column; gap: 2px; }
  .aea-form-container-ART5B .recap-row-ART5B span:first-child { min-width: unset; }
  .aea-form-container-ART5B .recap-row-ART5B span:last-child { text-align: left; }
  
  /* Consent mobile */
  .aea-form-container-ART5B .consent-box-ART5B { padding: 12px; }
  .aea-form-container-ART5B .consent-box-ART5B label { font-size: 13px; }
  
  /* Reward items mobile */
  .aea-form-container-ART5B .reward-item-ART5B { padding: 12px !important; }
  .aea-form-container-ART5B .reward-item-ART5B > div:first-child { 
    width: 50px !important; 
    height: 50px !important;
    padding: 10px !important;
  }
  .aea-form-container-ART5B .reward-item-ART5B svg { width: 24px !important; height: 24px !important; }
  
  /* Progress dots mobile */
  .aea-form-container-ART5B .progress-dots-ART5B { gap: 4px; }
  .aea-form-container-ART5B .dot-ART5B { width: 6px; height: 6px; }
  
  /* Alert mobile */
  .aea-form-container-ART5B .alert-ART5B { font-size: 13px; padding: 10px 12px; }
  
  /* Success panel mobile */
  .aea-form-container-ART5B .success-panel-ART5B { padding: 1.5rem 0.5rem; }
  .aea-form-container-ART5B .success-icon-ART5B { width: 60px; height: 60px; }
  .aea-form-container-ART5B .success-panel-ART5B h2 { font-size: 20px !important; }
  .aea-form-container-ART5B .success-panel-ART5B p { font-size: 14px !important; }
}

@media (max-width: 480px) {
  .aea-form-container-ART5B > div { padding: 0.5rem 0.75rem; }
  
  /* Très petits écrans */
  .aea-form-container-ART5B .step-circle-ART5B { width: 28px; height: 28px; font-size: 10px; }
  .aea-form-container-ART5B .step-label-ART5B { font-size: 8px; }
  .aea-form-container-ART5B .form-header-ART5B h1 { font-size: 18px !important; }
  .aea-form-container-ART5B .info-main-card-ART5B p { font-size: 14px !important; }
  .aea-form-container-ART5B .info-card-ART5B { padding: 15px 12px !important; }
  .aea-form-container-ART5B .info-card-icon-ART5B { padding: 10px !important; }
  .aea-form-container-ART5B .info-card-icon-ART5B svg { width: 24px !important; height: 24px !important; }
  .aea-form-container-ART5B .btn-ART5B { font-size: 13px; padding: 8px 14px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .aea-form-container-ART5B .field-group-ART5B { grid-template-columns: repeat(2,1fr) !important; }
  .aea-form-container-ART5B .cb-grid-ART5B { grid-template-columns: repeat(2,1fr) !important; }
  .aea-form-container-ART5B .recap-grid-ART5B { grid-template-columns: 1fr; }
  .aea-form-container-ART5B .info-grid-ART5B { grid-template-columns: repeat(2,1fr) !important; }
  .aea-form-container-ART5B .reward-grid-ART5B { grid-template-columns: repeat(2,1fr) !important; }
  .aea-form-container-ART5B .step-label-ART5B { font-size: 11px; }
}
/* ========== POPUP DE CONNEXION (accès au tableau des inscriptions) ========== */
.aea-login-overlay-ART5B {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  box-sizing: border-box;
}
.aea-login-modal-ART5B {
  background: #fff;
  border-radius: 12px;
  padding: 34px;
  max-width: 380px;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
.aea-login-modal-ART5B * {
  box-sizing: border-box;
}
.aea-login-close-ART5B {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #999;
  cursor: pointer;
}
.aea-login-close-ART5B:hover {
  color: #103A10;
}
.aea-login-title-ART5B {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #103A10 !important;
  margin: 0 0 4px !important;
}
.aea-login-sub-ART5B {
  font-size: 13px !important;
  color: #666 !important;
  margin: 0 0 18px !important;
}
.aea-login-modal-ART5B .field-ART5B label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #103A10;
  margin-bottom: 6px;
}
.aea-login-modal-ART5B .field-ART5B input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
}
.aea-login-modal-ART5B .field-ART5B input:focus {
  outline: none;
  border-color: #0F6E56;
}
