.cpe-site-migration {
	box-sizing: border-box;
	width: calc(100% - 2rem);
	max-width: 42rem;
	max-height: calc(100vh - 2rem);
	margin: auto;
	padding: 0;
	overflow: auto;
	border: 0;
	border-radius: 0.75rem;
	background: #fff;
	color: #1b2733;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 35%);
}

.cpe-site-migration[hidden] {
	display: none;
}

.cpe-site-migration::backdrop {
	background: rgb(12 24 36 / 76%);
}

.cpe-site-migration__content {
	padding: clamp(1.25rem, 5vw, 2.5rem);
}

.cpe-site-migration__title {
	margin: 0 0 1rem;
	color: #12395b;
	font-family: inherit;
	font-size: clamp(1.5rem, 5vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
	text-transform: none;
}

.cpe-site-migration__message,
.cpe-site-migration__countdown,
.cpe-site-migration__status {
	margin: 0 0 1rem;
	color: #263544;
	font-size: 1rem;
	line-height: 1.6;
	letter-spacing: normal;
}

.cpe-site-migration__countdown {
	font-weight: 700;
}

.cpe-site-migration__countdown[hidden] {
	display: none;
}

.cpe-site-migration__message {
	margin-bottom: 1.25rem;
	color: #12395b;
	font-size: clamp(1.25rem, 4vw, 1.6rem);
	font-weight: 700;
	line-height: 1.35;
}

.cpe-site-migration__title {
	margin-bottom: 0.5rem;
	color: #394957;
	font-size: 1rem;
	font-weight: 600;
}

.cpe-site-migration__status {
	color: #12395b;
	font-weight: 600;
}

.cpe-site-migration__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.cpe-site-migration__action {
	box-sizing: border-box;
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1rem;
	border: 2px solid #164c79;
	border-radius: 0.35rem;
	background: #fff;
	color: #12395b;
	font: inherit;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.cpe-site-migration__action:hover {
	background: #edf4f9;
	color: #0c3457;
	text-decoration: underline;
}

.cpe-site-migration__action--primary {
	border-color: #12395b;
	background: #12395b;
	color: #fff;
}

.cpe-site-migration__action--primary:hover {
	border-color: #0c3457;
	background: #0c3457;
	color: #fff;
}

.cpe-site-migration__action:focus-visible {
	outline: 3px solid #db6b00;
	outline-offset: 3px;
}

.cpe-site-migration__fallback {
	max-width: 42rem;
	margin: 1.5rem auto;
	padding: 1rem;
	border: 2px solid #164c79;
	background: #fff;
	color: #1b2733;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	letter-spacing: normal;
}

.cpe-site-migration__fallback a {
	color: #12395b;
	font-weight: 700;
	text-decoration: underline;
}

.cpe-site-migration__page-status:not([hidden]) {
	position: fixed;
	z-index: 2147483647;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	box-sizing: border-box;
	max-width: 42rem;
	margin: 0 auto;
	padding: 1rem;
	border: 2px solid #164c79;
	border-radius: 0.35rem;
	background: #fff;
	color: #1b2733;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	box-shadow: 0 0.5rem 2rem rgb(0 0 0 / 24%);
}

@media (max-width: 35rem) {
	.cpe-site-migration__actions {
		flex-direction: column;
	}

	.cpe-site-migration__action {
		width: 100%;
	}
}

@media (max-height: 34rem) {
	.cpe-site-migration__content {
		padding: 1rem;
	}

	.cpe-site-migration__title {
		margin-bottom: 0.5rem;
	}

	.cpe-site-migration__message,
	.cpe-site-migration__countdown {
		margin-bottom: 0.5rem;
	}

	.cpe-site-migration__actions {
		margin-top: 0.75rem;
	}
}

@supports (max-height: 100dvh) {
	.cpe-site-migration {
		max-height: calc(100dvh - 2rem);
	}
}

@media (forced-colors: active) {
	.cpe-site-migration {
		border: 1px solid CanvasText;
	}

	.cpe-site-migration__action,
	.cpe-site-migration__fallback,
	.cpe-site-migration__page-status:not([hidden]) {
		border: 1px solid ButtonText;
	}

	.cpe-site-migration__action:focus-visible {
		outline: 3px solid Highlight;
	}
}
