/* Landing Page Specific CSS - Independent from style.css */

/* Base container styles */
.entrance.landing-page {
	background-color: #1e293b;
	background: linear-gradient(135deg, rgba(15, 20, 25, 0.4) 0%, rgba(26, 31, 46, 0.5) 50%, rgba(13, 17, 23, 0.4) 100%), url('../../Images/home_banner.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	min-height: 100vh;
	width: 100%;
	padding-top: 40px;
	position: relative;
}

.entrance.landing-page::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
	pointer-events: none;
}

/* Landing Header Styles */
.landing-header {
	margin-bottom: 18px;
	animation: fadeInDown 1s ease-out;
	position: relative;
	z-index: 2;
}

.landing-logo {
	max-width: 288px;
	height: auto;
	margin: 0 auto 55px auto;
	filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5));
}

.landing-title {
	color: #ffffff;
	font-size: 25px;
	font-weight: 600;
	text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
	margin-bottom: 0;
	letter-spacing: 1px;
}

.landing-subtitle {
	color: #fff;
	font-size: 18px;
	font-weight: 300;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
	opacity: 0.9;
	letter-spacing: 1px;
}

/* Landing Content Layout */
.landing-content-wrapper {
	margin-bottom: 40px;
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 30px;
	flex-wrap: wrap;
}

.landing-content-wrapper.no-error {
	justify-content: center;
}

.landing-content-wrapper.has-error {
	justify-content: center;
}

.landing-form-container {
	flex: 0 0 auto;
	width: 100%;
	max-width: 630px;
	animation: slideInUp 0.8s ease-out;
}
.welcome-sso-container {
	max-width: 55vw !important;
}
.landing-content-wrapper.has-error .landing-form-container {
	animation: slideInLeft 0.8s ease-out;
}

/* Landing Features Grid */
.landing-features-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 30px;
}

.landing-feature-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	text-align: left;
	gap: 15px;
	padding: 18px 20px;
	background: rgba(30, 41, 59, 0.6);
	border: 1px solid rgba(71, 85, 105, 0.3);
	border-radius: 12px;
	transition: all 0.3s ease;
	opacity: 0;
	transform: translateY(30px);
	animation: slideInFromBottom 0.6s ease-out forwards;
}

.landing-feature-item:nth-child(1) {
	animation-delay: 0.2s;
}

.landing-feature-item:nth-child(2) {
	animation-delay: 0.4s;
}

.landing-feature-item:nth-child(3) {
	animation-delay: 0.6s;
}

.landing-feature-item:nth-child(4) {
	animation-delay: 0.8s;
}

.landing-feature-item:hover {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(71, 85, 105, 0.5);
	transform: translateY(-5px);
}

.landing-feature-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, 0.8);
	border-radius: 10px;
	border: 1px solid rgba(71, 85, 105, 0.4);
}

.landing-feature-icon i {
	font-size: 26px !important;
}

.landing-feature-text {
	flex: 1;
	min-width: 0;
}

.landing-feature-text h6 {
	font-size: 15px;
	line-height: 1.2;
	margin-bottom: 6px;
}

.landing-feature-text p {
	font-size: 13px;
	line-height: 1.4;
}

/* Landing Panel Styles */
.landing-panel {
	background: rgba(17, 24, 39, 0.92);
	border: 1px solid rgba(59, 130, 246, 0.2);
	border-radius: 16px;
	box-shadow: 
		0 20px 40px rgba(0,0,0,0.4),
		0 0 0 1px rgba(255,255,255,0.05),
		inset 0 1px 0 rgba(255,255,255,0.1);
	backdrop-filter: blur(20px);
	overflow: hidden;
}

.landing-panel-header {
	background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
	border-bottom: 1px solid rgba(59, 130, 246, 0.3);
	color: #ffffff;
	padding: 25px 30px;
	text-align: center;
	position: relative;
}

.landing-panel-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.landing-panel-header h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #f8fafc;
}

.landing-panel-header h3 i {
	margin-right: 10px;
	color: #3b82f6;
}

.landing-panel-body {
	padding: 40px;
	background: rgba(30, 41, 59, 0.4);
}

/* Error-specific styles */
.landing-error-header {
	background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
	border-bottom: 1px solid rgba(239, 68, 68, 0.3);
	color: #ffffff;
}

