.axcelersblocks-tabs {
	.components-tab-panel__tabs {
		.components-button {
			width: 50%;
			justify-content: center;
			svg {
				width: 24px;
			}
		}
	}
}

.axcelersblocks-icon-modal {
	width: 100%;
	@media (min-width: 960px) {
		max-width: 840px;
		min-width: inherit;
		height: 75vh;
		max-height: inherit;
	}
	.axcelersblocks-icon-modal__container {
		display: flex;
		gap: 16px;
		.axcelersblocks-icon-modal__sidebar {
			width: 150px;
			display: flex;
			flex-direction: column;
			gap: 6px;
		}
		.axcelersblocks-icon-modal__content {
			flex: 1;
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			.axcelersblocks-icon-grid {
				display: grid;
				grid-template-columns: repeat(auto-fill, 48px);
				gap: 8px;
				margin: 0px 0px 16px;
				.axcelersblocks-icon-button {
					width: 48px;
					height: 48px;
					display: flex;
					align-items: center;
					justify-content: center;
					background: #fff;
					border: 1px solid #ccc;
					border-radius: 4px;
					cursor: pointer;
					padding: 15px;
					&.is-selected {
						background: #1e1e1e;
						color: #fff;
					}
				}
			}
			.axcelersblocks-custom-icon-preview {
				svg {
					width: 48px;
					height: 48px;
				}
			}
		}
	}
}

.axcelersblocks-icon-tab {
	width: 100%;
	text-align: left;
	justify-content: flex-start;
}

.axcelersblocks-icon-modal__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 12px;
	border-top: 1px solid #eee;
}

.axcelersblocks-settings-section {
	.axcelersblocks-settings-title {
		margin-bottom: 8px;
	}
	.axcelersblocks-icon-current-preview {
		margin-bottom: 16px;

		.axcelersblocks-icon-current-preview__label {
			display: block;
			font-size: 11px;
			font-weight: 500;
			line-height: 1.4;
			margin-bottom: 8px;
			text-transform: uppercase;
		}

		.axcelersblocks-icon-current-preview__card {
			align-items: center;
			background: #ffffff;
			border: 1px solid #dddddd;
			border-radius: 4px;
			display: flex;
			gap: 12px;
			padding: 12px;

			&.is-empty {
				background: #f9f9f9;
			}
		}

		.axcelersblocks-icon-current-preview__visual {
			align-items: center;
			background: #f6f7f7;
			border: 1px solid #e0e0e0;
			border-radius: 4px;
			display: inline-flex;
			flex: 0 0 48px;
			height: 48px;
			justify-content: center;
			width: 48px;

			span {
				align-items: center;
				display: inline-flex;
				height: 100%;
				justify-content: center;
				width: 100%;
			}

			svg {
				height: 24px;
				width: 24px;
			}
		}

		.axcelersblocks-icon-current-preview__placeholder {
			background: #c3c4c7;
			border-radius: 999px;
			display: inline-block;
			height: 10px !important;
			width: 10px !important;
		}

		.axcelersblocks-icon-current-preview__meta {
			display: flex;
			flex: 1 1 auto;
			flex-direction: column;
			gap: 2px;
			min-width: 0;

			strong,
			span {
				display: block;
			}

			strong {
				font-size: 13px;
				line-height: 1.4;
			}

			span {
				color: #50575e;
				font-size: 12px;
				line-height: 1.4;
				word-break: break-word;
			}
		}
	}
	.icon-library-select {
		justify-content: flex-start;
		margin-bottom: 16px;
		.components-flex-item {
			flex-grow: 1;
			.components-button {
				width: 100%;
				padding: 0px 10px;
				height: 34px;
				border: 1px solid #dddddd;
				border-radius: 0px;
				background: none;
				box-shadow: none;
				color: #000000;
				span {
					height: 32px;
					width: 32px;
					display: flex;
					align-items: center;
					justify-content: center;
					border-right: 1px solid #ddd;
					margin-right: 5px;
					margin-left: -10px;
					svg {
						width: 16px;
						height: 16px;
					}
				}
				&:hover {
					background-color: rgba(221, 221, 221, 0.25);
				}
			}
		}
	}
	.icon-color-picker {
		padding: 0px;
		margin-top: 8px;
		margin-bottom: 8px;
		border: 0px;
		.components-tools-panel-item {
			margin-top: 8px;
		}
		.components-heading {
			font-size: 11px;
			font-weight: 500;
			line-height: 1.4;
			text-transform: uppercase;
			box-sizing: border-box;
			display: block;
			padding-top: 0px;
			padding-bottom: 0px;
			max-width: 100%;
			z-index: 1;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}
		.components-dropdown-menu {
			display: none;
		}
	}
	.dynamic-tag-select {
		background: none;
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: none !important;
    color: #000;
    height: 34px;
    padding: 0 10px;
		&:hover {
			background: rgba(222, 222, 222, .25) !important;
			box-shadow: none !important;
			color: #000000 !important;
		}
	}
}

