/**
 * AI Expert Agent Feed Styles
 * Version: 1.0
 */

/* Основной контейнер ленты */
.agent-feed-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    max-height: 600px;
    overflow-y: auto;
}

/* Элемент ленты */
.agent-feed-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    animation: fadeInUp 0.3s ease;
}

.agent-feed-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Заголовок элемента */
.agent-feed-item-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.agent-feed-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.agent-feed-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex-grow: 1;
}

.agent-feed-type {
    font-weight: 600;
    font-size: 0.875rem;
}

.agent-feed-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Контент */
.agent-feed-content {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    white-space: pre-wrap;
}

/* Теги */
.agent-feed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.agent-feed-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Пустое состояние */
.agent-feed-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
}

.agent-feed-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.agent-feed-empty h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.agent-feed-empty p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.start-agent-btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

/* Загрузка */
.agent-feed-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
}

.agent-feed-loading p {
    margin-top: 1rem;
    color: var(--text-muted);
}

/* Ошибка */
.agent-feed-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
}

.agent-feed-error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.agent-feed-error p {
    color: var(--danger);
    margin-bottom: 1.5rem;
}

/* @keyframes fadeInUp — moved to components/animations.css */

/* Скроллбар */
.agent-feed-list::-webkit-scrollbar {
    width: 6px;
}

.agent-feed-list::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.agent-feed-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.agent-feed-list::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .agent-feed-list {
        padding: 0.5rem;
        gap: 0.75rem;
    }

    .agent-feed-item {
        padding: 0.75rem;
    }

    .agent-feed-empty {
        padding: 2rem 1rem;
    }

    .agent-feed-empty-icon {
        font-size: 3rem;
    }
}
