@charset "utf-8";
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
}
.lightbox-modal {
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.lightbox-wrapper {
  text-align: center;
  animation: fadeIn 0.4s ease;
}
.lightbox-content {
  opacity: 0;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  background: #fff;
  transition: transform 0.3s ease;
}
.lightbox-content.is-ready {
  opacity: 1;
}
.lightbox-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
  z-index: 9;
}
.lightbox-controls button {
  border: none;
  border-radius: 4px;
  opacity: 0.8;
  outline: none;
  user-select: none;
  caret-color: transparent;
}
.lightbox-controls button.lightbox-close{
  position: absolute;
  top: 10px;
  right: 0;
  font-weight: 400;
  width: 40px;
  height: 40px;
  }

.lightbox-caption-box {
  color: #fff;
  font-size: 14px;
  margin-top: 10px;
}
.lightbox-caption-box .slide-type {
    font-size: .8em;
    background: #fff;
    color: #000;
    padding: 0 1em;
    border-radius: 10px;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.lightbox-controls button.lightbox-prev,
.lightbox-controls button.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
}

.lightbox-controls button.lightbox-prev {
  left: 0;
  border-radius: 0 4px 4px 0;
  width: 45px;
  height: 45px;
  padding: 4px 0;
}

.lightbox-controls button.lightbox-next {
  right: 0;
  width: 45px;
  height: 45px;
  padding: 4px 0;
  background: color(srgb 0 0 0 / 0.48);
  border-radius: 4px 0 0 4px;
}

.lightbox-controls button.lightbox-prev:hover,
.lightbox-controls button.lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}
@media (max-width: 767px) {
  .lightbox-controls button.lightbox-close {
    font-size: 1em;
    width: 36px;
    height: 36px;
    line-height: 0;
    padding: 0;
    color: #333;
}
  .lightbox-controls button.lightbox-prev,
.lightbox-controls button.lightbox-next {
    width: 36px;
    height: 36px;
    padding: 0;
    top: 46%;
}
  .lightbox-controls button.lightbox-prev {
        padding: 0 3px 0 0;
    }
  .lightbox-controls button.lightbox-next {
        padding: 0 0 0 3px;
    }
  .lightbox-controls svg{
    width: 30px;
}
  .lightbox-caption-box {
    color: #fff;
    font-size: 14px;
    margin-top: 5px;
}
  .lightbox-caption-box .slide-title {
    font-size: .85em;
    margin-bottom: 0;
}
}