/*
 * auth-extras.css — imsi.space-specific auth page additions on top of the
 * devmvnooperator staff.css baseline. Adds:
 *   - .auth-form  (matches .auth-card form styling but usable standalone)
 *   - .auth-divider (visual "or"/"new user?" separator)
 *   - .auth-btn-link (Google OAuth button styled like a form submit)
 *   - .auth-footer (three-column brand footer under the login card)
 *
 * Keeping this separate means staff.css can be re-copied from
 * devmvnooperator without merge conflicts.
 */

/* devmvnooperator's staff.css sets .auth-shell as display:flex with default
   row direction — fine when there is a single card child, but imsi.space
   stacks card + footer, so we force column and align them both centered. */
main.auth-shell {
	flex-direction: column;
	gap: 1.5em;
	justify-content: flex-start;
	padding-top: 3rem;
	padding-bottom: 2rem;
}

.auth-card .auth-form {
	display: flex;
	flex-direction: column;
	gap: 0.8em;
	margin-top: 0.8em;
}

.auth-card .auth-form input[type="email"],
.auth-card .auth-form input[type="password"],
.auth-card .auth-form input[type="text"] {
	padding: 0.6em 0.8em;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--body-bg);
	color: var(--body-color);
	font-family: inherit;
	font-size: 1em;
}

.auth-card .auth-form input:focus {
	outline: none;
	border-color: var(--buttons-bg);
}

.auth-card .auth-form button {
	padding: 0.7em 1em;
	background: var(--buttons-bg);
	color: var(--buttons-color);
	border: none;
	border-radius: 6px;
	font-family: inherit;
	font-size: 1em;
	font-weight: 500;
	cursor: pointer;
}

.auth-card .auth-form button:hover {
	filter: brightness(0.95);
}

.auth-divider {
	display: flex;
	align-items: center;
	gap: 0.6em;
	margin: 1.2em 0;
	color: var(--subbtn-color);
	font-size: 0.85em;
	text-transform: lowercase;
}

.auth-divider::before,
.auth-divider::after {
	content: "";
	flex: 1;
	border-top: 1px solid var(--border);
}

.auth-btn-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	padding: 0.7em 1em;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--body-bg);
	color: var(--body-color);
	text-decoration: none;
	font-family: inherit;
	font-size: 1em;
	font-weight: 500;
}

.auth-btn-link:hover {
	filter: brightness(0.95);
	border-color: var(--buttons-bg);
}

.auth-btn-link img {
	width: 20px;
	height: 20px;
}

.auth-footer {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5em;
	margin-top: 2em;
	padding: 1.5em 1em;
	max-width: 900px;
	color: var(--subbtn-color);
	font-size: 0.82em;
	line-height: 1.5;
}

.auth-footer-col {
	display: flex;
	flex-direction: column;
	gap: 0.15em;
}

.auth-footer-col strong {
	color: var(--body-color);
	font-weight: 500;
	margin-bottom: 0.4em;
}

.auth-footer-col a {
	color: var(--buttons-bg);
	text-decoration: none;
}

.auth-footer-col a:hover {
	text-decoration: underline;
}

.auth-footer-copy {
	margin-top: 0.6em;
	font-size: 0.78em;
	opacity: 0.7;
}

@media (max-width: 720px) {
	.auth-footer {
		grid-template-columns: 1fr;
		gap: 1.2em;
	}
}
