/* START - Friends List Styles */

html.dark-mode .bmps-friends-list,
html.dark-mode .bmps-followers-list,
html.dark-mode .bmps-following-list {
    margin: 20px 0;
}

html.light-mode .bmps-friends-list,
html.light-mode .bmps-followers-list,
html.light-mode .bmps-following-list {
    margin: 20px 0;
}

html.dark-mode .bmps-friends-list h2,
html.dark-mode .bmps-followers-list h2,
html.dark-mode .bmps-following-list h2 {
    color: #e0e0e0;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

html.light-mode .bmps-friends-list h2,
html.light-mode .bmps-followers-list h2,
html.light-mode .bmps-following-list h2 {
    color: #333333;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

html.dark-mode .bmps-friends-ul,
html.dark-mode .bmps-followers-ul,
html.dark-mode .bmps-following-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

html.light-mode .bmps-friends-ul,
html.light-mode .bmps-followers-ul,
html.light-mode .bmps-following-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

html.dark-mode .bmps-friend-item,
html.dark-mode .bmps-follower-item,
html.dark-mode .bmps-following-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #2a2a2a;
    border-radius: 6px;
    border-left: 3px solid #4CAF50;
}

html.light-mode .bmps-friend-item,
html.light-mode .bmps-follower-item,
html.light-mode .bmps-following-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 6px;
    border-left: 3px solid #4CAF50;
}

html.dark-mode .bmps-friend-info,
html.dark-mode .bmps-follower-info,
html.dark-mode .bmps-following-info {
    display: flex;
    align-items: center;
    flex: 1;
}

html.light-mode .bmps-friend-info,
html.light-mode .bmps-follower-info,
html.light-mode .bmps-following-info {
    display: flex;
    align-items: center;
    flex: 1;
}

html.dark-mode .bmps-friend-info a,
html.dark-mode .bmps-follower-info a,
html.dark-mode .bmps-following-info a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #e0e0e0;
    transition: color 0.3s ease;
}

html.light-mode .bmps-friend-info a,
html.light-mode .bmps-follower-info a,
html.light-mode .bmps-following-info a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333333;
    transition: color 0.3s ease;
}

html.dark-mode .bmps-friend-info a:hover,
html.dark-mode .bmps-follower-info a:hover,
html.dark-mode .bmps-following-info a:hover {
    color: #4CAF50;
}

html.light-mode .bmps-friend-info a:hover,
html.light-mode .bmps-follower-info a:hover,
html.light-mode .bmps-following-info a:hover {
    color: #4CAF50;
}

html.dark-mode .bmps-friend-info a img,
html.dark-mode .bmps-follower-info a img,
html.dark-mode .bmps-following-info a img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 2px solid #4CAF50;
}

html.light-mode .bmps-friend-info a img,
html.light-mode .bmps-follower-info a img,
html.light-mode .bmps-following-info a img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 2px solid #4CAF50;
}

html.dark-mode .bmps-friend-name,
html.dark-mode .bmps-follower-name,
html.dark-mode .bmps-following-name {
    font-weight: 600;
    font-size: 14px;
    color: #e0e0e0;
}

html.light-mode .bmps-friend-name,
html.light-mode .bmps-follower-name,
html.light-mode .bmps-following-name {
    font-weight: 600;
    font-size: 14px;
    color: #333333;
}

html.dark-mode .bmps-friend-follow-btn,
html.dark-mode .bmps-following-unfollow-btn {
    background: linear-gradient(135deg, #846c80 0%, #10da85 100%);
    color: #e5fbc8;
    border: 1px solid #3e1313;
    border-radius: 11px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0px 8px 4px 2px #51310f;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-left: 10px;
}

html.light-mode .bmps-friend-follow-btn,
html.light-mode .bmps-following-unfollow-btn {
    background: linear-gradient(135deg, #846c80 0%, #10da85 100%);
    color: #e5fbc8;
    border: 1px solid #3e1313;
    border-radius: 11px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0px 8px 4px 2px #51310f;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-left: 10px;
}

html.dark-mode .bmps-friend-follow-btn:hover,
html.dark-mode .bmps-following-unfollow-btn:hover {
    box-shadow: 0px 10px 6px 3px #51310f;
}

html.light-mode .bmps-friend-follow-btn:hover,
html.light-mode .bmps-following-unfollow-btn:hover {
    box-shadow: 0px 10px 6px 3px #51310f;
}

html.dark-mode .bmps-friend-follow-btn:disabled,
html.dark-mode .bmps-following-unfollow-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

html.light-mode .bmps-friend-follow-btn:disabled,
html.light-mode .bmps-following-unfollow-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

html.dark-mode .bmps-friend-follow-btn.bmps-following,
html.dark-mode .bmps-following-unfollow-btn {
    background: linear-gradient(135deg, #10da85 0%, #846c80 100%);
}

html.light-mode .bmps-friend-follow-btn.bmps-following,
html.light-mode .bmps-following-unfollow-btn {
    background: linear-gradient(135deg, #10da85 0%, #846c80 100%);
}

/* END - Friends List Styles */

/* START - List Container Spacing */

html.dark-mode .bmps-friends-list,
html.dark-mode .bmps-followers-list,
html.dark-mode .bmps-following-list {
    padding: 15px;
}

html.light-mode .bmps-friends-list,
html.light-mode .bmps-followers-list,
html.light-mode .bmps-following-list {
    padding: 15px;
}

@media (max-width: 600px) {
    html.dark-mode .bmps-friend-item,
    html.dark-mode .bmps-follower-item,
    html.dark-mode .bmps-following-item,
    html.light-mode .bmps-friend-item,
    html.light-mode .bmps-follower-item,
    html.light-mode .bmps-following-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    html.dark-mode .bmps-friend-follow-btn,
    html.dark-mode .bmps-following-unfollow-btn,
    html.light-mode .bmps-friend-follow-btn,
    html.light-mode .bmps-following-unfollow-btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
}

/* END - List Container Spacing */
