﻿/* 反馈按钮区域 */
.feedback-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.feedback-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.feedback-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: #f0f2f5;
    color: #606266;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .feedback-btn:hover {
        background: #e4e6e9;
    }

.like-btn.active {
    background: rgba(0, 128, 0, 0.1);
    color: green;
}

.dislike-btn.active {
    background: rgba(255, 0, 0, 0.1);
    color: #f00;
}

/* 模态框样式 */
.feedback-modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover {
        color: black;
    }

.modal-content h3 {
    margin-bottom: 15px;
}

.modal-content textarea {
    width: 100%;
    height: 150px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: none;
    font-size: 1rem;
}

#captchaContainer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

#captchaImage {
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#captchaInput {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#refreshCaptcha {
    padding: 8px 12px;
    background: #f0f2f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--deep-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

    .submit-btn:hover {
        background: #0051cc;
    }
