.apollowbs-uid-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.apollowbs-uid-popup-overlay[hidden] {
	display: none;
}

.apollowbs-uid-popup {
	position: relative;
	background: #fff;
	max-width: 520px;
	width: 100%;
	max-height: 80vh;
	overflow-y: auto;
	border-radius: 6px;
	padding: 32px 28px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.apollowbs-uid-popup-content {
	font-size: 15px;
	line-height: 1.6;
}

.apollowbs-uid-popup-content p:first-child {
	margin-top: 0;
}

.apollowbs-uid-popup-content p:last-child {
	margin-bottom: 0;
}

.apollowbs-uid-popup-actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 24px;
}

.apollowbs-uid-popup-actions button {
	padding: 10px 20px;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	border: 1px solid transparent;
}

.apollowbs-uid-popup-cancel {
	background: #fff;
	border-color: #ccc;
	color: #333;
}

.apollowbs-uid-popup-confirm {
	background: #333;
	color: #fff;
	position: relative;
}

.apollowbs-uid-popup-confirm:disabled {
	cursor: default;
	opacity: 0.85;
}

.apollowbs-uid-popup-confirm.is-loading {
	color: transparent;
}

.apollowbs-uid-popup-confirm.is-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: apollowbs-uid-spin 0.7s linear infinite;
}

@keyframes apollowbs-uid-spin {
	to {
		transform: rotate(360deg);
	}
}
