/* AI Metabox Styles */
.pcm-ai-summary-box {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.pcm-ai-actions button {
    margin-left: 5px;
}

.pcm-ai-actions button .dashicons {
    line-height: 28px;
}

.pcm-summary-box h4 {
    font-size: 14px;
    margin-bottom: 10px;
}

.pcm-summary-box p {
    margin: 0;
    color: #444;
}

.summary-points li {
    line-height: 1.6;
    color: #444;
}

.pcm-ai-loading {
    background: #f8f9fa;
    border-radius: 5px;
}

.pcm-ai-error {
    font-size: 13px;
}

.pcm-ai-info {
    line-height: 1.5;
}

.pcm-ai-info strong {
    color: #2271b1;
}

/* Frontend Summary Styles */
.pcm-article-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.pcm-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.pcm-summary-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.pcm-reading-time {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pcm-summary-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
}

.pcm-key-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pcm-key-points li {
    padding: 12px 0 12px 10px;
    position: relative;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 10px;
    border-right: 3px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.pcm-summary-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .pcm-article-summary {
        padding: 20px;
    }
    
    .pcm-summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .pcm-summary-header h3 {
        font-size: 20px;
    }
}