
.lightbox-wrapper::-webkit-scrollbar-thumb {
  background-color: #86868b;
  border: 4px solid transparent;
  border-radius: 8px;
  background-clip: padding-box;
}
.lightbox-wrapper::-webkit-scrollbar {
  width: 16px;
}


.lightbox-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #fff;
  width: auto;
  max-width: 95%;
  max-height: 90%;
  min-height: 200px;
  /* height: 90%; */
  overflow: hidden;
  z-index: 9999999;
  opacity: 0;
  pointer-events: none;
  border-radius: .25rem;
  box-shadow: 0px 0px 0.938rem rgba(0, 0, 0, 0.2);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.lightbox-wrapper.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  /* transition: all 0.3s ease; */
  transition: all 450ms ease-in-out;
}
.lightbox-wrapper .details {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.625rem 0.5rem 0.625rem;
  justify-content: space-between;
  position:sticky;
  top:0;left:0;
  z-index:1;
  background-color: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 6px 0 rgba(0,0,0,0.2);
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
  overflow: hidden;
}
.lightbox-wrapper .details .title {
  display: flex;
  font-weight: 500;
}
.details .title p {
  margin: 0 0.313rem;
}
.details .title p.current-img {
  font-weight: 500;
}
.details .icon {
  color: #007bff;
  font-size: 20px;
  cursor: pointer;
}
.lightbox-wrapper .image-box {
/*   display: block; */
  width: 100%;
  /* position: relative; */
  padding: 0 0.313rem 0.313rem 0.313rem;

  /* overflow: auto;
  height: calc(100% - 3rem); */
}
.image-box .slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  height: 50px;
  width: 60px;
  line-height: 50px;
  text-align: center;
  border-radius: 0.25rem;
}
.slide.prev,
.slide.next {
  width: 40%;
  height: 100%;
}
.slide.prev {
  left: 10px;
}
.slide.next {
  right: 10px;
}
.slide svg{
  background:rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: #111;
  position: relative;
  border-radius: 50%;
  /* width: 60px;height: 60px; */
  box-shadow: -4px 1px 14px rgba(0, 0, 0, 0.22);
  display: grid;
  place-content: center;
  cursor: pointer;
}


.image-box img {
  width: 100%;
  border-radius: 0 0 0.25rem 0.25rem;
}
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 999999;
  display: none;
  background: rgba(0, 0, 0, 0.45);
}
.slide span {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}
.slide.prev span {
  justify-content: flex-start;
  padding-left: 10px;
}
.slide.next span {
  justify-content: flex-end;
  padding-right: 10px;
}
.slide .svg-icon {
  width: 2.5rem;
  height: 2.5rem;
}
.close-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  color:#111;
}