/* ============================================================
   FEED CONTENT CARDS - TEMPLATE STYLES
   ============================================================ */

.feed-content-card.template-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 16px 0;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.3s ease;
    border: 1.5px solid #d8d8d8;
}

.feed-content-card.template-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #b8b8b8;
}

/* Template Header */
.template-header {
    padding: 20px;
    color: white;
}

.template-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.template-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
}

.template-title h3 {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 700;
}

.template-title p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.template-body {
    padding: 20px;
}

/* Suggested Users */
.suggested-users-grid {
    display: grid;
    gap: 12px;
}

.suggested-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    transition: background 0.2s;
}

.suggested-user-item:hover {
    background: #f3f4f6;
}

.suggested-user-item img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-info strong {
    font-size: 15px;
    color: #111827;
}

.user-stats {
    font-size: 13px;
    color: #6b7280;
}

.follow-btn {
    padding: 8px 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.follow-btn:hover {
    background: #2563eb;
}

.follow-btn.following {
    background: #6b7280;
}

/* Suggested Tags */
.suggested-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    transition: all 0.2s;
}

.tag-chip:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: scale(1.05);
}

.tag-count {
    font-size: 12px;
    padding: 2px 8px;
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}

/* Suggested Categories */
.suggested-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.category-card {
    padding: 16px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.category-card:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    transform: translateY(-4px);
}

.category-card:hover .category-name {
    color: white;
}

.category-card:hover .category-count {
    color: rgba(255,255,255,0.9);
}

.category-name {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.category-count {
    font-size: 13px;
    color: #6b7280;
}

/* Tips Card */
.tip-text {
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
    margin: 0 0 16px 0;
}

.tip-cta {
    display: inline-block;
    padding: 10px 20px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.tip-cta:hover {
    background: #2563eb;
}

/* Credits Promo */
.features-list {
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 12px;
}

.upgrade-cta {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.2s;
}

.upgrade-cta:hover {
    transform: scale(1.02);
}

/* Responsive */
/* Suggested List (Users, Tags, Categories) */
.suggested-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.suggested-item {
    transition: background 0.2s;
}

.suggested-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s;
}

.suggested-link:hover {
    background: #e0e7ff;
    transform: translateX(4px);
}

.suggested-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.suggested-name {
    font-weight: 600;
    font-size: 15px;
}

@media (max-width: 768px) {
    .suggested-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .template-header {
        padding: 16px;
    }
    
    .template-body {
        padding: 16px;
    }
    
    .template-icon {
        font-size: 28px;
        width: 48px;
        height: 48px;
    }
    
    .template-title h3 {
        font-size: 18px;
    }
}
