@charset "UTF-8";
/**
 * Styles des formulaires WPCF-SAL
 */
/**
 * Styles de base pour les formulaires WPCF-SAL
 * Fichier principal _base.scss
 */
.wpcf-sal-registration {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.form-progress-container {
  margin: 1.5rem auto 2rem;
  max-width: 600px;
  text-align: center;
  padding: 0 1rem;
}
.form-progress-container *::before, .form-progress-container *::after {
  display: none !important;
}

.form-progress {
  display: flex;
  justify-content: center;
  background: transparent;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
}
.form-progress::before, .form-progress::after {
  display: none !important;
}

.form-progress-step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  cursor: default;
  user-select: none;
  z-index: 1;
  background: #f5f5f5;
  color: #666;
}
.form-progress-step::before, .form-progress-step::after {
  display: none !important;
}
.form-progress-step.active {
  background: #2271b1;
  color: white !important;
  font-weight: 600;
  text-shadow: none;
  opacity: 1;
  visibility: visible;
}

.wpcf-sal-form {
  width: 100%;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #4a5568;
}
.wpcf-sal-form *, .wpcf-sal-form *::before, .wpcf-sal-form *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.form-section {
  margin-top: 1.5rem;
}
.form-section h3 {
  margin: 0 0 1rem;
  color: #2d3748;
  font-size: 1.1rem;
  font-weight: 500;
}

.row .col-12 .title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #4a5568;
}

@media (max-width: 768px) {
  .form-progress-container {
    margin: 1rem;
  }
  .form-progress-step {
    padding: 0.5rem 1rem;
    min-width: auto;
    font-size: 0.9rem;
  }
}
.form-field {
  margin-bottom: 1rem;
  position: relative;
}
.form-field label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: #2d3748;
}
.form-field label .required {
  color: #e53e3e;
  margin-left: 4px;
}
.form-field input:not([type=radio]):not([type=checkbox]),
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 16px;
  color: #4a5568;
  transition: all 0.2s ease;
  background-color: white;
}
.form-field input:not([type=radio]):not([type=checkbox]):focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #2271b1;
  box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.2);
}
.form-field input:not([type=radio]):not([type=checkbox]):disabled,
.form-field select:disabled,
.form-field textarea:disabled {
  background-color: #f8f9fa;
  cursor: not-allowed;
}
.form-field .description {
  margin-top: 5px;
  font-size: 14px;
  color: #666666;
}
.form-field.has-error input:not([type=radio]):not([type=checkbox]),
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #e53e3e;
  background-color: rgba(229, 62, 62, 0.02);
  padding-right: 35px;
}
.form-field.has-error input:not([type=radio]):not([type=checkbox]):focus,
.form-field.has-error select:focus,
.form-field.has-error textarea:focus {
  border-color: #e53e3e;
  box-shadow: 0 0 0 1px rgba(229, 62, 62, 0.2);
}
.form-field.has-error::after {
  content: "!";
  position: absolute;
  right: 10px;
  top: 38px;
  width: 20px;
  height: 20px;
  background: #e53e3e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
}
.form-field.has-error .field-error {
  display: block;
  color: #e53e3e;
  font-size: 12px;
  margin-top: 4px;
}
.form-field.field-valid input:not([type=radio]):not([type=checkbox]),
.form-field.field-valid select,
.form-field.field-valid textarea {
  border-color: #00B963;
  padding-right: 35px;
}
.form-field.field-valid input:not([type=radio]):not([type=checkbox]):focus,
.form-field.field-valid select:focus,
.form-field.field-valid textarea:focus {
  border-color: #00B963;
  box-shadow: 0 0 0 1px #00B963;
}
.form-field.field-valid::after {
  content: "✓";
  position: absolute;
  right: 10px;
  top: 38px;
  width: 20px;
  height: 20px;
  background: #00B963;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.form-actions {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: center;
}

.radio-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.radio-group .radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.radio-group .radio-label input[type=radio] {
  margin-right: 10px;
}

.checkbox-field label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
}
.checkbox-field label input[type=checkbox] {
  margin-right: 10px;
}
.checkbox-field.required label::after {
  content: "*";
  color: #e53e3e;
  margin-left: 4px;
}

.form-messages {
  margin-bottom: 20px;
}
.form-messages .message {
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 15px;
}
.form-messages .message.error {
  background-color: rgba(229, 62, 62, 0.1);
  color: #e53e3e;
  border-left: 4px solid #e53e3e;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
  display: block;
}
.form-messages .message.success {
  background-color: rgba(0, 185, 99, 0.1);
  color: #00B963;
  border-left: 4px solid #00B963;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
  display: block;
}
.form-messages .message.info {
  background-color: rgba(34, 113, 177, 0.1);
  color: #2271b1;
  border-left: 4px solid #2271b1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.button.button-primary {
  background-color: #2271b1;
  color: white;
}
.button.button-primary:hover {
  background-color: rgb(29.8909952607, 99.3436018957, 155.6090047393);
}
.button.button-secondary {
  background-color: #f8f9fa;
  color: #4a5568;
}
.button.button-secondary:hover {
  background-color: rgb(233.125, 236.25, 239.375);
}
.button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.button .button-loading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.button .button-loading .spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}
.button.is-loading .button-text {
  display: none;
}
.button.is-loading .button-loading {
  display: flex;
}

