﻿.community-post-card {
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 15px;
    box-shadow: 0 2px 4px #63636a;
}

.community-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    margin-right:10px;
}

.pro-badge-overlay {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background-color: #FF3E66; /* Your brand pink */
    color: white;
    font-size: 8px;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
    border: 1px solid white;
}

.community-user-info .name {
    font-weight: bold;
    font-size: 16px;
}

.community-user-info .location {
    font-size: 12px;
    color: #6c757d;
}

.community-post-category {
    font-weight: 500;
    font-size: 18px;
}

.community-post-content {
    margin-top: 10px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.post-badge {
    padding: 4px 8px;
    border-radius: 6px;
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-pro-tip {
    background-color: #FF3E66;
}

.badge-question {
    background-color: #FAA323;
}

.reaction-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.reaction-btn {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: #f0f2f5;
    color: #505056;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid transparent;
}

    .reaction-btn i {
        margin-right: 5px;
        font-size: 18px;
    }

    .reaction-btn.active-like {
        background-color: #FFEBEE;
        color: #FF3E66;
        border-color: #FF3E66;
    }

    .reaction-btn.active-smile {
        background-color: #FFF9C4;
        color: #FBC02D;
        border-color: #FBC02D;
    }

    .reaction-btn.active-wow {
        background-color: #E3F2FD;
        color: #10BAE2;
        border-color: #10BAE2;
    }

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 12px;
    color: #6c757d;
}

.post-images {
    margin-top: 10px;
}

    .post-images img {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 5px;
        max-height: 300px;
        object-fit: cover;
    }

.filter-chips-container {
    padding: 15px 0;
    background-color: #ff3e66;
    overflow-x: auto;
    white-space: nowrap;
}

.filter-chip {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 8px;
    border-radius: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    color: #505056;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

    .filter-chip.selected {
        background-color: #FFF1F4; /* Light pink */
        border-color: #FF3E66; /* Brand pink */
        color: #FF3E66;
        font-weight: 500;
    }

.pagination-container {
    margin-top: 30px;
    text-align: center;
}

    .pagination-container a, .pagination-container span {
        margin: 0 5px;
        padding: 8px 12px;
        text-decoration: none;
        border: 1px solid #ddd;
        border-radius: 4px;
        color: #FF3E66;
    }

        .pagination-container span.current-page {
            background-color: #FF3E66;
            color: white;
            border-color: #FF3E66;
        }

        .pagination-container a:hover {
            background-color: #f0f0f0;
        }
