#ifc-viewer .iframe-wrapper {
  position: relative;
  padding-top: 40%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


#ifc-viewer iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


#ifc-viewer .selector {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

#ifc-viewer .selector button {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  font-weight: bold;
}

#ifc-viewer .selector button.active {
  background: #555;
  color: white;
}

#ifc-viewer .iframe-wrapper {
  position: relative;
  padding-top: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#ifc-viewer .iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

#ifc-viewer.fullscreen {
  padding-top: 90px;
  background-color: #ddd;
  position: fixed !important;
  top: 0px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 0px);
  z-index: 2000;

  border-radius: 0;
}

#ifc-viewer.fullscreen iframe {
  width: 100%;
  height: 100%;
}

#ifc-viewer .fullscreen-toggle,
#ifc-viewer .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  z-index: 1000;
}

#ifc-viewer.fullscreen .selector {
  padding: 0 25px;
}

#ifc-viewer.fullscreen .fullscreen-toggle {
  display: none;
}



#ifc-viewer .close-btn {
  right: 60px;
}

@media screen and (max-width: 576px) {
  #ifc-viewer .iframe-wrapper {
    padding-top: 100%;
  }

}