/* ==========================================================================
   Ecom Custom Login UI — login-style.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hide theme chrome (header/footer/nav) on the login page
   -------------------------------------------------------------------------- */
body.woocommerce-account:not(.logged-in) .site-header,
body.woocommerce-account:not(.logged-in) #masthead,
body.woocommerce-account:not(.logged-in) .wp-block-template-part,
body.woocommerce-account:not(.logged-in) .site-footer,
body.woocommerce-account:not(.logged-in) #colophon,
body.woocommerce-account:not(.logged-in) .wp-block-post-title,
body.woocommerce-account:not(.logged-in) .page-title {
	display: none !important;
}

/* Remove body padding pushed by admin bar — keeps our fixed panel flush */
body.admin-bar .lcui-page {
	top: var(--wp-admin--admin-bar--height, 32px);
}

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

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

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

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

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

.lcui-panel-left__attr {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.4);
	margin: 0 0 36px;
}

.lcui-panel-left__divider {
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	margin: 0px 0 40px;
}

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

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

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

.lcui-feature strong {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: #fff;
	margin-bottom: 3px;
}

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

/* --------------------------------------------------------------------------
   Right form panel — white
   -------------------------------------------------------------------------- */
.lcui-panel-right {
	flex: 0 0 42%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 56px;
	overflow-y: auto;
}

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

.lcui-form-label {
	display: block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8b7a50;
	margin-bottom: 8px;
}

.lcui-form-heading {
	font-size: 2rem;
	font-weight: 700;
	color: #1e3f5c;
	margin: 0 0 8px;
	border: none;
	line-height: 1.2;
}

.lcui-form-subtitle {
	font-size: 0.82rem;
	color: #888;
	line-height: 1.65;
	margin: 0 0 24px;
}

/* --------------------------------------------------------------------------
   Form fields
   -------------------------------------------------------------------------- */
.lcui-field {
	margin-bottom: 16px;
}

.lcui-field label {
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #666;
	margin-bottom: 6px;
}

.lcui-field input[type="text"],
.lcui-field input[type="password"],
.lcui-field input[type="email"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 3px;
	font-size: 0.9rem;
	color: #1a1a1a;
	box-sizing: border-box;
	transition: border-color 0.15s ease;
	background: #fff;
}

.lcui-field input:focus {
	outline: none;
	border-color: #2a7d9c;
}

/* Note shown when WC auto-generates passwords */
.lcui-form-note {
	font-size: 0.78rem;
	color: #888;
	margin: 0 0 20px;
	line-height: 1.5;
}

/* Remember me */
.lcui-check-row {
	margin-bottom: 20px;
}

.lcui-check-row label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.82rem;
	color: #555;
	cursor: pointer;
}

.lcui-check-row input[type="checkbox"] {
	width: 15px;
	height: 15px;
	accent-color: #1e3f5c;
	flex-shrink: 0;
}

/* Submit button */
.lcui-submit-btn {
	width: 100%;
	padding: 14px;
	background: #1e3f5c;
	color: #fff;
	border: none;
	border-radius: 3px;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	cursor: pointer;
	transition: background 0.15s ease;
	margin-bottom: 16px;
	text-transform: uppercase;
}

.lcui-submit-btn:hover {
	background: #163351;
}

/* Forgot password / Register links */
.lcui-form-links {
	display: flex;
	justify-content: space-between;
	margin-bottom: 24px;
}

.lcui-form-links a {
	font-size: 0.82rem;
	color: #2a7d9c;
	text-decoration: none;
}

.lcui-form-links a:hover {
	text-decoration: underline;
}

/* HOẶC divider */
.lcui-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	color: #bbb;
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	font-weight: 600;
}

.lcui-divider::before,
.lcui-divider::after {
	content: '';
	flex: 1;
	border-top: 1px solid #e8e8e8;
}

/* Social buttons (UI-only) */
.lcui-social-btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.lcui-social-btn {
	padding: 10px 8px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 3px;
	font-size: 0.8rem;
	color: #333;
	cursor: not-allowed;
	opacity: 0.65;
}

/* --------------------------------------------------------------------------
   WC error / notice display inside the form panel
   -------------------------------------------------------------------------- */
.lcui-form-wrap .woocommerce-error,
.lcui-form-wrap .woocommerce-message,
.lcui-form-wrap .woocommerce-info {
	margin-bottom: 16px;
	font-size: 0.82rem;
	list-style: none;
	padding: 10px 14px;
	border-radius: 4px;
}

.lcui-form-wrap .woocommerce-error {
	background: #fff5f4;
	border-left: 3px solid #e04a3a;
	color: #c0392b;
}

/* --------------------------------------------------------------------------
   Responsive — stack panels on narrow screens
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
	.lcui-page {
		position: relative;
		inset: auto;
		flex-direction: column;
		min-height: 100vh;
	}

	.lcui-panel-left {
		flex: none;
		padding: 40px 28px;
		justify-content: flex-start;
	}

	.lcui-panel-right {
		flex: none;
		padding: 36px 28px;
		align-items: flex-start;
		justify-content: flex-start;
	}
}
