/* SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
 *
 * SPDX-License-Identifier: Apache-2.0
 */

.imageWrapper {
  cursor: zoom-in;
  display: block;
  margin: 2rem auto;
  width: 100%;
  max-width: 80%;
  border-radius: 8px;
}

.imgStandard {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.imgLarge {
  max-width: 40%;
}

/* Zoomed overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  z-index: 9999;
}

.zoomedImage {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background-color: white;
  padding: 1.5rem;
}

.zoomable:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
