/**
 * 百德增强插件 - 前台样式
 */

/* 热门搜索词样式 */
.baide-hot-keywords {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.baide-hot-keywords .badg {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    margin: 6px 6px 6px 0;
    font-size: 14px;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.baide-hot-keywords .badg:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.baide-hot-keywords .badg:active {
    transform: translateY(0) scale(0.98);
}

/* 搜索统计样式 */
.baide-search-stats {
    margin-bottom: 20px;
}

.baide-search-stats .zib-widget {
    border: 1px solid #e0e0e0;
}

/* 增强按钮样式 */
.baide-enhance-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.baide-enhance-button i {
    font-size: 1.1em;
}

/* 增强卡片样式 */
.baide-enhance-card {
    border: 1px solid #f0f0f0;
}

.baide-enhance-card .card-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.baide-enhance-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* 搜索结果增强样式 */
.search-result-enhanced {
    transition: all 0.3s ease;
}

.search-result-enhanced:hover {
    background: #fafafa;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .baide-hot-keywords {
        padding: 15px;
    }
    
    .baide-hot-keywords .badg {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .baide-enhance-card {
        padding: 16px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.baide-hot-keywords,
.baide-enhance-card {
    animation: fadeIn 0.5s ease;
}
