.wpcc-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: var(--wpcc-z, 99999);
	background: var(--wpcc-bg, #1e1e1e);
	color: var(--wpcc-text, #fff);
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
	font-size: 14px;
	line-height: 1.5;
}

.wpcc-banner--bottom-left,
.wpcc-banner--bottom-right {
	left: auto;
	right: auto;
	max-width: 420px;
	margin: 16px;
	border-radius: 12px;
}

.wpcc-banner--bottom-left {
	left: 0;
}

.wpcc-banner--bottom-right {
	right: 0;
}

.wpcc-banner[hidden] {
	display: none !important;
}

.wpcc-banner__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.wpcc-banner__content {
	flex: 1 1 280px;
	min-width: 0;
}

.wpcc-banner__text a {
	color: inherit;
	text-decoration: underline;
}

.wpcc-banner__text p {
	margin: 0 0 8px;
}

.wpcc-banner__text p:last-child {
	margin-bottom: 0;
}

.wpcc-banner__details {
	margin-top: 10px;
}

.wpcc-banner__details summary {
	cursor: pointer;
	font-weight: 600;
}

.wpcc-banner__table-wrap {
	overflow-x: auto;
	margin-top: 8px;
}

.wpcc-banner__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
}

.wpcc-banner__table th,
.wpcc-banner__table td {
	border: 1px solid rgba(255, 255, 255, 0.15);
	padding: 6px 8px;
	text-align: left;
	vertical-align: top;
}

.wpcc-banner__note {
	margin: 8px 0 0;
	font-size: 12px;
	opacity: 0.85;
}

.wpcc-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.wpcc-btn {
	border: 0;
	border-radius: 6px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	color: #fff;
	white-space: nowrap;
}

.wpcc-btn--accept {
	background: var(--wpcc-accept, #2e7d32);
}

.wpcc-btn--reject {
	background: var(--wpcc-reject, #616161);
}

.wpcc-btn:hover {
	filter: brightness(1.08);
}

@media (max-width: 640px) {
	.wpcc-banner__inner {
		flex-direction: column;
	}

	.wpcc-banner__actions {
		width: 100%;
	}

	.wpcc-btn {
		flex: 1 1 auto;
	}
}
