.bp-follow-button {
    background-color: #0073aa;
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.bp-follow-button:hover {
    background-color: #005a87;
}

.bp-follow-button.following {
    background-color: #2ecc71; /* Green for following */
}

.bp-follow-button.following:hover {
    background-color: #27ae60;
}

.bp-follow-button.loading {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

/* Loader spinner */
.bp-follow-button.loading::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: bp-spin 0.6s linear infinite;
}

@keyframes bp-spin {
    to { transform: rotate(360deg); }
}

/* Followers / Following List */
.bp-follow-list,
.bp-follow-shortcode ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bp-follow-user {
    display: flex;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f1f1f1;
}

.bp-follow-user:last-child {
    border-bottom: none;
}

.bp-follow-user img.avatar {
    border-radius: 50%;
    margin-right: 10px;
    width: 40px;
    height: 40px;
}

.bp-follow-name a {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.bp-follow-name a:hover {
    color: #0073aa;
}

/* Pagination */
.bp-follow-pagination {
    margin-top: 12px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.bp-follow-pagination a,
.bp-follow-pagination .current-page {
    padding: 4px 10px;
    border: 1px solid #ddd;
    font-size: 13px;
    border-radius: 4px;
    text-decoration: none;
}

.bp-follow-pagination a:hover {
    background-color: #f5f5f5;
}

.bp-follow-pagination .current-page {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* Directory Counts */
.bp-follow-counts {
    font-size: 12px;
    color: #555;
    margin-top: 4px;
}

.bp-follow-counts span {
    display: inline-block;
    margin-right: 6px;
}

/* Follow Button Styling */
.bp-follow-button {
    padding: 5px 12px;
    font-size: 13px;
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid #0073aa;
    background-color: #0073aa;
    color: #fff;
    transition: all 0.2s ease;
}

.bp-follow-button:hover {
    background-color: #005f8d;
    border-color: #005f8d;
}

.bp-follow-button.following {
    background-color: #f1f1f1;
    color: #333;
    border-color: #ccc;
}

.bp-follow-button.follow-back {
    background-color: #f0ad4e;
    border-color: #eea236;
}

.bp-follow-button.follow-back:hover {
    background-color: #ec971f;
    border-color: #d58512;
}
