/**
 * 用户反馈系统样式
 */

.feedback-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feedback-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #5568d3 0%, #6a3d8f 100%);
}

.feedback-button:active {
    transform: translateY(0);
}

.feedback-button i {
    font-size: 16px;
}

/* 反馈模态框样式增强 */
#feedbackModal .modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

#feedbackModal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px 8px 0 0;
    border-bottom: none;
}

#feedbackModal .modal-header .btn-close {
    filter: invert(1);
}

#feedbackModal .modal-body {
    padding: 25px;
}

#feedbackModal .form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
}

#feedbackModal .form-control,
#feedbackModal .form-select {
    border-radius: 4px;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#feedbackModal .form-control:focus,
#feedbackModal .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

#feedbackModal textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

#feedbackModal .modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 15px 25px;
}

#feedbackModal .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-weight: 500;
}

#feedbackModal .btn-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3d8f 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .feedback-button {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .feedback-button span {
        display: none;
    }
    
    .feedback-button i {
        font-size: 18px;
    }
    
    #feedbackModal .modal-dialog {
        margin: 10px;
    }
    
    #feedbackModal .modal-body {
        padding: 20px;
    }
}

/* 反馈按钮动画 */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.6);
    }
}

.feedback-button.new-feedback {
    animation: pulse 2s infinite;
}

