.brace-lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.brace-lightbox-inner {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.brace-lightbox-image {
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.brace-lightbox-close,
.brace-lightbox-prev,
.brace-lightbox-next {
  position: absolute;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5em;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.brace-lightbox-close {
  top: -10px;
  right: -10px;
}

.brace-lightbox-prev {
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
}

.brace-lightbox-next {
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
}

.brace-lightbox-close:hover,
.brace-lightbox-prev:hover,
.brace-lightbox-next:hover {
  background: rgba(255,255,255,0.2);
}