.gcr-banner {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 999999;
	background: var(--gcr-bg, #1f2937);
	color: var(--gcr-text, #f9fafb);
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.gcr-position-bottom { bottom: 0; }
.gcr-position-top { top: 0; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25); }
.gcr-position-modal {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.5);
}
.gcr-position-modal .gcr-banner-inner {
	background: var(--gcr-bg, #1f2937);
	max-width: 480px;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gcr-banner-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.gcr-banner-text {
	margin: 0;
	flex: 1 1 400px;
	font-size: 14px;
	line-height: 1.5;
}

.gcr-policy-link {
	color: inherit;
	text-decoration: underline;
	margin-left: 6px;
	white-space: nowrap;
}

.gcr-banner-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.gcr-btn {
	border: none;
	border-radius: 6px;
	padding: 10px 18px;
	font-size: 14px;
	cursor: pointer;
	color: var(--gcr-btn-text, #fff);
	transition: opacity 0.15s ease;
}
.gcr-btn:hover { opacity: 0.85; }

.gcr-btn-accept { background: var(--gcr-accept, #16a34a); }
.gcr-btn-reject,
.gcr-btn-customize { background: var(--gcr-reject, #4b5563); }

.gcr-modal {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.gcr-modal-content {
	background: var(--gcr-bg, #1f2937);
	color: var(--gcr-text, #f9fafb);
	max-width: 520px;
	width: 92%;
	max-height: 85vh;
	overflow-y: auto;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gcr-modal-content h3 {
	margin-top: 0;
}

.gcr-cat-row {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gcr-cat-info p {
	margin: 4px 0 0;
	font-size: 13px;
	opacity: 0.85;
}

.gcr-switch {
	position: relative;
	display: inline-block;
	width: 42px;
	height: 24px;
	flex-shrink: 0;
}
.gcr-switch input { opacity: 0; width: 0; height: 0; }
.gcr-slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background-color: #9ca3af;
	transition: 0.2s;
	border-radius: 24px;
}
.gcr-slider::before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: #fff;
	transition: 0.2s;
	border-radius: 50%;
}
.gcr-switch input:checked + .gcr-slider { background-color: var(--gcr-accept, #16a34a); }
.gcr-switch input:checked + .gcr-slider::before { transform: translateX(18px); }
.gcr-switch input:disabled + .gcr-slider { opacity: 0.6; cursor: not-allowed; }

.gcr-reopen-btn {
	background: none;
	border: none;
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
	font: inherit;
	color: inherit;
}

.gcr-cookies-table {
	width: 100%;
	border-collapse: collapse;
	margin: 8px 0 24px;
}
.gcr-cookies-table th,
.gcr-cookies-table td {
	border: 1px solid #e5e7eb;
	padding: 8px 10px;
	text-align: left;
	font-size: 14px;
}
.gcr-cookies-table th { background: #f3f4f6; }

@media (max-width: 600px) {
	.gcr-banner-inner { flex-direction: column; align-items: stretch; }
	.gcr-banner-actions { justify-content: stretch; }
	.gcr-btn { flex: 1; }
}
