/* --- INJECTED HOMEPAGE STYLES --- */
:root { 
	--bg: #07100d; 
	--bg-light: #0b1713; 
	--surface: #0f1e18; 
	--surface-hover: #14271f; 
	--border: rgba(255, 255, 255, 0.09); 
	--text: #f4f8f6; 
	--muted: #9aaea5; 
	--green: #36e59a; 
	--green-dark: #19b976; 
	--green-glow: rgba(54, 229, 154, 0.20); 
	--red: #ff5d65; 
	--yellow: #ffc857; 
} 
* { 
	box-sizing: border-box; 
	margin: 0; 
	padding: 0; 
} 
body { 
	font-family: "Inter", sans-serif; 
	background: var(--bg); 
	color: var(--text); 
	line-height: 1.6; 
	min-height: 100vh;
	display: flex;
	flex-direction: column;
} 
a { 
	color: inherit; 
	text-decoration: none; 
	transition: color 0.2s ease;
} 
a:hover {
	color: white;
}

/* --- NAVIGATION STYLES --- */
nav { 
	height: 76px; 
	display: flex; 
	align-items: center; 
	border-bottom: 1px solid var(--border); 
	background: rgba(7, 16, 13, 0.85); 
	backdrop-filter: blur(14px); 
	width: 100%;
} 
.container { 
	width: min(1180px, calc(100% - 40px)); 
	margin: 0 auto; 
} 
.nav-inner { 
	display: flex; 
	align-items: center; 
	justify-content: space-between; 
	width: 100%; 
} 
.logo { 
	display: flex; 
	align-items: center; 
	gap: 10px; 
	font-size: 20px; 
	font-weight: 800; 
	letter-spacing: -0.5px; 
} 
.logo-mark { 
	width: 34px; 
	height: 34px; 
	border-radius: 9px; 
	display: grid; 
	place-items: center; 
	background: var(--green); 
	color: #06110c; 
	font-size: 16px; 
	font-weight: 900; 
	box-shadow: 0 0 24px var(--green-glow); 
} 

/* --- BUTTON STYLES --- */
.btn { 
	display: inline-flex; 
	align-items: center; 
	justify-content: center; 
	gap: 8px; 
	padding: 11px 18px; 
	border-radius: 8px; 
	border: 1px solid transparent; 
	font-size: 14px; 
	font-weight: 600; 
	transition: all .2s ease; 
	cursor: pointer; 
	width: 100%;
} 
.btn-primary { 
	background: var(--green); 
	color: #06110c; 
} 
.btn-primary:hover { 
	background: #5aeeae; 
	transform: translateY(-1px); 
} 

/* --- UNIQUE LOGIN PAGE DESIGN --- */
.login-wrapper {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 0;
	position: relative;
	overflow: hidden;
}
/* Uses background glow gradient matching your hero layout */
.login-wrapper::before {
	content: ""; 
	position: absolute; 
	width: 600px; 
	height: 600px; 
	background: radial-gradient( circle, rgba(54,229,154,.08) 0%, rgba(54,229,154,.02) 40%, transparent 70% ); 
	top: 50%; 
	left: 50%; 
	transform: translate(-50%, -50%); 
	pointer-events: none; 
}
.login-card {
	width: 100%;
	max-width: 440px;
	padding: 40px;
	border: 1px solid var(--border);
	background: #091510;
	border-radius: 14px;
	box-shadow: 0 40px 100px rgba(0,0,0,.45), 0 0 80px rgba(54,229,154,.03);
	position: relative;
	z-index: 5;
}
.login-header {
	text-align: center;
	margin-bottom: 32px;
}
.login-header h2 {
	font-size: 28px;
	letter-spacing: -1px;
	font-weight: 800;
	margin-bottom: 8px;
}
.login-header p {
	color: var(--muted);
	font-size: 14px;
}

/* --- DJANGO FORM INPUT RENDERING --- */
.form-group {
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.form-group label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #c3d2cc;
}
/* Custom styled controls matching dashboard interfaces */
.form-control {
	width: 100%;
	padding: 12px 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--text);
	font-size: 14px;
	font-family: inherit;
	transition: all 0.2s ease;
}
.form-control:focus {
	outline: none;
	border-color: var(--green);
	box-shadow: 0 0 12px rgba(54, 229, 154, 0.15);
	background: var(--surface-hover);
}
.form-help {
	font-size: 12px;
	color: var(--muted);
	margin-top: 4px;
}

/* --- ERROR ARCHITECTURE --- */
.errorlist {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
	background: rgba(255, 93, 101, 0.1);
	border: 1px solid var(--red);
	border-radius: 8px;
	padding: 12px 16px;
	color: var(--red);
	font-size: 13px;
	font-weight: 500;
}
.field-error {
	color: var(--red);
	font-size: 12px;
	margin-top: 4px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.login-footer {
	margin-top: 24px;
	text-align: center;
	font-size: 13px;
	color: var(--muted);
}
.login-footer a {
	color: var(--green);
	font-weight: 500;
}
.login-footer a:hover {
	text-decoration: underline;
}