/* Moving Parts sign-in pages (client portal phase 4, 2026-11-03): Login.aspx and ForgotPassword.aspx.
   Self-contained (no Bootstrap / AdminLTE): staff and client users both see these pages. */

@font-face { font-family: "Source Sans 3"; font-weight: 200 900; font-display: swap; src: url("/Content/fonts/source-sans-3-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-display: swap; src: url("/Content/fonts/source-serif-4-latin.woff2") format("woff2"); }

:root {
	--si-ground: #f5f6f3; --si-surface: #ffffff; --si-text: #1e2a26; --si-text-2: #4d5853; --si-muted: #5b6660;
	--si-border: #cfd5cd; --si-navy: #1d3557; --si-green: #3f6f3a; --si-green-dark: #335c2f; --si-link: #1d4f7a;
	--si-danger: #9f1f15; --si-radius: 6px;
	--si-font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
	--si-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body.si { background: var(--si-surface); color: var(--si-text); font: 15px/1.5 var(--si-font); }
.si a { color: var(--si-link); font-weight: 600; text-decoration: none; }
.si a:hover, .si a:focus { text-decoration: underline; }

.si-wrap { min-height: 100vh; display: flex; flex-wrap: wrap; }

.si-hero {
	flex: 1 1 480px; min-height: 240px; display: flex; align-items: flex-end; color: #fff;
	background: linear-gradient(rgba(29, 53, 87, .82), rgba(29, 53, 87, .94)), url("/Images/cornField.jpg") center / cover no-repeat;
}
.si-hero-inner { padding: 48px; max-width: 580px; }
.si-hero-title { font-family: var(--si-serif); font-size: 36px; font-weight: 600; line-height: 1.15; }
.si-hero p { margin: 12px 0 0; font-size: 17px; color: #dbe4ef; }
.si-hero dl { margin: 22px 0 0; display: grid; gap: 10px; font-size: 15px; }
.si-hero dt { font-weight: 700; color: #fff; }
.si-hero dd { margin: 0; color: #c9d5e3; }

.si-panel { flex: 1 1 420px; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--si-surface); }
.si-form { width: 100%; max-width: 380px; margin: 0; }
.si-logo { display: block; width: 230px; max-width: 100%; height: auto; margin: 0 0 26px; }
.si-form h1 { font-size: 27px; font-weight: 700; margin: 0; line-height: 1.2; }
.si-sub { color: var(--si-muted); margin: 4px 0 22px; }

.si-field { margin-bottom: 16px; }
.si-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 5px; }
.si-field label { display: block; font-weight: 600; font-size: 13.5px; color: var(--si-text-2); }
.si-label-row a { font-size: 13.5px; }
.si-input { display: block; width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--si-border); border-radius: var(--si-radius);
	background: #fff; font: inherit; font-size: 16px; color: var(--si-text); }
.si-input:focus { outline: 3px solid rgba(63, 111, 58, .28); outline-offset: 0; border-color: var(--si-green); }
.si-req { display: none; }

.si-btn { display: block; width: 100%; height: 48px; margin-top: 6px; border: 1px solid var(--si-green-dark); border-radius: var(--si-radius);
	background: var(--si-green); color: #fff; font: inherit; font-size: 16.5px; font-weight: 700; cursor: pointer; }
.si-btn:hover, .si-btn:focus { background: var(--si-green-dark); }

.si-or { display: flex; align-items: center; gap: 10px; margin: 24px 0 14px; color: var(--si-muted); font-size: 13.5px; }
.si-or::before, .si-or::after { content: ""; flex: 1; border-top: 1px solid #e3e7e1; }
/* Microsoft's sign-in button guidance: white, grey border, four-square logo */
.si .ms-signin { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 46px;
	background: #fff; border: 1px solid #8c8c8c; border-radius: 4px; color: #5e5e5e; font-family: "Segoe UI", system-ui, sans-serif;
	font-size: 15px; font-weight: 600; text-decoration: none; }
.si .ms-signin:hover, .si .ms-signin:focus { background: #f3f3f3; color: #5e5e5e; text-decoration: none; }

.si-msg { margin: 0 0 16px; padding: 10px 12px; border-radius: var(--si-radius); font-size: 14.5px; }
.si-msg-err { display: block; background: #fde8e6; border: 1px solid #f3c7c2; color: var(--si-danger); }
.si-msg-err b { display: block; }
.si-msg-ok { background: #e8f0e4; border: 1px solid #b9d3b1; color: #2f5a2b; }
.si-msg-warn { background: #fff8e1; border: 1px solid #f0d27a; color: #4a3b00; }
.si-summary { color: var(--si-danger); margin: 0 0 12px; font-size: 14.5px; }
.si-summary ul { margin: 0; padding-left: 18px; }

.si-foot { margin-top: 30px; font-size: 13px; color: var(--si-muted); }
.si-back { display: inline-block; margin-top: 18px; }

@media (max-width: 760px) {
	.si-hero { flex-basis: 100%; min-height: 0; }
	.si-hero-inner { padding: 22px 16px; }
	.si-hero-title { font-size: 24px; }
	.si-hero p { font-size: 15px; margin-top: 6px; }
	.si-hero dl { display: none; }
	.si-panel { padding: 26px 16px 36px; align-items: flex-start; }
	.si-logo { width: 190px; margin-bottom: 18px; }
}
