/* ===== LOGIN PAGE STYLES ===== */

body {
	background: #0a0a0f;
	color: #f5f5f7;
	overflow-x: hidden;
}

.login-container {
	position: relative;
	min-height: calc(100vh - 65px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 24px;
}

.gradient-bg-1 {
	position: absolute;
	top: -100px;
	left: 50%;
	transform: translateX(-50%);
	width: 700px;
	height: 700px;
	background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 70%);
	filter: blur(10px);
	pointer-events: none;
}

.gradient-bg-2 {
	position: absolute;
	bottom: -140px;
	right: -140px;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 70%);
	filter: blur(10px);
	pointer-events: none;
}

.login-box {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
}

.form-card {
	background: #12141c;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	padding: 32px;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.form-card h1 {
	font-family: var(--font-heading), sans-serif;
	font-size: 26px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 6px;
	text-align: center;
}

.form-card .subtitle {
	font-size: 18.5px;
	color: rgba(255, 255, 255, 0.8);
	margin: 0 0 24px;
	text-align: center;
}

.error-banner {
	display: none;
	align-items: center;
	gap: 10px;
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.3);
	border-radius: 10px;
	padding: 11px 14px;
	margin-bottom: 18px;
}

.error-banner.active {
	display: flex;
}

.error-text {
	font-size: 12.5px;
	color: #f87171;
	flex: 1;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.form-group label {
	display: block;
	font-size: 15.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 7px;
}

.input-wrapper {
	position: relative;
}

.input-wrapper svg {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 15px;
	height: 15px;
	stroke: rgba(255, 255, 255, 0.4);
	stroke-width: 2;
	fill: none;
}

.form-group input {
	width: 100%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 9px;
	padding: 11px 14px 11px 40px;
	color: #fff;
	font-size: 14px;
	outline: none;
	transition: border-color 0.2s;
}

.form-group input:focus {
	border-color: rgba(255, 255, 255, 0.3);
}

.form-group input.error {
	border-color: #f87171;
}

.error-message {
	font-size: 12px;
	color: #f87171;
	margin-top: 6px;
}

.toggle-password {
	position: absolute;
	right: 13px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	color: rgba(255, 255, 255, 0.4);
	font-size: 11px;
	font-weight: 600;
	background: none;
	border: none;
	padding: 0;
}

.form-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: -4px;
}

.remember-me {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	cursor: pointer;
}

.remember-me input {
	width: 14px;
	height: 14px;
	margin: 0;
	padding: 0;
	cursor: pointer;
	accent-color: #7c3aed;
}

.forgot-link {
	font-size: 13px;
	color: #22d3ee;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s;
}

.forgot-link:hover {
	color: #67e8f9;
}

.submit-button {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(90deg, #7c3aed, #3b82f6);
	color: #fff;
	border: none;
	font-size: 16.5px;
	font-weight: 600;
	padding: 13px;
	border-radius: 999px;
	cursor: pointer;
	margin-top: 4px;
	transition: filter 0.2s;
}

.submit-button:hover:not(:disabled) {
	filter: brightness(1.12);
}

.submit-button:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.spinner {
	width: 15px;
	height: 15px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: fbspin 0.7s linear infinite;
}

@keyframes fbspin {
	to { transform: rotate(360deg); }
}

.divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 6px 0;
}

.divider-line {
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.1);
}

.divider-text {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
}

.google-button {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 16.5px;
	font-weight: 600;
	padding: 12px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.2s;
}

.google-button:hover {
	background: rgba(255, 255, 255, 0.06);
}

.footer-text {
	text-align: center;
	margin-top: 22px;
	font-size: 15.5px;
	color: rgba(255, 255, 255, 0.85);
}

.footer-text a {
	background: linear-gradient(90deg, #8b5cf6, #22d3ee);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-decoration: none;
	font-weight: 700;
}

.page-content {
	background: none;
	box-shadow: none;
	padding: 0;
}
