/**
 * UniteElements Theme - Authentication & Customer Gateway Stylesheet
 *
 * Professional, high-tech, responsive styling for:
 * - /my-account/ (Sign In & Registration)
 * - /my-account/lost-password/ (Password Recovery)
 * - /my-account/reset-password/ (Password Reset)
 *
 * @package UniteElements_Theme
 * @author Jyotirmay Ray <https://jyotirmayray.in/>
 */

/* ==========================================================================
   1. Master Authentication Canvas
   ========================================================================== */
.uniteelements-auth-universe {
	position: relative;
	min-height: calc(100vh - 180px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(36px, 5vw, 68px) 16px;
	background-color: #F8FAFD;
	overflow: hidden;
	font-family: var(--uniteelements-font-family, 'Space Grotesk', -apple-system, sans-serif);
	color: #0F172A;
}

/* Ambient Radial Aurora Glow Flares */
.uniteelements-auth-aurora-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(100px);
	pointer-events: none;
	opacity: 0.75;
	z-index: 0;
}

.uniteelements-auth-aurora-glow--top {
	width: 650px;
	height: 650px;
	background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, rgba(124, 58, 237, 0.08) 50%, transparent 70%);
	top: -160px;
	left: 5%;
}

.uniteelements-auth-aurora-glow--bottom {
	width: 580px;
	height: 580px;
	background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(37, 99, 235, 0.06) 50%, transparent 70%);
	bottom: -160px;
	right: 5%;
}

/* Subtle Cyber Grid Mesh */
.uniteelements-auth-cyber-grid-mesh {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1px);
	background-size: 28px 28px;
	pointer-events: none;
	opacity: 0.7;
	z-index: 0;
}

/* Wide Split-Screen Container (1240px) */
.uniteelements-auth-split-deck {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1240px;
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: clamp(28px, 4.5vw, 60px);
	align-items: center;
	margin: 0 auto;
}

@media (max-width: 960px) {
	.uniteelements-auth-split-deck {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

/* ==========================================================================
   2. Left Column: Platform Showcase & Capabilities (Clean Human Copy)
   ========================================================================== */
.uniteelements-auth-showcase-col {
	display: flex;
	flex-direction: column;
	gap: 28px;
	transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform, opacity;
}

.uniteelements-showcase-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.uniteelements-showcase-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 14px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.08);
	border: 1px solid rgba(37, 99, 235, 0.2);
	color: #2563EB;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.uniteelements-showcase-pulse-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #10B981;
	box-shadow: 0 0 8px #10B981;
	animation: uniteelementsLivePing 2s infinite ease-in-out;
}

@keyframes uniteelementsLivePing {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.85); }
}

.uniteelements-showcase-version {
	font-family: var(--uniteelements-font-mono, monospace);
	font-size: 11px;
	font-weight: 700;
	color: #64748B;
	background: #FFFFFF;
	padding: 3px 10px;
	border-radius: 6px;
	border: 1px solid #E2E8F0;
}

