// Message
.message-list{
	padding-top: 10px;
	li{
		margin: 0 -15px 15px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.05);
		padding-bottom: 15px;
		display: flex;
		align-items: flex-start;
		padding-left: 15px;
		padding-right: 15px;
		&:last-child{
			border-bottom: 0;
		}
		a{        
            display: flex;
			width: 100%
        }
        .media{
            position: relative;
            &:after{
				content: "";
				position: absolute;
				bottom: 0;
				left: 0;
				width: 15px;
				height: 15px;
				background-color: #54D969;
				border: 2px solid #fdf4ee;
				border-radius: 50px;
            }
        }
        .media-content{
            display: flex;
            margin-left: 15px;
            width: 100%;
            .name{
                margin-bottom: 0;    
            }
            p{
                color: $body-color;
				font-size: 13px;
            }
        }
		.left-content{
			width: 60px;
			min-width: 60px;
			text-align: right;
			margin-left: auto;
			.seen-btn{
				width: 24px;
				height: 24px;
				font-size: 14px;
				display: flex;
				align-items: center;
				justify-content: center;
				border-radius: 50%;
				border: 1px solid #BBB6D0;
				color:#BBB6D0 ;
				float: right;
				&.active{
					background-color: var(--secondary);
					border-color: var(--secondary);
					i{
						color: #fff;
					}
					svg{
						path{
							fill: #fff;
						}
					}
				}
			}
			.time{    
				color: #898A8D;		
				display: block;	
			}
		}
    }
}
.chat-btn{
    font-weight: 500;
    position: fixed;
    left: 50%;
    bottom: 100px;
    transform: translateX(-50%);
    display: none;
    margin: 0;
    z-index: 999;
}

//Message-Detail
.message-content{
    background-color: #eee;
    min-height: 100vh;
    .chat-content{
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        margin-right: 60px;
        &.user{
            justify-content: flex-end;
            margin-right: 0;
            margin-left: 60px;
            .message-item{
                margin-bottom: 10px;
                .bubble{
                    background: var(--secondary);
                    color: #FFF;
                    border-radius: 12px 12px 0 12px;
                    .emoji-icon{
                        display: inline-flex;
                        width: 30px;
                        height: 30px;
                        margin: 0 3px;
                    }
                }  
                .message-time{
                    text-align: right;
                }
            }
        }
        .message-item{
            .bubble{
                padding: 8px 15px;
                background: #fff;
                border-radius: 12px 12px 12px 0;
                color: #141515;
                display: inline-flex;
                margin-top: 4px;
                font-size: 0.875rem;
                line-height: 1.4em;
                align-items: center;
            }
            .message-time{
                font-size: 0.75rem;
                padding: 8px 0;
                text-align: left;
                line-height: 1em;
                margin-top: 5px;
                color: #969696;
                height: 14px;    
            }
        }
    }
}


// Notification
.notification{
    display: flex;
	margin-bottom: 15px;
	align-items: flex-start;
	.media{
		margin-right: 15px;
		position: relative;
		.notify{
			width: 26px;
			height: 26px;
			line-height: 26px;
			border-radius: 50%;
			position: absolute;
			bottom: -1px;
			right: -1px;
			text-align: center;
		}
	}
	.notification-content{
		small{
			color: #6B6B6B;
		}
		.text-notify{
			font-size: 14px;
			margin-bottom: 8px;
			font-weight: 700;
			line-height: 1.3;
			color: rgba(0, 0, 0, 0.76);
		}
	}
}

