/*
 * 121Corp Hub - auth screens (login/reset-password), scoped to those
 * routes only. Tokens come from hub-tokens.css, loaded first by
 * partials/head.php - this file only adds auth-specific component rules,
 * it does not redefine any --hub-* variable.
 */

* {
	box-sizing: border-box;
}

body.corp121-hub-auth {
	margin: 0;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--hub-navy-900);
	font-family: var(--hub-font);
	color: var(--hub-text-primary);
	padding: 24px;
}

.corp121-auth-card {
	width: 100%;
	max-width: 400px;
	background: #FFFFFF;
	border-radius: var(--hub-radius-md);
	padding: 40px 32px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.corp121-auth-brand {
	text-align: center;
	margin-bottom: 28px;
}

.corp121-auth-brand .corp121-wordmark {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.corp121-auth-brand .corp121-wordmark span.accent {
	color: var(--hub-primary);
}

.corp121-auth-brand .corp121-tagline {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: var(--hub-text-muted);
}

.corp121-auth-card h1 {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 4px;
}

.corp121-auth-card p.corp121-auth-subtitle {
	margin: 0 0 24px;
	font-size: 14px;
	color: var(--hub-text-muted);
}

.corp121-field {
	margin-bottom: 16px;
}

.corp121-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--hub-text-primary);
}

.corp121-field input[type="text"],
.corp121-field input[type="email"],
.corp121-field input[type="password"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--hub-border);
	border-radius: 8px;
	font-size: 14px;
	font-family: var(--hub-font);
}

.corp121-field input:focus {
	outline: 2px solid var(--hub-primary);
	outline-offset: 1px;
	border-color: var(--hub-primary);
}

.corp121-row-between {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	margin-bottom: 20px;
}

.corp121-remember {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--hub-text-muted);
}

.corp121-link {
	color: var(--hub-primary);
	text-decoration: none;
	font-weight: 600;
}

.corp121-link:hover,
.corp121-link:focus-visible {
	text-decoration: underline;
}

.corp121-btn-primary {
	display: block;
	width: 100%;
	padding: 12px 16px;
	background: var(--hub-primary);
	color: #FFFFFF;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	font-family: var(--hub-font);
	cursor: pointer;
	text-align: center;
	text-decoration: none;
}

.corp121-btn-primary:hover,
.corp121-btn-primary:focus-visible {
	background: var(--hub-primary-hover);
	outline: 2px solid var(--hub-primary-hover);
	outline-offset: 2px;
}

.corp121-btn-secondary {
	display: block;
	width: 100%;
	padding: 12px 16px;
	background: transparent;
	color: var(--hub-text-primary);
	border: 1px solid var(--hub-border);
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	font-family: var(--hub-font);
	cursor: pointer;
	text-align: center;
	text-decoration: none;
}

.corp121-alert {
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	margin-bottom: 16px;
}

.corp121-alert-error {
	background: var(--hub-danger-bg);
	color: var(--hub-danger-text);
}

.corp121-alert-success {
	background: var(--hub-success-bg);
	color: var(--hub-success-text);
}

.corp121-auth-footer {
	text-align: center;
	margin-top: 20px;
	font-size: 13px;
	color: var(--hub-text-muted);
}

/* Placeholder (temporary, authenticated Milestone-1 stand-in screens) */

body.corp121-hub-placeholder {
	margin: 0;
	min-height: 100vh;
	background: var(--hub-bg);
	font-family: var(--hub-font);
	color: var(--hub-text-primary);
}

.corp121-placeholder-topbar {
	background: var(--hub-navy-900);
	color: var(--hub-text-on-navy);
	padding: 18px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.corp121-placeholder-body {
	max-width: 640px;
	margin: 64px auto;
	padding: 0 24px;
	text-align: center;
}

.corp121-placeholder-badge {
	display: inline-block;
	background: var(--hub-info-bg, #D8E9FD);
	color: var(--hub-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 16px;
}
