/*
 * Applications/remote/css/remote.css
 * SAM-chrome layout for the remote-access request pages.
 * Navy header/footer, magenta brand bar, CSS-only slate wash.
 *
 * History:
 * HB/AI: 08/21/2026 - replaced Bootstrap/jQuery/FA stack with a single stylesheet
 * HB/AI: 08/21/2026 - larger header wordmark and card; quieter linear wash
 */

:root {
	--navy: #2A426D;
	--magenta: #CB5699;
	--slate: #e8eef5;
	--text: #253035;
	--muted: #58646c;
	--card: #fff;
	--border: #d5dde6;
	--danger: #c63632;
	--radius: 12px;
	--footer-h: 70px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	min-height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.45;
	color: var(--text);
	background: linear-gradient(165deg, #c9d4e4 0%, var(--slate) 48%, #d5deea 100%);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Header */
.header { background: #fff; }

.admin-nav {
	background: var(--navy);
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 10px 24px;
}

.admin-nav a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.admin-nav a:hover,
.admin-nav a:focus {
	color: #c1ced4;
}

.header-logos {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 12px 24px 16px;
}

.logo-link { display: inline-block; }

.logo {
	display: block;
	height: 88px;
	width: auto;
}

.logotext {
	display: block;
	height: 92px;
	width: auto;
	max-width: 55vw;
	object-fit: contain;
}

.brand-bar {
	height: 5px;
	background: var(--magenta);
	flex-shrink: 0;
}

/* Card */
.page {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 16px calc(var(--footer-h) + 16px);
}

.card {
	width: 100%;
	max-width: 520px;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 8px 24px rgba(42, 66, 109, 0.12);
	padding: 36px 36px 32px;
}

.card-logo {
	display: block;
	width: 120px;
	height: auto;
	margin: 0 auto 22px;
}

.card form { margin: 0; }

.card input[type="text"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #c5ced6;
	border-radius: 6px;
	font-size: 16px;
	font-family: inherit;
	color: var(--text);
	background: #fff;
}

.card input[type="text"]:focus {
	outline: 2px solid var(--navy);
	outline-offset: 1px;
	border-color: var(--navy);
}

.checks {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 16px 0 20px;
}

.checks label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 15px;
}

.card button {
	display: block;
	width: 100%;
	max-width: 260px;
	margin: 8px auto 0;
	padding: 12px 20px;
	border: 0;
	border-radius: var(--radius);
	background: var(--navy);
	color: #fff;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
}

.card button:hover,
.card button:focus {
	background: #1e3256;
}

.card p {
	margin: 0 0 12px;
	color: var(--muted);
}

.card .lead {
	text-align: center;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 16px;
}

.card .status {
	margin-top: 16px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--text);
	text-align: center;
}

.card .manual {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 13px;
	color: var(--text);
}

.card .error {
	color: var(--danger);
	font-weight: 600;
	text-align: center;
}

/* Footer */
.footer {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--footer-h);
	background: var(--navy);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
}

.footer-inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 24px;
}

.footer-logo img {
	display: block;
	height: 48px;
	width: auto;
}

@media (max-width: 640px) {
	.logo { height: 64px; }
	.logotext { height: 64px; }
	.footer { font-size: 13px; }
	.footer-logo img { height: 36px; }
	.header-logos,
	.admin-nav,
	.footer-inner { padding-left: 12px; padding-right: 12px; }
}
