/* Login page styles (load after auth.css) */

/* Welcome Heading - Mobile First */
.login-welcome {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--clr-text-high, rgba(255, 255, 255, 0.87));
	margin: 0 0 1.25rem 0;
	text-align: center;
	letter-spacing: -0.01em;
	font-family: "Inter", sans-serif;
	line-height: 1.2;

	@media (min-width: 481px) {
		font-size: 1.625rem;
		margin-bottom: 1.5rem;
	}

	@media (min-width: 768px) {
		font-size: 1.75rem;
	}
}

/* Success Messages - Mobile First */
.login-success {
	width: 100%;
	padding: 0.75rem 1rem;
	margin-bottom: 1.25rem;
	background-color: var(--clr-success-bg);
	border: 1px solid var(--clr-success-border);
	border-radius: 8px;
	color: var(--clr-success-text);
	font-size: 0.875rem;
	line-height: 1.4;
	box-sizing: border-box;

	p {
		margin: 0;
	}

	@media (min-width: 481px) {
		margin-bottom: 1.5rem;
	}
}

/* Google Sign In Button - Mobile First */
.google-login-form {
	width: 100%;
	margin-bottom: 1rem;
	box-sizing: border-box;
}

.google-signin-btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 0.625rem 0.875rem;
	min-height: 40px;
	background-color: #ffffff;
	border: 1px solid var(--clr-border, rgba(0, 0, 0, 0.1));
	border-radius: 6px;
	color: #121212;
	font-size: 0.9375rem;
	font-weight: 400;
	font-family: "Inter", sans-serif;
	cursor: pointer;
	transition-property: background-color, border-color, color, box-shadow, transform;
	transition-duration: 0.2s;
	transition-timing-function: ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box;

	&:hover {
		background-color: #f5f5f5;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
		transform: translateY(-1px);
	}

	&:active {
		transform: translateY(0);
		box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
		background-color: #f5f5f5;
	}

	@media (min-width: 481px) {
		padding: 0.5rem 0.75rem;
		font-size: 0.875rem;
	}
}

.google-icon {
	flex-shrink: 0;
}

/* Google Sign Up Disclaimer */
.google-signup-disclaimer {
	width: 100%;
	margin-top: 0.5rem;
	margin-bottom: 1.5rem;
	font-size: var(--fs-450);
	color: var(--clr-text-medium, rgba(255, 255, 255, 0.6));
	text-align: center;
	font-family: "Inter", sans-serif;
	line-height: 1.4;

	.terms-link {
		color: var(--clr-text-medium, rgba(255, 255, 255, 0.6));
		text-decoration: underline;
		transition: color 0.2s ease;

		&:hover {
			color: var(--clr-text-high, rgba(255, 255, 255, 0.87));
		}
	}
}

/* Signup Divider */
.signup-divider {
	width: 100%;
	margin: 1.5rem 0;
	display: flex;
	align-items: center;

	hr {
		width: 100%;
		border: none;
		height: 1px;
		background-color: var(--clr-border, rgba(255, 255, 255, 0.1));
		margin: 0;
	}
}

.forgot-password-link {
	font-size: 0.875rem;
	color: var(--clr-text-medium, rgba(255, 255, 255, 0.6));
	text-decoration: none;
	transition: color 0.2s ease;
	font-family: "Inter", sans-serif;
	padding: 0.25rem 0;
	min-height: 44px;
	display: flex;
	align-items: center;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	white-space: nowrap;

	&:hover {
		color: var(--clr-text-high, rgba(255, 255, 255, 0.87));
		text-decoration: underline;
	}

	&:active {
		opacity: 0.7;
	}
}
