/* Style pour le widget de feedback flottant */
.feedback-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px;
    z-index: 999;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.feedback-widget:hover {
    width: 200px;
}

.feedback-widget.expanded {
    width: 300px;
    height: auto;
}

.feedback-icon {
    font-size: 24px;
    color: #4a6cf7;
}

.feedback-text {
    margin-left: 10px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feedback-widget:hover .feedback-text {
    opacity: 1;
}

.feedback-form {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 10px;
}

.feedback-widget.expanded .feedback-form {
    display: flex;
}

.mini-stars {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.mini-stars input {
    display: none;
}

.mini-stars label {
    font-size: 18px;
    color: #ccc;
    cursor: pointer;
    padding: 0 2px;
}

.mini-stars input:checked ~ label,
.mini-stars:not(:checked) > label:hover,
.mini-stars:not(:checked) > label:hover ~ label {
    color: #f8ce0b;
}

.feedback-form textarea {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
    resize: none;
    height: 80px;
}

.feedback-form button {
    background-color: #4a6cf7;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.feedback-form button:hover {
    background-color: #3a57d7;
}

.close-feedback {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 18px;
    cursor: pointer;
    color: #999;
    display: none;
}

.feedback-widget.expanded .close-feedback {
    display: block;
}

@media (max-width: 768px) {
    .feedback-widget {
        bottom: 10px;
        right: 10px;
    }
    
    .feedback-widget.expanded {
        width: 90%;
        max-width: 300px;
    }
}
