/*
 * TechOps Subcontractor Portal: new CUI Fiber Solutions look.
 * Loaded only while TechOps Home's new look applies to the visitor (Preview for previewers,
 * Live for everyone); every rule is scoped to body.tsd-new-look. The Subcontractor Portal
 * logo image is never altered: it keeps its place at the top of the sidebar (and the sign-in
 * card) and only gets a white tile to sit on. The CUI logo sits in the top bar and under the
 * sign-in form. Warning and error colours are unchanged.
 */

/* Brand values: the portal's own variables, re-pointed. */
body.tsd-new-look {
	--tsd-green: #0867C1;
	--tsd-green2: #0867C1;
	--tsd-lime: #0E9FEE;
	--tsd-ink: #1B2B3F;
	--tsd-muted: #5B6B80;
	--tsd-line: #D9E2EC;
	--tsd-bg: #F2F5F9;
	--tsd-shadow: 0 8px 26px rgba(4, 35, 74, .08);
	font-family: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}

/* Headings: Barlow Condensed, CUI Navy. */
.tsd-new-look .tsd-topbar h1,
.tsd-new-look .tsd-login-card h1,
.tsd-new-look .tsd-content h2,
.tsd-new-look .tsd-content h3 {
	font-family: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
	letter-spacing: .01em;
	color: #04234A;
}
.tsd-new-look .tsd-topbar h1 { font-size: 32px; text-transform: uppercase; }

/* Sidebar: CUI Navy; the portal logo on a white tile; selected item with an orange edge. */
.tsd-new-look .tsd-sidebar { background: linear-gradient(180deg, #04234A 0%, #031A38 100%); }
.tsd-new-look .tsd-sidebar-brand { padding: 0 0 22px; }
.tsd-new-look .tsd-sidebar-brand img { background: #FFFFFF; padding: 8px 10px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.tsd-new-look .tsd-sidebar nav a { color: #DCE7F3; }
.tsd-new-look .tsd-sidebar nav a.active { color: #0867C1; box-shadow: inset 4px 0 0 #FA9925, 0 5px 16px rgba(0, 0, 0, .13); }
.tsd-new-look .tsd-sidebar-user a { color: #A9C3E0; }

/* Top bar: white with an orange underline; CUI logo at the right. */
.tsd-new-look .tsd-topbar { border-bottom: 3px solid #FA9925; }
.tsd-new-look .tsd-topbar-cui-logo { display: block; height: 52px; width: auto; flex: none; margin-left: 4px; padding-left: 20px; border-left: 1px solid #D9E2EC; }

/* Buttons: primary = Fiber Orange with navy text. */
.tsd-new-look .tsd-primary-button,
.tsd-new-look .tsd-login-card .login-submit input { background: #FA9925; border-color: #FA9925; color: #04234A; }
.tsd-new-look .tsd-primary-button:hover,
.tsd-new-look .tsd-login-card .login-submit input:hover { background: #FFAD4A; border-color: #FFAD4A; color: #04234A; }
.tsd-new-look .tsd-secondary-button { border-color: #C9D5E3; color: #04234A; }
.tsd-new-look .tsd-secondary-button:hover { border-color: #0867C1; color: #0867C1; }

/* Sign-in page: brand gradient behind the card; card keeps the portal logo on top. */
body.tsd-new-look.tsd-login-page { background: linear-gradient(135deg, #04234A 0%, #064585 58%, #0867C1 100%); }
.tsd-new-look .tsd-login-card { border-top: 5px solid #FA9925; box-shadow: 0 28px 70px rgba(0, 0, 0, .30); }
.tsd-new-look .tsd-login-card input[type=text],
.tsd-new-look .tsd-login-card input[type=password] { border-color: #C9D5E3; }
.tsd-new-look .tsd-login-card input:focus { border-color: #0867C1; box-shadow: 0 0 0 3px rgba(8, 103, 193, .18); }
.tsd-new-look .tsd-login-cui { margin-top: 26px; padding-top: 18px; border-top: 1px solid #D9E2EC; text-align: center; }
.tsd-new-look .tsd-login-cui-logo { display: inline-block; height: 54px; width: auto; }

@media (max-width: 900px) {
	.tsd-new-look .tsd-topbar-cui-logo { display: none; }
}
