/**
 * Delphi AI Embed - Page Specific Styles
 */

/* Info banner for debug mode */
.info-banner {
  background: #e0f2fe;
  border-left: 4px solid #0284c7;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.info-banner h3 {
  color: #0369a1;
  margin-bottom: 0.5rem;
}

.info-banner ul {
  margin-left: 1.5rem;
  color: #075985;
}

/* Debug log section */
.debug-section {
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
  font-family: monospace;
  font-size: 0.875rem;
}

.debug-section .log-entry {
  padding: 0.25rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.debug-section .log-entry:last-child {
  border-bottom: none;
}

.debug-section .log-entry.success {
  color: #059669;
}

.debug-section .log-entry.error {
  color: #dc2626;
}

.debug-section .log-entry.info {
  color: #2563eb;
}

/* Hide debug elements by default */
.debug-hidden {
  display: none;
}

/* Override main.css constraints to make Delphi embed full width */
.main-content {
  align-items: stretch !important;
  padding: 1rem !important;
}

.wide-container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 2rem;
}

@media (max-width: 600px) {
  .wide-container {
    padding: 0 0.5rem;
  }
}

/* Delphi container and iframe styling */
#delphiContainer {
  width: 100%;
  min-height: 800px;
}

#delphiContainer iframe {
  width: 100% !important;
  min-width: 100% !important;
}
