/* 公开反馈列表和投票功能的额外样式 */

/* Toast 提示 */
.fc-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease-out;
}

.fc-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.fc-toast-success {
    background: #27ae60;
}

.fc-toast-error {
    background: #e74c3c;
}

.fc-toast-info {
    background: #3498db;
}

/* 反馈详情模态框内容样式 */
.fc-detail-content {
    line-height: 1.8;
}

.fc-detail-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.fc-detail-title {
    font-size: 24px;
    color: #2c3e50;
    margin: 0 0 20px 0;
}

.fc-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 0;
    margin-bottom: 25px;
    border-top: 1px solid #ecf0f1;
    border-bottom: 1px solid #ecf0f1;
    font-size: 14px;
    color: #7f8c8d;
}

.fc-detail-meta strong {
    color: #2c3e50;
    margin-right: 5px;
}

.fc-detail-description {
    margin-bottom: 30px;
}

.fc-detail-description h3 {
    font-size: 18px;
    color: #2c3e50;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.fc-detail-replies {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #ecf0f1;
}

.fc-detail-replies h3 {
    font-size: 18px;
    color: #2c3e50;
    margin: 0 0 20px 0;
}

.fc-replies-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fc-reply-item {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 3px solid #3498db;
}

.fc-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e8ed;
}

.fc-reply-header strong {
    color: #2c3e50;
    font-size: 14px;
}

.fc-reply-time {
    font-size: 12px;
    color: #95a5a6;
}

.fc-reply-content {
    color: #2c3e50;
    line-height: 1.6;
}

/* 徽章样式补充 */
.fc-badge-primary {
    background: #3498db;
}

.fc-loading,
.fc-error {
    text-align: center;
    padding: 40px 20px;
    color: #95a5a6;
}

.fc-error {
    color: #e74c3c;
}

/* 响应式 */
@media (max-width: 768px) {
    .fc-toast {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }

    .fc-toast.show {
        transform: translateY(0);
    }

    .fc-detail-meta {
        flex-direction: column;
        gap: 10px;
    }
}