.uniteelements-showcase-emblem {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(124, 58, 237, 0.08) 100%);
	border: 1.5px solid rgba(37, 99, 235, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

.uniteelements-showcase-title {
	font-size: clamp(2rem, 3.6vw, 2.75rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	color: #0F172A;
	line-height: 1.15;
	margin: 0 0 12px;
}

.uniteelements-showcase-gradient-text {
	background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.uniteelements-showcase-desc {
	font-size: clamp(0.95rem, 1.4vw, 1.05rem);
	color: #475569;
	line-height: 1.6;
	margin: 0;
	max-width: 540px;
}

/* Feature Nodes Grid */
.uniteelements-showcase-features-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

@media (max-width: 600px) {
	.uniteelements-showcase-features-grid {
		grid-template-columns: 1fr;
	}
}

.uniteelements-feature-node {
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1.5px solid rgba(226, 232, 240, 0.9);
	border-radius: 16px;
	padding: 16px;
	display: flex;
	gap: 12px;
	transition: all 0.25s ease;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
}

.uniteelements-feature-node:hover {
	border-color: #2563EB;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
	background: #FFFFFF;
}

.uniteelements-feature-node__icon {
	width: 38px;
	height: 38px;
	border-radius: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.uniteelements-feature-node__icon--blue {
	background: rgba(37, 99, 235, 0.1);
	color: #2563EB;
}

.uniteelements-feature-node__icon--purple {
	background: rgba(124, 58, 237, 0.1);
	color: #7C3AED;
}

.uniteelements-feature-node__icon--emerald {
	background: rgba(16, 185, 129, 0.1);
	color: #10B981;
}

.uniteelements-feature-node__icon--amber {
	background: rgba(245, 158, 11, 0.1);
	color: #D97706;
}

.uniteelements-feature-node__title {
	font-size: 13.5px;
	font-weight: 800;
	color: #0F172A;
	margin: 0 0 3px;
	line-height: 1.3;
}

.uniteelements-feature-node__text {
	font-size: 12px;
	color: #64748B;
	margin: 0;
	line-height: 1.45;
}

/* Bottom Status Telemetry Capsule */
.uniteelements-showcase-telemetry-box {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding: 12px 18px;
	background: rgba(241, 245, 249, 0.8);
	border: 1px solid #E2E8F0;
	border-radius: 14px;
}

.uniteelements-telemetry-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	color: #475569;
	font-weight: 600;
}

.uniteelements-telemetry-pill strong {
	color: #0F172A;
}

.uniteelements-telemetry-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10B981;
}

/* Mobile Quick Jump Action */
.uniteelements-mobile-auth-jump {
	display: none;
}

@media (max-width: 960px) {
	.uniteelements-mobile-auth-jump {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		background: #FFFFFF;
		border: 1.5px solid #E2E8F0;
		color: #2563EB;
		font-size: 13px;
		font-weight: 700;
		padding: 10px 18px;
		border-radius: 999px;
		text-decoration: none;
		box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
		margin-top: 4px;
		transition: all 0.2s ease;
	}
	.uniteelements-mobile-auth-jump:hover {
		border-color: #2563EB;
		transform: translateY(-2px);
	}
}

/* ==========================================================================
   3. Right Column: Luminous White Crystal Auth Card
   ========================================================================== */
.uniteelements-auth-console-col {
	width: 100%;
	position: relative;
	z-index: 2;
}

.uniteelements-crystal-auth-card {
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(28px) saturate(180%);
	-webkit-backdrop-filter: blur(28px) saturate(180%);
	border: 1.5px solid rgba(255, 255, 255, 0.98);
	border-radius: 26px;
	padding: clamp(24px, 4vw, 38px);
	box-shadow: 0 24px 60px -12px rgba(37, 99, 235, 0.12),
	            0 4px 16px -2px rgba(15, 23, 42, 0.04),
	            0 0 0 1px rgba(226, 232, 240, 0.9);
	position: relative;
	overflow: hidden;
}

/* Card Header */
.uniteelements-crystal-auth-header {
	margin-bottom: 22px;
}

.uniteelements-auth-podium-capsule {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 14px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.08);
	border: 1px solid rgba(37, 99, 235, 0.2);
	color: #2563EB;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.uniteelements-crystal-title {
	font-size: 1.55rem;
	font-weight: 900;
	letter-spacing: -0.025em;
	color: #0F172A;
	margin: 0 0 6px;
	line-height: 1.2;
}

.uniteelements-crystal-sub {
	font-size: 13.5px;
	color: #64748B;
	margin: 0;
	line-height: 1.5;
}

/* Mode Switcher Tabs */
.uniteelements-auth-pill-deck {
	margin-bottom: 22px;
}

.uniteelements-auth-pill-switcher {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #F1F5F9;
	border: 1px solid #E2E8F0;
	border-radius: 14px;
	padding: 4px;
	gap: 4px;
}

.uniteelements-auth-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 16px;
	border: none;
	border-radius: 10px;
	background: transparent;
	color: #64748B;
	font-size: 13.5px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.uniteelements-auth-tab:hover {
	color: #0F172A;
}

.uniteelements-auth-tab.is-active {
	background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
	color: #FFFFFF;
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

/* Forms Stage */
.uniteelements-auth-pane {
	display: none;
}

.uniteelements-auth-pane.is-active {
	display: block;
	animation: uniteelementsFadeIn 0.25s ease-out;
}

@keyframes uniteelementsFadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.uniteelements-auth-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.uniteelements-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	position: relative;
}

.uniteelements-form-label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.uniteelements-form-label {
	font-size: 12.5px;
	font-weight: 700;
	color: #1E293B;
}

.uniteelements-form-label .required {
	color: #EF4444;
	font-weight: 800;
}

.uniteelements-forgot-link {
	font-size: 12px;
	font-weight: 700;
	color: #2563EB;
	text-decoration: none;
	transition: color 0.15s ease;
}

.uniteelements-forgot-link:hover {
	color: #1D4ED8;
	text-decoration: underline;
}

/* ==========================================================================
   4. Universal Input Field & Full Width Password Fix
   ========================================================================== */
.uniteelements-input-box {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.uniteelements-input-box .password-input,
.uniteelements-input-box span.password-input,
.woocommerce .uniteelements-input-box .password-input,
.woocommerce-page .uniteelements-input-box .password-input {
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	position: relative !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 1 1 100% !important;
}

.uniteelements-input-icon {
	position: absolute !important;
	left: 15px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	color: #94A3B8 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	pointer-events: none !important;
	transition: color 0.15s ease !important;
	z-index: 5 !important;
}

/* Master Input Fields */
.uniteelements-input,
.uniteelements-input-box input[type="text"],
.uniteelements-input-box input[type="email"],
.uniteelements-input-box input[type="password"],
.uniteelements-input-box .password-input input {
	width: 100% !important;
	height: 50px !important;
	padding: 0 48px 0 46px !important;
	border-radius: 12px !important;
	border: 1.5px solid #E2E8F0 !important;
	background: #F8FAFC !important;
	color: #0F172A !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	font-family: inherit !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) inset !important;
	transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
	box-sizing: border-box !important;
	display: block !important;
	flex: 1 1 100% !important;
}

.uniteelements-input-box:not(.uniteelements-input-box--password) .uniteelements-input,
.uniteelements-input-box:not(.uniteelements-input-box--password) input[type="text"],
.uniteelements-input-box:not(.uniteelements-input-box--password) input[type="email"] {
	padding-right: 16px !important;
}

.uniteelements-input::placeholder,
.uniteelements-input-box input::placeholder {
	color: #94A3B8 !important;
	font-weight: 500 !important;
}

.uniteelements-input:hover,
.uniteelements-input-box input:hover {
	border-color: #CBD5E1 !important;
	background: #FFFFFF !important;
}

.uniteelements-input:focus,
.uniteelements-input-box input:focus,
.uniteelements-input-box .password-input input:focus {
	border-color: #2563EB !important;
	background: #FFFFFF !important;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14) !important;
	outline: none !important;
}

.uniteelements-input-box:focus-within .uniteelements-input-icon {
	color: #2563EB !important;
}

/* Password Eye Toggle Precision Alignment */
.uniteelements-pwd-toggle,
.uniteelements-input-box .show-password-input,
.woocommerce .uniteelements-input-box .show-password-input {
	position: absolute !important;
	right: 12px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	background: transparent !important;
	border: none !important;
	color: #94A3B8 !important;
	cursor: pointer !important;
	padding: 8px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 8px !important;
	transition: all 0.15s ease !important;
	z-index: 6 !important;
	text-decoration: none !important;
}

.uniteelements-pwd-toggle:hover,
.uniteelements-input-box .show-password-input:hover,
.woocommerce .uniteelements-input-box .show-password-input:hover {
	color: #2563EB !important;
	background: rgba(37, 99, 235, 0.08) !important;
}

/* Suppress WooCommerce default ugly dashicon ::after glyph */
.show-password-input::after {
	display: none !important;
	content: "" !important;
}

/* Checkbox */
.uniteelements-form-actions-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.uniteelements-checkbox-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	user-select: none;
}

.uniteelements-checkbox {
	width: 18px !important;
	height: 18px !important;
	border-radius: 5px !important;
	border: 1.5px solid #CBD5E1 !important;
	cursor: pointer !important;
	accent-color: #2563EB !important;
	margin: 0 !important;
}

/* High-Tech Submit Buttons */
.uniteelements-auth-submit-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 50px !important;
	border-radius: 12px !important;
	border: none !important;
	background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
	color: #FFFFFF !important;
	font-size: 14.5px !important;
	font-weight: 800 !important;
	font-family: inherit !important;
	letter-spacing: 0.01em !important;
	cursor: pointer !important;
	box-shadow: 0 8px 24px rgba(37, 99, 235, 0.32) !important;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
	margin-top: 6px !important;
	text-decoration: none !important;
}

