@charset "UTF-8";
:root {
  --background: #fafafa;
  --foreground: #0f1829;
  --card: #ffffff;
  --card-foreground: #0f1829;
  --popover: #ffffff;
  --popover-foreground: #0f1829;
  --primary: #00264d;
  --primary-foreground: #ffffff;
  --secondary: #e6ebf0;
  --secondary-foreground: #162e4d;
  --muted: #eef0f2;
  --muted-foreground: #5f6f85;
  --accent: #ff6d19;
  --accent-foreground: #ffffff;
  --destructive: #d92626;
  --destructive-foreground: #fafafa;
  --border: #d5dbe0;
  --input: #d5dbe0;
  --ring: #00264d;
  --radius: 8px;
  --success: #16925b;
  --success-foreground: #ffffff;
  --shadow-subtle: 0 1px 3px 0 rgba(15, 24, 41, 0.08);
  --shadow-card: 0 2px 8px -2px rgba(15, 24, 41, 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Font families */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-subheading: #5e6f8d;
  /*---------------------STYLE STEPPER----------------------*/
  /*----chiffre step----*/
  --font-chiffre-step-color-actif: var(--surface-secondary);
  --font-chiffre-step-color-inactif: #5e6f8d;
  --font-chiffre-font-family: var(--font-heading);
  --font-chiffre-font-size: 18px;
  --font-chiffre-font-weight: 700;
  --font-chiffre-line-height: 24px;
  --font-chiffre-backgound-color-actif: #eeedf5;
  --font-chiffre-backgound-color-inactif: #f5f4ff;
  --font-chiffre-backgound-color-complete: #16a249;
  --font-chiffre-border-color-actif: none;
  --font-chiffre-border-color-inactif: none;
  --font-chiffre-border-color-complete: none;
  /*----progress label----*/
  --font-progress-label-color-actif: var(--surface-secondary);
  --font-progress-label-color-inactif: #5f6f85;
  --font-progress-label-color-complete: #16a249;
  --font-progress-label-font-family: var(--font-heading);
  --font-progress-label-font-size: 14px;
  --font-progress-label-font-weight: 700;
  --font-progress-label-line-height: 20px;
  /*----progress description----*/
  --font-progress-description-color-actif: #5e6f8d;
  --font-progress-description-color-inactif: #5e6f8d;
  --font-progress-description-color-complete: #5e6f8d;
  --font-progress-description-font-family: var(--font-body);
  --font-progress-description-font-size: 12px;
  --font-progress-description-font-weight: 400;
  --font-progress-description-line-height: 18px;
  /*---------------------STYLE FORM----------------------*/
  /*titre step*/
  --font-title-step-font-size: 24px;
  --font-title-step-color: var(--title-primary);
  --font-title-step-font-family: var(--font-heading);
  /*sous-titre step*/
  --font-subtitle-step-font-size: 14px;
  --font-subtitle-step-color: #5e6f8d;
  --font-subtitle-step-font-family: var(--font-body);
  /*form label*/
  --font-form-label-color: #0f1829;
  --font-form-label-font-family: var(--font-body);
  --font-form-label-font-size: 14px;
  --font-form-label-font-weight: 600;
  /*Form input et select*/
  --form-input-background: #fafafa;
  --form-input-border-color: #dae0e7;
  --form-input-border-radius: 6px;
  --form-input-font-color: var(--title-primary);
  --form-input-font-family: var(--font-body);
  --form-input-font-size: 14px;
  --form-input-font-weight: 400;
  /* Variables référencées dans le fichier source d'origine sans définition locale */
  --title-primary: #00264d;
  --surface-secondary: #ffffff;
  --font-family-primary: var(--font-body);
}

/* Colors: Navy Blue (#2d3d8c), Orange (#f37021), White */
/* Style: Corporate, Professional, Business */
[data-school=ppa] {
  --primary: #2d3c8c;
  --primary-foreground: #ffffff;
  --accent: #f37021;
  --accent-foreground: #ffffff;
  --ring: #2d3c8c;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;
}

.block-form-cel {
  /* Reset et styles de base */
  /* Container */
  /* Buttons */
  /* Icons */
  /* Form Styles */
  /* Affichage Desktop/Tablette par défaut */
  /*Form Step Styles */
  /* ===== Version Mobile de la progression (< 768px) ===== */
  /* Messages d'erreur */
  /* Wrapper pour téléphone avec indicatif */
  /* Radio Group */
  /* Checkbox */
  /* Tooltip */
  /* Responsive */
  /* Animations */
  /* Loading State */
  /* Success Page */
  /* Focus states for accessibility */
  /* Smooth scrolling */
  /* Better tap targets on mobile */
  /* ===== School Cards Grid ===== */
  /* Cas 4 resultats: forcer 2 cartes par ligne (2x2) */
  /* Layout spécifique pour les cartes d'examen (1 colonne) */
  /* ===== Custom Select Styles ===== */
  /* Rotation de la flèche quand le select est ouvert */
  /* .custom-select.open .custom-select-trigger::after {
      transform: translateY(-50%) rotate(180deg);
  } */
  /* Dropdown */
  /* Options */
  /* Animation d'entrée */
  /* Responsive */
  /* ===== Classes pour Welcome Page ===== */
  /* ===== Classes pour les placeholders et messages ===== */
  /* ===== Champ handicap (Step 3) ===== */
  /* ===== Classes pour le récapitulatif (Step 4) ===== */
  /* ===== Classes pour la page de succès ===== */
  /* BUG SURCHARGE CSS MODUEL JPO formulaire*/
}
.block-form-cel * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.block-form-cel body {
  font-family: var(--font-body) !important;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  transition: var(--transition-smooth);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.block-form-cel h1, .block-form-cel h2, .block-form-cel h3, .block-form-cel h4, .block-form-cel h5, .block-form-cel h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}
.block-form-cel p {
  font-family: var(--font-body) !important;
}
.block-form-cel a {
  text-decoration: none;
  color: inherit;
}
.block-form-cel button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
.block-form-cel .container {
  max-width: 1120px;
  margin: 0 auto;
}
.block-form-cel .welcome, .block-form-cel .container-recorded {
  max-width: 1120px;
  margin: 0 auto;
  background: white;
  padding: 32px;
  padding-bottom: 64px;
  border-radius: 8px;
  box-shadow: 0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.block-form-cel .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
}
.block-form-cel .btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.block-form-cel .btn-primary:hover {
  opacity: 0.9;
}
.block-form-cel .btn-outline {
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--foreground);
}
.block-form-cel .btn-outline:hover {
  background-color: var(--muted);
}
.block-form-cel .btn.btn-outline.disabled {
  pointer-events: none;
  opacity: 0.5;
}
.block-form-cel .btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}
.block-form-cel .icon {
  width: 20px;
  height: 20px;
}
.block-form-cel .icon-sm {
  width: 16px;
  height: 16px;
}
.block-form-cel .welcome-container {
  background: #f7f6fd;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e5e3f9;
  margin-bottom: 32px;
}
.block-form-cel .welcome-container p {
  font-size: 14px;
}
.block-form-cel .titre-welcome {
  font-size: 16px;
  font-weight: 600;
  color: var(--font-title-step-color);
  margin-bottom: 16px;
}
.block-form-cel .form-container {
  margin: 0 auto;
  padding: 32px;
  position: relative;
}
.block-form-cel .form-header {
  text-align: center;
  margin-bottom: 32px;
}
.block-form-cel .form-title {
  font-size: 32px;
  margin-bottom: 8px;
}
.block-form-cel .form-subtitle {
  color: var(--muted-foreground);
  display: none;
}
.block-form-cel .form-info {
  font-size: 13px;
  color: var(--font-subtitle-step-color);
  margin-top: 5px;
}
.block-form-cel .form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  position: relative;
}
.block-form-cel .form-progress::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 6px;
  background-color: var(--font-chiffre-backgound-color-inactif);
  z-index: 0;
}
.block-form-cel .progress-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--font-chiffre-backgound-color-inactif);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-chiffre-font-weight);
  transition: var(--transition-smooth);
  font-family: var(--font-chiffre-font-family);
  color: var(--font-chiffre-step-color-inactif);
  font-size: var(--font-chiffre-font-size);
  font-weight: var(--font-chiffre-font-weight);
  box-shadow: 0 0 0 4px hsla(210, 25%, 92%, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.block-form-cel .progress-circle-completed {
  display: none;
}
.block-form-cel .progress-step.active .progress-circle {
  background-color: var(--font-chiffre-backgound-color-actif);
  color: var(--font-chiffre-step-color-actif);
  border-color: none;
  box-shadow: var(--tw-ring-offset-shadow) 0 0 0 0px #fff, var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));
}
.block-form-cel .progress-step.active .progress-label {
  color: var(--font-progress-label-color-actif);
}
.block-form-cel .progress-step.completed .progress-label {
  color: var(--font-progress-label-color-complete);
}
.block-form-cel .progress-step.completed .progress-circle {
  display: none;
}
.block-form-cel .progress-step.completed .progress-circle-completed {
  display: flex;
  background-color: var(--font-chiffre-backgound-color-complete);
  color: var(--font-chiffre-step-color-complete);
  height: 56px;
  width: 56px;
  border-radius: 50%;
  position: relative;
}
.block-form-cel .progress-step.completed .progress-circle-completed svg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 16px;
  stroke: white;
}
.block-form-cel .progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}
.block-form-cel .progress-label {
  font-size: var(--font-progress-label-font-size);
  font-weight: var(--font-progress-label-font-weight);
  color: var(--font-progress-label-color-inactif);
  font-family: var(--font-progress-label-font-family);
  font-weight: var(--font-progress-label-font-weight);
  line-height: var(--font-progress-label-line-height);
  text-align: center;
  margin-top: 12px;
  letter-spacing: 1px;
}
.block-form-cel .progress-description {
  font-size: var(--font-progress-description-font-size);
  font-weight: var(--font-progress-description-font-weight);
  color: var(--font-progress-description-color-inactif);
  font-family: var(--font-progress-description-font-family);
  font-weight: var(--font-progress-description-font-weight);
  line-height: var(--font-progress-description-line-height);
  text-align: center;
}
.block-form-cel .text-progress {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
}
.block-form-cel .text-progress .pourcent-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 5px;
  color: #2e2c7e;
  font-weight: 700;
  font-size: 18px;
}
.block-form-cel .text-progress .subtitle-text-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.block-form-cel .text-progress .subtitle-text-progress .text-form {
  color: #16a249;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.2px;
}
.block-form-cel .text-progress .subtitle-text-progress svg {
  color: #16a249;
  width: 18px;
  height: 18px;
}
.block-form-cel .display-steps-desktop {
  display: block;
}
.block-form-cel .display-steps-mobile {
  display: none;
}
.block-form-cel .titre-form-step {
  font-size: var(--font-title-step-font-size);
  font-family: var(--font-title-step-font-family);
  color: var(--font-title-step-color);
  letter-spacing: 1px;
  margin-bottom: 32px;
}
.block-form-cel .titre-form-step.no-margin {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .block-form-cel {
    /* Basculer l'affichage Desktop/Mobile */
    /* Styles pour la version mobile */
  }
  .block-form-cel .display-steps-desktop {
    display: none;
  }
  .block-form-cel .display-steps-mobile {
    display: block;
  }
  .block-form-cel .display-steps-mobile {
    /* Barre de progression + pourcentage */
    /* Informations de l'étape */
    /* Indicateurs simplifiés (✓ ○ ○ ○) */
  }
  .block-form-cel .display-steps-mobile .text-progress {
    margin-bottom: 24px;
  }
  .block-form-cel .display-steps-mobile .progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }
  .block-form-cel .display-steps-mobile .progress-bar-mobile {
    flex: 1;
    height: 8px;
    background-color: #e5e3f9;
    border-radius: 4px;
    overflow: hidden;
  }
  .block-form-cel .display-steps-mobile .progress-bar-fill {
    height: 100%;
    background-color: var(--primary);
    transition: width 0.3s ease;
    border-radius: 4px;
  }
  .block-form-cel .display-steps-mobile .progress-percentage-mobile {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    min-width: 40px;
    text-align: right;
  }
  .block-form-cel .display-steps-mobile .progress-info-mobile {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .block-form-cel .display-steps-mobile .progress-step-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
    letter-spacing: 1px;
  }
  .block-form-cel .display-steps-mobile .progress-step-description {
    font-size: 12px;
    color: var(--muted-foreground);
    line-height: 1.4;
  }
  .block-form-cel .display-steps-mobile .progress-indicators-mobile {
    display: flex;
    gap: 12px;
    justify-content: center;
  }
  .block-form-cel .display-steps-mobile .progress-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e5e3f9;
    border: 2px solid #d5d3e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
    transition: all 0.3s ease;
  }
  .block-form-cel .display-steps-mobile .progress-indicator.completed {
    color: #16a249;
    font-size: 16px;
    font-weight: 700;
    background: none;
    border: none;
  }
}
.block-form-cel .form-step .recap-section-title.academique {
  margin-top: 30px;
}
.block-form-cel .sous-titre-form-step {
  font-size: var(--font-subtitle-step-font-size);
  font-family: var(--font-subtitle-step-font-family);
  color: var(--font-subtitle-step-color);
  margin-bottom: 24px;
}
.block-form-cel .encart-info {
  background-color: #f3faf6;
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  border: 2px solid #b1dfc2;
}
.block-form-cel .form-field {
  margin-bottom: 24px;
}
.block-form-cel .form-field.field-hidden {
  display: none;
}
.block-form-cel .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}
.block-form-cel .form-row .form-field {
  margin-bottom: 24px;
}
@media (max-width: 640px) {
  .block-form-cel .form-row {
    grid-template-columns: 1fr;
  }
}
.block-form-cel .form-label {
  display: block;
  font-weight: var(--font-form-label-font-weight);
  font-size: var(--font-form-label-font-size);
  font-family: var(--font-form-label-font-family);
  margin-bottom: 8px;
  color: var(--font-form-label-color);
}
.block-form-cel .form-label-required::after {
  content: "*";
  color: var(--destructive);
  margin-left: 4px;
}
.block-form-cel .error-message {
  display: none;
  color: var(--destructive);
  font-size: 14px;
  margin-top: 6px;
  font-weight: 500;
}
.block-form-cel .error-message.show {
  display: block;
}
.block-form-cel .form-field.has-error .custom-select-trigger {
  border-color: var(--destructive);
}
.block-form-cel .form-field.has-error .form-input,
.block-form-cel .form-field.has-error .form-textarea {
  border-color: var(--destructive);
}
.block-form-cel .phone-input-wrapper {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
}
.block-form-cel .phone-input-wrapper .custom-select {
  flex-shrink: 0;
  width: 180px;
}
.block-form-cel .phone-input-wrapper .phone-number-input {
  flex: 1;
}
@media (max-width: 640px) {
  .block-form-cel .phone-input-wrapper .custom-select {
    width: 140px;
  }
}
.block-form-cel .form-input,
.block-form-cel .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--form-input-border-color);
  border-radius: var(--form-input-border-radius);
  background-color: var(--form-input-background);
  color: var(--form-input-font-color);
  font-family: var(--form-input-font-family);
  font-size: var(--form-input-font-size);
  transition: var(--transition-smooth);
  appearance: none;
  height: 48px;
  position: relative;
}
.block-form-cel .form-input::placeholder,
.block-form-cel .form-select::placeholder,
.block-form-cel .form-textarea::placeholder {
  color: #5e7494;
}
.block-form-cel .form-select option {
  color: red;
}
.block-form-cel .form-select option::hover {
  background-color: red;
}
.block-form-cel .form-select::after {
  content: "▾";
  position: absolute;
  right: 12px; /* 👈 espace avec le contour */
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.block-form-cel .form-input:focus,
.block-form-cel .form-select:focus,
.block-form-cel .form-textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 10%, transparent);
}
.block-form-cel .form-input.error,
.block-form-cel .form-select.error,
.block-form-cel .form-textarea.error {
  border-color: var(--destructive);
}
.block-form-cel .form-error {
  color: var(--destructive);
  font-size: 12px;
  margin-top: 4px;
}
.block-form-cel .form-textarea {
  min-height: 120px;
  resize: vertical;
}
.block-form-cel .form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 16px;
}
.block-form-cel .form-navigation .btn {
  justify-content: center;
  flex: 0 0 120px;
}
.block-form-cel .radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.block-form-cel .radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
}
.block-form-cel .radio-option input[type=radio] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}
.block-form-cel .checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.block-form-cel .checkbox-wrapper input[type=checkbox] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
  appearance: auto;
}
.block-form-cel .tooltip-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}
.block-form-cel .tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  cursor: help;
  transition: var(--transition-smooth);
}
.block-form-cel .tooltip-text {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #1e293b;
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
  width: 280px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 1000;
  text-align: left;
}
.block-form-cel .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1e293b;
}
.block-form-cel .tooltip-wrapper:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}
@media (max-width: 640px) {
  .block-form-cel .tooltip-text {
    width: 220px;
    font-size: 12px;
    padding: 10px 12px;
  }
}
.block-form-cel #application-form, .block-form-cel .form-navigation {
  background: white;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .block-form-cel .page-container, .block-form-cel .container.welcome {
    padding: 16px;
  }
  .block-form-cel .form-container {
    padding: 0px;
  }
  .block-form-cel .hero-title {
    font-size: 28px;
  }
  .block-form-cel .hero-description {
    font-size: 16px;
  }
  .block-form-cel .demo-steps {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .block-form-cel .form-cards,
  .block-form-cel .tool-cards {
    grid-template-columns: 1fr;
  }
  .block-form-cel .theme-cards {
    grid-template-columns: 1fr;
  }
  .block-form-cel .form-navigation {
    flex-direction: row;
  }
  .block-form-cel .recap-section-container {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
  .block-form-cel #application-form, .block-form-cel .form-navigation {
    padding: 16px;
  }
  .block-form-cel .titre-form-step {
    font-size: 18px;
    margin-bottom: 5px !important;
  }
  .block-form-cel .sous-titre-form-step {
    font-size: 14px;
    line-height: 18px;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.block-form-cel .fade-in {
  animation: fadeIn 0.3s ease-out;
}
.block-form-cel .loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.block-form-cel .success-container {
  text-align: center;
  padding: 30px 32px 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e7e8ec;
  border-radius: 8px;
  margin-bottom: 30px;
}
.block-form-cel .success-header {
  border-bottom: 1px solid #e7e8ec;
  width: 100%;
  margin-bottom: 20px;
}
.block-form-cel .success-icon {
  width: 70px;
  height: 70px;
  margin: 0px auto 10px;
  stroke: var(--success);
  padding: 21px;
  border-radius: 50%;
  background: #e7f5ec;
}
.block-form-cel .success-wrapper {
  background: none;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #dae0e7;
}
.block-form-cel .success-wrapper .text-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}
.block-form-cel .success-wrapper .text-subtitle {
  font-size: 12px;
  color: #5e6f8d;
}
.block-form-cel .success-wrapper .row-success {
  display: flex;
  gap: 20px;
  align-items: center;
}
.block-form-cel .success-wrapper .row-success svg {
  background: #2d3d8b;
  height: 46px;
  width: 46px;
  min-height: 40px;
  min-width: 40px;
  padding: 10px;
  border-radius: 8px;
  color: #fff;
}
.block-form-cel .success-wrapper .row-success .text-row-success {
  width: 90%;
}
.block-form-cel .success-wrapper .row-success .btn {
  background: #2d3d8b;
  padding: 7px 15px;
  height: fit-content;
  color: white;
  gap: 10px;
}
.block-form-cel .success-wrapper .row-success .btn svg {
  background: none;
  padding: 0;
  width: 18px;
  height: 18px;
}
.block-form-cel .success-wrapper.concours {
  background: #f4f5f9;
  border: 2px solid #2d3d8b;
}
.block-form-cel .success-wrapper.telecharger-brochure .row-success svg {
  background: #fdf1e8;
  color: #f27521;
}
.block-form-cel .success-wrapper.telecharger-brochure .row-success svg.fleche-success {
  background: none !important;
  height: 18px;
  width: 18px;
  padding: 0px;
  color: #5e6f8d;
}
.block-form-cel .success-wrapper.jpo {
  background: #fdf1e8;
  border: 2px solid #f27521;
}
.block-form-cel .success-wrapper.jpo .text-title {
  font-size: 17px;
}
.block-form-cel .success-wrapper.jpo .row-success svg {
  background: #f27521;
  color: white;
  height: 60px;
  width: 60px;
  padding: 15px;
}
.block-form-cel .success-wrapper.jpo .row-success svg.fleche-success {
  background: none !important;
  color: #f27521;
  height: 24px;
  width: 24px;
  padding: 0;
}
.block-form-cel .tag-recommended {
  background: #fad8c1;
  display: inline-block;
  padding: 1px 7px;
  border-radius: 18px;
  font-size: 10px;
  color: #f27930;
  margin-bottom: 5px;
}
.block-form-cel .titre-success {
  text-transform: uppercase;
  font-size: 14px;
  color: #5f6f85;
  margin-bottom: 16px;
  letter-spacing: 1px;
  margin-top: 40px;
}
.block-form-cel .text-date-concours {
  color: #2d3d8b;
  font-weight: 600;
  font-size: 14px;
  line-height: 14px;
}
.block-form-cel .text-campus-concours {
  font-size: 12px;
  color: #636f8d;
}
.block-form-cel .picto-success-step svg {
  width: 50px;
  height: 50px;
  padding: 13px;
  border-radius: 50%;
}
.block-form-cel .picto-success-step.picto-mail svg {
  stroke: var(--success);
  background: #e7f5ec;
}
.block-form-cel .picto-success-step.picto-dossier svg {
  stroke: #3b4992;
  background: #e6ebf0;
}
.block-form-cel .picto-success-step.picto-entretien svg {
  stroke: #33438e;
  background: #e6ebf0;
}
.block-form-cel .success-details {
  background-color: var(--muted);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px auto;
  max-width: 600px;
  text-align: left;
}
.block-form-cel .success-details-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}
.block-form-cel .success-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  flex-direction: column;
}
.block-form-cel .success-detail-row.nationalite .detail-value {
  text-transform: uppercase;
}
.block-form-cel .success-detail-row:last-child {
  border-bottom: none;
}
.block-form-cel .detail-label {
  font-weight: 700;
  color: var(--muted-foreground);
}
.block-form-cel .detail-value {
  font-weight: 400;
  color: var(--foreground);
  font-size: 15px;
}
.block-form-cel *:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.block-form-cel html {
  scroll-behavior: smooth;
}
@media (max-width: 768px) {
  .block-form-cel button, .block-form-cel a, .block-form-cel input, .block-form-cel select, .block-form-cel textarea {
    min-height: 44px;
  }
}
.block-form-cel .school-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.block-form-cel .school-cards-grid .school-card-header {
  flex: 1;
}
.block-form-cel .school-cards-grid .alternance-option {
  padding: 12px 24px !important;
  height: 50px;
}
.block-form-cel .school-cards-grid .alternance-option .school-card-title {
  text-align: center;
}
.block-form-cel .school-cards-grid:has(> .school-card:nth-child(4):last-child) {
  grid-template-columns: repeat(2, minmax(250px, 1fr));
}
.block-form-cel #exam-cards.school-cards-grid {
  grid-template-columns: 1fr;
}
.block-form-cel #exam-cards.school-cards-grid .school-card:nth-child(n+3) .school-card-header .school-card-header-second-line {
  display: none;
}
.block-form-cel #exam-cards.school-cards-grid .school-card {
  width: 100%;
  padding-left: 64px;
  position: relative;
  padding-inline: 20px;
  height: 80px;
  padding-block: 15px;
  flex-direction: row;
  gap: 10px;
}
.block-form-cel #exam-cards.school-cards-grid .school-card .picto-date {
  background: #e6ebf0;
  height: 40px;
  width: 40px;
  border-radius: 20px;
  position: relative;
}
.block-form-cel #exam-cards.school-cards-grid .school-card .picto-date svg {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  stroke: #172845;
}
.block-form-cel #exam-cards.school-cards-grid .school-card.selected .picto-date {
  background: #2d3d8b;
}
.block-form-cel #exam-cards.school-cards-grid .school-card.selected .picto-date svg {
  stroke: white;
}
.block-form-cel #exam-cards.school-cards-grid .school-card .school-card-title {
  font-size: 14px;
  line-height: 20px;
}
.block-form-cel #exam-cards.school-cards-grid .school-card .school-card-header {
  align-items: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.block-form-cel #exam-cards.school-cards-grid .school-card .school-card-header p {
  background: var(--primary);
  padding-inline: 7px;
  border-radius: 13px;
  color: white;
  font-size: 10px;
  font-weight: 700;
  margin-left: 7px;
}
.block-form-cel #exam-cards.school-cards-grid .school-card .school-card-header .school-card-header-first-line {
  display: flex;
  flex-direction: row;
  width: 100% !important;
  align-items: center;
}
.block-form-cel #exam-cards.school-cards-grid .school-card .school-card-header .school-card-header-first-line.presentiel p {
  background: var(--primary);
  color: white;
}
.block-form-cel #exam-cards.school-cards-grid .school-card .school-card-header .school-card-header-first-line.distanciel p {
  background: #e6ebf0;
  color: #172845;
}
.block-form-cel #exam-cards.school-cards-grid .school-card .school-card-header .school-card-header-second-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #5e6f8d;
  font-size: 11px;
}
.block-form-cel #exam-cards .school-card-header {
  align-items: flex-start;
  flex-direction: row;
}
.block-form-cel #exam-cards .school-card-title {
  font-size: 14px;
}
.block-form-cel .school-card {
  position: relative;
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: row;
  align-items: center;
}
.block-form-cel .school-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
  background: #f4f5f9;
}
.block-form-cel .school-card.selected {
  border-color: var(--primary);
  background-color: #f4f5f9;
}
.block-form-cel .school-card.selected .school-card-title {
  color: var(--primary);
}
.block-form-cel .school-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
  letter-spacing: 1px;
  text-align: left;
}
.block-form-cel .school-card-check {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.block-form-cel #dateConcours-field .school-card-check {
  position: initial;
  transform: none;
}
.block-form-cel .school-card.selected .school-card-check {
  opacity: 1;
}
.block-form-cel .school-card-check svg {
  width: 14px;
  height: 14px;
  color: white;
  stroke-width: 3;
}
@media (max-width: 768px) {
  .block-form-cel .school-cards-grid {
    grid-template-columns: 1fr;
  }
  .block-form-cel #exam-cards.school-cards-grid .school-card .school-card-title {
    font-size: 13px;
  }
  .block-form-cel .school-cards-grid:has(> .school-card:nth-child(4):last-child) {
    grid-template-columns: 1fr;
  }
  .block-form-cel .success-detail-row.niveau-etudes {
    order: 1;
  }
  .block-form-cel .success-detail-row.specialite {
    order: 2;
  }
}
.block-form-cel .custom-select {
  position: relative;
  width: 100%;
  background: white;
  border-radius: var(--form-input-border-radius);
  border: 1px solid var(--form-input-border-color);
  background-color: var(--form-input-background);
  color: var(--form-input-font-color);
  font-family: var(--form-input-font-family);
  font-size: var(--form-input-font-size);
  height: 48px;
}
.block-form-cel .custom-select-trigger {
  width: 100%;
  padding: 10px 40px 10px 14px;
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  /* Pseudo-élément pour les flèches */
}
.block-form-cel .custom-select-trigger::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-right: 2px solid #858b94;
  border-top: 2px solid #858b94;
  transition: transform 0.2s ease;
  pointer-events: none;
  transform: rotate(135deg);
  transform-origin: top;
  margin-top: 2px;
}
.block-form-cel .custom-select-trigger:hover {
  border-color: hsl(var(--primary));
  background-color: hsl(var(--primary)/0.05);
}
.block-form-cel .custom-select-trigger:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary)/0.1);
}
.block-form-cel .custom-select-trigger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: hsl(var(--muted));
}
.block-form-cel .custom-select--disabled {
  opacity: 0.5;
  pointer-events: none;
}
.block-form-cel .custom-select-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: hsl(var(--foreground));
}
.block-form-cel .custom-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: -3px;
  right: -3px;
  background-color: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-height: 250px;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #8f98a6 #eef0f2;
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  /* Scrollbar personnalisée */
}
.block-form-cel .custom-select-dropdown::-webkit-scrollbar {
  width: 10px;
}
.block-form-cel .custom-select-dropdown::-webkit-scrollbar-track {
  background: #eef0f2;
  border-radius: var(--radius);
}
.block-form-cel .custom-select-dropdown::-webkit-scrollbar-thumb {
  background: #8f98a6;
  border-radius: var(--radius);
  border: 2px solid #eef0f2;
}
.block-form-cel .custom-select-dropdown::-webkit-scrollbar-thumb:hover {
  background: #6f7e93;
}
.block-form-cel .custom-select.open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: slideDown 0.2s ease;
  border: 1px solid #dae0e7;
}
.block-form-cel .custom-select-option {
  padding: 10px 14px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  font-size: 14px;
}
.block-form-cel .custom-select-option:hover {
  background-color: var(--primary);
  color: white;
}
.block-form-cel .custom-select-option.selected {
  background-color: hsl(var(--primary)/0.1);
  color: hsl(var(--primary));
  font-weight: 500;
}
.block-form-cel .custom-select-option.selected:hover {
  background-color: var(--primary);
  color: white;
}
.block-form-cel .custom-select-option[data-disabled=true] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .block-form-cel .custom-select-dropdown {
    max-height: 200px;
  }
}
.block-form-cel .welcome-header {
  padding: 32px 0;
  text-align: center;
}
.block-form-cel .welcome-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #eaebf3;
  margin-bottom: 24px;
}
.block-form-cel .welcome-icon-wrapper svg {
  color: var(--primary);
  height: 30px !important;
  width: 30px !important;
}
.block-form-cel .welcome-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: hsl(var(--foreground));
  font-family: "Montserrat", sans-serif;
}
.block-form-cel .welcome-subtitle {
  font-size: 20px;
  color: var(--font-subheading);
  max-width: 672px;
  margin: 0 auto 32px;
  line-height: 28px;
}
@media screen and (max-width: 768px) {
  .block-form-cel .welcome-title {
    font-size: 24px;
  }
  .block-form-cel .welcome-subtitle {
    font-size: 16px;
    line-height: 20px;
  }
  .block-form-cel .recap-section {
    padding: 12px;
  }
}
.block-form-cel .btn-primary-large {
  font-size: 18px;
  height: 56px;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 280px;
}
.block-form-cel .btn-primary-large:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.block-form-cel .btn-primary-large .spinner-icon {
  animation: spin 1s linear infinite;
}
@media (max-width: 380px) {
  .block-form-cel .btn-primary-large {
    width: 100%;
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.block-form-cel .welcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.block-form-cel .welcome-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.block-form-cel .welcome-feature-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin-bottom: 18px;
}
.block-form-cel .welcome-feature-icon-wrapper--primary {
  background-color: #e0deef;
}
.block-form-cel .welcome-feature-icon-wrapper--accent {
  background-color: #ffded7;
}
.block-form-cel .welcome-feature-icon-wrapper--success {
  background-color: #ddece7;
}
.block-form-cel .welcome-feature-icon {
  width: 24px;
  height: 24px;
}
.block-form-cel .welcome-feature-icon--primary {
  color: #2d3d8b;
}
.block-form-cel .welcome-feature-icon--accent {
  color: #f27521;
}
.block-form-cel .welcome-feature-icon--success {
  color: #16a249;
}
.block-form-cel .welcome-contact {
  text-align: center;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
}
.block-form-cel .welcome-contact-email {
  font-weight: 500;
  color: hsl(var(--foreground));
}
.block-form-cel .placeholder-text {
  font-size: 14px;
  font-weight: 400;
}
.block-form-cel .cards-grid-disabled {
  opacity: 0.5;
  pointer-events: none;
}
.block-form-cel .encart-info-text {
  font-size: 14px;
  color: var(--muted-foreground);
}
.block-form-cel #handicap-field {
  margin-top: 32px;
  padding: 20px;
  background-color: #f9fafb;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
}
.block-form-cel .recap-section {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.block-form-cel .recap-section.date-concours {
  border-color: #ccd0e3;
  background-color: #f4f5f9;
  border-width: 2px;
}
.block-form-cel .recap-section.date-concours .detail-value.date-value {
  font-weight: 600;
  font-size: 16px;
}
.block-form-cel .recap-section.date-concours .wrapper-recap-title-ligne {
  display: flex;
  gap: 7px;
}
.block-form-cel .recap-section.date-concours .wrapper-recap-title-ligne svg {
  stroke: #2d3d8b;
  width: 22px;
  height: 25px;
  min-width: 21px;
}
@media screen and (max-width: 768px) {
  .block-form-cel .recap-section {
    padding: 16px;
  }
}
.block-form-cel .recap-section-container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  display: grid;
}
.block-form-cel .recap-section-title {
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
}
.block-form-cel .recap-section-title .btn.modifier {
  padding: 7px 16px;
  height: 100%;
  color: var(--primary);
}
.block-form-cel .recap-section-title .btn.modifier svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}
.block-form-cel .recap-section-title .btn.modifier:hover {
  background: var(--accent);
  color: white !important;
}
.block-form-cel .recap-section-title .btn.modifier:hover svg {
  color: white;
}
.block-form-cel .confirm-message-wrapper {
  background: #fef8f4;
  border: 1px solid #fad0b4;
  padding: 24px;
  margin-top: 24px;
  border-radius: var(--radius);
  font-size: 14px;
}
.block-form-cel .concours-message-wrapper {
  background: #f2f4f7;
  border: 1px solid #dae0e7;
  padding: 24px;
  margin-top: 24px;
  border-radius: var(--radius);
  font-size: 14px;
}
.block-form-cel .concours-message-wrapper p {
  font-weight: 600;
  margin-bottom: 12px;
}
.block-form-cel .concours-message-wrapper ul {
  margin-left: 20px;
  font-size: 14px;
}
.block-form-cel .question-alternance-wrapper {
  padding-top: 16px;
  margin-top: 24px;
  border-top: 1px solid #eceff2;
}
.block-form-cel .question-alternance-wrapper h4 {
  font-size: 14px;
  display: inline-block;
}
.block-form-cel .question-alternance-wrapper .info-alternance {
  font-size: 12px;
  margin-bottom: 20px;
  color: #5e6f8d;
}
.block-form-cel .question-alternance-wrapper .tag-message {
  background: #fff;
  padding-inline: 10px;
  border-radius: 13px;
  color: #0f1b2e;
  font-size: 10px;
  font-weight: 500;
  margin-left: 5px;
  border: 1px solid #dae0e7;
  display: inline-block;
  padding-block: 2px;
  letter-spacing: 0.6px;
  line-height: 15px;
}
.block-form-cel .step-title-underline {
  font-size: 15px;
  font-weight: 400;
  color: #5e6f8d;
}
.block-form-cel .gdpr-wrapper {
  margin-top: 32px;
  padding: 16px;
  background-color: var(--muted);
  border-radius: var(--radius);
}
.block-form-cel .gdpr-wrapper .error-message {
  margin-top: 8px;
  padding-left: 0;
}
.block-form-cel .gdpr-label {
  font-size: 14px;
}
.block-form-cel .app-number-wrapper {
  text-align: center;
  margin: 24px 0;
}
.block-form-cel .app-number-display {
  display: inline-block;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.block-form-cel .app-number-note {
  font-size: 14px;
  color: var(--muted-foreground);
  text-align: center;
}
.block-form-cel .next-steps-section {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
  text-align: left;
}
.block-form-cel .next-steps-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.block-form-cel .next-steps-list {
  padding-left: 24px;
  line-height: 1.8;
}
.block-form-cel .new-application-wrapper {
  margin-top: 32px;
}

/* rappatriement de loader.css et api.css */
/*  CODE API */
.block-form-cel api {
  background: var(--Colors-Button-button-background-primary, #2E2C7E);
  border: solid 1px #2E2C7E;
  color: #5a5a5a;
}

.block-form-cel api .head {
  background: var(--Colors-Button-button-background-primary, #2E2C7E);
  color: #fff;
}

.block-form-cel api .body {
  background-color: #fff;
}

.block-form-cel api .body li {
  font-family: "Neue Haas Grotesk Display Pro";
}

.block-form-cel api .body li .error-extra-info {
  font-family: "CenturyGothic";
}

.block-form-cel api .body info {
  font-size: 0.75rem;
  color: #5a5a5a;
}

.block-form-cel api .body a {
  color: #2E2C7E;
}

.block-form-cel api .body a:hover {
  color: #2E2C7E;
}

/* Forcer le remplacement des SVG pour les icônes de fermeture d'erreur */
.block-form-cel api error-close svg {
  display: none !important;
}

.block-form-cel api error-close::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15" fill="none"><path d="M1 1L14 14M14 1L1 14" stroke="%23ffffff" stroke-width="2" stroke-linecap="round"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
}

.block-form-cel api error-close:hover::after {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15" fill="none"><path d="M1 1L14 14M14 1L1 14" stroke="%23cccccc" stroke-width="2" stroke-linecap="round"/></svg>');
}

.block-form-cel api .head .title,
.block-form-cel api .body .subtitle {
  font-family: "Neue Haas Grotesk Display Pro";
}

/* CSS CODE LOADER */
.block-form-cel .processing #loader {
  background: var(--Colors-Button-button-background-primary, #2E2C7E);
  border: solid 1px #2E2C7E;
  color: #5a5a5a;
}

.block-form-cel .processing #loader .head {
  background: var(--Colors-Button-button-background-primary, #2E2C7E);
  color: #fff;
}

.block-form-cel .processing #loader .body {
  background-color: #fff;
}

.block-form-cel .processing #loader .body info {
  font-size: 0.75rem;
  color: #5a5a5a;
}