//Profile
.profile{
	.main-profile{
		margin-bottom: 20px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		.right-content{
			.upload-box{
				border-radius: 20px;
				background: linear-gradient(180deg, #FE9063 0%, #704FFE 100%);
				padding: 2px;
				position: relative;
				img{
					width: 80px;
					min-width: 80px;
					height: 80px;
					box-sizing: content-box;
					border-radius: 18px;
					border: 6px solid #FEF3ED;
				}
				.upload-btn{
					position: absolute;
					bottom: -5px;
					left: -5px;
					width: 35px;
					height: 35px;
					background-color: var(--primary);
					border-radius: var(--border-radius-base);
					text-align: center;
					line-height: 35px;
					box-shadow: 0px 9px 10px 0px rgba(254, 144, 99, 0.35);
					color: #fff;
				}
			}
		}
	}
}
.contant-section{
	background: var(--bg-white);
    margin: 50px -15px 0;
    padding: 20px 15px 0;
    border-radius: 16px 16px 0 0;
	box-shadow: 0px -10px 17px 0px rgba(141, 141, 113 ,0.17);
	height: calc(100vh - 300px);
	&.style-2{
		padding: 0;
		margin: 0 0 0;
		border-radius: 0;
		box-shadow: 0px -10px 17px 0px rgba(193, 193, 178 ,0.17);
		height: 100%;
	}
}
.social-bar{
	width: 100%;
    background: var(--secondary);
    border-radius: var(--border-radius-base);
    overflow: hidden;
    margin-top: -50px;
	overflow: hidden;
	ul{
		display: flex;
		align-items: center;
		li{
			width: 33.33%;
			text-align: center;
			a{
				display: block;
				padding: 10px 10px;
				h4{
					margin-bottom: 0;
					color: #fff;
				}
				span{
					color: rgba(255, 255, 255, 0.87);
				}
			}
			&.active{
				a{
					background: rgba(82, 49, 226, 1);
					position: relative;
					&:after{
						content: "";
						position: absolute;
						width: 50px;
						height: 6px;
						bottom: 0;
						left: 50%;
						transform: translateX(-50%);
						background: rgba(255, 255, 255, 0.5);
						border-radius: 5px 5px 0 0;
					}	
				}
			}
		}
	}
}

.media{
	&.status{
		position: relative;
		img{
			border-radius: var(--border-radius-base);
		}
		.active-point{
			position: absolute;
			width: 15px;
			height: 15px;
			border-radius: 50%;
			border: 2px solid #fff;
			bottom: 0;
			left: 0;
			background-color: #54D969;
		}
	}
}

//SOCIAL FRIENDS
.dz-user-list{
	.user-grid{
		text-align: center;
		border-radius: var(--border-radius-base);
		border: 1px solid var(--border-color);
		padding: 15px;
		.media{
			margin-left: auto;
			margin-right: auto;
		}
		.name{
			display: block;
			margin: 7px 0;
			font-size: 0.875rem;
			color: var(--dark);
			font-weight: 700;
		}
		&.style-2{
			display: flex;
			align-items: center;
			padding: 0;
			border: 0;
			justify-content: space-between;
			.name{
				margin-left: 15px;
			}
		}
	}
}
.follow-btn{
	border: 1px solid var(--primary);
	color: var(--primary);
	border-radius: var(--border-radius-sm);
	text-align: center;
	padding: 6px 15px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.5px;
	&.follow{
		background-color: var(--secondary);
		border-color: var(--secondary);
		color: #fff;
	}
}
//Chat===
.list-item{
	display: flex;
	align-items: flex-start;
}


//Comments
.dz-comments-list{
	li{
		padding-bottom: 20px;	
		display: flex;
		.list-content{
			display: flex;
			align-items: flex-start;
			img{
				width: 35px;
				height: 35px;
				border-radius: 30px;
				margin-right: 10px;
			}
			p{
				line-height: 1.4;
			}
			.bottom-item{
				display: flex;
				align-items: center;
				li{
					font-size: 0.75rem;
					margin-right: 15px;
					padding: 0;
					font-weight: 700;
				}
			}
		}
		&.parent-list{
			padding-left: 45px;
		}
	}
}



// Swipers
#pages-container {
	//margin: 0 -15px;
	.swiper-slide {
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

#pages-container-inner {
	overflow-x: hidden;
	height: 100%;
	margin: 0 -15px;
	.title-bar{
		padding: 0 15px;
	}
}

.dz-user-list{
	padding: 0 15px;
}

// set up navbar
#main-navigation {
	ul {
		list-style-type: none;
		display: flex;
		margin: 0;
		.nav-link {
			padding: 10px;
			flex-grow: 1;
			text-align: center;
			border-bottom: 1px solid #dedede;
			cursor: pointer;
			font-size: 1rem;
			font-weight: 600;
			color: var(--primary);
		}
	}
}

.links-container {
	position: relative;
	padding: 0;
}

.swiper-scrollbar {
  height: 3px!important;
  background-color: transparent;
  opacity: 1 !important;
  bottom: 0!important;
}
.swiper-scrollbar-drag {
  background-color: var(--primary);
  border-radius: 0;
  top: 0;
}

//Message-detail===
.video-calling{
	padding: 0;
	overflow: hidden;	
}	
.main-box{
	position: relative;
	z-index: 999;
}
.video-calling-popup{
	border-radius: var(--border-radius-base);
	background-size: cover;
	background-position: center center;
	text-align: center;
	padding: 2rem;
	position: relative;
	overflow: hidden;
	.video-content{
		margin-bottom: 30px;
		i{
			font-size: 2rem;
			color: #fff;
		}
	}
	&:after{
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		background: rgba(64, 10, 104, 0.66);
		width: 100%;
		height: 100%;
		z-index: 1;
		backdrop-filter: blur(2px);
	}
	.button-group{
		.btn{
			border-radius: 50%;
			width: 50px;
			height: 50px;
			line-height: 50px;
			font-size: 1.5rem;
		}
	}
}

//Video Call Page=======

.video-call-area{
	position: relative;
	z-index: 1;
	width: 100vw;
	height: 100vh;
	background-position: center center;
	background-size: cover;
	.back-btn{
		font-size: 1.3rem;
		background: rgba(38, 31, 27, 0.08);
		width: 40px;
		height: 40px;
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
		border-radius: 50%;
		color: rgba(0, 0, 0, 0.52);
	}
	&:after{
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		background: linear-gradient(0deg, black, transparent);
		height: 100px;
	}
}
.side-preview{
	max-width: 100px;
	height: 130px;
	position: absolute;
	top: 20px;
	right: 20px;
	img{
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

.footer-content{
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
}
.button-group-list{
	display: flex;
	align-items: center;
	li{
		margin-right: 30px;
		a{
			width: 50px;
			height: 50px;
			background-color: #3a3a3a;
			display: inline-block;
			border-radius: 50%;
			text-align: center;
			line-height: 50px;
			svg{
				width: 24px;
				height: 24px;
				path{
					fill: #fff;
				}
			}
		}
	}
}