/*!*************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/app/components/popup/popup.module.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************/
.popup_backdrop__cvk35 {
  position: fixed;
  inset: 0;
  background: rgba(50,50,50,0.6); /* gris semitransparente */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 0;
  box-sizing: border-box;
  overflow: auto;
}

.popup_popup__bxH0d {
  width: auto;
  max-width: 100%;
  max-height: 90vh;
  /* quitar fondo/efecto traslúcido y sombra del contenedor */
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* colocar el botón X sobre la propia imagen (arriba derecha) */
.popup_close__TCw8j {
  position: absolute;
  top: 1px;
  right: -198px;
  z-index: 20;
  background: rgba(255,255,255,0.95);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transform: translateX(-200px);
}

/* la imagen debe ocupar el contenedor sin mostrar ningún fondo detrás */
.popup_image__6BeeO {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: calc(90vh - 24px);
  object-fit: contain;
  box-sizing: border-box;
  border-radius: 0; /* si quieres bordes redondeados ponlos aquí */
}

/* móvil: mantener ajuste */
@media (max-width: 600px) {
  .popup_popup__bxH0d { width: min(96vw, 600px); }
  .popup_image__6BeeO { max-height: calc(90vh - 24px); }
}
