.editor-imagen-app {
  max-width: 500px;
  margin: auto;
  text-align: center;
  width: 100%;
}

.editor-imagen-app #inputImagen {
  margin-bottom: 30px;
}

.preview-container {
  margin-top: 15px;
}

#preview {
  max-width: 100%;
  display: block;
}

button#btnDescargar {
  margin-top: 15px;
  padding: 10px 20px;
  background: #0073aa;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

button#btnDescargar:hover {
  background: #005177;
}

.preview-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: auto;
}

#preview {
  width: 100%;
  display: block;
}

.cropper-crop-box {
  position: relative;
}

.overlay-inside {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.cropper-view-box {
  outline: 2px solid #fff;
}

.cropper-face {
  background-color: rgba(0,0,0,0.2);
}

.editor-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.editor-modal.hidden {
  display: none;
}

.editor-modal-content {
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 300px;
  font-family: sans-serif;
  position: relative;
}

.modal-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif; 
  color: var(--azulppal);
}

.editor-modal-content p.modal-sub {
  font-size: 14px;
  color: var(--grisMedio);
  text-align: left;
}

.editor-modal-content {
  animation: fadeIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #666;
  line-height: 1;
}

.modal-close:hover {
  color: #000;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

#abrir-navegador {
  margin-top: 12px;
  margin-bottom: 30px;
  color:var(--rojo);
  font-size: 120%;
}

#abrir-navegador:hover {
  background: #005177;
}