.fy-brevo-form {
  --fluyez-brevo-bg: #ffffff;
  --fluyez-brevo-border: #d9e3f0;
  --fluyez-brevo-text: #0f172a;
  --fluyez-brevo-muted: #64748b;
  --fluyez-brevo-button-bg: #265ff1;
  --fluyez-brevo-button-text: #ffffff;
  --fluyez-brevo-success: #15803d;
  --fluyez-brevo-error: #b91c1c;
  display: grid;
  gap: 16px;
}

.fy-brevo-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fy-brevo-form__field--email,
.fy-brevo-form__field--full {
  grid-column: 1 / -1;
}

.fy-brevo-form__field {
  display: grid;
  gap: 8px;
}

.fy-brevo-form__label {
  color: var(--fluyez-brevo-text);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.fy-brevo-form__input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--fluyez-brevo-border);
  border-radius: 12px;
  background: var(--fluyez-brevo-bg);
  color: var(--fluyez-brevo-text);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  padding: 12px 14px;
}

.fy-brevo-form__input::placeholder {
  color: var(--fluyez-brevo-muted);
}

.fy-brevo-form__input:focus {
  outline: 2px solid rgba(38, 95, 241, 0.18);
  border-color: #265ff1;
}

.fy-brevo-form__input--error {
  border-color: var(--fluyez-brevo-error);
}

.fy-brevo-form__input--error:focus {
  outline: 2px solid rgba(185, 28, 28, 0.18);
  border-color: var(--fluyez-brevo-error);
}

.fy-brevo-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fy-brevo-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--fluyez-brevo-text);
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.fy-brevo-form__turnstile-wrap {
  display: grid;
  gap: 8px;
}

.fy-brevo-form__turnstile {
  min-height: 65px;
}

.fy-brevo-form__actions {
  display: flex;
}

.fy-brevo-form__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--fluyez-brevo-button-bg);
  color: var(--fluyez-brevo-button-text);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.fy-brevo-form__button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.fy-brevo-form__message {
  min-height: 20px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.fy-brevo-form__message.is-success {
  color: var(--fluyez-brevo-success);
}

.fy-brevo-form__message.is-error {
  color: var(--fluyez-brevo-error);
}

@media (max-width: 767px) {
  .fy-brevo-form__fields {
    grid-template-columns: 1fr;
  }
}