.wcpcr-modal[hidden] {
	display: none !important;
}

.wcpcr-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

.wcpcr-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.wcpcr-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	background: #fff;
	border-radius: 8px;
	padding: 1.5rem 1.5rem 1.5rem;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.wcpcr-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: #1d2327;
	color: #fff;
	font-size: 1.25rem;
	line-height: 2rem;
	text-align: center;
	cursor: pointer;
	z-index: 2;
}

.wcpcr-modal__message {
	margin: 0 2.75rem 1.1rem 0;
	padding-right: 0;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.4;
	color: #1d2327;
}

.wcpcr-modal__label {
	display: block;
	font-weight: 600;
	margin: 0 0 0.4rem;
}

.wcpcr-modal__select {
	width: 100%;
	max-width: none;
	margin: 0 0 0.75rem;
}

.wcpcr-modal__error {
	margin: 0 0 0.85rem;
	color: #b32d2e;
	font-size: 0.92rem;
}

.wcpcr-modal__actions {
	display: flex;
	gap: 0.6rem;
	justify-content: flex-end;
	flex-wrap: wrap;
}

body.wcpcr-modal-open {
	overflow: hidden;
}
