.consent-mode-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	padding: 0.5rem;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 9999;
	border-radius: 0 0.5rem 0 0;
	background-color: #000;
}

.consent-mode-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

html:has(.consent-mode-popup) {
	overflow: hidden;
}

html:has(.consent-mode-popup)::after {
	content: '';
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9998;
	background: rgba(0, 0, 0, 50%);
}

.consent-mode-popup {
	width: 80rem;
	max-width: 90%;
	height: 80%;
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 9999;
	transform: translate(-50%, -50%);
	border-radius: 0.5rem;
	background: #fff;
}

.consent-mode-popup .consent-mode-popup__container {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	height: calc(100% - 6rem);
	padding: 3rem;
	position: relative;
	overflow: auto;
}

@media (width <= 576px) {
	.consent-mode-popup .consent-mode-popup__container {
		height: calc(100% - 14rem);
	}
}

.consent-mode-popup .consent-mode-actions {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1rem;
	width: 100%;
	height: 6rem;
	padding: 1rem;
	border-top: 0.1rem solid #dfdfdf;
	background: #fff;
}

@media (width <= 576px) {
	.consent-mode-popup .consent-mode-actions {
		grid-template-columns: 1fr;
		height: 14rem;
	}
}

.consent-mode-popup .consent-mode-actions button {
	width: 100%;
	height: 100%;
	color: #000;
	font-size: 1.6rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	border: 0.1rem solid #000;
	border-radius: 0.5rem;
	background: transparent;
}

.consent-mode-popup .consent-mode-actions button:hover {
	color: #fff;
	background: #000;
}

@media (width <= 1280px) {
	.consent-mode-popup .consent-mode-actions button {
		font-size: 1.4rem;
	}
}

@media (width <= 576px) {
	.consent-mode-popup .consent-mode-actions button {
		padding: 0.5rem 1rem;
	}
}

.consent-mode-popup .consent-mode-popup__title {
	display: block;
	width: 100%;
	color: #000;
	font-size: 2rem;
	font-weight: 600;
	border-bottom: 0.1rem solid #dfdfdf;
	padding-block: 1rem;
}

@media (width <= 1280px) {
	.consent-mode-popup .consent-mode-popup__title {
		font-size: 1.8rem;
	}
}

.consent-mode-popup .consent-mode-popup__description {
	display: block;
	width: 100%;
	color: #333;
	font-size: 1.6rem;
}

@media (width <= 1280px) {
	.consent-mode-popup .consent-mode-popup__description {
		font-size: 1.4rem;
	}
}

.consent-mode-popup .consent-mode-form {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-top: 2rem;
}

.consent-mode-popup .consent-mode-form input[type='checkbox'] {
	width: 4rem;
	height: 2rem;
	position: relative;
	cursor: pointer;
	transition: background 0.3s;
	border: none !important;
	border-radius: 5rem;
	background: #cecece;
	appearance: none;
}

.consent-mode-popup .consent-mode-form input[type='checkbox']::before {
	content: '';
	width: 1.6rem;
	height: 1.6rem;
	position: absolute;
	top: 0.2rem;
	left: 0.2rem;
	transition: transform 0.3s;
	border-radius: 50%;
	background: #fff;
}

.consent-mode-popup .consent-mode-form input[type='checkbox']:checked {
	background: #468295;
}

.consent-mode-popup .consent-mode-form input[type='checkbox']:checked::before {
	transform: translateX(2rem);
}

.consent-mode-popup .consent-mode-form input[type='checkbox']:focus {
	border: none !important;
	outline: none;
	box-shadow: none;
}

.consent-mode-popup .consent-mode-form .consent-mode-option {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.consent-mode-popup .consent-mode-form .consent-mode-option button {
	display: flex;
	align-self: flex-start;
	color: #000;
	font-size: 1.3rem;
	font-weight: 600;
	cursor: pointer;
	border: none;
	background: transparent;
}

.consent-mode-popup .consent-mode-form .consent-mode-option .consent-mode-option__checkbox {
	display: flex;
	gap: 1rem;
	align-items: center;
	font-size: 1.8rem;
}

@media (width <= 576px) {
	.consent-mode-popup .consent-mode-form .consent-mode-option .consent-mode-option__checkbox {
		font-size: 1.4rem;
	}
}

.consent-mode-popup .consent-mode-form .consent-mode-option .consent-mode-option__description {
	display: none;
	width: 100%;
	font-size: 1.6rem;
}

@media (width <= 1280px) {
	.consent-mode-popup .consent-mode-form .consent-mode-option .consent-mode-option__description {
		font-size: 1.4rem;
	}
}

.consent-mode-popup .consent-mode-form .consent-mode-option .consent-mode-option__description--short {
	display: block;
	font-size: 1.6rem;
}

@media (width <= 1280px) {
	.consent-mode-popup .consent-mode-form .consent-mode-option .consent-mode-option__description--short {
		font-size: 1.3rem;
	}
}

.consent-mode-popup .consent-mode-form .consent-mode-option .consent-mode-option__description table {
	width: 100%;
	border-collapse: collapse;
}

.consent-mode-popup .consent-mode-form .consent-mode-option .consent-mode-option__description table td {
	padding: 0.3rem;
	font-size: 1.4rem;
	border: 0.1rem solid #dfdfdf;
}

.consent-mode-popup .consent-mode-form .consent-mode-option .consent-mode-option__description table th {
	padding: 0.3rem;
	font-size: 1.4rem;
	text-align: left;
	border: 0.1rem solid #dfdfdf;
	background: #fafafa;
}
