body {
    font-family: 'Nunito Sans', sans-serif;
}

.main-color{
    color:#2e447d;
}
.main-backgroundcolor{
    background-color:#2e447d;
}
.bg-custom {
    background-color: #8080802e;
}

.text-blue{
  color:#000092;
}

/* Styles spécifiques pour intégrer l'image et le formulaire */
.form-card {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Sur écrans >= md on met image + form côte à côte */
.form-card .card-body {
  padding: 0;
}
.form-inner {
  display: flex;
  flex-wrap: nowrap;
}
.form-image {
  flex: 0 0 45%;
  min-width: 200px;
  max-height: 360px; /*300px aligner form */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8f9fb, #ffffff);
  padding: 1.25rem;
  border-right: 1px solid rgba(0,0,0,0.03);
}
.form-image img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

/* Form area */
.form-area {
  flex: 1 1 55%;
  padding: 1.5rem;
}

/* Code pour mobile */
/* Empêche la bordure droite sur petits écrans et empile */
@media (max-width: 767.98px) {
  .form-inner {
    flex-direction: column;
  }
  .form-image {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    padding: 0rem;
  }
  .form-image img {
    max-height: 140px;
    width: auto;
  }
}

/* Ajustement du bouton pour afficher spinner inline */
#submitBtn { display: inline-flex; align-items: center; justify-content: center; }
#spinner { margin-left: .5rem; }
