.model-viewer-container {
  position: relative;
  max-width: 1200px;
  margin: 20px auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.model-3d-container {
  position: relative;
  width: 100%;
  background: transparent;
}

.model-3d-viewer model-viewer {
  width: 100%;
  height: 100%;
  background-color: transparent;
}

.progress-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  transition: opacity 0.3s;
}

.progress-bar.hide {
  opacity: 0;
  pointer-events: none;
}

.progress-bar .update-bar {
  background-color: rgb(6, 95, 98);
  width: 100%;
  height: 100%;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s;
}

.controls {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  background: #e6efef;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 10;
}

.controls-group {
  display: flex;
  gap: 8px;
  padding: 0 8px;
}

.controls-group:not(:last-child) {
  border-right: 1px solid #e5e7eb;
}

.controls button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgb(6, 95, 98);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.controls button:hover {
  background: rgba(0, 0, 0, 0.1);
}

.controls button:active {
  background: rgba(0, 0, 0, 0.2);
}

.controls button svg {
  width: 20px;
  height: 20px;
} 

.model-viewer .lds-dual-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.lds-dual-ring {
  display: inline-block;
  width: 120px;
  height: 120px;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 104px;
  height: 104px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid #065f62;
  border-color: #065f62 transparent #065f62 transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
