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

.firevert-global-settings {
	display: flex;
	flex-direction: column;
	gap: 20px;

	@media #{variables.$xl} {
		flex-direction: row;
	}

	& a {
		text-decoration: none;

		&:hover,
		&:focus {
			outline: none;
			box-shadow: none;
		}
	}

	&__left-side,
	&__right-side {
		flex: 1;
	}

	&__right-side {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	&__section {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		height: 100%;
		background-color: variables.$white;
		border-radius: variables.$border-radius-10;
	}

	&__heading-wrapper {
		display: flex;
		align-items: center;
		gap: 20px;
		padding: 15px;
		border-bottom: 1px solid variables.$border-color;
	}

	&__icon-wrapper {
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		border-radius: variables.$border-radius-5;
		background-color: variables.$primary;
	}

	&__mid {
		display: flex;
		align-items: center;
		flex-direction: column;
		justify-content: space-between;
		padding: 20px;

		@media #{variables.$xl} {
			padding: 20px 30px;
			flex-direction: row;
		}
	}

	&__text {
		font-size: 15px;
		line-height: 20px;
		color: rgba(black, 0.6);

		&--max-width {
			max-width: 339px;
		}

		&--mt-auto {
			margin-top: auto;
		}
	}

	&__image {
		margin-right: 24px;
	}

	&__bottom {
		display: flex;
		align-items: center;
		flex-direction: column;
		justify-content: space-between;
		padding: 17px 30px;
		border-top: 1px solid variables.$border-color;

		@media #{variables.$xl} {
			flex-direction: row;
		}
	}

	&__bottom-left-side {
		display: flex;
		align-items: center;
		gap: 34px;
	}

	&__bottom-icon-wrapper {
		display: flex;
		align-items: center;
		gap: 13px;
	}

	&__bottom-icon-text {
		color: variables.$black;
		font-size: 16px;
		line-height: 1;
		font-weight: 600;

		&--red {
			color: variables.$primary;
		}
	}
}
