/* Cookie Consent Banner */
.cc-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #1a1a2e;
	color: #fff;
	z-index: 10000;
	padding: 20px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

.cc-banner-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 24px;
}

.cc-banner-text {
	flex: 1;
}

.cc-banner-text strong {
	display: block;
	font-size: 16px;
	margin-bottom: 8px;
}

.cc-banner-text p {
	margin: 0 0 6px;
}

.cc-banner-text a {
	color: #90caf9;
	text-decoration: underline;
}

.cc-banner-text a:hover {
	color: #bbdefb;
}

.cc-banner-buttons {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

/* Buttons */
.cc-btn {
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: background-color 0.2s, transform 0.1s;
}

.cc-btn:hover {
	transform: translateY(-1px);
}

.cc-btn:active {
	transform: translateY(0);
}

.cc-btn-accept {
	background: #4caf50;
	color: #fff;
}

.cc-btn-accept:hover {
	background: #43a047;
}

.cc-btn-reject {
	background: #616161;
	color: #fff;
}

.cc-btn-reject:hover {
	background: #757575;
}

.cc-btn-config,
.cc-btn-save {
	background: #1976d2;
	color: #fff;
}

.cc-btn-config:hover,
.cc-btn-save:hover {
	background: #1565c0;
}

/* Modal Overlay */
.cc-modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 10001;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

.cc-modal-panel {
	background: #fff;
	color: #333;
	border-radius: 8px;
	padding: 30px;
	max-width: 550px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	outline: none;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cc-modal-panel h2 {
	margin: 0 0 12px;
	font-size: 20px;
	color: #1a1a2e;
}

.cc-modal-panel > p {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.5;
	color: #555;
}

/* Cookie Category */
.cc-cookie-category {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 16px;
	margin-bottom: 12px;
}

.cc-category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cc-category-name {
	font-weight: 600;
	font-size: 15px;
	color: #1a1a2e;
}

.cc-always-on {
	font-size: 12px;
	color: #4caf50;
	font-weight: 600;
	background: #e8f5e9;
	padding: 3px 10px;
	border-radius: 12px;
}

.cc-category-desc {
	margin: 8px 0 0;
	font-size: 13px;
	color: #666;
	line-height: 1.4;
}

/* Toggle Switch */
.cc-toggle {
	position: relative;
	display: inline-block;
	width: 46px;
	height: 24px;
	cursor: pointer;
}

.cc-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.cc-toggle-slider {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #ccc;
	border-radius: 24px;
	transition: background-color 0.3s;
}

.cc-toggle-slider::before {
	content: '';
	position: absolute;
	width: 18px;
	height: 18px;
	left: 3px;
	bottom: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.3s;
}

.cc-toggle input:checked + .cc-toggle-slider {
	background: #4caf50;
}

.cc-toggle input:checked + .cc-toggle-slider::before {
	transform: translateX(22px);
}

.cc-toggle input:focus-visible + .cc-toggle-slider {
	outline: 2px solid #1976d2;
	outline-offset: 2px;
}

/* Modal Buttons */
.cc-modal-buttons {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 20px;
}

/* Floating Button */
.cc-floating-btn {
	position: fixed;
	bottom: 16px;
	left: 16px;
	background: #1a1a2e;
	color: #fff;
	border: none;
	border-radius: 20px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	z-index: 9999;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	transition: background-color 0.2s, transform 0.1s;
}

.cc-floating-btn:hover {
	background: #2d2d4e;
	transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
	.cc-banner-inner {
		flex-direction: column;
		text-align: center;
	}

	.cc-banner-buttons {
		flex-direction: column;
		width: 100%;
	}

	.cc-btn {
		width: 100%;
	}

	.cc-modal-panel {
		padding: 20px;
		margin: 10px;
	}

	.cc-modal-buttons {
		flex-direction: column;
	}
}
