/* ==========================================================================
   Ecom Custom SSO UI — sso-style.css
   ========================================================================== */

/* Hide theme chrome entirely on the SSO page */
body.ssui-sso-page .site-header,
body.ssui-sso-page #masthead,
body.ssui-sso-page .wp-block-template-part,
body.ssui-sso-page .site-footer,
body.ssui-sso-page #colophon,
body.ssui-sso-page .wp-block-post-title,
body.ssui-sso-page .page-title,
body.ssui-sso-page .woocommerce-breadcrumb {
	display: none !important;
}

body.admin-bar .ssui-page {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* --------------------------------------------------------------------------
   Full-screen two-column container
   -------------------------------------------------------------------------- */
.ssui-page {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Left brand panel — dark teal
   -------------------------------------------------------------------------- */
.ssui-panel-left {
	flex: 0 0 58%;
	background: #1e3f5c;
	color: #fff;
	padding: 60px 64px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow-y: auto;
}

.ssui-panel-left__brand {
	display: block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #c4892a;
	margin-bottom: 28px;
}

.ssui-panel-left__heading {
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 28px;
	color: #fff;
	border: none;
}

.ssui-panel-left__quote {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.65);
	font-style: italic;
	line-height: 1.7;
	margin: 0 0 24px;
	border: none;
	padding: 0;
}

.ssui-panel-left__divider {
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin: 0 0 28px;
}

/* Feature list */
.ssui-features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ssui-feature {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.ssui-feature__dot {
	flex-shrink: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #c4892a;
	margin-top: 6px;
}

.ssui-feature strong {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	color: #fff;
	margin-bottom: 2px;
}

.ssui-feature p {
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
	line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Right form panel
   -------------------------------------------------------------------------- */
.ssui-panel-right {
	flex: 1;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow-y: auto;
	padding: 40px 24px;
}

.ssui-form-wrap {
	width: 100%;
	max-width: 360px;
}

.ssui-form-label {
	display: block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #c4892a;
	margin-bottom: 12px;
}

.ssui-form-heading {
	font-size: 1.9rem;
	font-weight: 700;
	color: #1e3f5c;
	margin: 0 0 12px;
	border: none;
}

.ssui-form-subtitle {
	font-size: 0.88rem;
	color: #666;
	line-height: 1.6;
	margin: 0 0 36px;
}

/* --------------------------------------------------------------------------
   Microsoft sign-in button
   -------------------------------------------------------------------------- */
.ssui-ms-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	padding: 13px 20px;
	background: #fff;
	color: #1e1e1e;
	font-size: 0.9rem;
	font-weight: 600;
	border: 1.5px solid #d0d0d0;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.ssui-ms-btn:hover {
	background: #f7f7f7;
	border-color: #aaa;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.ssui-ms-btn:active {
	background: #eee;
}

.ssui-ms-logo {
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Configuration notice (no credentials set)
   -------------------------------------------------------------------------- */
.ssui-config-notice {
	padding: 16px;
	background: #fff8e1;
	border-left: 4px solid #c4892a;
	font-size: 0.85rem;
	color: #555;
	line-height: 1.55;
	border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Responsive — collapse to single column on mobile
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
	.ssui-page {
		flex-direction: column;
		overflow-y: auto;
		position: relative;
	}

	.ssui-panel-left {
		flex: 0 0 auto;
		padding: 40px 28px 32px;
	}

	.ssui-panel-left__heading {
		font-size: 1.8rem;
	}

	.ssui-panel-right {
		flex: 1;
		padding: 32px 28px 48px;
		align-items: flex-start;
	}
}
