/**
 * Streets API Documentation - Specific Styles. Contains styles specific to the Streets API documentation page.
 */

/* ---- Visualization Sections ---- */

.visualization-section {
  margin-bottom: var(--space-lg);
}

.visualization-section:last-child {
  margin-bottom: 0;
}

.visualization-section h3 {
  margin: var(--space-lg) 0 var(--space-sm);
  padding-bottom: var(--space-xxs);
  font-size: 1.2em;
  font-weight: 600;
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border-light);
}

.visualization-description {
  margin-bottom: var(--space-sm);
}

/* ---- Loading Messages ---- */

.loading-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #666666;
  font-style: italic;
  background-color: #f8f9fa;
}

.loading-message::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #e0e0e0;
  border-top: 2px solid var(--color-accent-link);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}

/* ---- Download Section Enhancements ---- */

.download-buttons .download-btn[data-format="geopackage"] .format-icon {
  font-size: 1.5em;
}

.download-buttons .download-btn[data-format="geopackage"]:hover {
  background-color: #e8f4f8;
  border-color: #2196f3;
}