.block-form-cel .processing #loader .body a {
  color: #2E2C7E;
}

.block-form-cel .processing #loader .body a:hover {
  color: #2E2C7E;
}

#select2-loader {
  font-family: "Neue Haas Grotesk Display Pro";
  background: var(--Colors-Button-button-background-primary, #2E2C7E);
}

.block-form-cel .processing {
  position: absolute;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-form-cel .processing.hidden {
  display: none;
}

.block-form-cel .processing #loader {
  display: block;
  width: 100%;
  max-width: 500px;
  position: relative;
  border-radius: 5px;
  z-index: 2;
}

.block-form-cel .processing #loader .head {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-weight: bold;
}

.block-form-cel .processing #loader .body {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 5px;
  white-space: normal;
}

.block-form-cel .processing #loader .head,
.block-form-cel .processing #loader .body {
  padding-left: 20px;
  padding-right: 20px;
}

.block-form-cel .processing #loader .body #loading-content {
  text-align: center;
}

.block-form-cel .processing #loader .body #loading-content.hasContent {
  padding: 20px 0px 30px 0px;
}

.block-form-cel .processing #loader .head .title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.block-form-cel .processing #loader .head .title span {
  padding-left: 10px;
}

.block-form-cel .processing #loader .head .title svg.svg-ges-formulaire-spinner-def-ctrl {
  width: 40px;
  height: 40px;
}