.verification-section {
  max-width: 400px;
  margin: 2rem auto;
  text-align: center;
}
.verification-section .verification-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}
.verification-section .resend-code {
  color: #666666;
  background: none;
  border: 1px solid #e2e8f0;
}
.verification-section .resend-code:hover {
  background: #f8f9fa;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .wpcf-sal-form {
    padding: 15px;
  }
  .radio-group {
    flex-direction: column;
    gap: 10px;
  }
}
/* Variables CSS */
:root {
  --primary-color: #2271b1;
  --secondary-color: #135e96;
  --success-color: #00B963;
  --warning-color: #f6ad55;
  --error-color: #e53e3e;
  --neutral-color: #f8f9fa;
  --font-color: #4a5568;
  --border-color: #e2e8f0;
  --border-radius: 4px;
  --box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  --transition-speed: 0.2s;
}

/* Container principal */
.wpcf-sal-registration {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}

/* Titres */
.wpcf-sal-registration h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--font-color);
  text-align: center;
}

/* Indicateur de progression */
.form-progress {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  padding: 0;
  list-style: none;
}

.form-progress-step {
  display: flex;
  align-items: center;
  padding: 0 30px;
  position: relative;
  color: #666;
  font-weight: 500;
}
.form-progress-step::after {
  content: "";
  position: absolute;
  right: -50%;
  top: 50%;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}
.form-progress-step:last-child::after {
  display: none;
}
.form-progress-step::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--border-color);
  margin-right: 10px;
  z-index: 2;
}
.form-progress-step.active {
  color: var(--primary-color);
}
.form-progress-step.active::before {
  border-color: var(--primary-color);
  background: var(--primary-color);
}
.form-progress-step.completed {
  color: var(--success-color);
}
.form-progress-step.completed::before {
  border-color: var(--success-color);
  background: var(--success-color);
}
.form-progress-step.completed::after {
  background: var(--success-color);
}

/* Formulaire */
.wpcf-sal-form {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

/* Sections */
.form-section {
  display: none;
  animation: fadeIn 0.3s ease;
}
.form-section.active {
  display: block;
}
.form-section h3 {
  font-size: 20px;
  margin: 0 0 25px;
  color: var(--font-color);
}

/* Champs */
.form-field {
  margin-bottom: 20px;
}
.form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--font-color);
}
.form-field input:not([type=radio]):not([type=checkbox]),
.form-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: all var(--transition-speed);
}
.form-field input:not([type=radio]):not([type=checkbox]):focus,
.form-field select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.1);
}
.form-field.has-error input, .form-field.has-error select {
  border-color: var(--error-color);
}
.form-field.has-error .field-error {
  color: var(--error-color);
  font-size: 14px;
  margin-top: 5px;
}
.form-field .description {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

/* Radio buttons */
.radio-group {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}
.radio-group .radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.radio-group .radio-label input[type=radio] {
  margin-right: 8px;
}

/* Actions */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-speed);
}
.button.button-primary {
  background: var(--primary-color);
  color: white;
}
.button.button-primary:hover {
  background: var(--secondary-color);
}
.button.prev-step {
  background: var(--neutral-color);
  color: var(--font-color);
}
.button.prev-step:hover {
  background: #e9ecef;
}
.button.next-step {
  background: var(--primary-color);
  color: white;
}
.button.next-step:hover {
  background: var(--secondary-color);
}
.button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive */
@media (max-width: 768px) {
  .form-progress {
    flex-wrap: wrap;
    gap: 10px;
  }
  .form-progress-step {
    padding: 0 15px;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .button {
    width: 100%;
  }
}
/* Styles spécifiques formulaire membre */
/* Section Adresse */
.address-section .form-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  margin-bottom: 20px;
}
.address-section .form-row.address {
  grid-template-columns: 1fr;
}
.address-section .form-row.location {
  grid-template-columns: 1fr 2fr;
}
.address-section .manual-input-toggle {
  margin-top: 10px;
}
.address-section .manual-input-toggle label {
  display: flex;
  align-items: center;
  font-weight: normal;
  cursor: pointer;
}
.address-section .manual-input-toggle label input[type=checkbox] {
  margin-right: 8px;
}