.uniteelements-auth-submit-btn * {
	color: #FFFFFF !important;
}

.uniteelements-auth-submit-btn:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 12px 30px rgba(37, 99, 235, 0.42) !important;
	background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%) !important;
}

.uniteelements-auth-submit-btn:active {
	transform: translateY(0) !important;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

.uniteelements-auth-submit-btn--register {
	background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
	box-shadow: 0 8px 24px rgba(5, 150, 105, 0.32) !important;
}

.uniteelements-auth-submit-btn--register:hover {
	background: linear-gradient(135deg, #10B981 0%, #065F46 100%) !important;
	box-shadow: 0 12px 30px rgba(5, 150, 105, 0.42) !important;
}

.uniteelements-auth-auto-pwd-note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #EFF6FF;
	border: 1px solid #DBEAFE;
	font-size: 12.5px;
	color: #1E40AF;
	line-height: 1.45;
}

/* ==========================================================================
   5. Bottom Micro Footer Strips (Fixed Horizontal Flex Layout)
   ========================================================================== */
.uniteelements-crystal-footer-strip {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 12px !important;
	margin-top: 24px !important;
	padding-top: 18px !important;
	border-top: 1px solid #E2E8F0 !important;
	font-size: 12px !important;
	color: #64748B !important;
	font-weight: 600 !important;
	list-style: none !important;
}

.uniteelements-crystal-foot-item {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.uniteelements-crystal-dot {
	color: #CBD5E1 !important;
	display: inline !important;
	font-size: 14px !important;
	line-height: 1 !important;
}

/* ==========================================================================
   6. Dedicated Password Recovery & Reset Card Styles
   ========================================================================== */
.uniteelements-crystal-recovery-card {
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(28px) saturate(180%);
	-webkit-backdrop-filter: blur(28px) saturate(180%);
	border: 1.5px solid rgba(255, 255, 255, 0.98);
	border-radius: 26px;
	padding: clamp(28px, 5vw, 44px);
	box-shadow: 0 24px 60px -12px rgba(43, 93, 245, 0.12),
	            0 4px 16px -2px rgba(15, 23, 42, 0.04),
	            0 0 0 1px rgba(226, 232, 240, 0.9);
	width: 100%;
	max-width: 490px;
	margin: 20px auto 40px;
	position: relative;
	z-index: 1;
}

.uniteelements-recovery-header {
	text-align: center;
	margin-bottom: 26px;
}

.uniteelements-recovery-icon-podium {
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(43, 93, 245, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%);
	border: 1.5px solid rgba(43, 93, 245, 0.22);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	box-shadow: 0 6px 20px rgba(43, 93, 245, 0.1);
}

.uniteelements-recovery-capsule {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 14px;
	border-radius: 999px;
	background: rgba(43, 93, 245, 0.08);
	border: 1px solid rgba(43, 93, 245, 0.2);
	color: #2B5DF5;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.uniteelements-recovery-title {
	font-size: 1.55rem;
	font-weight: 900;
	letter-spacing: -0.025em;
	color: #0F172A;
	margin: 0 0 8px;
	line-height: 1.2;
}

.uniteelements-recovery-desc {
	font-size: 13.5px;
	color: #64748B;
	margin: 0;
	line-height: 1.6;
}

.uniteelements-recovery-back-wrap {
	text-align: center;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #E2E8F0;
}

.uniteelements-recovery-back-btn {
	font-size: 13px;
	font-weight: 700;
	color: #2B5DF5;
	text-decoration: none;
	transition: all 0.15s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.uniteelements-recovery-back-btn:hover {
	color: #1D4ED8;
	text-decoration: underline;
}

/* ==========================================================================
   7. Alert Banners & WooCommerce Notice Messages
   ========================================================================== */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
	border-radius: 14px !important;
	padding: 14px 18px !important;
	margin: 0 auto 24px !important;
	max-width: 1240px !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	border: 1px solid !important;
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	list-style: none !important;
	position: relative !important;
	z-index: 10 !important;
}

.woocommerce-error {
	background: #FEF2F2 !important;
	border-color: #FECACA !important;
	color: #B91C1C !important;
}

.woocommerce-message {
	background: #F0FDF4 !important;
	border-color: #BBF7D0 !important;
	color: #15803D !important;
}

.woocommerce-info {
	background: #EFF6FF !important;
	border-color: #BFDBFE !important;
	color: #1D4ED8 !important;
}

.woocommerce-error a,
.woocommerce-message a,
.woocommerce-info a {
	color: inherit !important;
	font-weight: 800 !important;
	text-decoration: underline !important;
}
