/* 反馈按钮样式 */
.feedback-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #6366f1;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.feedback-button:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    background: #5b5bf6;
}

.feedback-button:active {
    transform: translateY(-1px) scale(1.05);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border: none;
    border-radius: 15px;
    width: 95%;
    max-width: 800px;
    height: 92vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #666;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 1000;
}

.close:hover {
    background-color: #f5f5f5;
    color: #333;
    transform: scale(1.1);
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .feedback-button {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 20px;
        z-index: 9999;
        position: fixed;
        display: flex;
    }
    
    .modal-content {
        margin: 1% auto;
        width: 98%;
        height: 95vh;
    }
    
    .close {
        right: 10px;
        top: 10px;
        width: 28px;
        height: 28px;
        font-size: 20px;
    }
}