/* Botón flotante */
#floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    cursor: pointer;
}
#floating img {
    width: 60px;
    height: auto;
}

/* Modal (cuadro de diálogo) */
#modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Contenido del modal centrado */
#modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Estilos adicionales para el contenido del modal */
#modal .modal-content h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #333;
}

#modal .modal-content textarea {
    width: 100%;
    height: 100px;
    resize: none;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 15px;
}

#modal .modal-content button {
    width: 100%;
    padding: 10px;
    background-color: #25d366;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#modal .modal-content button:hover {
    background-color: #1ebe5d;
}

/* Botón de cierre */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

/* Adaptación para dispositivos móviles */
@media (max-width: 480px) {
    #modal .modal-content {
        width: 95%;
        padding: 15px;
    }
}
