/* New Sidebar Style - Square Icons */

/* Basic sidebar layout */
.facebook-left-sidebar {
    border-right: 1px solid #e4e6eb;
    position: relative;
}

.facebook-left-sidebar:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #f03d25;
    z-index: 1;
}

.left-sidebar-wrapper {
    padding: 10px 10px 10px 15px;
    position: relative;
}

/* Section title styling */
.sidebar-section-title {
    font-size: 12px;
    color: #65676b;
    margin: 8px 0 12px 10px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Square icons for sidebar */
.sidebar-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 15px;
    border-radius: 4px;
}

.green-square {
    background-color: #42b72a;
}

.red-square {
    background-color: #e41e3f;
}

.blue-square {
    background-color: #1877f2;
}

.yellow-square {
    background-color: #f7b928;
}

.teal-square {
    background-color: #00a59c;
}

/* Profile styling */
.profile-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 5px;
    margin-bottom: 10px;
    border-radius: 0;
}

.profile-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.sidebar-profile {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.profile-menu-dropdown .profile-menu-toggle {
    border: none;
    background: transparent;
    color: #65676b;
    padding: 5px;
    border-radius: 50%;
}

/* Menu items */
.sidebar-menu-list {
    margin-bottom: 15px;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 2px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.15s ease;
}

.sidebar-menu-item span {
    font-size: 14px;
    font-weight: 400;
}

.sidebar-menu-item:hover {
    background-color: #f0f2f5;
}

.sidebar-menu-item:hover span {
    color: #333;
}

/* Footer styling */
.sidebar-footer {
    margin-top: 20px;
    padding: 10px 10px 20px;
    font-size: 11px;
    color: #65676b;
    border-top: 1px solid #e4e6eb;
}

/* Make sidebar cleaner on desktop */
@media (min-width: 1200px) {
    .facebook-left-sidebar {
        width: 220px;
        max-width: 220px;
        flex: 0 0 220px;
    }
    
    .left-sidebar-wrapper {
        padding-top: 15px;
    }
    
    .facebook-main-content {
        padding-left: 20px;
    }
}

/* Mobile version */
.mobile-sidebar-header {
    background-color: #fff;
    border-bottom: 1px solid #e4e6eb;
}

.facebook-mobile-sidebar:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #f03d25;
    z-index: 1;
}
