
.modal-contenido .close_e {
    position: absolute;
    top: 12px;
    right: 14px;
    left: auto;
    z-index: 2;

    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(15, 61, 62, 0.08);
    color: #0F3D3E;

    font-size: 24px;
    font-weight: normal;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.modal-contenido .close_e:hover {
    background: rgba(15, 61, 62, 0.15);
    color: #0F3D3E;
    opacity: 1;
}

.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 {
    position: relative;
    display: flex;
    flex-direction: column;
    /* espacio entre elementos (opcional) */
  }


  
  .modal-contenido {
    background-color: #465b8a87;
    backdrop-filter: blur(4px);
    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;
  }
   


}


.modal-contenido {
  background-color: rgba(255, 248, 242, 0.96);
  color: #3A312C;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(192, 138, 107, 0.18);
  box-shadow: 0 10px 24px rgba(80, 56, 42, 0.16);
}

.modal-contenido button {
  background-color: #C08A6B;
  color: white;
  border-radius: 10px;
}

.modal-contenido button:hover {
  background-color: #A77458;
}