.AddWidgetPopup {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.51);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	z-index: 110;
	padding-right: 3rem;

	.Wrapper {
		width: 93.25rem;
		height: 49.625rem;
		border-radius: 2rem;
		background-color: #fff;
		padding: 3rem;
		position: relative;
		display: flex;
		flex-direction: column;
		gap: 1rem;

		.Top {
			width: 90%;
			display: flex;
			align-items: center;
			justify-content: space-between;

			.Left {
				display: flex;
				flex-direction: column;
				gap: 0.7rem;

				.InputWrapper {
					display: flex;
					align-items: center;
					gap: 0.3rem;

					input {
						border: none;
						border-bottom: 1px solid #999;
						padding: 0.2rem;
						outline: none;
					}
				}
			}

			.Right {
				display: flex;
				align-items: center;
				gap: 1rem;

				button {
					background: var(--c10);
					padding: 1rem 3.5rem;
					color: var(--c2);
					border-radius: 0.5rem;
					border: none;
					cursor: pointer;
					transition: all ease-in-out 0.3s;
					&:nth-child(1) {
						background: transparent;
						color: black;
						border: 1px solid #ada3a359;
					}
					&:hover {
						opacity: 0.95;
						scale: 0.95;
					}
				}
			}
		}
		.WidgetButtons {
			width: 60%;
			display: flex;
			align-items: center;
			gap: 2.5rem;
			flex-wrap: wrap;
			row-gap: 1.5rem;
			margin-top: 1rem;
			.WidgetBtn {
				display: flex;
				height: 3rem;
				padding: 0.75rem 2.625rem;
				justify-content: center;
				align-items: center;
				gap: 0.625rem;
				align-self: stretch;

				border-radius: 0.5rem;
				border: 1px solid #ece9f1;
				position: relative;

				.CrossButton {
					width: 2.125rem;
					height: 2.0625rem;
					background: rgba(17, 17, 17, 0.05);
					flex-shrink: 0;
					position: absolute;
					right: -1rem;
					top: -1rem;
					display: flex;
					align-items: center;
					justify-content: center;
					border-radius: 50%;
					img {
						width: 1.05rem;
						height: 1.05rem;
					}
				}

				span {
					width: 1.5rem;
					height: 1.5rem;
					cursor: pointer;

					img {
						width: 100%;
						height: 100%;
					}
				}
			}
		}

		.AllWidgets {
			width: 88rem;
			height: 28.6875rem;
			flex-shrink: 0;
			border-radius: 0.9375rem;
			border: 1px solid #ece9f1;
			padding: 2rem;

			display: flex;
			flex-direction: column;
			align-items: center;
			gap: 2rem;

			overflow-y: scroll;
			&::-webkit-scrollbar {
				display: none;
			}

			.WidgetBox {
				width: 50rem;
				height: 20rem;
				border: 1px solid #666;
				display: flex;
				align-items: center;
				justify-content: center;
				border-radius: 1rem;
				flex-shrink: 0;
			}

			.gridItem {
				margin-right: auto;
				border: 1px solid red;
			}
		}
	}
}
