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

/* BuddyPress Container */
.buddypress-wrap {
    background: #fff;
    padding: 30px 0;
    min-height: 400px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

/* Activity Content */
.buddypress-activity-content {
    padding: 20px;
}

/* 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;
}

/* Activity List */
.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 Content */
.buddypress-members-content {
    padding: 20px;
}

/* Members Search */
.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-search-form input[type="submit"] {
    background: #4CAF50;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

/* Members List */
.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;
}

/* Groups Content */
.buddypress-groups-content {
    padding: 20px;
}

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

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

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

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

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

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

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

.groups-list .group-actions {
    text-align: center;
}

.groups-list .group-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;
}

.groups-list .group-actions .button:hover {
    background: #45a049;
}

/* Responsive Design */
@media (max-width: 768px) {
    .members-list {
        grid-template-columns: 1fr;
    }
    
    .groups-list {
        grid-template-columns: 1fr;
    }
    
    .buddypress-page-title {
        font-size: 2em;
    }
}

/* 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;
}