/* Section Parrainage */
.sponsorship-section .form-field.field-disabled {
  opacity: 0.7;
  pointer-events: none;
}
.sponsorship-section .form-field.field-disabled input, .sponsorship-section .form-field.field-disabled select {
  background-color: #f5f5f5;
}
.sponsorship-section .or-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}
.sponsorship-section .or-divider::before, .sponsorship-section .or-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 30px);
  height: 1px;
  background: var(--border-color);
}
.sponsorship-section .or-divider::before {
  left: 0;
}
.sponsorship-section .or-divider::after {
  right: 0;
}
.sponsorship-section .or-divider span {
  background: white;
  padding: 0 15px;
  color: #666;
  font-size: 14px;
  text-transform: uppercase;
}
.sponsorship-section .referral-info {
  margin-top: 20px;
  padding: 15px;
  background: var(--neutral-color);
  border-radius: var(--border-radius);
  font-size: 14px;
  color: #666;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sponsorship-section .referral-info .referral-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

/* Section Vérification */
.verification-section {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}
.verification-section h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}
.verification-section .form-field {
  margin: 30px 0;
}
.verification-section .form-field input {
  text-align: center;
  letter-spacing: 4px;
  font-size: 24px;
  font-family: monospace;
}
.verification-section .resend-code {
  margin-top: 20px;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--font-color);
}
.verification-section .resend-code:hover {
  background: var(--neutral-color);
}
.verification-section .resend-code:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.verification-section .resend-timer {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .address-section .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .address-section .form-row.location {
    grid-template-columns: 1fr;
  }
}
/* Styles spécifiques au formulaire d'inscription association */
.form-section {
  margin-top: 1.5rem;
}

.form-section h3 {
  margin: 0 0 1rem;
  color: #2d3748;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Spécificités RNA/SIRET */
.rna-field input,
.siret-field input {
  letter-spacing: 1px;
  font-family: monospace;
}
.rna-field.loading::after,
.siret-field.loading::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #2271b1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.address-autocomplete {
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}
.address-autocomplete .ui-menu-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #e2e8f0;
}
.address-autocomplete .ui-menu-item:last-child {
  border-bottom: none;
}
.address-autocomplete .ui-menu-item:hover {
  background-color: #f8f9fa;
}
.address-autocomplete .main-text {
  font-weight: 500;
  color: #4a5568;
  margin-bottom: 5px;
}
.address-autocomplete .sub-text {
  font-size: 14px;
  color: #666666;
}

.address-field {
  position: relative;
}
.address-field .manual-input-toggle {
  margin-top: 10px;
}
.address-field .manual-input-toggle label {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: flex-start;
  font-weight: normal;
  cursor: pointer;
  font-size: 14px;
  color: #666666;
}
.address-field .manual-input-toggle label input[type=checkbox] {
  margin-right: 10px;
}
.address-field .field-help-text {
  font-size: 14px;
  color: #666666;
  margin-top: 5px;
  font-style: italic;
}
.address-field.loading::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #f8f9fa;
  border-top-color: #2271b1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.dropdown-base, .address-autocomplete {
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 2px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.form-steps {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  padding: 0;
  list-style: none;
}
@media (max-width: 768px) {
  .form-steps {
    flex-wrap: wrap;
    gap: 15px;
  }
}

.form-step {
  position: relative;
  padding: 0 30px;
  color: #666666;
  font-weight: 500;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .form-step {
    padding: 0 15px;
  }
}
.form-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -50%;
  top: 50%;
  width: 100%;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}
.form-step::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  border: 2px solid #e2e8f0;
  margin-right: 10px;
  z-index: 2;
  transition: all 0.2s ease;
}
.form-step.active {
  color: #2271b1;
}
.form-step.active::before {
  border-color: #2271b1;
  background: #2271b1;
}
.form-step.completed {
  color: #00B963;
}
.form-step.completed::before {
  border-color: #00B963;
  background: #00B963;
  content: "✓";
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.form-step.completed::after {
  background: #00B963;
}
@media (max-width: 768px) {
  .form-step .step-label {
    display: none;
  }
}
.form-step .step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: #666666;
  display: none;
}
@media (max-width: 768px) {
  .form-step .step-number {
    display: block;
  }
}

.form-section {
  display: none;
  animation: fadeIn 0.3s ease;
}
.form-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.verification-section {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
  padding: 30px 0;
}
.verification-section h3 {
  color: #2271b1;
  margin-bottom: 20px;
  font-size: 18px;
}
.verification-section p {
  color: #4a5568;
  margin-bottom: 30px;
}
.verification-section .form-field {
  margin: 30px 0;
}
.verification-section .form-field input {
  text-align: center;
  letter-spacing: 4px;
  font-size: 24px;
  font-family: monospace;
  padding: 20px;
  max-width: 200px;
  margin: 0 auto;
}
.verification-section .form-field input:focus {
  outline: none;
  border-color: #2271b1;
  box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.2);
}
.verification-section .form-field .description {
  color: #666666;
  font-size: 14px;
  margin-top: 10px;
}
.verification-section .resend-code {
  margin-top: 20px;
  padding: 10px 20px;
  background: none;
  border: 1px solid #e2e8f0;
  color: #4a5568;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.verification-section .resend-code:hover:not(:disabled) {
  background: #f8f9fa;
  border-color: #2271b1;
}
.verification-section .resend-code:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.verification-section .resend-timer {
  font-size: 14px;
  color: #666666;
  margin-top: 10px;
}

.code-input.animating {
  animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

/*# sourceMappingURL=forms.css.map */
