.framework-photo-zoomable {
  cursor: zoom-in !important;
}

.framework-photo-remove-small {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
}

.framework-photo-remove-small i.icon {
  font-size: 14px !important;
  line-height: 1 !important;
}

body.framework-photo-lightbox-open {
  overflow: hidden !important;
}

.framework-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20050;
  display: flex;
  flex-direction: column;
  background: rgba(5, 12, 22, 0.96);
}

.framework-photo-lightbox-toolbar {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: max(12px, env(safe-area-inset-top)) 12px 12px;
  color: #fff;
}

.framework-photo-lightbox-toolbar button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 24px;
}

.framework-photo-lightbox-toolbar [data-action="close"] {
  margin-left: auto;
}

.framework-photo-lightbox-scale {
  min-width: 54px;
  text-align: center;
  font-size: 14px;
}

.framework-photo-lightbox-stage {
  flex: 1 1 auto;
  overflow: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 8px 8px max(8px, env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}

.framework-photo-lightbox-stage img {
  display: block;
  width: 100%;
  height: auto;
  margin: auto;
  object-fit: contain;
  transform-origin: top left;
}
