.ek-consent-banner,
.ek-consent-settings {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #1a1a1a;
}

.ek-consent-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	background: #fff;
	border-top: 1px solid #ddd;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
	padding: 20px 24px;
}

.ek-consent-banner__inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
}

.ek-consent-banner__text {
	flex: 1 1 280px;
	margin: 0;
}

.ek-consent-banner__text a {
	color: #2d6a4f;
	text-decoration: underline;
}

.ek-consent-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex: 0 0 auto;
}

.ek-consent-btn {
	border: none;
	border-radius: 4px;
	padding: 10px 16px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.ek-consent-btn--primary {
	background: #2d6a4f;
	color: #fff;
}

.ek-consent-btn--primary:hover {
	background: #245a42;
}

.ek-consent-btn--secondary {
	background: #f0f0f0;
	color: #1a1a1a;
}

.ek-consent-btn--secondary:hover {
	background: #e4e4e4;
}

.ek-consent-btn--ghost {
	background: transparent;
	color: #2d6a4f;
	border: 1px solid #2d6a4f;
}

.ek-consent-btn--ghost:hover {
	background: #f4faf7;
}

.ek-consent-settings {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.ek-consent-settings[hidden],
.ek-consent-banner[hidden] {
	display: none !important;
}

.ek-consent-settings__panel {
	background: #fff;
	border-radius: 8px;
	max-width: 480px;
	width: 100%;
	padding: 24px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.ek-consent-settings__title {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 700;
}

.ek-consent-settings__intro {
	margin: 0 0 16px;
	color: #444;
}

.ek-consent-settings__category {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 0;
	border-top: 1px solid #eee;
}

.ek-consent-settings__category label {
	flex: 1;
	cursor: pointer;
}

.ek-consent-settings__category strong {
	display: block;
	margin-bottom: 4px;
}

.ek-consent-settings__category span {
	color: #666;
	font-size: 13px;
}

.ek-consent-settings__actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 20px;
}

.ek-consent-revoke {
	position: fixed;
	left: 12px;
	bottom: 12px;
	z-index: 99998;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 6px 10px;
	font-size: 12px;
	cursor: pointer;
	color: #444;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ek-consent-revoke:hover {
	border-color: #2d6a4f;
	color: #2d6a4f;
}

@media (max-width: 600px) {
	.ek-consent-banner {
		padding: 16px;
	}

	.ek-consent-banner__actions {
		width: 100%;
	}

	.ek-consent-btn {
		flex: 1 1 auto;
	}
}
