.custom-cookie-container {
	width: 400px;
	background-color: #c20102;
	font-family: Arial, sans-serif;
	color: #000 !important;
	border-radius: 12px;
	overflow: hidden;
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	max-width: calc(100% - 40px);
	max-height: 90vh;
	overflow-y: auto;
}
.custom-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	background-color: #f7de78;
	flex-wrap: wrap;
}
.custom-close-icon {
	cursor: pointer;
	display: flex;
	align-items: center;
}
.custom-close-icon svg {
	transition: transform 0.2s ease;
}
.custom-close-icon:hover svg {
	transform: scale(1.1);
}
.custom-body {
	padding: 15px;
}
.custom-message {
	margin-bottom: 15px;
	line-height: 1.5;
	color:#fff;
}
.custom-categories {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.custom-category {
	background-color: #f7de78;
	border-radius: 12px;
	padding: 12px;
	cursor: pointer;
}
.custom-category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none;
}
.custom-category-header > div {
	display: flex;
	align-items: center;
	gap: 10px;
}
.custom-checkbox {
	margin-right: 10px;
	min-width: 18px;
	height: 18px;
}
.funktional, .vorlieben, .statistiken, .marketing {
	display: none;
	margin-top: 10px;
	font-size: 0.9em;
	line-height: 1.4;
}
details[open] .funktional, details[open] .vorlieben, details[open] .marketing, details[open] .statistiken{
	display: block;
}
.custom-icon {
	display: inline-block;
	transition: transform 0.3s ease;
	min-width: 16px;
}
details .custom-icon svg {
	transform: rotate(0deg);
}
details[open] .funktional .custom-icon   {
	transform: rotate(180deg);
}
.custom-buttons {
	display: flex;
	justify-content: center;
	gap: 15px;
	padding: 15px;
	flex-wrap: wrap;
}
.custom-button {
	background-color: #3d5b75;
	color: white;
	border: none;
	padding: 12px 15px;
	cursor: pointer;
	border-radius: 12px;
	flex: 1;
	min-width: 120px;
	max-width: calc(50% - 7.5px);
	box-sizing: border-box;
	transition: background-color 0.3s ease;
	font-size: 1em;
	text-align: center;
}
.custom-button:hover {
	background-color: #2c4461;
}
.custom-links {
	display: flex;
	justify-content: space-between;
	padding: 15px;
	background-color: #f7de78;
	flex-wrap: wrap;
	gap: 10px;
}
.custom-links a {
	color: #3d5b75;
	text-decoration: none;
	transition: color 0.3s ease;
}
.custom-links a:hover {
	color: #2c4461;
	text-decoration: underline;
}
/* Custom Scrollbar (WebKit browsers) */
::-webkit-scrollbar {
	width: 8px;
	background-color: #3d5b75;
}
::-webkit-scrollbar-thumb {
	background-color: #ffcc00;
	border-radius: 5px;
}

/* Responsive design - Tablet */
@media (max-width: 768px) {
	.custom-cookie-container {
		width: 90%;
		max-width: 450px;
		right: 5%;
		left: 5%;
		margin: 0 auto;
		bottom: 15px;
	}
	.custom-header {
		padding: 12px;
	}
	.custom-body {
		padding: 12px;
	}
	.custom-message {
		font-size: 0.95em;
	}
	.custom-categories {
		gap: 8px;
	}
	.custom-category {
		padding: 10px;
	}
	.custom-buttons {
		padding: 12px;
		gap: 12px;
		display: flex;
		flex-direction: row;
	}
	.custom-button {
		flex: 1;
		max-width: calc(50% - 6px);
		min-width: 0;
	}
}

/* Responsive design - Mobile */
@media (max-width: 600px) {
	.custom-cookie-container {
		width: 95%;
		max-width: none;
		right: 2.5%;
		left: 2.5%;
		bottom: 10px;
	}
	.custom-header {
		padding: 10px;
		font-size: 0.9em;
	}
	.custom-body {
		padding: 10px;
	}
	.custom-message {
		font-size: 0.9em;
	}
	.custom-categories {
		gap: 8px;
	}
	.custom-category {
		padding: 10px;
	}
	.custom-category-header {
		flex-wrap: wrap;
	}
	.custom-buttons {
		padding: 10px;
		gap: 10px;
		display: flex;
		flex-direction: row;
	}
	.custom-button {
		flex: 1;
		max-width: calc(50% - 5px);
		min-width: 0;
		font-size: 0.9em;
	}
	.custom-links {
		flex-direction: column;
		padding: 10px;
		text-align: center;
	}
}

/* Responsive design - Small Mobile */
@media (max-width: 400px) {
	.custom-cookie-container {
		border-radius: 8px;
	}
	.custom-header {
		padding: 8px;
		font-size: 0.85em;
	}
	.custom-body {
		padding: 8px;
	}
	.custom-message {
		font-size: 0.85em;
		margin-bottom: 10px;
	}
	.custom-categories {
		gap: 6px;
	}
	.custom-category {
		padding: 8px;
		border-radius: 8px;
	}
	.custom-checkbox {
		min-width: 16px;
		height: 16px;
	}
	.custom-buttons {
		padding: 8px;
		gap: 8px;
		display: flex;
		flex-direction: row;
	}
	.custom-button {
		padding: 8px;
		border-radius: 8px;
		font-size: 0.85em;
		flex: 1;
		max-width: calc(50% - 4px);
		min-width: 0;
	}
	.custom-links {
		padding: 8px;
		font-size: 0.85em;
	}
}