.axcelersblocks-dynamic-tag-modal {
	.components-select-control__input {
		option {
			&:disabled {
				font-weight: bold;
				color: #000000;
			}
		}
	}
}

.axcelersblocks-style-subtabs-wrapper {
	border-top: 1px solid #e0e0e0;
	.axcelersblocks-style-uniqueclass-name {
		margin-bottom: 10px;
		font-weight: bold;
		padding: 15px 15px 0px 15px;
		code {
			background: transparent;
			padding: 0px;
			margin: 0px;
		}
	}
	.axcelersblocks-style-tab-buttons {
		box-shadow: none;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 3px;
		padding: 0px 15px 15px 15px;
		.components-button {
			border: 1px solid #1e1e1e;
			border-radius: 3px !important;
			box-shadow: none;
			font-size: 11px;
			padding: 5px 10px;
			height: auto;
			color: #1e1e1e;
			&.is-primary {
				background-color: #1e1e1e;
				color: #fff;
			}
		}

		.axcelersblocks-style-tab-more {
			display: inline-flex;
		}

		.axcelersblocks-style-tab-more__toggle {
			display: inline-flex;
			align-items: center;
			gap: 2px;
			padding-right: 6px;

			svg {
				fill: currentColor;
			}
		}
	}
}

.axcelersblocks-style-tab-more__popover {
	.axcelersblocks-style-tab-more__menu {
		display: flex;
		flex-direction: column;
		min-width: 180px;
		max-height: 260px;
		overflow: auto;
		padding: 4px;
	}

	.axcelersblocks-style-tab-more__item.components-button {
		justify-content: flex-start;
		width: 100%;
		height: auto;
		min-height: 32px;
		padding: 6px 10px;
		border-radius: 2px;
		font-size: 12px;
		box-shadow: none;

		&.is-pressed {
			background: #1e1e1e;
			color: #fff;
		}
	}
}

