/* Auth pages shared styles (login, check-email) */

body.auth-page {
	margin: 0;
	padding: 0;
	block-size: 100vh;
	overflow: hidden;
	background-image: url("../images/Sage-Background.webp");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	justify-content: flex-end;
	align-items: stretch;
}

.auth-sidebar {
	inline-size: 100%;
	max-inline-size: 400px;
	background-color: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(10px);
	padding: 3rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.auth-sidebar > img {
	inline-size: 260px;
}

.auth-brand {
	margin-block-end: 3rem;
}

.auth-header {
	margin-block-end: 2rem;
}

.auth-header h1 {
	margin-block-end: 0.5rem;
	font-size: 2rem;
}

.auth-header.login h1 {
	margin-block-start: 12rem;
}

.auth-form-group {
	margin-block-end: 1.5rem;
}

.auth-form-group label {
	display: block;
	margin-block-end: 0.5rem;
	font-weight: 500;
	font-size: 0.9rem;
	color: var(--color-neutral-dark, #333);
}

.auth-form-group input[type="email"] {
	inline-size: 100%;
	padding: 0.85rem;
	border: 1px solid #999;
	border-radius: var(--radius-sm);
	font-size: 1rem;
	background-color: rgba(255, 255, 255, 0.9);
}

.auth-form-group input[type="email"]:focus {
	outline: 2px solid var(--color-orange, #ff6734);
	border-color: transparent;
	background-color: #fff;
}

.auth-footer {
	margin-block-start: auto;
	padding-block-start: 2rem;
	font-size: 0.8rem;
	color: #555;
	text-align: center;
}

.auth-alert {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	padding: 1rem;
	margin-block-end: 1.5rem;
	border-radius: 4px;
	font-size: 0.9rem;
}

.auth-button-link {
	display: inline-block;
	margin-block-start: 1rem;
	color: var(--color-orange, #ff6734);
	text-decoration: none;
	font-weight: 600;
}

.auth-button-link:hover {
	text-decoration: underline;
}

@media (max-width: 600px) {
	.auth-sidebar {
		max-inline-size: 100%;
		background-color: rgba(255, 255, 255, 0.95);
	}
}
