html.wup-ap-consent-open,
body.wup-ap-consent-open {
	overflow: hidden;
}

.wup-ap-consent-layer {
	position: fixed;
	z-index: 99999999;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.wup-ap-consent-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .66);
	backdrop-filter: blur(3px);
}

.wup-ap-consent {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	width: min(920px, 100%);
	padding: 18px;
	border: 1px solid rgba(219, 227, 239, .95);
	border-radius: 18px;
	box-sizing: border-box;
	background: #ffffff;
	box-shadow: 0 24px 80px rgba(15, 23, 42, .36);
	color: #172033;
	font-family: inherit;
}

.wup-ap-consent__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #eff6ff;
	color: #2563eb;
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
}

.wup-ap-consent__content {
	min-width: 0;
}

.wup-ap-consent__title {
	display: block;
	margin-bottom: 4px;
	font-size: 16px;
	line-height: 1.35;
}

.wup-ap-consent__content p {
	margin: 0;
	color: #64748b;
	font-size: 13px;
	line-height: 1.55;
}

.wup-ap-consent__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px;
}

.wup-ap-consent__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 7px 14px;
	border: 1px solid transparent;
	border-radius: 9px;
	box-sizing: border-box;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.wup-ap-consent__button--primary {
	border-color: #2563eb;
	background: #2563eb;
	color: #ffffff;
}

.wup-ap-consent__button--secondary {
	border-color: #cbd5e1;
	background: #ffffff;
	color: #334155;
}

.wup-ap-consent__button--link {
	border-color: transparent;
	background: #f8fafc;
	color: #2563eb;
}

.wup-ap-consent__button:hover {
	filter: brightness(.97);
}

.wup-ap-consent__button:focus {
	outline: 3px solid rgba(37, 99, 235, .24);
	outline-offset: 2px;
}

@media (max-width: 960px) {
	.wup-ap-consent {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.wup-ap-consent__actions {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.wup-ap-consent-layer {
		align-items: flex-end;
		padding: 12px;
	}

	.wup-ap-consent {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 16px;
		border-radius: 15px;
	}

	.wup-ap-consent__icon {
		width: 38px;
		height: 38px;
	}

	.wup-ap-consent__actions {
		grid-column: auto;
		justify-content: stretch;
	}

	.wup-ap-consent__button {
		flex: 1 1 100%;
	}
}
