/**
 * BuddyPress Styles for Aurum Theme
 *
 * @package Aurum
 * @since 1.0.0
 */

/* BuddyPress Container */
.buddypress-wrap {
    background: #fff;
    padding: 30px 0;
    min-height: 400px;
}

.buddypress-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* BuddyPress Page Title */
.buddypress-page-title {
    font-size: 2.5em;
    font-weight: 300;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* BuddyPress Navigation */
.buddypress-navigation {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.buddypress-navigation .bp-navs {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.buddypress-navigation .bp-navs li {
    margin: 0 15px;
}

.buddypress-navigation .bp-navs a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.buddypress-navigation .bp-navs a:hover,
.buddypress-navigation .bp-navs .current a {
    background: #4CAF50;
    color: #fff;
}

/* Activity Stream */
.activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.activity-list .activity-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
    transition: all 0.3s ease;
}

.activity-list .activity-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.activity-list .activity-avatar {
    float: left;
    margin-right: 15px;
}

.activity-list .activity-avatar img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.activity-list .activity-content {
    overflow: hidden;
}

.activity-list .activity-header {
    margin-bottom: 10px;
}

.activity-list .activity-header a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
}

.activity-list .activity-meta {
    color: #999;
    font-size: 0.9em;
}

/* Members Directory */
.members-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.members-list .member-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.members-list .member-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.members-list .member-avatar {
    margin-bottom: 15px;
}

.members-list .member-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.members-list .member-name {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.members-list .member-meta {
    color: #999;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.members-list .member-actions {
    margin-top: 15px;
}

.members-list .member-actions .button {
    background: #4CAF50;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.members-list .member-actions .button:hover {
    background: #45a049;
}

/* Activity Post Form */
.activity-post-form {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.activity-post-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    font-size: 1em;
    resize: vertical;
    min-height: 100px;
}

.activity-post-form .activity-submit {
    margin-top: 15px;
    text-align: right;
}

.activity-post-form .activity-submit input[type="submit"] {
    background: #4CAF50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
}

.activity-post-form .activity-submit input[type="submit"]:hover {
    background: #45a049;
}

/* Search and Filters */
.buddypress-search-form {
    margin-bottom: 30px;
}

.buddypress-search-form input[type="text"] {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 1em;
}

.buddypress-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.buddypress-filters select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .buddypress-navigation .bp-navs {
        flex-direction: column;
        text-align: center;
    }
    
    .buddypress-navigation .bp-navs li {
        margin: 5px 0;
    }
    
    .members-list {
        grid-template-columns: 1fr;
    }
    
    .buddypress-filters {
        flex-direction: column;
        gap: 10px;
    }
}

/* BuddyPress Buttons */
.buddypress .button,
.buddypress input[type="submit"],
.buddypress input[type="button"] {
    background: #4CAF50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buddypress .button:hover,
.buddypress input[type="submit"]:hover,
.buddypress input[type="button"]:hover {
    background: #45a049;
}

.buddypress .button.secondary {
    background: #666;
}

.buddypress .button.secondary:hover {
    background: #555;
}

/* BuddyPress Messages */
.buddypress .bp-messages {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.buddypress .bp-messages .bp-message {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.buddypress .bp-messages .bp-message:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* BuddyPress Groups */
.buddypress .groups-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.buddypress .groups-list .group-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.buddypress .groups-list .group-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.buddypress .groups-list .group-avatar {
    text-align: center;
    margin-bottom: 15px;
}

.buddypress .groups-list .group-avatar img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.buddypress .groups-list .group-name {
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.buddypress .groups-list .group-meta {
    color: #999;
    font-size: 0.9em;
    text-align: center;
    margin-bottom: 15px;
}

/* BuddyPress Profile */
.buddypress .profile-fields {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.buddypress .profile-fields .field_name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.buddypress .profile-fields .field_data {
    color: #666;
    margin-bottom: 15px;
}

/* BuddyPress Notifications */
.buddypress .notifications-list {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
}

.buddypress .notifications-list .notification-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.buddypress .notifications-list .notification-item:last-child {
    border-bottom: none;
}

/* BuddyPress Friends */
.buddypress .friends-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.buddypress .friends-list .friend-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.buddypress .friends-list .friend-avatar img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.buddypress .friends-list .friend-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.buddypress .friends-list .friend-meta {
    color: #999;
    font-size: 0.8em;
}
