/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-elementor/
Description: Thème enfant pour le thème Hello Elementor
Author: Votre nom
Author URI: https://www.eurogrecefrance.org
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Styles pour le formulaire Brevo - Adaptation horizontale */
.brevo-sib-form {
  padding: 20px;
  max-width: 100% !important;
}

.brevo-sib-container {
  max-width: 100% !important;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}

.brevo-sib-form-block:first-child {
  flex-basis: 100%;
  margin-bottom: 10px;
}

.brevo-sib-form-block {
  margin: 0 5px;
  text-align: left !important;
}

.brevo-sib-text-form-block {
  display: inline-block;
  margin-right: 10px;
}

.brevo-sib-input {
  margin: 0;
  flex-grow: 1;
}

.brevo-form__entry {
  display: flex;
  align-items: center;
}

.brevo-form__label-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.brevo-entry__label {
  margin-right: 15px;
  white-space: nowrap;
  flex-shrink: 0;
}

.brevo-entry__field {
  flex-grow: 1;
  min-width: 200px;
}

.brevo-sib-form-block__button {
  margin-left: 10px;
}

/* Adaptation pour les petits écrans */
@media (max-width: 768px) {
  .brevo-sib-container {
    flex-direction: column;
  }
  
  .brevo-form__label-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .brevo-entry__label {
    margin-bottom: 10px;
  }
  
  .brevo-sib-form-block__button {
    margin-left: 0;
    margin-top: 10px;
  }
}