/* ===================================
   DIRECTGOV - FEED STYLES
   Activity feed and dashboard styles
   =================================== */

/* Feed Container */
.feed-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.6s ease-out;
}

.feed-container h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e1e8ed;
}

/* Activity Items */
.activity-item {
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.activity-item:first-child {
    border-top: none;
    padding-top: 0;
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    margin-bottom: 8px;
}

.activity-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.activity-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.activity-text {
    color: #333;
    font-size: 15px;
    line-height: 1.4;
}

.activity-text strong {
    color: #1e3c72;
    font-weight: 600;
}

.activity-time {
    color: #999;
    font-size: 14px;
    margin-left: 6px;
}

/* Comment Preview in Feed */
.comment-preview {
    display: block;
    margin-top: 8px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-left: 3px solid #667eea;
    border-radius: 4px;
    color: #495057;
    font-size: 14px;
    font-style: italic;
    text-decoration: none;
    transition: all 0.2s;
    line-height: 1.5;
}

.comment-preview:hover {
    background: #e9ecef;
    border-left-color: #764ba2;
    transform: translateX(2px);
}

/* Feed Empty State */
.feed-empty {
    text-align: center;
    padding: 60px 20px;
}

.feed-empty .empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.feed-empty p {
    color: #999;
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .activity-item .proposal-card {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    .activity-item .proposal-card {
        margin-left: 20px;
    }
}
