.repiauto-inscription-container * {
    font-family: 'Poppins', sans-serif!Important;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.form-container #form-particulier input,
.form-container #form-particulier select,
.form-container #form-professionnel input,
.form-container #form-professionnel select {
  background-color: #fff !important;
    font-size: 13px;
}

#module-ra_inscription_pro-inscription .header-top {
  display: none
}

@media (max-width: 768px) {
  #module-ra_inscription_pro-inscription .header-top {
    display: block;
  }
}


/* Hero section with split layout */
.hero-section-pro {
  display: flex;
  /*min-height: 100vh;*/
  /* margin-top: 90px; */
}

.hero-image {
  flex: 0.6;
  background: url('../images/ImageBack1.jpg') -540px/cover;
  position: relative;
  background-size: cover;
  clip-path: ellipse(86% 100% at 0% 60%);
  max-height: 800px;
  /* Arrondi elliptique */
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(135deg, rgba(44, 82, 130, 0.8), rgba(229, 62, 62, 0.6)); */
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  flex: 1;
  background: white;
  display: flex;
  /* align-items: center; */
  /* justify-content: center; */
  padding: 40px;
  /*max-height: 800px;*/
  overflow: auto;
}

.form-container {
  width: 100%;
  max-width: 650px;
  background: white;
  padding: 40px 40px 0px 40px;
  border-radius: 12px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
}

h1 {
  font-size: 35px;
  font-weight: 600;
  color: #163C5D;
  margin-bottom: 10px;
  /*text-align: center;*/
}

.subtitle-pro {
  margin-bottom: 45px;
  color: #163C5D;
  font-weight: normal;
  margin-top: 10px;
  font-size: 14px;
  /*text-align: center;*/
}

