body {
	background-color: #ffffff;
}

.angie-agents-page {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 32px);
	width: 100%;
	box-sizing: border-box;
}

.angie-agents-page--checking {
	display: block;
	min-height: calc(100vh - 32px);
}

.angie-agents-page--checking .angie-agents-content {
	display: none;
}

.angie-agents-platform-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 32px);
	gap: 16px;
	font-family: Roboto, sans-serif;
	color: #69727d;
}

.angie-agents-platform-loading[hidden] {
	display: none;
}

.angie-agents-platform-loading-spinner {
	width: 32px;
	height: 32px;
	border: 3px solid #e6e8ea;
	border-top-color: #0c0d0e;
	border-radius: 50%;
	animation: angie-agents-spin 0.8s linear infinite;
}

.angie-agents-platform-loading-text {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
}

@keyframes angie-agents-spin {
	to {
		transform: rotate(360deg);
	}
}

.angie-agents-page--platform {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	box-sizing: border-box;
	width: auto;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.angie-agents-page--platform .angie-agents-content,
.angie-agents-page--platform .angie-agents-platform-loading {
	display: none;
}

.angie-agents-platform-host {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	width: 100%;
	min-height: 0;
	overflow: hidden;
}

.angie-agents-platform-host[hidden] {
	display: none;
}

.angie-agents-platform-iframe {
	display: block;
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	min-height: 0;
	border: none;
	background: #ffffff;
	overflow: hidden;
}

/*
 * Fill Editor One #wpbody-content (fixed height from core). Angie sidebar is fixed
 * from the viewport left and does not live inside #wpbody-content — do not offset
 * the embed by --angie-sidebar-width (that double-counts and shrinks the iframe).
 */
body:has(.angie-agents-page--platform) #wpcontent {
	/* WP core adds padding-left: 20px; #wpbody is already positioned by Editor One. */
	padding-inline-start: 0;
}

body:has(.angie-agents-page--platform) #wpcontent #wpbody-content {
	position: relative;
	overflow: hidden;
	padding-block-end: 0;
	min-height: calc(100vh - var(--e-admin-bar-height, 32px) - var(--e-top-bar-header-height, 0px));
}

body:has(.angie-agents-page--platform) #wpfooter {
	display: none;
}

.angie-agents-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 80px 24px;
	position: relative;
	z-index: 1;
	font-family: Roboto, sans-serif;
}

.angie-agents-logo {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 32px;
}

.angie-agents-logo-icon {
	width: 20px;
	height: 20px;
}

.angie-agents-logo-text {
	font-size: 23px;
	font-weight: 400;
	color: #0c0d0e;
	letter-spacing: 0.1px;
	font-family: Roboto, sans-serif;
}

.angie-agents-headline {
	font-size: 48px;
	font-weight: 300;
	line-height: 1.1;
	color: #0c0d0e;
	margin: 0 0 24px;
	letter-spacing: -1px;
}

.angie-agents-headline-soon {
	background: linear-gradient(90deg, #5a5989 0%, #b14fad 50%, #71326b 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: 300;
	font-family: Roboto, sans-serif;
}

.angie-agents-subtitle {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.5;
	color: #0c0d0e;
	max-width: 720px;
	margin: 0 0 40px;
}

.angie-agents-notify-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #0c0d0e;
	color: #ffffff;
	border: none;
	border-radius: 100px;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 500;
	font-family: Roboto, sans-serif;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.angie-agents-notify-btn:hover {
	opacity: 0.85;
}

.angie-agents-notify-btn.angie-agents-notify-confirmed {
	background: transparent;
	color: #0a875a;
	cursor: default;
	padding: 0;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	font-size: 15px;
	line-height: 26px;
	letter-spacing: 0.46px;
}

.angie-agents-notify-btn.angie-agents-notify-confirmed:hover {
	opacity: 1;
}

.angie-agents-notify-btn.angie-agents-notify-confirmed svg {
	flex-shrink: 0;
}
