/**
 * EffiBEM Viewer v{{ version }} - A Three.js-based viewer for OpenStudio GLTF models
 * https://github.com/jmarrec/effibemviewer
 * https://effibem.com
 */
.effibem-viewer {
  width: 100%;
  height: {{ height }};
  flex: 1;
  position: relative;
}
.effibem-viewer .controls {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.9);
  padding: 10px;
  border-radius: 4px;
  font-family: sans-serif;
  font-size: 12px;
  z-index: 100;
}
.effibem-viewer .controls label { display: block; margin: 4px 0; cursor: pointer; }
.effibem-viewer .controls input { margin-right: 6px; }
.effibem-viewer .info-panel {
  display: none;
  position: absolute;
  background: rgba(255,255,255,0.95);
  padding: 10px 14px;
  border-radius: 4px;
  font-family: sans-serif;
  font-size: 12px;
  z-index: 100;
  max-width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  pointer-events: none;
}
.effibem-viewer .info-panel h4 { margin: 0 0 8px 0; font-size: 13px; }
.effibem-viewer .info-panel .info-row { margin: 4px 0; }
.effibem-viewer .info-panel .info-row.emphasized { background: #1a73e8; color: white; margin: 4px -8px; padding: 4px 8px; border-radius: 4px; font-weight: 600; }
.effibem-viewer .info-panel .info-row.emphasized .info-label { color: white; }
.effibem-viewer .info-panel .info-label { color: #666; }
.effibem-viewer .badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 10px;
  text-transform: capitalize;
}
.effibem-viewer .badge-success { background-color: #198754; color: white; }
.effibem-viewer .badge-danger { background-color: #dc3545; color: white; }
.effibem-viewer .diagnostics-section { display: none; }
.effibem-viewer.include-diagnostics .diagnostics-section { display: block; }
.effibem-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: sans-serif;
  z-index: 50;
}
.effibem-loader.hidden { display: none; }
.effibem-loader h2 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}
.effibem-loader p {
  margin: 0 0 16px 0;
  font-size: 13px;
  color: #666;
}
.effibem-loader input[type="file"] {
  font-size: 14px;
}
