﻿/* ---------- Full Background ---------- */
body.login-body, html {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	overflow: hidden;
}

.background {
	position: fixed;
	inset: 0;
	background: center center / cover no-repeat;
	z-index: -2;
	filter: brightness(0.8);
	transition: background-image 1.2s ease-in-out;
}

/* ---------- Frosted Glass Container ---------- */
.login-container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
}
.login-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
form#form-login {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(20px) saturate(180%);
	border-radius: 16px;
	padding: 40px 50px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	width: 400px;
	max-width: 90vw;
	color: #fff;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: stretch; /* ensures children take full width */
	box-sizing: border-box;
}

/* ---------- Input Styling ---------- */
.form-stack {
	margin-bottom: 20px;
	text-align: left;
}

.form-label {
	display: block;
	margin-bottom: 6px;
	color: rgba(255, 255, 255, 0.9);
}

.form-control {
	width: 100%;
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid rgba(255,255,255,0.4);
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 15px;
	transition: all 0.3s ease;
}

	.form-control:focus {
		outline: none;
		background: rgba(255, 255, 255, 0.25);
		border-color: #fff;
		box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
	}

/* ---------- Button ---------- */
button.login {
	width: 100%;
	padding: 12px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(145deg, #007aff, #0051a8);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: block;
	margin-top: 4px;
}
.form-submit {
	width: 100%;
}
	button.login:hover {
		background: linear-gradient(145deg, #339aff, #007aff);
		transform: scale(1.03);
	}

/* ---------- Footer Text ---------- */
form#form-login div[style*="font-size: 12px;"] {
	color: rgba(255, 255, 255, 0.6);
}

a.text-reset {
	color: #fff !important;
	text-decoration: underline;
}

	a.text-reset:hover {
		color: #00aaff !important;
	}
.login-logo {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 25px;
	animation: fadeIn 1.2s ease-out;
}

	.login-logo img {
		width: 120px; /* adjust as needed */
		height: auto;
		opacity: 0.95;
		filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
		transition: transform 0.3s ease, opacity 0.3s ease;
	}

		.login-logo img:hover {
			transform: scale(1.05);
			opacity: 1;
		}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.form-control,
button.login {
	width: 100%;
	box-sizing: border-box; /* makes padding included in total width */
}

.form-submit {
	width: 100%;
	display: flex;
}

button.login {
	flex: 1;
	padding: 12px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(145deg, #007aff, #0051a8);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
}
.form-element {
	width: 100%;
}
/* ---------- Bottom-Corner Text (Right & Left) ---------- */
.login-footer-text,
.login-footer-left {
	position: fixed;
	bottom: 20px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
	font-weight: 400;
	letter-spacing: 0.3px;
	animation: fadeIn 1.2s ease-out;
	z-index: 5;
	text-transform: uppercase;
}

/* right side (already in use) */
.login-footer-text {
	right: 30px;
	text-align: right;
	text-transform: uppercase;
}

/* left side (new) */
.login-footer-left {
	left: 30px;
	text-align: left;
}

	/* soft hover effect */
	.login-footer-text:hover,
	.login-footer-left:hover {
		color: #ffffff;
		text-shadow: 0 0 8px rgba(255,255,255,0.3);
	}

/* responsive layout — center both on small screens */
@media (max-width: 600px) {
	.login-footer-text,
	.login-footer-left {
		position: static;
		display: block;
		text-align: center;
		margin-top: 10px;
	}
}