.block-form-cel .processing #loader .body info {
  color: #000;
  font-style: italic;
  text-align: center;
  display: block;
  font-weight: bold;
}

.block-form-cel .processing loader-shadow {
  display: block;
  width: 100%;
  height: 100%;
  font-weight: bold;
  position: absolute;
  /*max-width: 1240px;*/
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  margin: auto;
}

.block-form-cel .processing loader-shadow.white {
  background-color: #FFFFFF;
}

#select2-loader {
  background-color: rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 580px) {
  .block-form-cel .processing #loader {
    width: 80%;
  }
}
.block-form-cel api:not(.template-error) {
  display: block;
  width: calc(100% - 2px);
  max-width: 500px;
  position: relative;
  border-radius: 5px;
  z-index: 1000;
}

.block-form-cel api.template-error {
  display: block;
  width: calc(100% - 2px);
  max-width: 500px;
  border-radius: 5px;
  margin: auto;
}

.block-form-cel api .head {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.block-form-cel api .body {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 5px;
  white-space: normal;
}

.block-form-cel api .head,
.block-form-cel api .body {
  padding-left: 20px;
  padding-right: 20px;
}

.block-form-cel api .body .subtitle {
  padding-bottom: 10px;
}

.block-form-cel api .body info {
  color: #000;
  padding-top: 10px;
  font-style: italic;
  text-align: center;
  display: block;
}

.block-form-cel api-shadow {
  display: block;
  width: 100%;
  height: 100%;
  font-weight: bold;
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  margin: auto;
  border-radius: inherit;
}

.block-form-cel api error-close {
  cursor: pointer;
}

.block-form-cel api error-close svg {
  width: 15px;
  height: 15px;
}

.block-form-cel api error-close svg use {
  fill: #fff;
}

.block-form-cel api error-close:hover svg use {
  fill: #000;
}

.block-form-cel api .error {
  color: #a94442;
}

.block-form-cel api .warning {
  color: #8a6d3b;
}

.block-form-cel api .success {
  color: #3c763d;
}

.block-form-cel #form-error-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-form-cel #form-error-box.error-box-hidden {
  display: none;
  visibility: hidden;
}

