/* Bouton d'aide desktop */
#btn-feedback {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: auto;
    width: auto;
    max-width: max-content;
    z-index: 1010;
    background: #ffffff;
    color: #181713;
    border: 1px solid #e9e9eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 0 14px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: bottom 0.3s ease, background 0.2s, border-color 0.2s;
    box-sizing: border-box;
}

body.profile-open #btn-feedback {
    bottom: 110px; /* 100px profil + 10px marge */
}

#btn-feedback:hover {
    background: #f7f8f6;
    border-color: #dadad6;
}

/* Modale */
#feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
}

#feedback-modal a {
    color: #116e43;
    text-decoration: none;
    font-weight: 500;
}

#feedback-modal a:hover {
    text-decoration: underline;
}

/* Masquage strict sur mobile */
@media (max-width: 768px) {
    #btn-feedback,
    #feedback-modal {
        display: none !important;
    }
}