/* =====================================================================
   style.css — 住所から座標（緯度経度） ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる（結果表示は sg-result）。
   ===================================================================== */

/* 座標はタブ幅数字で桁を揃える */
.sg-result__value,
.ac-item__coords {
  font-variant-numeric: tabular-nums;
}

.sg-result__value {
  font-size: 1.25rem;
}

/* 検索ボタンを横幅いっぱいに */
.sg-btn {
  width: 100%;
}

/* 状態表示（検索中・エラー） */
.ac-status {
  max-width: 760px;
  margin: 12px auto 0;
  padding: 10px 14px;
  border-radius: var(--sg-radius, 8px);
  font-size: 0.9rem;
  background: rgba(59, 91, 219, 0.08);
  color: var(--sg-fg, #333);
}
.ac-status.is-error {
  background: rgba(220, 53, 69, 0.1);
  color: #b02a37;
}

/* 地図リンク */
.ac-maplinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
}
.ac-maplink {
  display: inline-block;
  font-size: 0.9rem;
  padding: 6px 12px;
  border: 1px solid var(--sg-border, #e5e7eb);
  border-radius: var(--sg-radius, 8px);
  text-decoration: none;
  color: var(--sg-primary, #3b5bdb);
}
.ac-maplink:hover {
  background: rgba(59, 91, 219, 0.08);
}

/* 候補一覧 */
.ac-candidates {
  margin-top: var(--sg-space-4, 16px);
}
.ac-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ac-item {
  padding: 12px 0;
  border-top: 1px solid var(--sg-border, #e5e7eb);
}
.ac-item:first-child {
  border-top: none;
}
.ac-item__title {
  font-weight: 600;
  font-size: 0.95rem;
}
.ac-item__coords {
  font-size: 0.9rem;
  color: var(--sg-muted, #777);
  margin-top: 2px;
}
