.profile-filters {
    background: rgba(26, 71, 42, 0.5);
    padding: 1.5rem 0;
    border-bottom: 2px solid #48bb78;
}

.filter-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: #f7fafc;
}

.filter-group select {
    padding: 0.5rem;
    border-radius: 8px;
    border: 2px solid #48bb78;
    background: #f7fafc;
    font-size: 0.9rem;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    background: #48bb78;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #38a169;
    transform: translateY(-2px);
}

.profile-card .message-btn {
    width: 100%;
    padding: 0.75rem;
    background: #48bb78;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.profile-card .message-btn:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.3);
}

/* Re-using some styles from profiles.html for consistency */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.profile-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid #48bb78;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(72, 187, 120, 0.3);
}

.profile-avatar {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a472a;
    text-align: center;
    margin-bottom: 0.5rem;
}

.profile-details {
    text-align: center;
    color: #4a5568;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.profile-bio {
    color: #2d3748;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1; /* Makes bio take up available space */
}

.profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.profile-stat {
    background: #f7fafc;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
