.viewer-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#viewer-canvas {
  display: block;
  width: 100%;
  height: 100%;
  rotate: 180deg;
  cursor: grab;
}

#viewer-canvas:active {
  cursor: grabbing;
}

.controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.nav-btn,
.control-btn {
  padding: 12px 16px;
  font-size: 1.5em;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.nav-btn:hover,
.control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.nav-btn:active,
.control-btn:active {
  transform: scale(0.95);
}

.info {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

#loading {
  color: white;
  font-size: 1.2em;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 15px;
  border-radius: 5px;
  display: none;
}

#instructions {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  border-radius: 5px;
  margin-top: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
  .controls {
    bottom: 15px;
    gap: 10px;
  }

  .nav-btn,
  .control-btn {
    padding: 10px 14px;
    font-size: 1.3em;
  }

  .info {
    top: 15px;
    left: 15px;
  }

  #instructions {
    font-size: 0.8em;
  }
}
