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

.firevert-button {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	background-color: variables.$white;
	border-radius: variables.$border-radius-5;
	border: 1px solid variables.$border-color;
	color: variables.$black;
	font-size: 16px;
	line-height: 18px;
	text-decoration: none;
	transition: all 0.2s;
	width: max-content;
	cursor: pointer;

	&:hover,
	&:focus {
		box-shadow: unset;
		outline: unset;
		background-color: variables.$primary;
		color: variables.$white;
	}

	&--primary {
		background-color: variables.$primary;
		color: variables.$white;
		border-color: variables.$primary;

		&:hover,
		&:focus {
			background-color: variables.$white;
			color: variables.$primary;
			border-color: variables.$primary;

			& > svg * {
				fill: variables.$primary;
			}
		}
	}

	&--submit {
		background-color: variables.$black;
		color: variables.$white;
		border-color: variables.$black;
		margin-left: auto;
		margin-block: 20px;
		width: 149px;
		max-width: 100%;

		&:hover,
		&:focus {
			border-color: variables.$primary;
		}
	}

	&--remove {
		position: relative;
		border-radius: variables.$border-radius-circle;
		width: 30px;
		height: 30px;
		padding: 0;
		font-size: 12px;
		line-height: 12px;
		background-color: variables.$white;
		border: 1px solid variables.$border-color;

		&::after {
			content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxLjcxNCIgdmlld0JveD0iMCAwIDEyIDEuNzE0Ij4KICA8cGF0aCBpZD0iaWNvX21pbnVzIiBkYXRhLW5hbWU9ImljbyBtaW51cyIgZD0iTTUsMTFIMTd2MS43MTRINVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01IC0xMSkiLz4KPC9zdmc+Cg==");
			position: absolute;
			top: 10px;
			left: 50%;
			transform: translate(-50%, -50%);
		}
	}

	&--mr-3 {
		margin-right: 30px;
	}

	&--widget-list {
		display: inline-flex;
		max-height: 41px;
		padding: 13px 16px;
		font-size: 16px;
		line-height: 18px;
		gap: 8px;
		border-color: #00000033;
		color: variables.$black;

		&:hover,
		&:focus {
			& > svg.fill-stroke > *[stroke="#000000"],
			& > svg.fill-stroke > *[stroke="#000"] {
				stroke: variables.$white;
			}

			& > svg.fill-icon > * {
				fill: variables.$white;
			}
		}
	}
}
