/* Address tool specific styles */

.tool-card {
  padding: 24px 22px 26px;
}

.tool-title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 600;
}

.tool-label {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

.tool-textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.8);
  font-family: inherit;
  font-size: 14px;
}

.tool-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.tool-submit {
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.85);
  background: #111827;
  color: #ffffff;
  font-size: 13px;
  padding: 8px 16px;
  cursor: pointer;
}

.tool-submit:disabled {
  opacity: 0.5;
  cursor: default;
}

/* 結果表示 */

.result {
  border-top: 1px dashed rgba(148,163,184,0.7);
  padding-top: 16px;
  margin-top: 18px;
}

.result.is-empty {
  display: none;
}

.result-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.result-label {
  font-size: 12px;
  color: #6b7280;
  min-width: 96px;
}

.result-value {
  font-size: 14px;
  word-break: break-all;
}

.result-full {
  font-weight: 500;
  font-size: 15px;
  word-break: break-all;
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.result-item {
  padding: 8px 10px;
  border-radius: 10px;
  background: #f9fafb;
  border: 1px solid rgba(148,163,184,0.5);
}

.result-item-label {
  font-size: 11px;
  color: #6b7280;
}

.result-item-value {
  font-size: 13px;
}

/* コピー用ボタン */

.copy-btn {
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.9);
  background: #ffffff;
  font-size: 11px;
  padding: 4px 10px;
  cursor: pointer;
}

.copy-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* Google Maps リンク */

.gmaps-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  font-size: 12px;
  color: #111827;
  text-decoration: none;
}

.gmaps-link:hover {
  text-decoration: underline;
}

/* トースト */

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(17,24,39,0.92);
  color: #ffffff;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 2000;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* スマホ調整 */

@media (max-width: 720px) {
  .tool-card {
    padding: 18px 14px 22px;
  }
}