/* Estilo para la modal */
.mi-modal {
    display: none;  /* Inicialmente está oculta */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro */
    z-index: 1050;  /* Z-index alto para que se superponga al contenido */
    justify-content: center;
    align-items: center;
    overflow: auto;
  }
  
  /* Contenido de la modal */
  .mi-modal-content {
    background-color: #fff;
    border-radius: 5px;
    border: none;
    padding: 20px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Encabezado de la modal */
  .mi-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .mi-modal-title {
    font-size: 1.25rem;
    margin: 0;
  }
  
  .mi-close {
    font-size: 1.5rem;
    color: #000;
    background-color: transparent !important;
    border: none;
    cursor: pointer;
    margin-top: -25px;
    margin-right: -20px;
  }

  .mi-close:hover {
    color: #575757;
  }
  
  /* Cuerpo del formulario */
  .mi-modal-body {
    padding: 10px 0;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group label {
    font-weight: bold;
  }
  
  .form-control {
    width: 97% !important;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
  }
  
  .mi-btn, .mi-btn-success, .mi-btn-secondary {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .mi-btn-success {
    background-color: #28a745 !important; /* Verde para el botón de descarga */
    width: 92%;
    height: 60px;
  }
  
  .mi-btn-success:hover {
    background-color: #218838 !important;
  }
  
  .mi-btn-secondary {
    background-color: #007bff !important;
    width: 92%;
    height: 60px;
  }
  
  .mi-btn-secondary:hover {
    background-color: #228dff !important;
  }
  
  /* Estilo del botón de descarga */
  #boton-descarga button {
    background-color: #4CAF50; /* Verde */
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
  }

  #boton-descarga button:hover {
    background-color: #45a049;
  }

.popup-image {
    max-width: 100%;
    cursor: pointer;
}
