.peachpay-convesiopay-card-manager-dialog {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
}

.peachpay-convesiopay-card-manager-dialog[hidden] {
	display: none;
}

.peachpay-convesiopay-card-manager-dialog__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.peachpay-convesiopay-card-manager-dialog__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 28rem;
	margin: 0;
	padding: 1.5rem 1.75rem 1.25rem;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
	box-sizing: border-box;
}

.peachpay-convesiopay-card-manager-dialog__title {
	margin: 0 2rem 0.75rem 0;
	padding: 0;
	font-size: 1.25rem;
	line-height: 1.3;
	font-weight: 600;
	color: #1e1e1e;
}

.peachpay-convesiopay-card-manager-dialog__body {
	margin: 0 0 1.25rem;
	color: #444;
	font-size: 0.95rem;
	line-height: 1.55;
}

.peachpay-convesiopay-card-manager-dialog__body p {
	margin: 0 0 0.75rem;
}

.peachpay-convesiopay-card-manager-dialog__body p:last-child {
	margin-bottom: 0;
}

.peachpay-convesiopay-card-manager-dialog__actions {
	display: flex;
	justify-content: flex-end;
}

.peachpay-convesiopay-card-manager-dialog__close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #666;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.peachpay-convesiopay-card-manager-dialog__close:hover,
.peachpay-convesiopay-card-manager-dialog__close:focus {
	color: #1e1e1e;
}

.peachpay-convesiopay-card-manager-dialog--open {
	overflow: hidden;
}

/* Card selector saving state */
.peachpay-convesiopay-subscription-cards-list--saving {
	pointer-events: none;
	opacity: 0.6;
}

.peachpay-convesiopay-card-saving-spinner {
	display: inline-block;
	width: 0.9em;
	height: 0.9em;
	margin-left: 6px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: pp-cpay-spin 0.6s linear infinite;
	vertical-align: middle;
}

@keyframes pp-cpay-spin {
	to { transform: rotate(360deg); }
}
