.buzza-kvkk-overlay {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 999999;
	display: flex;
	justify-content: center;
	padding: 16px;
	pointer-events: none;
}

.buzza-kvkk-position-top {
	inset: 0 0 auto 0;
}

.buzza-kvkk-position-modal {
	inset: 0;
	align-items: center;
	background: rgba(15, 23, 42, 0.3);
	backdrop-filter: blur(4px);
	pointer-events: auto;
}

.buzza-kvkk-banner {
	width: min(720px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	overflow: auto;
	color: var(--buzza-kvkk-text);
	background: var(--buzza-kvkk-bg);
	border: 1px solid rgba(148, 163, 184, 0.28);
	border-radius: min(18px, calc(var(--buzza-kvkk-radius) + 6px));
	box-shadow: 0 22px 70px rgba(15, 23, 42, 0.26);
	padding: 16px;
	font-family: inherit;
	pointer-events: auto;
	scrollbar-width: thin;
}

.buzza-kvkk-position-modal .buzza-kvkk-banner {
	width: min(560px, calc(100vw - 32px));
	padding: 15px;
}

.buzza-kvkk-template-compact {
	width: min(620px, calc(100vw - 32px));
	padding: 13px 15px;
}

.buzza-kvkk-template-compact .buzza-kvkk-copy {
	gap: 6px;
}

.buzza-kvkk-template-compact .buzza-kvkk-copy h2 {
	font-size: 16px;
}

.buzza-kvkk-template-contrast {
	border-top: 4px solid var(--buzza-kvkk-primary);
	box-shadow: 0 18px 48px rgba(19, 111, 99, 0.22);
}

.buzza-kvkk-copy {
	display: grid;
	gap: 7px;
}

.buzza-kvkk-badge {
	width: fit-content;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(19, 111, 99, 0.09);
	color: var(--buzza-kvkk-primary);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.buzza-kvkk-copy h2 {
	margin: 0;
	font-size: 18px;
	line-height: 1.2;
}

.buzza-kvkk-copy p {
	max-width: 60ch;
	margin: 0;
	color: #475569;
	font-size: 13px;
	line-height: 1.45;
}

.buzza-kvkk-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.buzza-kvkk-links a {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 3px 8px;
	border: 1px solid rgba(19, 111, 99, 0.2);
	border-radius: 999px;
	color: var(--buzza-kvkk-primary);
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
}

.buzza-kvkk-preferences {
	display: grid;
	gap: 6px;
	margin-top: 12px;
}

.buzza-kvkk-category {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 10px;
	border: 1px solid #e2e8f0;
	border-radius: min(12px, calc(var(--buzza-kvkk-radius) + 2px));
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.buzza-kvkk-category:hover {
	border-color: rgba(19, 111, 99, 0.3);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
	transform: translateY(-1px);
}

.buzza-kvkk-category strong {
	display: block;
	font-size: 13px;
	line-height: 1.25;
}

.buzza-kvkk-category small {
	display: block;
	margin-top: 2px;
	color: #64748b;
	font-size: 12px;
	line-height: 1.35;
}

.buzza-kvkk-category input {
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
	accent-color: var(--buzza-kvkk-primary);
}

.buzza-kvkk-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	justify-content: flex-end;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #eef2f7;
}

.buzza-kvkk-position-modal .buzza-kvkk-actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.buzza-kvkk-btn,
.buzza-kvkk-floating,
.buzza-kvkk-open-preferences {
	border: 0;
	border-radius: var(--buzza-kvkk-radius);
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	padding: 9px 12px;
	font-size: 13px;
}

.buzza-kvkk-primary {
	background: var(--buzza-kvkk-primary);
	color: #fff;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.13);
}

.buzza-kvkk-secondary {
	background: #f8fafc;
	color: var(--buzza-kvkk-secondary);
	border: 1px solid #dbe3ee;
}

.buzza-kvkk-btn:hover,
.buzza-kvkk-open-preferences:hover {
	filter: brightness(0.98);
}

.buzza-kvkk-floating {
	position: fixed;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	z-index: 999998;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 0 !important;
	min-height: 38px;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 9px 12px;
	appearance: none;
	background: var(--buzza-kvkk-primary) !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.24) !important;
	border-radius: 999px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
	text-align: center;
	text-decoration: none !important;
	text-transform: none;
	white-space: nowrap;
	overflow: hidden;
	isolation: isolate;
	transform: translateZ(0);
}

.buzza-kvkk-floating::before,
.buzza-kvkk-floating::after {
	content: none !important;
	display: none !important;
}

.buzza-kvkk-floating:hover {
	filter: brightness(0.98);
	transform: translateY(-1px);
}

.buzza-kvkk-floating:focus-visible {
	outline: 3px solid rgba(255, 193, 7, 0.36);
	outline-offset: 3px;
}

.buzza-kvkk-floating-bottom-right,
.buzza-kvkk-floating-right {
	right: var(--buzza-kvkk-floating-x, 18px);
	bottom: var(--buzza-kvkk-floating-y, 18px);
}

.buzza-kvkk-floating-bottom-left,
.buzza-kvkk-floating-left {
	left: var(--buzza-kvkk-floating-x, 18px);
	bottom: var(--buzza-kvkk-floating-y, 18px);
}

.buzza-kvkk-floating-top-right {
	right: var(--buzza-kvkk-floating-x, 18px);
	top: var(--buzza-kvkk-floating-y, 18px);
}

.buzza-kvkk-floating-top-left {
	left: var(--buzza-kvkk-floating-x, 18px);
	top: var(--buzza-kvkk-floating-y, 18px);
}

.buzza-kvkk-floating-style-compact {
	min-height: 34px;
	padding: 8px 10px;
	font-size: 12px;
}

.buzza-kvkk-floating-style-icon {
	width: 42px;
	height: 42px;
	min-height: 42px;
	padding: 0;
	border-radius: 14px;
}

.buzza-kvkk-floating-style-icon span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.buzza-kvkk-cookie-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	pointer-events: none;
}

.buzza-kvkk-floating span {
	display: inline-block;
	font-size: 12px;
	line-height: 1;
	pointer-events: none;
}

.buzza-kvkk-policy-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 16px;
	font-size: 14px;
}

.buzza-kvkk-policy-table th,
.buzza-kvkk-policy-table td {
	padding: 10px 12px;
	border: 1px solid #d9e1ec;
	text-align: left;
	vertical-align: top;
}

.buzza-kvkk-policy-table th {
	background: #f8fafc;
	font-weight: 800;
}

@media (max-width: 640px) {
	.buzza-kvkk-overlay {
		padding: 10px;
	}

	.buzza-kvkk-banner {
		width: calc(100vw - 20px);
		padding: 13px;
		border-radius: 14px;
	}

	.buzza-kvkk-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.buzza-kvkk-position-modal .buzza-kvkk-actions {
		grid-template-columns: 1fr;
	}

	.buzza-kvkk-btn {
		width: 100%;
	}

	.buzza-kvkk-floating {
		min-height: 36px;
		padding: 8px 10px;
	}

	.buzza-kvkk-floating-style-icon {
		width: 40px;
		height: 40px;
		min-height: 40px;
		padding: 0;
	}
}