/* Community Feed Widget Styling */

.community-feed {
    max-width: 800px;
    margin: 0 auto;
}

.feed-header {
    text-align: center;
    margin-bottom: 24px;
}

.feed-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #002D72;
    margin-bottom: 8px;
}

.feed-subtitle {
    font-size: 14px;
    color: #5f6368;
    margin: 0;
}

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

/* Feed Item */
.feed-item {
    background: white;
    border: 2px solid #E8EAED;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s;
}

.feed-item:hover {
    border-color: #002D72;
    box-shadow: 0 4px 12px rgba(0, 45, 114, 0.1);
}

.feed-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.feed-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feed-user-name {
    font-size: 16px;
    font-weight: 600;
    color: #202124;
}

.feed-timestamp {
    font-size: 13px;
    color: #5f6368;
}

/* Feed Content */
.feed-item-content {
    margin-bottom: 16px;
}

.feed-summary {
    font-size: 15px;
    color: #202124;
    margin-bottom: 12px;
    line-height: 1.5;
}

.feed-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}

.feed-highlight:last-child {
    margin-bottom: 0;
}

.boldest-pick {
    background: linear-gradient(135deg, #FFF3CD 0%, #FFE69C 100%);
    border: 1px solid #FFC107;
}

.contrarian-picks {
    background: linear-gradient(135deg, #FCE8E6 0%, #F8D7DA 100%);
    border: 1px solid #EA4335;
}

.highlight-label {
    font-weight: 600;
    white-space: nowrap;
}

.highlight-value {
    font-weight: 500;
    color: #202124;
}

/* Feed Actions */
.feed-item-actions {
    display: flex;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #E8EAED;
}

.feed-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #F8F9FA;
    border: 1px solid #DADCE0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.2s;
}

.feed-action-btn:hover:not(:disabled) {
    background: #E8EAED;
    border-color: #002D72;
}

.feed-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.feed-action-btn.liked {
    background: #FCE8E6;
    border-color: #EA4335;
    color: #EA4335;
}

.feed-action-btn.share-btn {
    background: #E8F5FE;
    border-color: #1DA1F2;
    color: #1DA1F2;
}

.feed-action-btn.share-btn:hover:not(:disabled) {
    background: #1DA1F2;
    color: white;
}

.action-icon {
    font-size: 16px;
}

.action-count {
    font-weight: 600;
    min-width: 16px;
    text-align: center;
}

.action-label {
    font-size: 13px;
    font-weight: 600;
}

/* Empty State */
.feed-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #F8F9FA;
    border-radius: 12px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.feed-empty-state h3 {
    font-size: 20px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 8px;
}

.feed-empty-state p {
    font-size: 15px;
    color: #5f6368;
    margin: 0;
}

/* Community Tab Specific */
.community-tab-content {
    padding: 24px 0;
}

.community-stats-overview {
    background: linear-gradient(135deg, #E8F0FE 0%, #D2E3FC 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: center;
}

.community-stats-overview h3 {
    font-size: 20px;
    font-weight: 700;
    color: #002D72;
    margin-bottom: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 16px;
    border: 2px solid #DADCE0;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #002D72;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: #5f6368;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .feed-item {
        padding: 16px;
    }

    .feed-user-name {
        font-size: 14px;
    }

    .feed-summary {
        font-size: 14px;
    }

    .feed-highlight {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-value {
        font-size: 24px;
    }
}
