/*
 * ══════════════════════════════════════════════════
 *  Fix liste déroulante formulaire de contact
 *  zetoworkspace.re/contact/
 *  À déposer dans : /www/wp-content/themes/zeto-vitrine/assets/css/
 *  Et enqueuer via functions.php (voir instructions)
 * ══════════════════════════════════════════════════
 */

/* ── Tous les <select> du site ── */
select,
.wpcf7 select,
.wpcf7-form select,
form select,
.contact-form select,
.gform_wrapper select,
[class*="form"] select {
  /* fond blanc → fond lisible */
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px !important;

  /* texte foncé bien lisible */
  color: #0b1f3a !important;

  /* apparence */
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

  border: 1.5px solid #c8d9e8 !important;
  border-radius: 8px !important;
  padding: 10px 40px 10px 14px !important;
  font-size: 15px !important;
  font-family: inherit !important;
  width: 100% !important;
  cursor: pointer !important;
  outline: none !important;
  transition: border-color .2s, box-shadow .2s !important;
}

/* Focus */
select:focus,
.wpcf7 select:focus,
form select:focus {
  border-color: #00b4c6 !important;
  box-shadow: 0 0 0 3px rgba(0,180,198,.18) !important;
}

/* Options dans la liste */
select option {
  background-color: #ffffff !important;
  color: #0b1f3a !important;
  padding: 8px !important;
}

/* Placeholder option (première option vide) */
select option[value=""],
select option:first-child:not([value]) {
  color: #7a95aa !important;
}

/* Hover sur les options (Firefox) */
select option:hover,
select option:focus,
select option:checked {
  background-color: #e6f7fa !important;
  color: #0b1f3a !important;
}
