@use "../abstracts/variables" as variables;

.firevert-include-exclude {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	padding: 20px;

	@media #{variables.$xl} {
		padding: 20px 30px;
	}

	p {
		display: flex;
		margin: 0;
		padding: 0;
	}

	&__wrapper {
		flex: 1;
		background-color: variables.$white;
		border-radius: variables.$border-radius-5;
		border: 1px solid variables.$border-color;
	}

	&__heading {
		font-size: 22px !important;
		line-height: 30px !important;
		font-weight: 600;
		margin: 0 !important;
		border-bottom: unset !important;

		&::after {
			display: none !important;
		}
	}

	&__section {
		padding: 15px 30px;
		border-top: 1px solid variables.$border-color;
	}

	&__section-heading {
		display: block;
		font-size: 15px;
		line-height: 20px;
		font-weight: 600;
		color: variables.$black;
		margin-top: 15px;
	}

	&__input-wrapper {
		display: flex;
		flex-direction: column;
		gap: 10px;
		margin-block: 10px;
	}

	&__category-name,
	&__product-name {
		font-size: 15px;
		line-height: 20px;
		color: variables.$black;
		font-weight: 400;
	}

	& .repeater-item {
		margin-block: 10px !important;
	}
}

.firevert-product-mode-switcher {
	margin: 20px 0 0 20px;
	padding: 15px 20px;
	background-color: #f0f6fc;
	border: 1px solid #c5d9ed;
	border-radius: variables.$border-radius-5;
	position: relative;

	@media #{variables.$xl} {
		margin: 20px 30px;
		padding: 15px 30px;
	}

	&__badge_absolute {
		position: absolute;
		right: 12px;
		top: 12px;
	}

	&__content {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	&__label {
		display: flex;
		align-items: center;
		gap: 10px;
		margin: 0;
		cursor: pointer;
	}

	&__text {
		font-size: 15px;
		line-height: 20px;
		font-weight: 600;
		color: variables.$black;
		display: flex;
		align-items: center;
		gap: 8px;
	}

	&__description {
		font-size: 13px;
		line-height: 18px;
		color: #5b6b79;
		margin: 0 0 0 32px;
	}

	&--disabled {
		background-color: #f5f5f5;
		border-color: #ddd;
		opacity: 0.7;

		.firevert-product-mode-switcher__label {
			cursor: not-allowed;
		}

		.firevert-product-mode-switcher__text {
			color: #666;
		}

		.firevert-product-mode-switcher__description {
			color: #999;
		}
	}
}
