/*.bb-freelancer-grid {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));*/
/*    gap: 20px;*/
/*}*/

/*.bb-freelancer-card {*/
/*    background: #fff;*/
/*    border-radius: 10px;*/
/*    overflow: hidden;*/
/*    text-align: center;*/
/*    padding-bottom: 20px;*/
/*}*/

/*.bb-banner img {*/
/*    width: 100%;*/
/*    height: 120px;*/
/*    object-fit: cover;*/
/*}*/

/*.bb-avatar img {*/
/*    border-radius: 50%;*/
/*    margin-top: -40px;*/
/*    border: 4px solid #fff;*/
/*}*/



.bb-freelancer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 20px;
}

.bb-freelancer-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;      /* Rounded corners */
    overflow: hidden;
    text-align: center;
    transition: box-shadow 0.3s;
}

.bb-freelancer-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.bb-banner img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.bb-avatar img {
    border-radius: 50%;
    margin-top: -40px;
    border: 4px solid #fff;
}

.bb-card-content {
    padding: 15px;
}

.bb-card-content h3 {
    font-size: 18px;
    margin: 10px 0 5px;
}

.bb-location,
.bb-profile-type,
.bb-skills {
    font-size: 14px;
    color: #555;
    margin: 3px 0;
}

.bb-skills {
    font-style: italic;
}

.bb-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    background-color: #0073aa;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.bb-btn:hover {
    background-color: #005f8d;
}

.bb-card-actions {
    display: flex;
    justify-content: center; /* Center buttons horizontally */
    gap: 10px;               /* Space between buttons */
    margin-top: 10px;
}

.bb-btn {
    display: inline-block;
    padding: 8px 18px;
    background-color: #0073aa;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.bb-btn:hover {
    background-color: #005f8d;
}

.bb-btn-message {
    background-color: #28a745; /* Different color for message button */
}

.bb-btn-message:hover {
    background-color: #1e7e34;
}



.bb-filter-row {
    display: flex;
    flex-wrap: wrap; /* Wrap on smaller screens */
    gap: 10px;       /* Space between inputs */
    align-items: center;
    margin-bottom: 20px;
}

.bb-filter-input {
    flex: 1 1 150px; /* Grow, shrink, base width */
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.bb-filter-btn {
    padding: 9px 18px;
    background-color: #0073aa;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0; /* Don't shrink */
    transition: background-color 0.2s;
}

.bb-filter-btn:hover {
    background-color: #005f8d;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .bb-filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .bb-filter-btn {
        width: 100%;
    }
}


.bb-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    justify-content: center;
}
.bb-pagination a {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}
.bb-pagination a.active {
    background: #0073aa;
    color: #fff;
}
.bb-pagination a:hover {
    background: #005177;
    color: #fff;
}
@media (max-width: 480px) {
    .bb-pagination a {
        padding: 0.4rem 0.6rem;
        font-size: 14px;
    }
}