.doc-screenshot {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 0.75rem;
  cursor: zoom-in;
}

.doc-lightbox-trigger {
  display: block;
}

.doc-lightbox-trigger:hover {
  opacity: 0.98;
}

.doc-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.doc-lightbox[open] {
  display: grid;
  place-items: center;
}

.doc-lightbox::backdrop {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
}

.doc-lightbox-frame {
  position: relative;
  display: inline-block;
  margin: 0;
}

.doc-lightbox-image {
  display: block;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  border-radius: 0.9rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.doc-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
