* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  background-color: #000;
}

#pano {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hotspot-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

/* Estilos para modales */
.modal {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal > div {
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive para modales */
@media (max-width: 768px) {
  .modal > div {
    width: 95% !important;
    max-height: 90vh !important;
    padding: 20px !important;
  }
  
  .modal h2 {
    font-size: 18px !important;
  }
  
  .modal > div > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}