/* cookie disclaimer */
.cookie-popup {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	color: #fff;
	font-size: 14px;
	max-width: 600px;
	width: calc(100% - 40px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: fixed;
	right: 20px;
	bottom: 20px;
	left: auto;
	line-height: 1.4;
	padding: 20px;
	z-index: 99999;
	background-color: #333;
	opacity: 1;
	text-align: center;
	text-shadow: none;
	transition: all 0.3s ease;
	margin: 0 auto;
	border-radius: 8px;
}

.cookie-popup.cookie-popup-hide,
.cookie-options.cookie-options-hide,
.cookie-button.cookie-button-hide {
	display: none;
	opacity: 0;
}

.cookie-notice,
.cookie-options,
.cookie-buttons {
	width: 100%;
}

.cookie-notice p {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	margin-bottom: 16px;
	color: #fff;
}

.cookie-options {
	opacity: 1;
	transition: opacity 0.3s ease;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	color: #000;
	text-align: left;
	margin-bottom: 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cookie-privacy-link {
	color: var(--light-green);
	font-size: 13px;
	text-decoration: none;
	margin-top: 12px;
	display: inline-block;
}

.cookie-privacy-link:hover {
	text-decoration: underline;
}

.cookie-button {
	display: inline-block;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	user-select: none;
	padding: 10px 20px;
	font-size: 14px;
	border-radius: 6px;
	transition: all 0.2s ease;
	margin: 0 8px 8px 0;
	width: auto;
	min-width: 120px;
	border: none;
	cursor: pointer;
}

.cookie-button:hover,
.cookie-button:focus {
	text-decoration: none;
	transform: translateY(-1px);
}

.cookie-agree-button {
	color: #fff;
	background-color: var(--light-green);
	border: 1px solid var(--light-green);
}

.cookie-agree-button:hover,
.cookie-agree-button:focus {
	background-color: var(--light-green);
	color: #fff;
	border-color: var(--light-green);
	box-shadow: 0 4px 12px rgba(205, 16, 74, 0.3);
}

.cookie-agree-button:focus {
	box-shadow: 0 0 0 3px rgba(205, 16, 74, 0.3);
}

.cookie-settings-button {
	color: #333;
	background-color: #fff;
	border: 1px solid #ddd;
}

.cookie-settings-button:hover,
.cookie-settings-button:focus {
	background-color: #f8f9fa;
	color: #333;
	border-color: #adb5bd;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cookie-settings-button:focus {
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.options-select {
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	line-height: 1.5;
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
	font-size: 14px;
}

.options-select:first-child {
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
}

.options-select:last-child {
	border-bottom: 0;
	border-bottom-left-radius: inherit;
	border-bottom-right-radius: inherit;
}

.options-select:hover {
	background-color: #f8f9fa;
}

/* The switch - the box around the slider */
.cookie-switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	margin-bottom: 0;
	right: 0;
}

/* Hide default HTML checkbox */
.cookie-switch input,
.cookie-no-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The slider */
.cookie-switch > label {
	border-radius: 26px;
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin-bottom: 0;
	background-color: #ccc;
	transition: 0.3s ease;
}

.cookie-switch > label::before {
	border-radius: 50%;
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: #fff;
	transition: 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-switch input:checked + label {
	background-color: var(--light-green);
}

.cookie-switch input:focus + label {
	box-shadow: 0 0 0 3px rgba(205, 16, 74, 0.2);
}

.cookie-switch input:checked + label::before {
	transform: translateX(20px);
}

.cookie-no-switch {
	display: flex;
	align-items: center;
	font-size: 12px;
	color: #666;
}

.cookie-no-switch label {
	margin-left: 8px;
	cursor: default;
}

/* Responsive design */
@media screen and (max-width: 768px) {
	.cookie-popup {
		width: calc(100% - 20px);
		right: 10px;
		left: 10px;
		bottom: 10px;
		padding: 16px;
		font-size: 13px;
	}
	
	.cookie-notice p {
		font-size: 13px;
		margin-bottom: 12px;
	}
	
	.cookie-button {
		width: 100%;
		margin: 0 0 8px 0;
		padding: 12px 16px;
		font-size: 14px;
	}
	
	.cookie-buttons {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}
}

@media screen and (max-width: 480px) {
	.cookie-popup {
		width: calc(100% - 16px);
		right: 8px;
		left: 8px;
		bottom: 8px;
		padding: 12px;
	}
	
	.cookie-notice p {
		font-size: 12px;
		line-height: 1.4;
	}
	
	.options-select {
		padding: 10px 12px;
		font-size: 13px;
	}
}