/* Página de login do HubBarber — estilos (extraídos do login.php para ficheiro próprio). */
*, *::before, *::after { box-sizing: border-box; }
html, body.login-modern { height: 100%; margin: 0; padding: 0; }
body.login-modern {
	font-family: 'Poppins', sans-serif;
	background: #f5f7fa;
}

/* Wrapper */
.lm-wrapper {
	display: flex;
	min-height: 100vh;
}

/* Brand panel */
.lm-brand {
	flex: 0 0 42%;
	background: linear-gradient(150deg, #3E7091 0%, #1f3b4d 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 40px;
	position: relative;
	overflow: hidden;
}
.lm-brand::after {
	content: '';
	position: absolute;
	bottom: -80px; right: -80px;
	width: 320px; height: 320px;
	border-radius: 50%;
	background: rgba(255,255,255,.06);
}
.lm-brand::before {
	content: '';
	position: absolute;
	top: -60px; left: -60px;
	width: 220px; height: 220px;
	border-radius: 50%;
	background: rgba(255,255,255,.04);
}
.lm-brand-inner {
	text-align: center;
	color: #fff;
	position: relative;
	z-index: 1;
}
.lm-logo {
	max-width: 180px;
	margin-bottom: 28px;
}
.lm-tagline {
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.7;
	opacity: .82;
	margin: 0 0 36px;
	letter-spacing: .02em;
}
.lm-deco {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}
.lm-deco span {
	width: 9px; height: 9px;
	border-radius: 50%;
	background: rgba(255,255,255,.35);
}
.lm-deco span:nth-child(2) {
	width: 12px; height: 12px;
	background: rgba(255,255,255,.75);
}

/* Form panel */
.lm-panel {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 40px;
	background: #fff;
}
.lm-panel-inner {
	width: 100%;
	max-width: 400px;
}

/* Alert messages */
.msgalert, .msgalert1 {
	margin-bottom: 16px;
	border-radius: 6px;
	font-size: 13px;
}

/* Box */
.lm-box { display: none; }
.lm-box.lm-box--active { display: block; }

.lm-box h2 {
	font-size: 1.55rem;
	font-weight: 700;
	color: #1a2a3a;
	margin: 0 0 6px;
}
.lm-sub {
	color: #6b7f8e;
	font-size: .88rem;
	margin-bottom: 28px;
}

/* Fields */
fieldset { border: none; padding: 0; margin: 0; }
.lm-field {
	position: relative;
	margin-bottom: 16px;
}
.lm-field-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #adb5bd;
	font-size: 13px;
	pointer-events: none;
}
.lm-input {
	width: 100%;
	padding: 12px 42px 12px 40px;
	border: 1.5px solid #dee2e6;
	border-radius: 8px;
	font-size: 13.5px;
	font-family: 'Poppins', sans-serif;
	color: #2d3a4a;
	background: #fafbfc;
	transition: border-color .18s, box-shadow .18s;
	outline: none;
}
.lm-input:focus {
	border-color: #3E7091;
	box-shadow: 0 0 0 3px rgba(21,101,192,.12);
	background: #fff;
}
.lm-input.lm-error { border-color: #e53935 !important; }

/* Password toggle */
.lm-eye {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	color: #adb5bd;
	padding: 4px;
	line-height: 1;
}
.lm-eye:hover { color: #3E7091; }

/* Actions */
.lm-actions { margin: 8px 0 14px; }
.lm-actions--split {
	display: flex;
	gap: 10px;
}
.lm-actions--split .lm-btn-secondary,
.lm-actions--split .lm-btn-primary {
	flex: 1;
	text-align: center;
}

/* Buttons */
.lm-btn-primary {
	display: block;
	width: 100%;
	padding: 12px;
	background: #3E7091;
	color: #fff !important;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	font-family: 'Poppins', sans-serif;
	cursor: pointer;
	transition: background .2s, box-shadow .2s, transform .1s;
	text-decoration: none !important;
}
.lm-btn-primary:hover {
	background: #0D47A1;
	box-shadow: 0 4px 14px rgba(21,101,192,.38);
}
.lm-btn-primary:active { transform: scale(.98); }
.lm-btn-secondary {
	display: block;
	padding: 12px;
	background: #f4f6f8;
	color: #4B5F71 !important;
	border: 1.5px solid #dee2e6;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	font-family: 'Poppins', sans-serif;
	cursor: pointer;
	transition: background .2s;
	text-decoration: none !important;
}
.lm-btn-secondary:hover { background: #e9ecef; color: #2d3a4a !important; }

/* Forgot link */
.lm-forgot-link {
	text-align: center;
	font-size: 12.5px;
	color: #6b7f8e;
	margin-top: 6px;
}
.lm-forgot-link a {
	color: #3E7091;
	text-decoration: none;
	font-weight: 500;
}
.lm-forgot-link a:hover { text-decoration: underline; }

/* Copyright */
.lm-copyright {
	text-align: center;
	font-size: 12px;
	color: #adb5bd;
	margin-top: 36px;
}
.lm-copyright a { color: #3E7091; text-decoration: none; }

/* Responsive */
@media (max-width: 767px) {
	.lm-wrapper { flex-direction: column; }
	.lm-brand { flex: 0 0 auto; padding: 40px 24px 32px; }
	.lm-logo { max-width: 120px; }
	.lm-tagline { font-size: .9rem; }
	.lm-panel { padding: 36px 20px; }
}
