/* P2-18：文章 AI 总结样式（由 wp_enqueue_style 按需加载） */
.ai-summary-container {
    background-color: #f0f4f8;
    border: 1px solid #d1e0e8;
    border-radius: 12px;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ai-summary-container:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.ai-summary-title {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.ai-summary-content {
    font-size: 16px;
    line-height: 1.6;
    color: #34495e;
    text-align: center;
    position: relative;
    padding: 5px 0;
}

.ai-summary-content.ai-summary-typing::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 1em;
    margin-left: 2px;
    vertical-align: text-bottom;
    background-color: #34495e;
    animation: ai-summary-caret 0.8s steps(1) infinite;
}

@keyframes ai-summary-caret {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
