/* ==========================================================================
   LLP - BRICKMAN Perfect Match Login System
   Amaravathi Bricks Industries
   ========================================================================== */

/* Universal Reset */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background-color: #EBECEC !important;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
	color: #0F172A !important;
	overflow-x: hidden;
}

.llp-body-standalone {
	background-color: #EBECEC !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Outer Viewport Container */
.llp-viewport-container {
	min-height: 100vh;
	width: 100vw;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #EBECEC;
	padding: 30px 20px;
	box-sizing: border-box;
}

/* Centered Main Card Container (Reduced Radius & Darker Shadow) */
.llp-card-container {
	display: flex;
	background: #FFFFFF;
	max-width: 860px;
	width: 100%;
	border-radius: 8px;
	/* Reduced Radius */
	box-shadow: 0 24px 55px -12px rgba(15, 23, 42, 0.18),
		0 6px 20px -4px rgba(15, 23, 42, 0.1);
	border: 1px solid #CBD5E1;
	overflow: hidden;
	min-height: 490px;
	margin: 0 auto;
}

/* Left Brand Panel (Pastel Soft Blue & Circular Logo) */
.llp-brand-column {
	flex: 1;
	background: linear-gradient(180deg, #F0F6FF 0%, #E0F2FE 100%);
	border-right: 1px solid #E2E8F0;
	padding: 36px 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
}

.brand-content-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 320px;
	width: 100%;
}

/* Circular Logo Frame */
.circular-logo-frame {
	width: 135px;
	height: 135px;
	border-radius: 50%;
	border: 4px solid #1E40AF;
	background: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: 0 10px 25px rgba(30, 64, 175, 0.12);
	margin-bottom: 18px;
	flex-shrink: 0;
}

.circular-logo-img {
	width: 85%;
	height: 85%;
	object-fit: contain;
}

/* Brand Pill Badge */
.brand-pill-badge {
	color: #1D4ED8;
	font-weight: 900;
	font-size: 1.3rem;
	letter-spacing: 0.5px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.brand-subtext {
	color: #64748B;
	font-size: 0.88rem;
	line-height: 1.48;
	margin: 0 0 20px 0;
	max-width: 95%;
}

/* Simple Clean Feature Stack */
.brand-feature-stack {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.simple-feature-chip {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 6px;
	/* Reduced Radius */
	padding: 10px 16px;
	font-size: 0.82rem;
	font-weight: 600;
	color: #0F172A;
	display: flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.simple-feature-chip i {
	color: #1D4ED8;
	font-size: 0.95rem;
}

/* Right Form Column */
.llp-form-column {
	flex: 1.1;
	background: #FFFFFF;
	padding: 42px 38px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
}

.form-header-area {
	margin-bottom: 22px;
	text-align: center;
}

/* Beautiful Sign In Heading */
.form-title {
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 2.1rem;
	font-weight: 700;
	color: #0F172A;
	margin: 0 0 6px 0;
	letter-spacing: -0.6px;
	line-height: 1.2;
}

.form-subtitle {
	color: #64748B;
	font-size: 0.78rem;
	line-height: 1.45;
	margin: 0;
}

/* Sections */
.form-section {
	display: none;
	opacity: 0;
	transform: translateY(4px);
	transition: all 0.25s ease-in-out;
}

.form-section.active {
	display: block;
	opacity: 1;
	transform: translateY(0);
}

/* Field Groups & Input Boxes (Reduced Radius & Visible Borders) */
.field-group {
	margin-bottom: 16px;
}

.input-box {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 48px;
	background: #FFFFFF;
	border: 1.5px solid #94A3B8;
	border-radius: 6px;
	/* Reduced Radius */
	box-sizing: border-box;
	transition: all 0.2s ease-in-out;
}

.input-box:hover {
	border-color: #475569;
	background: #FFFFFF;
}

.input-box:focus-within {
	border-color: #0066FF !important;
	background: #FFFFFF !important;
	box-shadow: 0 0 0 3.5px rgba(0, 102, 255, 0.16) !important;
}

.input-icon-slot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 100%;
	color: #0066FF;
	font-size: 0.95rem;
	flex-shrink: 0;
	pointer-events: none;
	transition: color 0.2s ease;
}

.input-control {
	flex: 1;
	height: 100% !important;
	border: none !important;
	background: transparent !important;
	color: #0F172A !important;
	font-size: 0.92rem !important;
	font-family: 'Inter', sans-serif !important;
	outline: none !important;
	padding: 0 12px 0 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
}

.input-control::placeholder {
	color: #94A3B8;
}

.btn-toggle-eye {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 100%;
	background: none !important;
	border: none !important;
	color: #94A3B8;
	cursor: pointer;
	padding: 0 !important;
	margin: 0 !important;
	transition: color 0.2s ease;
}

.btn-toggle-eye:hover {
	color: #0F172A;
}

/* Links */
.forgot-link-row {
	margin-top: 4px;
	margin-bottom: 18px;
	text-align: right;
}

.forgot-link {
	color: #0066FF;
	font-size: 0.75rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
}

.forgot-link:hover {
	color: #0052CC;
	text-decoration: underline;
}

/* Low Opacity Back to Sign In Link */
.btn-back-link-low {
	background: none !important;
	border: none !important;
	color: #64748B !important;
	font-size: 0.85rem !important;
	font-weight: 500 !important;
	opacity: 0.55 !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	margin-top: 20px !important;
	transition: all 0.2s ease !important;
	text-decoration: none !important;
}

.btn-back-link-low:hover {
	opacity: 1.0 !important;
	color: #0066FF !important;
}

/* Primary Button (Reduced Radius) */
.btn-primary-blue {
	width: 100%;
	height: 48px;
	background: #0066FF !important;
	border: none !important;
	color: #FFFFFF !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	border-radius: 6px !important;
	/* Reduced Radius */
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 4px 14px rgba(0, 102, 255, 0.25) !important;
}

.btn-primary-blue:hover {
	background: #0052CC !important;
	box-shadow: 0 6px 18px rgba(0, 102, 255, 0.35) !important;
}

.btn-spinner {
	margin-right: 10px !important;
}

.btn-secondary-ldap {
	background: #F1F5F9 !important;
	border: 1px solid #CBD5E1 !important;
	color: #0F172A !important;
	font-weight: 600 !important;
	border-radius: 6px !important;
	/* Reduced Radius */
	height: 44px !important;
	width: 100%;
}

.btn-secondary-ldap:hover {
	background: #E2E8F0 !important;
}

/* Powered by Hippoclouds Footer Attribution */
.llp-footer-attribution {
	font-family: 'Aleo', serif !important;
	font-style: italic !important;
	font-size: 0.85rem !important;
	color: #64748B !important;
	text-align: center !important;
	margin-top: 24px !important;
}

.llp-footer-attribution .hippo-text {
	color: #0066FF !important;
	/* Blue */
	font-weight: 700 !important;
	font-style: italic !important;
}

.llp-footer-attribution .clouds-text {
	color: #F97316 !important;
	/* Orange */
	font-weight: 700 !important;
	font-style: italic !important;
}

/* Alert Helper Container */
.llp-alert-container,
.llp-forgot-alert-container {
	margin-top: 8px;
	margin-bottom: 10px;
}

.llp-alert {
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 0.84rem;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 8px;
}

.llp-alert-danger {
	background: #FEF2F2;
	border: 1px solid #FCA5A5;
	color: #991B1B;
}

.llp-alert-success {
	background: #F0FDF4;
	border: 1px solid #86EFAC;
	color: #166534;
}

/* Responsive Rules */
@media (max-width: 820px) {
	.llp-card-container {
		flex-direction: column;
		max-width: 440px;
	}

	.llp-brand-column {
		display: none;
	}

	.llp-form-column {
		padding: 32px 24px;
	}
}