/* Fetched Posts Log Styles */

.blog82ai-fetched-posts {
    padding: 20px;
}

.blog82ai-page-header h2 {
    margin: 0 0 5px 0;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.3;
}

.blog82ai-page-header p {
    margin: 0 0 20px 0;
    color: #646970;
}

.blog82ai-header-actions {
    margin-bottom: 20px;
}

.blog82ai-posts-filters {
    background: #fff;
    border: 1px solid #c3c4c7;
    padding: 15px;
    margin-bottom: 20px;
}

.blog82ai-filter-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.blog82ai-filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.blog82ai-filter-group label {
    font-weight: 500;
    font-size: 13px;
}

.blog82ai-filter-group select,
.blog82ai-filter-group input[type="text"] {
    padding: 4px 8px;
    min-width: 180px;
}

.blog82ai-posts-summary {
    margin-bottom: 20px;
}

.blog82ai-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.blog82ai-summary-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-left: 4px solid #2271b1;
    padding: 15px;
}

.blog82ai-summary-card.success {
    border-left-color: #00a32a;
}

.blog82ai-summary-card.warning {
    border-left-color: #dba617;
}

.blog82ai-summary-card.error {
    border-left-color: #d63638;
}

.blog82ai-summary-number {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

.blog82ai-summary-label {
    font-size: 13px;
    color: #646970;
    margin-bottom: 5px;
}

.blog82ai-summary-change {
    font-size: 12px;
    color: #2271b1;
}

.blog82ai-posts-table {
    background: #fff;
    border: 1px solid #c3c4c7;
}

.blog82ai-posts-table table {
    margin: 0;
}

/* Empty state styles */
.blog82ai-posts-table .blog82ai-empty-state {
    text-align: center;
    padding: 40px;
}

.blog82ai-posts-table .blog82ai-empty-state p:first-child {
    font-size: 16px;
    color: #666;
}

.blog82ai-posts-table .blog82ai-empty-state p:last-child {
    color: #999;
}

/* Source URL styles */
.blog82ai-source-url {
    font-size: 12px;
    color: #666;
}

/* Date/time styles */
.blog82ai-posts-table .blog82ai-datetime-secondary {
    font-size: 12px;
    color: #666;
}

.blog82ai-posts-table .blog82ai-na-text {
    color: #999;
}

/* Status badges */
.blog82ai-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.blog82ai-status-badge.status-imported {
    background: #d7f0d8;
    color: #007017;
}

.blog82ai-status-badge.status-failed {
    background: #f7dede;
    color: #b32d2e;
}

.blog82ai-status-badge.status-duplicate {
    background: #fcf0cd;
    color: #7c6305;
}

/* Error message */
.blog82ai-error-message {
    margin-top: 8px;
    padding: 8px 12px;
    background: #f7dede;
    border-left: 3px solid #d63638;
    font-size: 12px;
    color: #b32d2e;
}

/* Action buttons */
.blog82ai-action-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

/* Pagination */
.blog82ai-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-top: none;
}

.blog82ai-pagination-info {
    color: #646970;
    font-size: 13px;
}

.blog82ai-pagination-links {
    display: flex;
    gap: 5px;
    align-items: center;
}

.blog82ai-page-numbers {
    display: flex;
    gap: 5px;
    align-items: center;
}
