/* Feed Dashboard Styles - blog82ai prefixed */
.blog82ai-feeds-dashboard {
    margin: 0;
    padding: 0;
}

/* Dashboard Metrics */
.blog82ai-dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    align-items: stretch;
}

.blog82ai-metric-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.blog82ai-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #0073aa;
}

.blog82ai-metric-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    margin-bottom: 12px;
}

.blog82ai-metric-content h3 {
    margin: 0 0 6px 0;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-align: center;
}

.blog82ai-metric-value {
    font-size: 28px;
    font-weight: 700;
    color: #23282d;
    margin-bottom: 6px;
    line-height: 1;
}

.blog82ai-metric-change {
    font-size: 12px;
    font-weight: 500;
}

.blog82ai-metric-change.positive {
    color: #00a32a;
}

.blog82ai-metric-change.negative {
    color: #d63638;
}

.blog82ai-metric-change.neutral {
    color: #646970;
}

/* Feed Activity */
.blog82ai-feed-activity {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.blog82ai-feed-activity h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    border-bottom: 1px solid #e1e5e9;
    padding-bottom: 12px;
}

.blog82ai-activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog82ai-activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.blog82ai-activity-item:hover {
    background: #f0f0f1;
    border-color: #8c8f94;
}

.blog82ai-activity-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.blog82ai-activity-content {
    flex: 1;
}

.blog82ai-activity-title {
    font-weight: 500;
    color: #1d2327;
    margin-bottom: 4px;
}

.blog82ai-activity-time {
    font-size: 12px;
    color: #646970;
}

.blog82ai-activity-action .button-small {
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    color: #3c434a;
}

.blog82ai-activity-action .button-small:hover {
    background: #f0f0f1;
    border-color: #8c8f94;
}

/* Dashboard Stats */
.blog82ai-dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.blog82ai-stats-section {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.blog82ai-stats-section h3 {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
    border-bottom: 1px solid #e1e5e9;
    padding-bottom: 12px;
}

/* Feed Stats */
.blog82ai-feed-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog82ai-feed-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
}

.blog82ai-feed-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog82ai-feed-name {
    font-weight: 600;
    color: #1d2327;
}

.blog82ai-feed-url {
    font-size: 12px;
    color: #646970;
}

.blog82ai-feed-count {
    font-size: 12px;
    color: #646970;
    text-align: right;
}

.blog82ai-feed-bar {
    height: 6px;
    background: #e1e5e9;
    border-radius: 3px;
    overflow: hidden;
}

.blog82ai-feed-progress {
    height: 100%;
    background: linear-gradient(90deg, #2271b1, #135e96);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Category Import Stats */
.blog82ai-category-import-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog82ai-category-stat {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
}

.blog82ai-category-name {
    font-weight: 500;
    color: #1d2327;
}

.blog82ai-import-count {
    font-size: 14px;
    color: #646970;
}

.blog82ai-success-rate {
    font-size: 14px;
    font-weight: 500;
    color: #00a32a;
}

/* System Status */
.blog82ai-system-status {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.blog82ai-system-status h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    border-bottom: 1px solid #e1e5e9;
    padding-bottom: 12px;
}

.blog82ai-status-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog82ai-status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
}

.blog82ai-status-item.status-success {
    border-left: 4px solid #00a32a;
}

.blog82ai-status-item.status-warning {
    border-left: 4px solid #f56e28;
}

.blog82ai-status-item.status-info {
    border-left: 4px solid #2271b1;
}

.blog82ai-status-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.blog82ai-status-text {
    font-weight: 500;
    color: #1d2327;
    flex: 1;
}

.blog82ai-status-detail {
    font-size: 12px;
    color: #646970;
}

/* Quick Navigation */
.blog82ai-quick-navigation {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.blog82ai-quick-navigation h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    border-bottom: 1px solid #e1e5e9;
    padding-bottom: 12px;
}

.blog82ai-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.blog82ai-nav-item {
    display: block;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog82ai-nav-item:hover {
    background: #fff;
    border-color: #2271b1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog82ai-nav-icon {
    font-size: 24px;
    margin-bottom: 12px;
    text-align: center;
}

.blog82ai-nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
    margin-bottom: 8px;
}

.blog82ai-nav-description {
    font-size: 14px;
    color: #646970;
    line-height: 1.4;
}

/* Recent Imports */
.blog82ai-recent-imports {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.blog82ai-recent-imports h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    border-bottom: 1px solid #e1e5e9;
    padding-bottom: 12px;
}

.blog82ai-imports-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 0 20px 0;
}

.blog82ai-imports-table thead th {
    background: #f8f9fa;
    border: none;
    border-bottom: 1px solid #e1e5e9;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    color: #1d2327;
    text-align: left;
}

.blog82ai-imports-table thead th:first-child {
    border-top-left-radius: 6px;
}

.blog82ai-imports-table thead th:last-child {
    border-top-right-radius: 6px;
}

.blog82ai-imports-table tbody tr {
    border: none;
    background: #fff;
    transition: background-color 0.15s ease;
}

.blog82ai-imports-table tbody tr:hover {
    background: #f8f9fa;
}

.blog82ai-imports-table tbody tr:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.blog82ai-imports-table tbody td {
    padding: 16px;
    border: none;
    vertical-align: middle;
    font-size: 14px;
    color: #1d2327;
}

.blog82ai-imports-table tbody td a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
}

.blog82ai-imports-table tbody td a:hover {
    color: #135e96;
    text-decoration: underline;
}

.blog82ai-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog82ai-status-badge.status-published {
    background: #d4edda;
    color: #155724;
}

.blog82ai-status-badge.status-draft {
    background: #fff3cd;
    color: #856404;
}

.blog82ai-table-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #e1e5e9;
}

.blog82ai-table-footer .button {
    padding: 8px 20px;
    font-size: 14px;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    color: #3c434a;
    text-decoration: none;
    border-radius: 4px;
}

.blog82ai-table-footer .button:hover {
    background: #f0f0f1;
    border-color: #8c8f94;
    color: #1d2327;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog82ai-dashboard-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .blog82ai-metric-card {
        padding: 12px;
    }
    
    .blog82ai-metric-value {
        font-size: 20px;
    }
    
    .blog82ai-metric-content h3 {
        font-size: 10px;
    }
    
    .blog82ai-dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .blog82ai-nav-grid {
        grid-template-columns: 1fr;
    }
    
    .blog82ai-feed-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .blog82ai-category-stat {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
    
    .blog82ai-activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .blog82ai-activity-action {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .blog82ai-dashboard-metrics {
        grid-template-columns: 1fr;
    }
}
