
.search-holder {
	position: relative;
	float: left;
	height: 45px;
	margin: 0 5px 0 0;
	display: flex;
	align-items: center;
	gap: 5px;
}


.search-holder .search-result-type .item-matched-by-contact{
	font: normal normal 300 11px "Poppins", sans-serif;
	margin-top: 5px;
	padding: 5px 10px;
}

.search-holder .quick-action-icon{
	width: 45px;
	height: 45px;
	background: rgba(255, 255, 255, .05);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
	cursor: pointer;

	transition: transform .2s; /* Animation */
}
.search-holder .search-icon {
	cursor: pointer;
	font-size: 18px;

	width: 45px;
	height: 45px;
	background: rgba(255, 255, 255, .05);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 5px;

	transition: transform .2s; /* Animation */
}
.search-holder .search-icon:hover,
.search-holder .quick-action-icon:hover{
	background: rgba(255,255,255,0.15);
	color: rgba(255,255,255,0.8);
}
.search-holder .search-result-type h3{
	font: normal normal 400 12px "Poppins", sans-serif;
	color: #645df8;
	background: #655ef821;
	width: max-content;
	padding: 5px 8px;
	border-radius: 6px;
	margin-top: 14px;
	margin-left: 20px;
	margin-bottom:10px;
}

.search-holder .search-results .no-data{
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #ccc !important;
	font: normal normal 400 16px "Poppins", sans-serif;
}
.search-results .search-info{
	padding-left: 20px;
}
.search-holder .search-result-type .item-name{
	font: normal normal 500 15px "Poppins", sans-serif;
	color: #635df8;
}
.search-holder .search-result-type .item-email{
	color: #8e8e8e;
	font: normal normal 300 12px "Poppins", sans-serif;
}

.search-holder .search-modal {
	display: none; /* Hidden by default */
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgb(0 0 0 / 25%);
	backdrop-filter: blur(5px);
	z-index: 200;
	.modal-content {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 100%;
		max-width: 850px;
		background: white;
		box-shadow: 0 4px 6px rgba(0,0,0,0.1);
		border: 0;
		border-radius: 20px;
		z-index: 260;

		.content{
			.search-input-content{
				display: flex;
				align-items: center;
				width: 100%;
				gap: 8px;
				padding: 20px 20px 0 20px;
				.back-btn{
					background: #f5f5f5;
					display: none;
					align-items: center;
					justify-content: center;
					height: 45px;
					width: 36px;
					border-radius: 5px;
					margin-top: 10px;
					&:hover{
						cursor:pointer;
					}
				}
				.input-content-section{
					width: 100%;
					position: relative;
					.input-content{
						width: 100%;
						padding: 10px;
						margin-bottom: 10px;
						box-sizing: border-box;
						border-radius: 5px;
						border: 0px;
						color: #404040;
						background: #f5f5f5;
						font-size: 14px;
						display: flex;
						gap: 7px;
						height: 45px;
					}
					.fixed-searched-contents{
						display: none;
						width: max-content;
						min-width: max-content;
						color: #565656;
						background: #e5e5e5;
						padding: 3px 10px;
						border-radius: 4px;
						border: 1px solid #b4b4b4;
						font-size: 13px;
					}
				}
			}
			.results{
				max-height: 450px;
				overflow: auto;
				.search-result-content{

					padding: 0px;
				}
				.hide{
					display: none;
				}
				.show{
					display: block;
				}
			}

			.default-list-content{
				.group-title{
					padding: 0 20px;
					font-size: 14px;
					margin-bottom: 10px;
					margin-top: 10px;
					&:first-child{
						margin-top: 0;
					}
				}
				.actions{
					display: flex;
					flex-direction: column;
					gap: 5px;
					.action{
						padding: 5px 20px;
						display: flex;
						align-items: center;
						&.focus{
							border-left: 2px solid #645df8;
							background: #fafafa;
							.text{
								color: #645df8;
							}
							.icon{
								svg{
									path{
										fill: #645df8;
									}
								}
							}

						}
						&.disabled.focus{
							border-left: 2px solid #565656 !important;
							background: #fafafa !important;
							.text{
								color: #565656 !important;
							}
							.icon{
								svg{
									path{
										fill: #292d32  !important;
									}
								}
							}
						}
						&:hover{
							cursor:pointer;
						}
						.icon{
							width: 24px;
							height:24px;
							display: flex;
							align-items: center;
							justify-content: center;
							margin-right: 4px;
							svg{
								width: 16px;
								height:16px;
							}
						}
						.text{
							color: #565656;
							line-height:24px;
							font-size: 14px;
						}

					}
				}
				.search-results{
					display: none;
				}
			}
		}

	}
	.modal-footer-content{
		display:flex;
		gap: 30px;
		padding: 20px;
		background: #f5f5f5;
		border-radius: 0 0 20px 20px;
		.tab{
			display: flex;
			align-items: center;
			gap: 10px;
			span{
				color:#b6b6b6;
			}
			.icons{
				display:flex;
				gap: 5px;
				.icon{
					background: #ededed;
					border-radius: 8px;
					display:flex;
					justify-content: center;
					align-items: center;
					padding: 5px;
					box-shadow: 0 3px 3px -2px #00000054;
					color:#7a7a7a;
					min-width: 28px;
					min-height: 28px;
					svg{
						width: 18px;
						height: 18px;
						path{
							fill: #7a7a7a;
						}
					}
				}
			}
		}

	}
}
.search-holder small{
	color: #ccc !important;
}


