/* Login / register / account pages -- brand-matched, standalone from the
   dc-runtime app (these are plain server-rendered pages, not SPA screens). */

.mia-auth-lang-switch {
	position: fixed;
	top: 18px;
	right: 18px;
	z-index: 50;
	display: flex;
	align-items: center;
	gap: 6px;
	background: #edf1fa;
	color: #2e4699;
	border: 1px solid #d9e1f2;
	border-radius: 999px;
	padding: 10px 16px;
	font: 700 14px 'Lexend', sans-serif;
	cursor: pointer;
}
.mia-auth-lang-switch:hover {
	background: #d9e1f2;
}

.mia-auth-wrap {
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f6f7fa;
	padding: 40px 20px;
	font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
}

.mia-auth-card {
	width: 100%;
	max-width: 420px;
	background: #fff;
	border: 1px solid #e4e8f0;
	border-radius: 20px;
	padding: 36px 32px;
	box-shadow: 0 12px 32px rgba(27, 36, 55, 0.06);
}

.mia-auth-logo {
	display: block;
	font-family: 'Lexend', system-ui, sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: #2e4699;
	text-decoration: none;
	margin-bottom: 20px;
}

.mia-auth-card h1 {
	font-family: 'Lexend', system-ui, sans-serif;
	font-size: 26px;
	font-weight: 800;
	color: #1b2437;
	margin: 0 0 20px;
}

.mia-google-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 52px;
	background: #fff;
	border: 1px solid #cbd3e4;
	border-radius: 12px;
	font: 700 15px 'Atkinson Hyperlegible', sans-serif;
	color: #1b2437;
	cursor: pointer;
}
.mia-google-btn:hover {
	background: #f6f7fa;
}

.mia-auth-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0;
	color: #8a93a8;
	font-size: 13px;
}
.mia-auth-divider::before,
.mia-auth-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e4e8f0;
}

.mia-auth-form {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.mia-auth-form label {
	font-size: 14px;
	font-weight: 700;
	color: #1b2437;
	margin-top: 10px;
}
.mia-auth-form input {
	height: 50px;
	padding: 0 16px;
	border: 1px solid #cbd3e4;
	border-radius: 12px;
	font-size: 16px;
	font-family: inherit;
}
.mia-auth-form input:focus {
	outline: 3px solid #2e4699;
	outline-offset: 1px;
	border-color: #2e4699;
}

.mia-auth-submit {
	margin-top: 20px;
	height: 54px;
	background: #2e4699;
	color: #fff;
	border: none;
	border-radius: 12px;
	font: 700 16px 'Lexend', sans-serif;
	cursor: pointer;
}
.mia-auth-submit:hover {
	background: #1f3170;
}

.mia-auth-switch {
	margin-top: 22px;
	text-align: center;
	font-size: 14px;
	color: #49536b;
}
.mia-auth-switch a {
	color: #2e4699;
	font-weight: 700;
	text-decoration: none;
}

.mia-auth-error {
	background: #fbeae7;
	color: #c2402a;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 14px;
	margin-bottom: 16px;
}
.mia-auth-success {
	background: #e6f4ee;
	color: #0e6b41;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 14px;
	margin-bottom: 16px;
}

.mia-account-summary {
	background: #edf1fa;
	border-radius: 14px;
	padding: 16px 18px;
	margin-bottom: 8px;
}
.mia-account-summary p {
	margin: 0 0 4px;
	font-size: 14px;
	color: #1b2437;
}
