#privacy-consent-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.privacy-consent-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
}

.privacy-consent-box {
	position: absolute;
	bottom: 20px;
	right: 20px;
	max-width: 420px;
	background-color: #ffffff;
	border-radius: 12px 25px 15px 8px / 25px 8px 12px 15px; /* Organic, modern shape */
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
	padding: 25px;
	color: #333;
	animation: fadeIn 0.4s ease-out forwards;
	z-index: 1001;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	max-height: calc(100% - 40px);
}

@media (max-width: 768px) {
	.privacy-consent-box {
		bottom: 0;
		right: 0;
		left: 0;
		width: auto;
		max-width: none;
		border-radius: 15px 15px 0 0;
		padding: 20px;
		max-height: 80vh;
	}
}

.privacy-consent-box h3 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 1.4em;
	color: #2c3e50;
	font-weight: 600;
}

.privacy-consent-box p {
	font-size: 0.95em;
	line-height: 1.5;
	margin-bottom: 20px;
	color: #555;
}

.privacy-consent-actions, .privacy-consent-settings-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 15px;
}

.privacy-consent-btn {
	flex: 1;
	min-width: 120px;
	padding: 12px 18px;
	border: none;
	border-radius: 8px 18px 10px 5px / 18px 5px 8px 10px; /* Consistent organic shape */
	cursor: pointer;
	font-size: 0.9em;
	font-weight: 600;
	transition: all 0.2s ease;
	text-align: center;
}

.privacy-consent-accept-all {
	background-color: #4CAF50;
	color: #fff;
}

.privacy-consent-accept-all:hover {
	background-color: #45a049;
	box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.privacy-consent-reject-all {
	background-color: #f44336;
	color: #fff;
}

.privacy-consent-reject-all:hover {
	background-color: #da332a;
	box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.privacy-consent-customize, .privacy-consent-save-settings {
	background-color: #007bff;
	color: #fff;
}

.privacy-consent-customize:hover, .privacy-consent-save-settings:hover {
	background-color: #0056b3;
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.privacy-consent-settings {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #eee;
	overflow-y: auto;
}

.privacy-consent-settings h3 {
	font-size: 1.2em;
	margin-bottom: 15px;
}

.privacy-consent-category {
	margin-bottom: 20px;
	padding: 15px;
	background-color: #f9f9f9;
	border-radius: 10px;
	border: 1px solid #eee;
}

.privacy-consent-category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.privacy-consent-category-header label {
	font-weight: 600;
	color: #333;
	cursor: pointer;
}

.privacy-consent-category-header input[type="checkbox"] {
	position: relative;
	width: 38px;
	height: 22px;
	-webkit-appearance: none;
	appearance: none;
	background-color: #ccc;
	border-radius: 11px;
	cursor: pointer;
	outline: none;
	transition: background-color 0.2s;
}

.privacy-consent-category-header input[type="checkbox"]:checked {
	background-color: #4CAF50;
}

.privacy-consent-category-header input[type="checkbox"]::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	background-color: #fff;
	border-radius: 50%;
	transition: transform 0.2s;
}

.privacy-consent-category-header input[type="checkbox"]:checked::before {
	transform: translateX(16px);
}

.privacy-consent-category-header input[type="checkbox"]:disabled {
	cursor: not-allowed;
	opacity: 0.7;
}

.privacy-consent-category-header input[type="checkbox"]:disabled::before {
	background-color: #eee;
}

.privacy-consent-category p {
	font-size: 0.85em;
	color: #666;
	margin-bottom: 0;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px) scale(0.95); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}