body {
    margin: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background: #bbba96;
  }
  
  #cameraFeed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    display: none;
  }
  
  #modelContainer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    cursor: grab;
  }
  
  model-viewer {
    width: 100%;
    height: 100%;
    background: transparent;
  }
  
  .ar-vr-btns {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
  }
  
  .ar-vr-btns button {
    margin: 0;
  }
  
  #loading-message {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 18px;
    z-index: 15;
    display: none;
  }
  
  #backButton {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
    display: none;
  }
  
  .Hotspot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: rgb(237, 245, 2);
    cursor: pointer;
  }
  
  .hotspot-info {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 8px;
    display: none;
    z-index: 999;
  }
  
  /* Sidebar styles */
  #sidebar {
    position: fixed;
    top: 0;
    right: -50vw; /* initially hidden */
    width: 20vw;
    height: 100vh;
    background-color: rgba(149, 15, 15, 0.8);
    color: rgb(64, 160, 107);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d3ddd1 #0c0c0c;
  }
  
  #sidebar::-webkit-scrollbar {
    width: 10px;
  }
  
  #sidebar::-webkit-scrollbar-track {
    background: #333;
  }
  
  #sidebar::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
  }
  
  #sidebar.open {
    right: 0;
  }
  
  #sidebar h3 {
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-top: 0;
    font-weight: bold;
    font-size: 30px;
  }
  
  .sidebar-content {
    margin-top: 50px;
  }
  
  .object-info-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e3d9d9;
  }
  
  .object-info-item h4 {
    margin-bottom: 10px;
    color: #0e0e0f;
    font-weight: bold; /* Add this line */
  }
  
  .object-info-item p {
    margin: 0;
    color: #adb5bd;
    font-weight: 600;
    font-size: 22px;
  }
  
  /* Close button */
  #sidebar-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    #sidebar {
      width: 80vw;
      right: -80vw;
    }
  
    .ar-vr-btns {
      flex-wrap: wrap;
      justify-content: center;
      width: 100%;
      padding: 0 10px;
    }
  
    .ar-vr-btns button {
      flex: 1 1 auto;
      min-width: 120px;
    }
  }
  
  @media (max-width: 480px) {
    #sidebar {
      width: 100vw;
      right: -100vw;
    }
  
    .ar-vr-btns button {
      font-size: 14px;
      padding: 8px 12px;
    }
  }

  /* Dark mode styles */
  .dark-mode {
    background-color: #ec8d8d;
    color: #ffffff;
  }

  .dark-mode .sidebar {
    background-color: #1e1e1e;
    color: #ffffff;
    border-right: 1px solid #333;
  }

  .dark-mode .sidebar-content {
    color: #e0e0e0;
  }

  .dark-mode .btn-dark {
    background-color: #333;
    border-color: #444;
  }

  .dark-mode .btn-light {
    background-color: #444;
    border-color: #555;
    color: #fff;
  }

  .dark-mode .hotspot-info {
    background-color: #333;
    color: #fff;
  }

  .dark-mode .ar-vr-btns .btn-dark {
    background-color: #444;
  }

  .dark-mode #backButton {
    background-color: #444;
    color: #fff;
  }