/* Standalone demo page (templates/demo-page.php): full-screen, card centered. */
body.gpe-demo-page {
	margin: 0;
	min-height: 100vh;
	background: linear-gradient(135deg, #eef4fb 0%, #f6f7f9 50%, #eaf1f8 100%);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #1d2327;
}

.gpe-demo-page__main {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 24px 16px;
	box-sizing: border-box;
}

body.admin-bar .gpe-demo-page__main {
	min-height: calc(100vh - 32px);
}

/* Login card. */
.gpe-demo-access {
	width: 100%;
	max-width: 420px;
	margin: 2rem auto;
	padding: 2.5rem 2rem 2rem;
	border: 1px solid #e2e4e7;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 40px rgba(16, 24, 40, 0.08), 0 2px 6px rgba(16, 24, 40, 0.04);
	box-sizing: border-box;
	text-align: center;
}

.gpe-demo-page .gpe-demo-access {
	margin: 0 auto;
}

.gpe-demo-access__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 1.25rem;
	border-radius: 14px;
	background: #e9f1f9;
	color: #2271b1;
}

.gpe-demo-access__title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	line-height: 1.3;
	font-weight: 700;
}

.gpe-demo-access__text {
	margin: 0 0 1.5rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #50575e;
}

.gpe-demo-access__form {
	text-align: left;
}

.gpe-demo-access__label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.9rem;
	font-weight: 600;
}

.gpe-demo-access__row {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.gpe-demo-access__row input[type="email"] {
	width: 100%;
	min-width: 0;
	padding: 0.75rem 0.9rem;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	font-size: 1rem;
	box-sizing: border-box;
}

.gpe-demo-access__row input[type="email"]:focus {
	border-color: #2271b1;
	outline: 0;
	box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.2);
}

.gpe-demo-access__button {
	display: block;
	width: 100%;
	padding: 0.8rem 1.4rem;
	border: 0;
	border-radius: 8px;
	background: #2271b1;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
}

.gpe-demo-access__button:hover,
.gpe-demo-access__button:focus {
	background: #135e96;
	color: #fff;
}

.gpe-demo-access__error {
	margin: 0 0 1rem;
	padding: 0.6rem 0.9rem;
	border-left: 4px solid #d63638;
	border-radius: 4px;
	background: #fcf0f1;
	font-size: 0.9rem;
	text-align: left;
}

.gpe-demo-access__note {
	margin: 1.25rem 0 0;
	font-size: 0.8rem;
	line-height: 1.5;
	color: #646970;
}

/* Honeypot field. */
.gpe-demo-access__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