/* Account type selector buttons */
.account-type-selector {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.account-type-btn {
  /*flex: 1;*/
  padding: 12px 20px;
  border: 1px solid #163C5D;
  background-color: transparent;
  color: #4a5568;
  font-weight: 500;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
    letter-spacing: 0.5px;
  text-transform: uppercase;
}

.account-type-btn:hover {
  border-color: #163C5D;
  background: #f7fafc;
}

.account-type-btn.active {
   background: #003D60;
  color: white;
  border-color: #003D60;
}

/* Form sections */
.form-section {
  margin-bottom: 40px;
}

.form-section h3 {
  color: #163C5D;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 8px;
  /* border-bottom: 2px solid #e2e8f0; */
}

.form-group {
  margin-bottom: 15px;
  position: relative;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .form-group {
  flex: 1;
}

.password-group {
  position: relative;
}

.form-group.password-group>.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #666;
}

.password-toggle:hover {
  color: #163C5D;
}

/* Form inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #163C5D;
  border-radius: 6px;
  font-size: 1rem;
  background: white !important;
  transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
select:focus {
    border: 1px solid #163C5D;
  border-color: #163C5D;
}

input::placeholder {
  color: rgba(22, 60, 93, 0.76)!important;
    font-size: 13px;
}


/* Select styling */
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Submit button */
.submit-btn {
  /*width: 40%;*/
  padding: 12px 20px;
  /*background: linear-gradient(135deg, #003d6066, #103c5c99);*/
  background:  #103c5c99;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0 0 15px 0;
  text-transform: initial;
}


/*.submit-btn:hover {
  background: linear-gradient(135deg, #c53030, #9c2626);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(197, 48, 48, 0.3);
}*/

/* Form footer with checkboxes */
.form-footer {
  margin-top: 20px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-group label {
  font-size: 0.79rem;
  color: #4a5568;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-group label a {
  color: #163C5D;
  text-decoration: underline;
}

.checkbox-group label a:hover {
  color: #1a365d;
}

/* Account form switching */
.account-form {
  display: none;
}

.account-form.active {
  display: block;
}

/* Success message */
.success-message {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

svg.eye-icon {
  color: #163C5D;
}

.success-message.hidden {
  display: none;
}

.success-content {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  margin: 20px;
}

.success-content h3 {
  color: #38a169;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.success-content p {
  color: #4a5568;
  line-height: 1.6;
  font-style: italic;
}

.info-message {
  font-size: 0.8rem;
  color: #163c5d;
  line-height: 1.5;
  font-style: italic;
}

/* jQuery Validate Styles - Erreurs en rouge */
label.error {
  color: #dc3545 !important;
  font-size: 13px;
  margin-top: 5px;
  display: block;
}

/*.hero-section-pro.hero-section-pro-professionnel .hero-image {*/
/*  background-position-x: -1240px;*/
/*  background-repeat: no-repeat;*/
/*}*/

.form-group.error input,
.form-group.error select {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-group.error label {
  color: #dc3545 !important;
}

.form-group.success input,
.form-group.success select {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

/* Style pour les messages d'erreur jQuery Validate */
label.error {
  color: #dc3545 !important;
  font-size: 13px;
  margin-top: 5px;
  display: block;
  font-weight: normal;
}

/* Style pour les champs avec erreur */
input.error,
select.error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Style pour les champs valides */
input.valid,
select.valid {
  /*border-color: #28a745 !important;*/
  /*box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;*/
}

#module-ra_inscription_pro-inscription .select-group {
  position: relative;
}

#module-ra_inscription_pro-inscription .select-group::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 22px;
  transform: rotate(45deg);
  display: block;
  z-index: 4;
  width: 10px;
  height: 10px;
  border-color: #003d60;
  border-style: solid;
  border-width: 0 1px 1px 0;
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-container {
    padding: 30px 20px;
    margin: 10px;
  }

  h1 {
    font-size: 2rem;
  }

  .account-type-selector {
    gap: 10px;
  }

  .account-type-btn {
    padding: 15px;
    font-size: 0.85rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  select {
    padding: 12px;
  }

  .submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
  }

  .hero-section-pro {
    flex-direction: column;
    margin-top: 0px;
  }

  .hero-image {
    height: 200px;
    flex: none;
    background-position: center;
    clip-path: none;
  }

  .hero-content {
    padding: 30px 20px;
    max-height: initial;
    overflow: initial;
  }

  .form-container {
    max-width: 100%;
  }

  .header-top {
    padding: 6px 15px;
    font-size: 0.75rem;
    background-color: #fff !important;
  }

  .navbar {
    padding: 12px 15px;
  }

  .logo {
    height: 35px;
  }
  .header-top-right {
    width: 100%;
    display: none !important;
  }

}

@media (max-width: 480px) {
  .container {
    padding: 12px;
  }
  .submit-btn {
    width: 100%;
  }

  .form-container {
    padding: 20px 15px;
  }

  h1 {
    font-size: 1.75rem;
  }

  .subtitle-pro {
    font-size: 1rem;
  }

  .header-text {
    font-size: 0.7rem;
  }

  .header-pro {
    padding: 3px 8px;
    font-size: 0.7rem;
  }
}
#privacy-error {
  padding-bottom: 5px;
}
.h3-es {
  margin-bottom: 0px !important;
}
.sub-title-2 {
  color: #163C5D;
  font-weight: normal;
  /*margin-top: 10px;*/
  font-size: 13px;
}
@media (max-width: 767px) {
  .main-content {
    padding: 60px 20px 40px 20px;
    justify-content: center;
  }
}

#source-particulier, #activity-professionnel, #country-professionnel, #source-professionnel{
    font-size: 13px;
}

#module-ra_inscription_pro-inscription #wrapper{
    padding-top: 0;
}
#module-ra_inscription_pro-inscription #wrapper .container {
    max-width: 100%!important;
    margin: 0!important;
    padding: 0!important;
}

/* Texte des boutons desktop/mobile */
.account-type-btn .btn-text-mobile {
    display: none;
}

@media (max-width: 767px) {
    .account-type-btn .btn-text-desktop {
        display: none;
    }
    .account-type-btn .btn-text-mobile {
        display: inline;
    }
    .account-type-selector {
        justify-content: center;
    }
    .account-type-selector .account-type-btn {
        flex: 1;
        max-width: 160px;
    }
}