/* Estilos para el modal pequeño */
.modal_buscar {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 37%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 50%;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    overflow-y: auto;
}
.modal-content_buscar {
    padding: 10px;
}
.modal_buscar h2 {
    font-size: 18px;
    margin-bottom: 10px;
}
.modal_buscar ul {
    list-style: none;
    padding: 0;
}
.modal_buscar li {
    padding: 5px;
    border-bottom: 1px solid #ddd;
}
.modal_buscar li a{
    color: black;
}
.modal_buscar li:last-child {
    border-bottom: none;
}
.close-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}
.close-btn:hover {
    background-color: darkred;
}

@media  (max-width: 768px) {
    .modal-content_buscar {
        width: 300px;
        width: 90%;
        max-width: 90%;
        background: white;
        padding: 100px;
        margin:0 auto;
        padding: 15px;
    }

    li a {
        color: inherit !important;         /* Usa el color por defecto del contenedor */
        text-decoration: none !important;  /* Quita subrayado */
        font-weight: normal !important;    /* (Opcional) Normaliza el peso */
      }

}