@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&family=Salsa&display=swap');

/* Base Styles */
body {
	font-family: 'Poppins', sans-serif;
	margin: 0;
	padding: 0;
}

#login_wrap {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

/* Dynamic Animated Background */
#intro_top {
	width: 100%;
	height: 100%;
	z-index: 1;
	position: relative;
	background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
	background-size: 400% 400%;
	animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* Flexbox Centering Container */
.flex_center {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 100%;
}

/* Glassmorphism Login Card */
#login_all.glass-card {
	width: 90%;
	max-width: 450px; /* Slimmer, more modern width */
	padding: 40px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
	color: #fff;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#login_all.glass-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Logo Sizing */
#login_logo {
	height: 80px;
	margin-bottom: 20px;
	filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.4));
}

/* Typography */
#html_login_title {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 1px;
	margin-bottom: 5px;
}

#html_login_welcome {
	font-size: 15px;
	opacity: 0.8;
}

/* Modern Buttons */
.button-group {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-top: 20px;
}

.modern-btn {
	width: 100%;
	padding: 12px 20px;
	border: none;
	border-radius: 50px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.primary-btn {
	background: linear-gradient(90deg, #00C9FF 0%, #92FE9D 100%);
	color: #111;
	box-shadow: 0 4px 15px rgba(0, 201, 255, 0.4);
}

.primary-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(0, 201, 255, 0.6);
}

.guest-btn {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.guest-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.05);
}

/* Registration Link */
.register-section {
	margin-top: 25px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 15px;
}

.register-link {
	color: #00C9FF;
	transition: color 0.3s ease;
}

.register-link:hover {
	color: #92FE9D;
	text-decoration: underline;
}

/* Language Selector styling */
#intro_lang {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	cursor: pointer;
	transition: all 0.3s ease;
}

#intro_lang:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: rotate(10deg) scale(1.1);
}

#html_login_flag {
	width: 24px;
	border-radius: 2px;
}

/* Utilities */
.html_login_hidden {
	display: none !important;
}

@media screen and (max-width: 480px) {
	#login_all.glass-card {
		width: 85%;
		padding: 30px 20px;
	}
	#html_login_title {
		font-size: 24px;
	}
}