/**
 * Salvita Frete — style.css
 * Versão: 3.8.0
 * Estilos complementares ao calculator.html (autocomplete, modal fallback, status)
 */

/* ===== Status de distância ===== */
#svf_dist_status.ok    { color: #059669; font-weight: 600; }
#svf_dist_status.error { color: #dc2626; font-weight: 600; }

/* ===== Autocomplete de cidades ===== */
.svf-suggestions {
  list-style: none;
  margin: 4px 0 0;
  padding: 4px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  z-index: 9999;
}
.svf-suggestion-item {
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background .15s;
}
.svf-suggestion-item:hover { background: #f3f4f6; }

/* ===== Modal de pedágio (fallback — script.js) ===== */
#svf-toll-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
}

/* ===== Bloco de cidades (fallback — script.js) ===== */
.svf-city-wrap  { margin-bottom: 16px; }
.svf-city-row   { margin-bottom: 10px; }
.svf-city-row label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 14px; }
.svf-city-row input { width: 100%; padding: 10px 12px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 15px; }
.svf-city-row button { padding: 10px 18px; background: #1e3c72; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: 700; }
.svf-hint { display: block; margin-top: 6px; font-size: 13px; }