.landing-error-header::before {
	background: linear-gradient(90deg, transparent, #ef4444, transparent);
}

.landing-error-header h3 i {
	color: #fca5a5;
}

.landing-error-message {
	background: rgba(127, 29, 29, 0.3);
	border: 1px solid rgba(239, 68, 68, 0.4);
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 25px;
	color: #fecaca;
	font-size: 15px;
}

.landing-troubleshooting-section {
	margin-bottom: 25px;
}

.landing-troubleshooting-section h5 {
	color: #e2e8f0;
	font-weight: 600;
	margin-bottom: 15px;
	font-size: 16px;
}

.landing-troubleshooting-section h5 i {
	margin-right: 8px;
	color: #3b82f6;
}

.landing-troubleshooting-list {
	color: #cbd5e1;
	line-height: 1.6;
	padding-left: 20px;
}

.landing-troubleshooting-list li {
	margin-bottom: 8px;
}

.landing-error-actions {
	margin-top: 25px;
}

/* Button Styles */
.landing-btn-sso {
	height: 50px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	background: linear-gradient(135deg, #10b981 0%, #047857 100%);
	border: none;
	transition: all 0.3s ease;
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.landing-btn-sso:hover {
	background: linear-gradient(135deg, #059669 0%, #065f46 100%);
	transform: translateY(-2px);
	box-shadow: 0 12px 25px rgba(16, 185, 129, 0.4);
	color: #ffffff;
	text-decoration: none;
}

.landing-btn-sso:focus,
.landing-btn-sso:active {
	color: #ffffff;
	text-decoration: none;
}

.landing-btn-primary {
	height: 50px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	border: none;
	color: #ffffff;
	transition: all 0.3s ease;
	box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
}

.landing-btn-primary:hover {
	background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
	transform: translateY(-2px);
	box-shadow: 0 12px 25px rgba(59, 130, 246, 0.4);
	color: #ffffff;
}

.landing-btn-success {
	height: 50px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	background: linear-gradient(135deg, #10b981 0%, #047857 100%);
	border: none;
	transition: all 0.3s ease;
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.landing-btn-success:hover {
	background: linear-gradient(135deg, #059669 0%, #065f46 100%);
	transform: translateY(-2px);
	box-shadow: 0 12px 25px rgba(16, 185, 129, 0.4);
	color: #ffffff;
}

.landing-btn-reset {
	height: 45px;
	border-radius: 8px;
	font-weight: 600;
	background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
	border: none;
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
	transition: all 0.3s ease;
}

.landing-btn-reset:hover {
	background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
	transform: translateY(-2px);
	box-shadow: 0 12px 25px rgba(139, 92, 246, 0.4);
	color: #ffffff;
}

.landing-error-btn {
	height: 45px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 12px;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.landing-error-btn:hover {
	transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

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

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Sequential loading animation from bottom */
@keyframes slideInFromBottom {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Toolkits Container Responsive Design */
@media (max-width: 720px) {
	.toolkits-container {
		flex-direction: column !important;
		gap: 15px !important;
	}
	
	.toolkit-section {
		margin-bottom: 0 !important;
	}
	
	.toolkit-btn {
		font-size: 14px !important;
		padding: 10px 14px !important;
		white-space: nowrap !important;
	}
}

@media (max-width: 600px) {
	.toolkit-btn {
		font-size: 13px !important;
		padding: 8px 12px !important;
	}
}

/* Responsive Design */
@media (max-width: 992px){
	.entrance.landing-page {
		padding-top: 30px;
	}
	
	.landing-title {
		font-size: 28px;
	}
	
	.landing-logo {
		max-width: 250px;
	}
	
	.landing-panel-body {
		padding: 25px;
	}
	
	.landing-content-wrapper {
		gap: 20px;
	}
	
	.landing-form-container {
		max-width: 100%;
		padding: 0 15px;
	}
	
	/* Feature grid responsive - keep 2x2 for tablets */
	.landing-features-grid {
		gap: 18px;
	}
	
	.landing-feature-item {
		padding: 16px 18px;
		gap: 12px;
	}
	
	.landing-feature-icon {
		width: 45px;
		height: 45px;
	}
	
	.landing-feature-icon i {
		font-size: 24px !important;
	}
	
	.landing-feature-text h6 {
		font-size: 14px;
		margin-bottom: 4px;
	}
	
	.landing-feature-text p {
		font-size: 12px;
	}
	.welcome-sso-container {
		max-width: 80vw !important;
	}
}

@media (max-width: 768px){
	.entrance.landing-page {
		padding-top: 20px;
	}
	
	.landing-header {
		margin-bottom: 30px;
	}
	
	.landing-title {
		font-size: 24px;
	}
	
	.landing-logo {
		max-width: 200px;
	}
	
	.landing-panel-header {
		padding: 20px 25px;
	}
	
	.landing-panel-header h3 {
		font-size: 18px;
	}
	
	.landing-panel-body {
		padding: 20px;
	}
	
	.landing-content-wrapper {
		flex-direction: column;
		gap: 15px;
	}
	
	/* Feature grid - single column, hide descriptions */
	.landing-features-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	
	.landing-feature-item {
		padding: 14px 16px;
		gap: 12px;
	}
	
	.landing-feature-icon {
		width: 42px;
		height: 42px;
	}
	
	.landing-feature-icon i {
		font-size: 22px !important;
	}
	
	.landing-feature-text h6 {
		font-size: 14px;
		margin-bottom: 0;
	}
	
	/* Hide description text on small screens */
	.landing-feature-text p {
		display: none;
	}
	.welcome-sso-container {
		max-width: 100vw !important;
	}
}

@media (max-width: 480px){
	.entrance.landing-page {
		padding-top: 15px;
	}
	
	.landing-panel {
		margin: 0 5px;
	}
	
	.landing-title {
		font-size: 20px;
		letter-spacing: 0.5px;
	}
	
	.landing-logo {
		max-width: 160px;
	}
	
	.landing-btn-sso,
	.landing-btn-success,
	.landing-btn-primary,
	.landing-btn-reset {
		height: 45px;
		font-size: 14px;
	}
	
	.landing-panel-body {
		padding: 15px;
	}
	
	/* Feature grid mobile - compact single column */
	.landing-features-grid {
		gap: 10px;
	}
	
	.landing-feature-item {
		padding: 12px 14px;
		gap: 10px;
	}
	
	.landing-feature-icon {
		width: 38px;
		height: 38px;
	}
	
	.landing-feature-icon i {
		font-size: 20px !important;
	}
	
	.landing-feature-text h6 {
		font-size: 13px;
	}
	.welcome-sso-container {
		max-width: 100vw !important;
	}
} 