.tableau-lazy-container {
  min-height: 400px; /* Fallback; overridden by inline style from PHP */
}

tableau-viz-lazy {
  display: none;
}

.tableau-loading-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}

.tableau-loading-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 0.25rem solid #e9ecef;
  border-top-color: #0066cc;
  border-radius: 50%;
  animation: tableau-spin 0.8s linear infinite;
  margin-bottom: 1rem;
}

@keyframes tableau-spin {
  to { transform: rotate(360deg); }
}

.tableau-loading-text {
  margin: 0;
  color: #6c757d;
  font-size: 0.95rem;
}

.tableau-embed-error {
  min-height: 200px;
  padding: 2rem;
  margin: 1rem 0;
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  border-left-width: 4px;
  border-radius: 0.25rem;
}

.tableau-embed-error p {
  margin-bottom: 0.5rem;
}

.tableau-embed-error p:last-child {
  margin-bottom: 0;
}
