
.close_e {
  display: inline-block;
  padding: 5px 10px;
  background-color: red;
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  border-radius: 50%;
}
.close_e:hover {
  background-color: darkred;
}

.modal-encuesta {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
     
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.4s ease-in-out;
  }

  .modal-contenido {
    display: flex;
    flex-direction: column;
    /* espacio entre elementos (opcional) */
  }


  
  .modal-contenido {
    background-color: #fff;
    
    margin: 5% auto;
    padding: 20px;
    border-radius: 11px !important;
    font-size: 14px !important;
    max-width: 380px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: slideDown 0.4s ease;
  }
  
  .modal-contenido h2 {
    margin-top: 0;
  }
  
  .modal-contenido select,
  .modal-contenido textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
  }
  
  .modal-contenido button {
    background-color: #0066cc;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .modal-contenido button:hover {
    background-color: #004a99;
  }
  
  .cerrar-modal {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
  }
  
  @keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  @keyframes fadeIn {
    from { background-color: rgba(0,0,0,0); }
    to { background-color: rgba(0,0,0,0.5); }
  }
  

  /* Estilo responsivo para pantallas pequeñas */
@media (max-width: 480px) {
  


  .modal-contenido {
    
    top: 50% !important;
    left: 50% !important;
    padding: 20px !important;
    border-radius: 11px !important;
    font-size: 14px !important;
    padding-right: 10%;
     
    width: 80% !important;
    max-width:370px !important ;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: slideDown 0.4s ease;
  }
   


}
