.btn__icon {
	appearance: none;
	border: 2px solid $secondary-color;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	cursor: pointer;
	transition: all 0.3s ease;
	color: $secondary-color;
	background-color: white;
	&:focus {
		outline: none !important;
		box-shadow: none !important;
	}
}

.btn__icon__secondary {
	color: white;
	background-color: $secondary-color;
	&:hover {
		background-color: white;
		color: $secondary-color;
	}
}
.btn__close {
	position: absolute;
	right: 15px;
	top: 15px;
}

.btn {
	padding: 0.875rem 1.875rem;
	text-decoration: none;
	transition: all 0.6s ease;
	font-size: 1.125rem;
	line-height: 1;
	outline: none !important;
	box-shadow: none !important;
	font-family: $font-body;
}

.btn-secondary {
	background-color: $secondary-color;
	color: $white;
	border: 2px solid $white;
	border-radius: 6px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	svg {
		transition: all 0.6s ease;
		margin-top: 1px;
	}
	&:hover {
		background-color: $white;
		color: $blue-dark;
		border-color: $green;
		svg {
			transform: translateX(5px);
		}
	}
}
.btn-secondary__caret-right {
	padding-right: 2.8rem;
	position: relative;
	&:after,
	&:before {
		position: absolute;
		top: calc(50% + 1px);
		right: 1rem;
		transform: translateY(-50%);
		content: '';
		width: 14px;
		height: 22px;
		background-image: url('../dist/images/caret-right_light.svg');
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
		z-index: 1;
		transition: all 0.6s ease;
	}

	&:before {
		background-image: url('../dist/images/caret-right_light.svg');
		opacity: 1;
	}
	&:after {
		background-image: url('../dist/images/caret-right_dark.svg');
		opacity: 0;
	}

	&:hover {
		&:before {
			opacity: 0;
		}
		&:after {
			opacity: 1;
		}
	}
}

.btn-link__icon {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.5rem;
	text-decoration: none;
	transition: all 0.6s ease;
	font-family: $font-serif;
	font-size: 0.875rem;
	font-weight: 400;

	.icon {
		width: 20px;
		height: 23px;
		background-color: white;
		border-radius: 4px;
		color: $secondary-color;
		display: flex;
		align-items: center;
		justify-content: center;
		img,
		svg {
			height: 17px;
			width: auto;
			max-width: 18px;
		}
	}
}
