/* Component Scope Root (applied on the .modal element) */
.PhotoViewModal .modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
}

.PhotoViewModal .photo_view_holder {
  position: relative;
  width: 100%;
}

.PhotoViewModal .photo_view_img {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.PhotoViewModal .btn_photo_close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #ffffff;
  color: #0f172a;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
}

.PhotoViewModal .btn_photo_close:hover {
  color: #dc2626;
}

@media (min-width: 0px) and (max-width: 575.98px) {
  .PhotoViewModal .modal-dialog {
    margin: 16px;
  }

  .PhotoViewModal .btn_photo_close {
    top: -8px;
    right: -8px;
  }
}