.block-form-cel #form-error-box api #error-content ul {
  padding-inline: 20px;
}

@media screen and (max-width: 580px) {
  .block-form-cel #form-error-box api {
    width: calc(100% - 50px);
  }
}

.center{
  display: flex;
  justify-content: center;
  align-items: center;
}

/* fin rappatriement de moduleAimairaFormulaire */

/* Carte "prochaine JPO" (mode jpo) — rendu enrichi, pleine largeur */
.block-form-cel #event-cards {
  grid-template-columns: 1fr;
}
.block-form-cel .jpo-event-card {
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 20px 48px 20px 20px; /* marge droite pour la coche */
  text-align: left;
}
.block-form-cel .jpo-event-card .jpo-event-datebox {
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.block-form-cel .jpo-event-card .jpo-event-day { font-size: 26px; font-weight: 700; }
.block-form-cel .jpo-event-card .jpo-event-month {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-top: 3px;
}
.block-form-cel .jpo-event-card .jpo-event-info { flex: 1 1 auto; min-width: 0; }
.block-form-cel .jpo-event-card .jpo-event-badge {
  display: inline-block;
  background: #eef2f7;
  color: var(--primary);
  font-size: 11px; font-weight: 600; letter-spacing: .3px;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.block-form-cel .jpo-event-card .jpo-event-title {
  font-size: 17px; font-weight: 700; color: var(--foreground); margin: 0 0 2px; text-transform: capitalize;
}
.block-form-cel .jpo-event-card .jpo-event-name {
  font-size: 13px; font-weight: 600; color: var(--primary); margin: 0 0 10px;
}
.block-form-cel .jpo-event-card .jpo-event-meta { display: flex; flex-direction: column; gap: 6px; }
.block-form-cel .jpo-event-card .jpo-event-meta-item {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: #5e6f8d;
}
.block-form-cel .jpo-event-card .jpo-event-meta-item svg {
  width: 15px; height: 15px; flex: 0 0 auto; color: var(--primary);
}
@media (max-width: 560px) {
  .block-form-cel .jpo-event-card { flex-direction: column; align-items: flex-start; }
}

/* Champ honeypot anti-bot : invisible à l'écran mais présent dans le DOM.
   Positionné hors écran (plutôt que display:none, que certains bots ignorent). */
.block-form-cel .hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
