/*
SaaS Gerueb Enterprise
Author: Oscar Alves
version: 1.0.1
*/

:root {
	--primary: #7eb620;
	--primary-hover: #6a9a1a;
	--bg-dark: #1a1d21;
	/* Typography */
	--font-heading: 'Poppins', sans-serif;
	--font-body: 'Inter', sans-serif;
}

body {
	background: var(--bg-dark);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-body);
	margin: 0;
	padding: 20px;
}

.login-card {
	background: #fff;
	border-radius: 12px;
	padding: 2.5rem;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	width: 100%;
	max-width: 458px;
	animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.brand {
	text-align: center;
	margin-bottom: 2rem;
}

.brand-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 1rem;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
}

.brand-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.brand h1 {
	color: #212529;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 0.5rem 0;
}

.brand-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #212529;
	margin-bottom: 0.5rem;
}

.brand-subtitle {
	color: #6c757d;
	font-size: 0.9rem;
	margin: 0;
}

.form-label {
	font-weight: 500;
	color: #212529;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
}

.form-control {
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	font-size: 0.95rem;
	transition: all 0.2s;
}

.form-control:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 0.2rem rgba(126, 182, 32, 0.15);
}

.input-group {
	position: relative;
}

.password-toggle {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #6c757d;
	cursor: pointer;
	padding: 0;
	z-index: 5;
}

.password-toggle:hover {
	color: var(--primary);
}

.form-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	font-size: 0.9rem;
}

.form-check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.form-check-input {
	width: 1rem;
	height: 1rem;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	cursor: pointer;
}

.form-check-input:checked {
	background-color: var(--primary);
	border-color: var(--primary);
}

.form-check-label {
	color: #495057;
	cursor: pointer;
	user-select: none;
}

.forgot-link {
	color: var(--primary);
	text-decoration: none;
	font-weight: 500;
}

.forgot-link:hover {
	color: var(--primary-hover);
	text-decoration: underline;
}

.btn-login {
	background: var(--primary);
	border: none;
	border-radius: 8px;
	padding: 0.875rem;
	font-weight: 600;
	font-size: 1rem;
	color: #fff;
	width: 100%;
	cursor: pointer;
	transition: all 0.2s;
	box-shadow: 0 4px 12px rgba(126, 182, 32, 0.3);
}

.btn-login:hover {
	color: #fff;
	background: var(--primary-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(126, 182, 32, 0.4);
}

.btn-login:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.footer {
	text-align: center;
	margin-top: 2rem;
	color: #adb5bd;
	font-size: 0.85rem;
}

.alert {
	border-radius: 8px;
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
}