@import "jet-tabs-icons";

#jet-tabs-template-edit-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-tabs-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: 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-tabs-text-align-control {
		--jet-tabs-text-align-control-border-color: #d5dadf;

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

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

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

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

.rtl {
	.jet-tabs-arrows-align-control {
		.elementor-choices {
			flex-direction: row;

			.elementor-choices-label {
				border: 1px solid #d5dadf;
				border-left: none;

				@media (prefers-color-scheme: dark) {
					border-color: #64666a;
				}

				&:nth-child(2) {
					border-left: none;
					border-radius: 0 3px 3px 0;
				}

				&:last-child {
					border-left: 1px solid #d5dadf;
					border-radius: 3px 0 0 3px;

					@media (prefers-color-scheme: dark) {
						border-color: #64666a;
					}
				}
			}
		}
	}
}