main {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center; /* ✅ centers vertically */
	padding: 40px 20px;
	box-sizing: border-box;
}

h1 {
	font-size: 30px;
	font-weight: 500;
	margin: 0 0 30px;
	text-align: center;
}

form {
	width: 100%;
	max-width: 360px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: stretch;
}

input {
	padding: 14px 16px;
	font-size: 16px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	outline-color: var(--green);
	background: white;
}

.forgot {
	text-align: center;
	font-size: 14px;
}

.forgot a {
	color: var(--green);
	text-decoration: none;
	font-weight: 500;
}

.forgot a:hover {
	text-decoration: underline;
}

.auth-primary-btn {
	background: var(--green);
	color: white;
	border: none;
	border-radius: 9999px;
	padding: 14px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.auth-primary-btn:hover {
	background: var(--green-hover);
}

.divider {
	width: 100%;
	max-width: 360px;
	height: 1px;
	background: var(--gray-line);
	margin: 24px 0;
}

.auth-secondary-btn {
	background: white;
	text-decoration: none;
	color: black;
	border: 2px solid var(--green);
	border-radius: 9999px;
	padding: 12px 48px;
	font-size: 16px;
	font-weight: 600; 
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	display: block;
	margin: 0 auto;
}

.auth-secondary-btn:hover {
	background: var(--green);
	text-decoration: none;
	color: white;
}

@media (max-width: 500px) {
	main {
		padding: 24px 16px;
	}

	h1 {
		font-size: 26px;
	}

	.create-btn {
		width: 100%;
		max-width: 220px;
	}
}
