/* --- CIF form controls: make selects readable cross-browser --- */
select, option {
  color: rgba(226,232,240,0.95);            /* slate-200 */
  background-color: rgba(2,6,23,0.98);      /* near-slate-950 */
}

/* Your select classes are using bg-white/5; this ensures the text is visible */
select {
  border: 1px solid rgba(255,255,255,0.12);
}

/* Optional: improve native arrow contrast */
select {
  -webkit-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(226,232,240,0.9) 50%),
    linear-gradient(135deg, rgba(226,232,240,0.9) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}
.cifSelect {
  width:100%;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(226,232,240,0.95);
  border-radius: 16px;
  padding: 12px 42px 12px 14px;
  outline: none;
}

/* ---------- CIF SELECT FIX (cross-browser) ---------- */
select.cifSelect{
  width:100%;
  border:1px solid rgba(255,255,255,0.12) !important;
  background-color: rgba(15,23,42,0.92) !important;  /* slate-ish */
  color: rgba(226,232,240,0.98) !important;
  border-radius:16px;
  padding:12px 42px 12px 14px;
  outline:none;
}

/* Force option text visibility */
select.cifSelect option{
  color: rgba(226,232,240,0.98) !important;
  background-color: rgba(2,6,23,1) !important;       /* slate-950 */
}

/* When highlighted/selected, keep text visible */
select.cifSelect option:checked,
select.cifSelect option:hover{
  color: #ffffff !important;
  background-color: #1d4ed8 !important;              /* readable blue */
}

/* Optional: arrow styling (safe) */
select.cifSelect{
  -webkit-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(226,232,240,.9) 50%),
    linear-gradient(135deg, rgba(226,232,240,.9) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
