/* Profile Page Styles */

/* Friends list on profile page */
.friends-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.friend-item-small {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color, #eee);
}

.friend-item-small:last-child {
    border-bottom: none;
}

.friend-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.friend-name-small {
    font-size: 14px;
    font-weight: 500;
}

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

.activity-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color, #eee);
}

.activity-list li:last-child {
    border-bottom: none;
}

/* Friends page styles */
.friend-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color, #eee);
}

.friend-item:last-child {
    border-bottom: none;
}

.friend-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.friend-info {
    flex-grow: 1;
}

.friend-name {
    font-weight: 500;
    margin-bottom: 3px;
}

.friend-status {
    font-size: 0.85rem;
    color: var(--text-color-secondary, #666);
}

.friend-actions {
    display: flex;
    gap: 8px;
}

/* Search form */
.search-form {
    margin-bottom: 20px;
}

.search-form input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 4px;
    font-size: 16px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 30px 0;
    color: var(--text-color-secondary, #666);
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

/* Dark mode support */
.dark-mode .friend-status {
    color: var(--text-color-secondary, #aaa);
}

.dark-mode .activity-list li,
.dark-mode .friend-item-small,
.dark-mode .friend-item {
    border-color: var(--border-color, #444);
}

.dark-mode .search-form input {
    background-color: var(--input-bg, #333);
    color: var(--text-color, #eee);
    border-color: var(--border-color, #555);
}

.dark-mode .empty-state {
    color: var(--text-color-secondary, #aaa);
}
