/*!
 * GirafeAddressWidget — styles (Phase 4.3.3)
 * Design system 2.2bis : palette coral, neutres chauds. Fallbacks inline si
 * les variables --g-* ne sont pas chargées sur la page hôte.
 */
.gaw { position: relative; width: 100%; }
.gaw-field { position: relative; display: flex; align-items: center; }
.gaw-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 36px 10px 12px;
  border: 1px solid var(--g-line, rgba(31,35,48,0.18));
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--g-ink, #1f2330);
  background: #ffffff;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.gaw-input:focus {
  outline: none;
  border-color: var(--g-coral-500, #ff7979);
  box-shadow: 0 0 0 3px rgba(255,121,121,0.22);
}
.gaw-clear {
  position: absolute;
  right: 8px;
  background: transparent;
  border: 0;
  color: var(--g-ink-muted, #5b6172);
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.gaw-clear:hover { color: var(--g-coral-700, #d94545); }

.gaw-list {
  position: absolute;
  z-index: 50;
  top: calc(100% + 4px);
  left: 0; right: 0;
  margin: 0; padding: 4px;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--g-coral-200, #ffd1d9);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31,35,48,0.12);
  max-height: 260px;
  overflow-y: auto;
}
.gaw-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.gaw-item:hover { background: var(--g-coral-50, #fff5f6); }
.gaw-item[aria-selected="true"] { background: var(--g-coral-100, #ffe7eb); }
.gaw-item-main { font-size: 14px; color: var(--g-ink, #1f2330); font-weight: 500; }
.gaw-item-sub { font-size: 12px; color: var(--g-ink-muted, #5b6172); }

.gaw-hint { font-size: 12px; color: var(--g-ink-muted, #5b6172); margin-top: 4px; min-height: 0; }
.gaw-hint.is-error { color: var(--g-coral-700, #d94545); }

/* 8-ter Étape 4 — notice prestataire de cartographie (Mapbox), avant saisie */
.gaw-notice { font-size: 12px; line-height: 1.45; color: var(--g-ink-muted, #5b6172); margin: 8px 0 0; }