.axb-unit-control {
	.axb-unit-control__field {
		position: relative;
	}

	.axb-unit-control__input {
		padding-right: 48px !important;
	}

	.axb-unit-control__dropdown {
		bottom: 1px;
		position: absolute;
		right: 3px;
		top: 1px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.axb-unit-control__toggle.components-button,
	.axb-unit-control__toggle--static {
		border: 1px solid rgba(0, 0, 0, 0.1);
		border-radius: 3px;
		font-size: 10px;
		height: 25px;
		min-width: 25px;
		padding: 0 3px;
		width: auto;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.axb-unit-control__toggle.components-button {
		&:hover,
		&:focus {
			background: #096aa1;
			border-color: #096aa1;
			box-shadow: none;
			color: #fff;
		}

		&.is-open {
			background: #096aa1;
			border-color: #096aa1;
			color: #fff;
		}
	}

	.axb-unit-control__toggle--static {
		bottom: 1px;
		box-sizing: border-box;
		display: flex;
		height: auto;
		pointer-events: none;
		position: absolute;
		right: 1px;
		top: 1px;
	}

	.axb-unit-control__popover {
		width: 54px;
	}

	.axb-unit-control__units {
		display: flex;
		flex-direction: column;
		gap: 2px;
	}

	.axb-unit-control__unit-button.components-button {
		align-items: center;
		background: transparent;
		border: 0;
		border-radius: 2px;
		box-shadow: none;
		color: #1e1e1e;
		font-size: 11px;
		font-weight: 500;
		height: 32px;
		justify-content: center;
		min-width: 100%;
		padding: 0 6px;
		text-transform: lowercase;
		width: 100%;

		&:hover,
		&:focus {
			background: rgba(10, 127, 193, 0.1);
			box-shadow: none;
			color: #0a7fc1;
		}

		&.is-selected {
			background: #0a7fc1;
			border: 1px solid #0a7fc1;
			color: #fff;
			position: relative;

			&:hover,
			&:focus {
				background: #0a7fc1;
				color: #fff;
			}

			&::after {
				border: 1px solid rgba(255, 255, 255, 0.9);
				border-radius: 1px;
				content: '';
				inset: 3px;
				position: absolute;
			}
		}
	}
}

.axb-unit-control__popover-content {
	.components-popover__content {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 0 0 1px #ccc, 0 2px 3px rgba(0, 0, 0, 0.051), 0 4px 5px rgba(0, 0, 0, 0.039), 0 12px 12px rgba(0, 0, 0, 0.031), 0 16px 16px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    width: min-content;
		.axb-unit-control__units {
			display: grid;
			grid-template-columns: repeat(4, 1fr);
			.axb-unit-control__unit-button {
				border: none;
				display: flex;
				justify-content: center;
				min-height: auto;
				padding: 6px 8px;
				height: auto;
				&.is-selected {
					background-color: #096aa1;
					color: #fff;
				}
				&:hover {
					background-color: transparent;
					color: #096aa1;
					border: none;
					outline: none;
					box-shadow: none;
				}
				&:active, &:focus {
					background-color: transparent;
					color: #1e1e1e;
					border: none;
					outline: none;
					box-shadow: none;
				}
			}
		}
	}
}

.axb-unit-control__popover-wrapper {
	.components-popover__arrow {
		color: #fff;
	}
}

.axcelersblocks-responsive-control {
	border-top: 1px solid #e0e0e0;
	margin-top: -1px;
	.axcelersblocks-responsive-header {
		.axcelersblocks-device-switcher {
			width: 100%;
			border: 0px;
			&>div {
				align-items: center;
				justify-content: center;
				border-right: 1px solid #e0e0e0;
				&:last-child {
					border-right: 0px;
				}
				&>div {
					width: 100%;
					.components-button {
						width: 100%;
						padding-left: 0px;
						padding-right: 0px;
						&::before {
							width: 100%;
							left: 0;
							height: 100%;
							border-radius: 0px;
						}
					}
				}
			}
		}
	}
}

.axcelersblocks-responsive-inherited {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 6px 0 8px;
	font-size: 10px;
	line-height: 1.3;
	color: #646970;

	.axcelersblocks-responsive-inherited__badge {
		display: inline-flex;
		align-items: center;
		padding: 2px 6px;
		border: 1px solid #dcdcde;
		border-radius: 999px;
		background: #fff;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.02em;
	}

	.axcelersblocks-responsive-inherited__value {
		color: #1e1e1e;
		font-weight: 500;
		word-break: break-word;
	}
}

.blockbase-style-controls {
	.spacing-controls-wrapper {
		.components-panel__body-toggle {
			.title {
				display: flex;
				align-items: center;
				gap: 8px;
				svg {
					width: 24px;
					height: 24px;
				}
			}
		}
	}
	.axcelersblocks-spacing-header {
		display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
		strong {
			font-size: 10px;
			line-height: 24px;
			text-transform: uppercase;
		}
		.components-button-group {
			display: flex;
			gap: 2px;
			align-items: center;
			justify-content: center;
			.components-button {
				min-width: 24px;
				width: 24px;
				height: 24px;
				box-shadow: none;
				border-radius: 0px;
				padding: 0px;
				svg {
					width: 18px;
					height: 18px;
				}
			}
		}
	}
	.axcelersblocks-spacing-fields--default {
		display: grid;
    gap: 5px;
    grid-template-areas:
        ". top top ."
        "left left right right"
        ". bottom bottom .";
		> :nth-child(1) {
			display: flex;
			flex-direction: column;
			grid-area: top;
		}
		> :nth-child(2) {
			grid-area: right;
			.components-base-control__label {
				position: absolute;
				right: 0;
				top: -18px;
			}
		}
		> :nth-child(3) {
			grid-area: bottom;
			.components-base-control__field {
				flex-direction: column-reverse !important;
			}
		}
		> :nth-child(4) {
			grid-area: left;
			.components-base-control__label {
				position: absolute;
				left: 0;
				top: -18px;
			}
		}
		.components-base-control {
			width: 100%;
			text-align: center;
			margin-bottom: 0px;
			position: relative;
			.components-base-control__field {
				display: flex;
				flex-direction: column;
				align-items: center;
				gap: 4px;
				margin-bottom: 0px;
				.components-base-control__label {
					font-size: 10px;
					font-weight: 500;
					margin-bottom: 0px;
				}
			}
		}
		&.axcelersblocks-spacing-fields--linked {
			grid-template-areas: none !important;
			grid-template-columns: 1fr;
			display: flex;
			flex-direction: column;
			margin-top: 8px;
			.components-base-control__field {
				flex-direction: column-reverse;
				justify-content: flex-start;
				align-items: flex-start;
			}
		}
		&.axcelersblocks-spacing-fields--all-sides {
			grid-template-areas: none !important;
			grid-template-columns: 1fr;
			display: flex;
			flex-direction: column;
			margin-top: 8px;
			.components-base-control__field {
				flex-direction: column-reverse;
				justify-content: flex-start;
				align-items: flex-start;
			}
			> :nth-child(2) {
				.components-base-control__label {
					position: inherit;
					top: inherit;
					right: inherit;
				}
			}
		}
	}
	.axcelersblocks-icon-size-fields {
		margin-top: 8px;
		.components-base-control {
			margin-bottom: 0;
		}
		&.axcelersblocks-icon-size-fields--split {
			display: grid;
			grid-template-columns: 1fr 1fr;
			gap: 8px;
			.components-base-control__label {
				font-size: 10px;
				font-weight: 500;
				margin-bottom: 4px;
				text-transform: uppercase;
			}
		}
		&.axcelersblocks-icon-size-fields--linked {
			display: flex;
			flex-direction: column;
		}
	}
	.layout-controls-wrapper {
		.components-panel__body-toggle {
			.title {
				display: flex;
				align-items: center;
				gap: 8px;
				svg {
					width: 24px;
					height: 24px;
				}
			}
		}
	}
	.alignment-control {
		background-color: #f0f0f0;
		.components-panel__body-title {
			.components-button {
				svg {
					width: 16px;
					height: 16px;
				}
				font-size: 10px;
				text-transform: uppercase;
			}
		}
		.axcelersblocks-alignment-control {
			label {
				font-size: 10px;
				line-height: 1.2;
				text-transform: uppercase;
				font-weight: 500;
				margin-bottom: 5px;
				display: block;
			}
			.components-button-group {
				position: relative;
				width: 100%;
				display: flex;
				align-items: center;
				justify-content: flex-start;
				.components-button {
					width: calc(100% / 5);
					min-width: inherit;
					flex-grow: 1;
					border-radius: 0px;
					font-size: 10px;
					align-items: center;
					justify-content: center;
				}
				.reset-btn {
					background-color: transparent;
					color: #000;
					font-size: 10px;
					line-height: 10px;
					padding: 0;
					position: absolute;
					right: 0;
					top: -24px;
					box-shadow: none;
					border: none;
					height: auto;
					text-transform: uppercase;
					align-items: center;
					justify-content: flex-end;
				}
			}
			&.justify-content {
				margin-top: 10px;
			}
			&.justify-items, &.justify-self, &.align-self {
				margin-top: 10px;
				.components-button-group {
					.components-button {
						width: calc(100% / 4);
						min-width: inherit;
						flex-grow: 1;
					}
				}
			}
		}
	}
	.grid-layout-controls-wrap {
		background-color: #f0f0f0;
		.components-panel__body-title {
			.components-button {
				font-size: 10px;
				text-transform: uppercase;
				svg {
					width: 16px;
					height: 16px;
				}
			}
		}
		.grid-layout-controls {
			.components-base-control__label {
				font-size: 10px;
				margin-bottom: 5px;
			}
			.components-base-control {
				margin-bottom: 8px;
			}
			.grid-template-columns-control{
				position: relative;
				.components-base-control {
					margin-bottom: 8px;
				}
				.grid-default-columns-btn {
					position: absolute;
					right: 0px;
					top: 19px;
					height: 32px;
					padding: 6px;
					span {
						display: inline-block;
						width: 20px;
						height: 20px;
					}
				}
			}
			.gap-controls {
				display: flex;
				gap: 8px;
				.components-base-control {
					margin-bottom: 0px;
				}
			}
			.grid-colum-row {
				display: flex;
				gap: 8px;
				.components-base-control {
					margin-bottom: 0px;
				}
			}
		}
	}
	.flex-layout-controls {
		background-color: #f0f0f0;
		.components-panel__body-title {
			.components-button {
				font-size: 10px;
				text-transform: uppercase;
				svg {
					width: 16px;
					height: 16px;
				}
			}
		}
		.components-base-control__label {
			font-size: 10px;
			text-transform: uppercase;
			font-weight: 500;
			display: block;
			margin-bottom: 5px;
			line-height: 1.4em;
		}
		.components-base-control {
			margin-bottom: 0px;
		}
		.flex-direction-control {
			margin-bottom: 8px;
			.flex-direction-options {
				display: flex;
				flex-wrap: wrap;align-items: center;
				justify-content: center;
				.components-button {
					background: #fff;
					border: 1px solid #000;
					border-radius: 0;
					box-shadow: none;
					font-size: 10px;
					font-weight: 500;
					width: calc(50%);
					margin: 0px;
					align-items: center;
					justify-content: center;
					color: #000000;
					&:nth-child(1) {
						border-right: 0px;
					}
					&:nth-child(3) {
						border-right: 0px;
					}
					&:nth-child(3), &:nth-child(4) {
						border-top: 0px;
					}
					&.is-pressed:not(:disabled,[aria-disabled=true]) {
						background: #000000;
						color: #fff;
					}
				}
			}
		}
		.flex-wrap-control {
			margin-bottom: 8px;
			.flex-wrap-options {
				display: flex;
				align-items: center;
				justify-content: space-between;
				.components-button {
					background: #fff;
					border: 1px solid #000;
					border-radius: 0;
					box-shadow: none;
					font-size: 9px;
					font-weight: 500;
					width: calc(33.33%);
					margin: 0px;
					align-items: center;
					justify-content: center;
					color: #000000;
					&:nth-child(1), &:nth-child(2) {
						border-right: 0px;
					}
					&.is-pressed:not(:disabled,[aria-disabled=true]) {
						background: #000000;
						color: #fff;
					}
				}
			}
		}
		.gap-controls, .grow-shrink-controls {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 8px;
			.components-base-control {
				margin-bottom: 0px;
			}
		}
	}
	.floats-controls {
		background-color: #f0f0f0;
		.components-panel__body-title {
			.components-button {
				font-size: 10px;
				text-transform: uppercase;
				svg {
					width: 16px;
					height: 16px;
				}
			}
		}
		.components-base-control__label {
			font-size: 10px;
			text-transform: uppercase;
			font-weight: 500;
			display: block;
			margin-bottom: 5px;
			line-height: 1.4em;
		}
		.components-input-control__label {
			font-size: 10px !important;
		}
		.components-base-control {
			margin-bottom: 0px;
		}
	}
	.sizing-controls-wrapper {
		.components-panel__body-toggle {
			.title {
				display: flex;
				align-items: center;
				gap: 8px;
				svg {
					width: 24px;
					height: 24px;
				}
			}
		}
	}
	.two-columns-layout {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		.components-base-control {
			margin: 0px;
		}
	}
	.typography-controls-wrapper {
		.components-panel__body-toggle {
			.title {
				display: flex;
				align-items: center;
				gap: 8px;
				svg {
					width: 24px;
					height: 24px;
				}
			}
		}
		.typography-color-picker {
			padding: 0px;
			border: 0px;
			margin: 0px;
			.components-tools-panel-header {
				.components-heading {
					font-size: 10px;
					text-transform: uppercase;
				}
				.components-dropdown-menu {
					display: none;
				}
			}
			.components-tools-panel-item {
				margin-top: 8px;
				.components-flex-item {
					font-size: 10px;
					text-transform: uppercase;
				}
			}
		}
		.components-base-control {
			margin-bottom: 8px;
			.components-base-control__field {
				margin-bottom: 0px;
				.components-base-control__label {
					font-size: 10px;
					text-transform: uppercase;
				}
				.components-input-control__label {
					font-size: 10px;
					text-transform: uppercase;
				}
			}
		}
		.typography-control__font-size {
			margin-top: 8px;
		}
		.typography-control__font-weight {
			.components-input-control__label {
				font-size: 10px;
				text-transform: uppercase;
			}
		}
		.typography-control__font-style {
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			justify-content: flex-start;
			gap: 8px;
			margin-bottom: 8px;
			.components-base-control__label {
				font-size: 10px;
				text-transform: uppercase;
				line-height: 1.4em;
				font-weight: 500;
			}
			.typography-font-style-options {
				width: 100%;
				.components-button {
					width: 33.33%;
					border: 1px solid #000000;
					background: #fff;
					box-shadow: none;
					border-radius: 0px;
					color: #000000;
					align-items: center;
					justify-content: center;
					&.is-pressed:not(:disabled,[aria-disabled=true]) {
						background: #000000;
						color: #fff;
					}
				}
			}
		}
		.typography-control__text-align {
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			justify-content: flex-start;
			gap: 8px;
			margin-bottom: 8px;
			.components-base-control__label {
				font-size: 10px;
				text-transform: uppercase;
				line-height: 1.4em;
				font-weight: 500;
			}
			.typography-text-align-options {
				width: 100%;
				.components-button {
					width: 25%;
					border: 1px solid #000000;
					background: #fff;
					box-shadow: none;
					border-radius: 0px;
					color: #000000;
					align-items: center;
					justify-content: center;
					&.is-pressed:not(:disabled,[aria-disabled=true]) {
						background: #000000;
						color: #fff;
					}
				}
			}
		}
		.typography-control__text-transform {
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			justify-content: flex-start;
			gap: 8px;
			margin-bottom: 8px;
			.components-base-control__label {
				font-size: 10px;
				text-transform: uppercase;
				line-height: 1.4em;
				font-weight: 500;
			}
			.typography-text-transform-options {
				width: 100%;
				.components-button {
					width: 25%;
					border: 1px solid #000000;
					background: #fff;
					box-shadow: none;
					border-radius: 0px;
					color: #000000;
					align-items: center;
					justify-content: center;
					&.is-pressed:not(:disabled,[aria-disabled=true]) {
						background: #000000;
						color: #fff;
					}
				}
			}
		}
		.typography-control__text-decoration {
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			justify-content: flex-start;
			gap: 8px;
			margin-bottom: 8px;
			.components-base-control__label {
				font-size: 10px;
				text-transform: uppercase;
				line-height: 1.4em;
				font-weight: 500;
			}
			.typography-text-decoration-options {
				width: 100%;
				.components-button {
					width: 25%;
					border: 1px solid #000000;
					background: #fff;
					box-shadow: none;
					border-radius: 0px;
					color: #000000;
					align-items: center;
					justify-content: center;
					&.is-pressed:not(:disabled,[aria-disabled=true]) {
						background: #000000;
						color: #fff;
					}
				}
			}
		}
	}
	.background-controls-wrapper {
		.background-color-picker {
			.components-heading {
				font-size: 10px;
				text-transform: uppercase;
			}
		}
		.components-panel__body-toggle {
			.title {
				display: flex;
				align-items: center;
				gap: 8px;
				svg {
					width: 24px;
					height: 24px;
				}
			}
		}
		.background-color-picker {
			padding: 0px;
			margin: 0px 0px 8px 0px;
			border: 0px;
			.components-tools-panel-header {
				.components-dropdown-menu {
					display: none;
				}
			}
			.components-tools-panel-item {
				margin-top: 8px !important;
			}
			.background-color-control {
				display: flex;
				align-items: center;
				justify-content: space-between;
				gap: 8px;
				.background-color-label {
					font-size: 10px;
					text-transform: uppercase;
					font-weight: 500;
					color: #000000;
				}
				.background-color-actions {
					display: flex;
					align-items: center;
					gap: 4px;
					.components-button {
						width: 32px;
						height: 32px;
						min-width: 32px;
						padding: 0px;
						display: flex;
						align-items: center;
						justify-content: center;
					}
					.components-dropdown {
						&.background-color {
							.components-button {
								border: 1px solid #000000;
								box-shadow: none;
								.background-color-swatch {
									display: block;
									width: 16px;
									height: 16px;
									border-radius: 50%;
									border: 1px solid #eee;
									background-color: transparent;
								}
							}
						}
					}
				}
			}
		}
		.background-layer-list {
			p {
				font-size: 10px;
				text-transform: uppercase;
				font-weight: 500;
			}
			.background-layer-item {
				span {
					font-size: 10px;
					text-transform: uppercase;
					font-weight: 500;
				}
			}
			.background-layer-actions {
				button {
					width: 24px;
					height: 24px;
					min-width: 24px;
					padding: 2px;
				}
			}
		}
		.background-layer-control {
			.components-base-control {
				margin-bottom: 8px;
				.components-input-control__label {
					font-size: 10px;
				}
			}
			.background-control__add-layer {
				width: 100%;
				border: 1px solid #000000;
				box-shadow: none;
				color: #000;
				font-size: 10px;
				text-transform: uppercase;
				font-weight: 500;
			}
			.background-layer-controls {
				.background-control__image {
					margin-bottom: 8px;
					.components-base-control__label {
						font-size: 10px;
						text-transform: uppercase;
						margin-bottom: 8px;
						font-weight: 500;
						display: block;
					}
					.background-control__image-upload {
						width: 100%;
						border: 1px solid #000000;
						box-shadow: none;
						font-size: 10px;
						font-weight: 500;
						text-transform: uppercase;
						color: #000000;
					}
				}
			}
			.background-layer-actions {
				display: flex;
				gap: 8px;
				button {
					font-size: 10px;
					font-weight: 500;
					text-transform: uppercase;
				}
			}
			.background-control__image-preview {
				.background-control__image-remove {
					font-size: 10px;
					font-weight: 500;
					text-transform: uppercase;
					svg {
						width: 16px;
						height: 16px;
					}
				}
			}
			.background-overlay-color-picker {
				padding: 0px;
				margin: 0px 0px 8px 0px;
				border: 0px;
				.components-tools-panel-header {
					.components-dropdown-menu {
						display: none;
					}
				}
				.components-tools-panel-item {
					margin-top: 8px !important;
				}
			}
		}
	}
	.border-controls-wrapper {
		.components-panel__body-toggle {
			.title {
				display: flex;
				align-items: center;
				gap: 8px;
				svg {
					width: 24px;
					height: 24px;
				}
			}
		}
		.border-control {
			margin-bottom: 8px;
			// Outline control places its Offset field as a direct child of
			// .border-control (after the linked row) — give it breathing room.
			// Border never has a direct-child unit field, so this is outline-only.
			> .axb-unit-control {
				margin-top: 8px;
			}
			.border-control-header {
				display: flex;
				align-items: center;
				justify-content: space-between;
				margin-bottom: 8px;
				h3 {
					margin-bottom: 0px;
				}
				.components-button {
					width: 24px;
					height: 24px;
					min-width: 24px;
					padding: 0px;
					svg {
						width: 24px;
						height: 24px;
					}
				}
			}
			.border-control-linked {
				display: flex;
				align-items: flex-end;
				justify-content: space-between;
				gap: 8px;
				.components-base-control {
					margin-bottom: 0px;
					.components-base-control__field {
						margin-bottom: 0px;
					}
				}
				.components-dropdown {
					&.border-style {
						.components-button {
							font-size: 10px;
							text-transform: uppercase;
							font-weight: 500;
							color: #000000;
							border: 1px solid #000000;
							box-shadow: none;
							height: 32px;
							width: 85px;
							align-items: center;
							justify-content: center;
						}
					}
					&.border-color {
						.components-button {
							width: 32px;
							height: 32px;
							display: flex;
							align-items: center;
							justify-content: center;
							padding: 0px;
							border: 1px solid #000000;
							box-shadow: none;
							span {
								display: block;
								width: 16px;
								height: 16px;
								border-radius: 50%;
								border: 1px solid #eee;
								background-color: transparent;
							}
						}
					}
				}
			}
			.border-control-unlinked {
				.border-side-control {
					display: flex;
					align-items: flex-end;
					justify-content: space-between;
					gap: 8px;
					margin-bottom: 8px;
					.components-base-control {
						margin-bottom: 0px;
						.components-base-control__field {
							margin-bottom: 0px;
						}
					}
					.components-dropdown {
						&.border-style {
							.components-button {
								font-size: 10px;
								text-transform: uppercase;
								font-weight: 500;
								color: #000000;
								border: 1px solid #000000;
								box-shadow: none;
								height: 32px;
								width: 85px;
								align-items: center;
								justify-content: center;
							}
						}
						&.border-color {
							.components-button {
								width: 32px;
								height: 32px;
								display: flex;
								align-items: center;
								justify-content: center;
								padding: 0px;
								border: 1px solid #000000;
								box-shadow: none;
								span {
									display: block;
									width: 16px;
									height: 16px;
									border-radius: 50%;
									border: 1px solid #eee;
									background-color: transparent;
								}
							}
						}
					}
				}
			}
		}
		.border-radius-control {
			.border-radius-control-header {
				display: flex;
				align-items: center;
				justify-content: space-between;
				margin-bottom: 8px;
				h3 {
					margin-bottom: 0px;
				}
				.components-button {
					width: 24px;
					height: 24px;
					min-width: 24px;
					padding: 0px;
					svg {
						width: 24px;
						height: 24px;
					}
				}
			}
			.components-base-control {
				margin-bottom: 8px;
			}
			.border-radius-control-unlinked {
				display: grid;
				grid-template-columns: 1fr 1fr;
				column-gap: 8px;
				.components-base-control {
					margin-bottom: 0px;
					&:nth-child(1) {
						order: 1;
					}
					&:nth-child(2) {
						order: 2;
					}
					&:nth-child(3) {
						order: 4;
					}
					&:nth-child(4) {
						order: 3;
					}
				}
			}
		}
	}
	.position-controls-wrapper {
		.components-panel__body-toggle {
			.title {
				display: flex;
				align-items: center;
				gap: 8px;
				svg {
					width: 24px;
					height: 24px;
				}
			}
		}
		.components-base-control {
			margin-bottom: 8px;
		}
		.position-control__inset {
			.components-base-control {
				margin-bottom: 0px;
			}
		}
		.components-input-control__label, .components-base-control__label {
			font-size: 10px !important;
		}
	}
	.effect-controls-wrapper {
		.components-panel__body-toggle {
			.title {
				display: flex;
				align-items: center;
				gap: 8px;
				svg {
					width: 24px;
					height: 24px;
				}
			}
		}
		.components-panel__body {
			background-color: #f0f0f0;
			.components-panel__body-title {
				.components-button {
					font-size: 10px;
					text-transform: uppercase;
					svg {
						height: 16px;
						width: 16px;
					}
				}
			}
			.two-columns {
				display: flex;
				align-items: center;
				justify-content: space-between;
				gap: 8px;
				.components-base-control, .components-dropdown {
					flex: 1 1 50%;
				}
				.components-dropdown {
					.components-button {
						width: 36px;
						padding: 0px;
						display: flex;
						align-items: center;
						justify-content: center;
						border: 1px solid #949494;
						box-shadow: none;
						span {
							display: block;
							width: 20px;
							height: 20px;
							border-radius: 50%;
							background: #fff linear-gradient(-45deg, #0000 48%, #ddd 0, #ddd 52%, #0000 0);
							box-shadow: inset 0 0 0 1px #0003;
						}
					}
				}
			}
			.three-columns {
				display: flex;
				align-items: center;
				justify-content: space-between;
				gap: 8px;
				.components-base-control, .components-dropdown {
					flex: 1 1 33.33%;
				}
			}
			.components-base-control__label, .components-input-control__label {
				font-size: 10px;
			}
			.components-base-control {
				margin: 0px;
			}
		}
		.effect-opacity-control, .effect-visibility-control {
			margin-top: 8px;
			margin-bottom: 8px;
			.components-base-control__label, .components-input-control__label {
				font-size: 10px;
			}
		}
	}
	.image-controls-wrapper {
		.components-panel__body-toggle {
			.title {
				display: flex;
				align-items: center;
				gap: 8px;
				svg {
					width: 24px;
					height: 24px;
				}
			}
		}
	}
	.customCSS-controls-wrapper, .interaction-controls-wrapper {
		.components-panel__body-toggle {
			.title {
				display: flex;
				align-items: center;
				gap: 8px;
				svg {
					width: 24px;
					height: 24px;
					path {
						width: 100%;
						height: 100%;
					}
				}
			}
		}
	}
}

.grid-template-columns-popover {
	.components-popover__content {
    border-radius: 0;
    padding: 2px;
    box-shadow: none;
    background-color: #f0f0f0;
		.grid-template-columns-options {
			display: flex;
			flex-wrap: wrap;
			width: 198px;
			.grid-template-column-button {
				display: grid;
				grid-template-columns: var(--grid-template-columns);
				gap: 2px;
				padding: 5px;
				border: 0px;
				border-radius: 0px;
				box-shadow: none;
				background: transparent;
				flex-grow: 1;
				height: auto;
				width: calc(100% / 4);
				.grid-column-visual {
					height: 16px;
					background: #999;
				}
			}
		}
	}
}

.border-style-options {
	width: 85px;
	padding: 0px;
	display: flex;
	flex-direction: column;
	margin: -8px;
	.components-button {
		border: 0px;
		font-size: 10px;
		text-transform: uppercase;
		box-shadow: none;
		border-radius: 0px;
	}
}

.reset-btn {
	border: 1px solid #000000;
	font-size: 10px;
	text-transform: uppercase;
	font-weight: 500;
	border-radius: 0px;
	margin-left: auto;
	height: auto;
	color: #000000;
	display: block;
	margin-top: 8px;
	&:hover {
		color: #000000;
	}
}


// Query Loop Controls
.axcelersblocks-query-controls {
	margin-bottom: 15px;
	.components-panel__row {
		width: 100%;
		display: block;
		min-height: inherit !important;
		.query-enable-btn {
			margin-bottom: 0px;
			padding-bottom: 10px;
			.components-base-control__field {
				margin: 0px;
			}
			.components-flex {
				justify-content: space-between;
			}
			.components-toggle-control__label {
				text-transform: capitalize;
				margin-right: 0px;
			}
		}
		.enable-pagination {
			margin-top: 15px;
			margin-bottom: 0px;
			.components-base-control__field {
				margin: 0px;
			}
			.components-flex {
				justify-content: space-between;
			}
			.components-toggle-control__label {
				text-transform: capitalize;
			}
		}
		.axb-toggle-label-with-badge {
			display: inline-flex;
			align-items: center;
			gap: 6px;
			width: 100%;
			justify-content: space-between;
		}
	}
}

.components-panel__body-toggle.components-button .axb-title-with-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.axcelersblocks-media-controls {
	.axcelersblocks-render-svg-toggle {
		margin-top: 8px;
	}

	.axcelersblocks-settings-help {
		margin: 0 0 8px 0;
		color: #757575;
		font-size: 12px;
		line-height: 1.4;
	}

	.axcelersblocks-settings-subtitle {
		font-size: 11px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.02em;
		margin: 0 0 4px 0;
		color: #1e1e1e;
	}

	.axcelersblocks-responsive-image-override {
		padding: 10px 12px;
		margin-bottom: 8px;
		border: 1px solid #e0e0e0;
		border-radius: 2px;
		background: #fafafa;

		.components-base-control {
			margin-top: 10px;
			margin-bottom: 0;
		}
	}

	.axcelersblocks-image-preview {
		display: flex;
		align-items: center;
		gap: 10px;
		margin: 8px 0 10px;
		padding: 6px;
		background: #fff;
		border: 1px solid #e0e0e0;
		border-radius: 2px;
		min-height: 52px;

		.axcelersblocks-image-preview__img {
			display: block;
			width: 48px;
			height: 48px;
			object-fit: cover;
			border-radius: 2px;
			background: #f0f0f0;
			flex-shrink: 0;
		}

		.axcelersblocks-image-preview__caption {
			font-size: 12px;
			color: #1e1e1e;
			line-height: 1.3;
			word-break: break-word;
			overflow: hidden;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
		}

		.axcelersblocks-image-preview__loading {
			font-size: 12px;
			color: #757575;
			font-style: italic;
		}
	}
}

.axcelersblocks-block-icon {
	width: 36px !important;
	height: 36px !important;
	min-width: 36px;
	min-height: 36px;
}
