/* ==========================================================================
   Where Am I - Tool-Specific Styles
   Single-result layout, not a list - the simplest tool on the estate,
   deliberately: one pin, one circle, one honest set of numbers.
   ========================================================================== */

.tool-section h3 {
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--text);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--card) 100%);
  margin: -20px -20px 0 -20px;
  padding: 20px;
  border-radius: 12px 12px 0 0;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.button-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.button-row .btn {
  flex: 1;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.status-box {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  display: none;
}

.error-box {
  margin-top: 12px;
  background: #fef3c7;
  border: 1px solid #d97706;
  border-radius: var(--radius);
  padding: 12px 14px;
  color: #92400e;
  font-size: 0.85rem;
  line-height: 1.5;
  display: none;
}

html[data-theme='dark'] .error-box {
  background: rgba(217, 119, 6, 0.15);
  color: #fbbf24;
}

.error-box p {
  margin: 0;
}

.error-box .error-hint {
  margin-top: 6px;
  opacity: 0.9;
}

.error-box .error-retry {
  margin-top: 12px;
}

.shared-banner {
  background: var(--glass);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.5;
}

.result-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.result-address {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.35;
}

.result-address-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  display: none;
}

.result-row {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 12px;
}

.result-row:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.result-coords {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.result-accuracy {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
  margin-top: 8px;
  display: none;
}

.result-method {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
  display: none;
}

.result-manual-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 8px;
  display: none;
}

.privacy-callout {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.privacy-callout strong {
  color: var(--text);
}

.tool-distinction {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.tool-distinction a {
  color: var(--primary);
}

@media (max-width: 600px) {
  .input-section {
    margin: -16px -16px 0 -16px;
    padding: 16px;
  }

  .button-row {
    flex-direction: column;
  }
}