.search-holder .search-input {
	width: 100%;
	box-sizing: border-box;
	border-radius: 5px;
	border: 0px;
	color: #404040;
	background: #f5f5f5;
	font-size: 14px;
}
.search-holder .tabs{
	display: flex;
	justify-content: space-between;
	color: #8e8e8e;
}
.search-holder .tabs .tab:hover{
	cursor:pointer;
	color: #625df8;
	border-bottom: 1px solid #625df8;
}
.search-holder .tabs .tab{
	border-bottom: 1px solid transparent;
	display: flex;
	align-items: center;
	gap: 5px;
	font: normal normal 400 13px "Poppins", sans-serif;
	padding-bottom: 4px;
}
.search-holder .tabs .tab .size{
	background: #635df81c;
	width: 20px;
	height: 20px;
	border-radius: 10px;
	color: #625df8;
	display: none;
	justify-content: center;
	align-items: center;
	font: normal normal 600 11px "Poppins", sans-serif;
}
.search-holder .tabs .tab.active{
	color: #625df8;
	border-bottom: 1px solid #625df8;
}

.search-holder .search-results {
	height: 300px; /* Adjust based on your needs */
	overflow-y: auto; /* Allows scrolling */
	margin-top: 12px;
	color: #ccc !important;
}

.search-holder .search-result-item {
	padding: 10px 20px;
	border-bottom: 1px solid #ededed;
	display: flex;
	gap: 12px;
	align-items: center;
	&.focus{
		border-left: 2px solid #645df8;
		background: #fafafa;
		text-decoration: none;
	}
}
.search-holder .search-result-item .left{
	width: 40px;
	height: 40px;
	background: #635df812;
	border-radius: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.search-holder .search-result-item .left .glyph-icon:before{
	color: #625df8;
}

.search-holder .search-result-item:hover {
	background-color: #f5f5f5;
	text-decoration: none;
}

.search-holder .loading-content{
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: center;
	display: flex;
}
.search-holder .loading {
	display: flex;
	justify-content: space-between;
	width: 50px;
}

.search-holder .dot {
	width: 10px;
	height: 10px;
	background-color: #635df8;
	border-radius: 50%;
	animation: loading 1.5s infinite;
}

.search-holder .dot:nth-child(1) {
	animation-delay: 0s;
}

.search-holder .dot:nth-child(2) {
	animation-delay: 0.3s;
}

.search-holder .dot:nth-child(3) {
	animation-delay: 0.6s;
}
