.elementor-230 .elementor-element.elementor-element-02cb4ee{--display:flex;--margin-top:-180px;--margin-bottom:50px;--margin-left:0px;--margin-right:0px;}.elementor-230 .elementor-element.elementor-element-2c13fc5{--display:flex;}body.elementor-page-230:not(.elementor-motion-effects-element-type-background), body.elementor-page-230 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#061525;}@media(max-width:767px){.elementor-230 .elementor-element.elementor-element-02cb4ee{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}}/* Start custom CSS for shortcode, class: .elementor-element-18c0208 *//* ======= CONTAINER PRINCIPAL ======= */
.loan-form-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
  max-width: 920px;
  margin: 40px auto;
  padding: 40px 35px;
  font-family: "Poppins", sans-serif;
}

/* ======= TITRES ======= */
.loan-form-container h3 {
  font-size: 22px;
  font-weight: 700;
  color: #061525;
  margin: 25px 0 15px;
  text-transform: none;
  letter-spacing: 0.2px;
}

/* ======= STRUCTURE DES LIGNES ======= */
.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 30px;
}

/* ======= COLONNES ======= */
.form-col {
  flex: 1;
  min-width: 260px;
}

.form-col label {
  font-weight: 500;
  display: block;
  margin-bottom: -15px;
  color: #222;
}

/* ======= CHAMPS ======= */
.form-col input,
.form-col select {
  width: 100%;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  background-color: #fafafa;
  transition: all 0.25s ease;
}

.form-col input:focus,
.form-col select:focus {
  border-color: #0056d2;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.1);
}

/* ======= TEXTE D’AIDE ======= */
.help-text {
  font-size: 12px;
  color: #777;
  display: block;
  margin-top: 5px;
  padding-bottom: 10px;
}

/* ======= BOUTONS ======= */
.buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.next-step,
input[type="submit"],
.back-step {
  background: #061525;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.next-step:hover,
input[type="submit"]:hover,
.back-step:hover {
  background: #003f9e;
}

/* ======= POPUP (FOND) ======= */
.loan-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  overflow-y: auto;
  padding: 60px 15px;
  animation: fadeInPopup 0.35s ease forwards;
}

/* ======= POPUP (CONTENU) ======= */
.loan-popup-content {
  background: #fff;
  margin: auto;
  padding: 40px 45px;
  border-radius: 14px;
  width: 100%;
  max-width: 640px;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  animation: zoomIn 0.4s ease;
  font-family: "Poppins", sans-serif;
}

/* ======= BOUTON FERMER (X) ======= */
.close-popup {
  position: absolute;
  top: 15px;
  right: 22px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  transition: color 0.2s;
}

.close-popup:hover {
  color: #d22;
}

/* ======= TITRES DANS LE POPUP ======= */
.loan-popup-content h3 {
  text-align: center;
  font-size: 23px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 25px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.loan-popup-content h4 {
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 16px;
  color: #222;
  border-left: 3px solid #0056d2;
  padding-left: 10px;
}

/* ======= RÉSUMÉ ======= */
.summary-box {
  background: #fafafa;
  border-radius: 10px;
  padding: 20px 25px;
  border: 1px solid #eee;
  line-height: 1.6;
  max-height: 70vh;
  overflow-y: auto;
}

.summary-box p {
  margin: 6px 0;
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 5px;
  font-size: 15px;
  color: #444;
}

.summary-box p:last-child {
  border-bottom: none;
}

/* ======= BOUTONS DANS LE POPUP ======= */
.loan-popup .buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.loan-popup .buttons button,
.loan-popup input[type="submit"] {
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
  border: none;
  font-size: 15px;
}

/* Bouton "Zurück" (gris clair) */
.loan-popup .back-step {
  background: #f4f4f4;
  color: #333;
  border: 1px solid #ddd;
}
.loan-popup .back-step:hover {
  background: #eaeaea;
}

/* Bouton "Bestätigen und senden" (bleu) */
.loan-popup input[type="submit"] {
  background: #0056d2;
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 86, 210, 0.3);
}
.loan-popup input[type="submit"]:hover {
  background: #003f9e;
}

/* ======= ANIMATIONS ======= */
@keyframes fadeInPopup {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ======= RESPONSIVE ======= */
@media (max-width: 900px) {
  .loan-form-container {
    padding: 30px 20px;
    margin: 20px 10px;
  }
}

@media (max-width: 700px) {
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
  .form-col {
    min-width: 100%;
  }
  .loan-popup-content {
    padding: 30px 25px;
  }
}

@media (max-width: 480px) {
  .loan-form-container h3 {
    font-size: 19px;
  }
  .loan-popup .buttons {
    flex-direction: column;
  }
  .loan-popup .buttons button,
  .loan-popup input[type="submit"] {
    width: 100%;
  }
}/* End custom CSS */