/* Component Placeholder Styles
 * 
 * These styles are used for the placeholder elements displayed 
 * when viewing the site locally via file:// protocol where fetch() won't work.
 */

.component-placeholder {
  padding: 15px;
  margin: 10px 0;
  background-color: #f8f9fa;
  border: 2px dashed #ddd;
  border-radius: 5px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #333;
  text-align: center;
}

.component-placeholder strong {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  color: #0a192f;
}

.component-placeholder p {
  font-size: 12px;
  color: #666;
  margin: 5px 0 0;
}

/* Specific component styling */
.navbar-placeholder {
  background-color: #0a192f;
  color: #fff;
  padding: 20px 15px;
}

.navbar-placeholder strong {
  color: #64ffda;
}

.footer-placeholder {
  background-color: #112240;
  color: #ccd6f6;
  padding: 20px 15px;
}

.cookie-consent-placeholder {
  background-color: rgba(10, 25, 47, 0.8);
  color: #ccd6f6;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.scripts-placeholder {
  display: none; /* Hide scripts placeholder */
}

/* Component error styling */
.component-error {
  padding: 15px;
  margin: 10px 0;
  background-color: #fdf2f2;
  border: 2px dashed #f56565;
  border-radius: 5px;
  color: #c53030;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-align: center;
}