#jet-blocks-edit-template-modal {
	.dialog-widget-content {
		width: 100%;
		height: 90vh;
		min-height: 700px;
		background-color: #f1f3f5;

		@media (min-width: 1440px) {
			max-width: 90vw;
		}
	}

	.dialog-close-button {
		font-size: 25px;
	}

	.dialog-header {
		display: none;
	}

	.dialog-message {
		padding: 0;
		height: 100%;

		iframe {
			height: 100%;
		}
	}

	#jet-blocks-loading {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #f1f3f5;
		z-index: 9999;
		transform: translateZ(0);
		display: flex;
		justify-content: center;
		align-items: center;

		.elementor-loader-wrapper {
			top: auto;
			left: auto;
			transform: none;
		}
	}
}

#elementor-widget-template-empty-templates {
	margin-top: 0;
	padding-top: 15px;
	text-align: center;

	.elementor-widget-template-empty-templates {
		&-title {
			padding: 25px 0 25px;
		}

		&-icon {
			font-size: 96px;
			color: #d5dadf;
		}

		&-footer {
			font-style: italic;
			margin-bottom: 15px;
		}
	}
}

.rtl {
	.jet-blocks-text-align-control {
		--jet-blocks-text-align-control-border-color: #d5dadf;

		@media (prefers-color-scheme: dark) {
			--jet-blocks-text-align-control-border-color: #64666a;
		}

		.elementor-choices {
			flex-direction: row-reverse;

			.elementor-choices-label {
				&:nth-child(2) {
					border-left: 1px solid var( --jet-blocks-text-align-control-border-color );
					border-radius: 3px 0 0 3px;
				}

				&:last-child {
					border-left: none;
					border-radius: 0 3px 3px 0;
				}
			}
		}
	}
}
