/*
 * TechOps Flow: new CUI Fiber Solutions look.
 * Printed only while TechOps Home's new look applies to the visitor (Preview for previewers,
 * Live for everyone). Every rule is scoped to body.tflow-new-look. Flow keeps its own app
 * shell (no Tech Portal menu): the CUI logo and the restyled Flow mark share the top bar.
 */

body.tflow-new-look {
	--tf-navy: #04234A;
	--tf-blue: #0867C1;
	--tf-teal: #0E9FEE;
	--tf-bg: #F2F5F9;
	--tf-text: #1B2B3F;
	--tf-muted: #5B6B80;
	--tf-border: #D9E2EC;
	--tf-orange: #FA9925;
	--tf-tint: #EAF2FB;
	font-family: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}

/* Headings and big numbers */
.tflow-new-look .tflow-pagehead h1,
.tflow-new-look .tflow-card h2,
.tflow-new-look .tflow-card h3,
.tflow-new-look .tflow-login-card h2,
.tflow-new-look .tflow-external-card h1,
.tflow-new-look .tflow-stat b,
.tflow-new-look .tflow-wordmark {
	font-family: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
	letter-spacing: .01em;
}
.tflow-new-look .tflow-pagehead h1 { font-size: 34px; text-transform: uppercase; }

/* Restyled Flow mark */
.tflow-new-look .tflow-flow-mark { display: block; flex: none; width: 38px; height: 38px; border-radius: 10px; }

/* Top bar: white like the Tech Portal header, with an orange underline, but no portal menu. */
.tflow-new-look .tflow-appbar {
	background: #FFFFFF;
	color: var(--tf-navy);
	border-bottom: 3px solid var(--tf-orange);
	box-shadow: 0 2px 10px rgba(4, 35, 74, .08);
}
.tflow-new-look .tflow-brand { gap: 14px; color: var(--tf-navy); }
.tflow-new-look .tflow-cui-logo { display: block; height: 44px; width: auto; }
.tflow-new-look .tflow-brand-divider { display: block; width: 1px; height: 36px; background: var(--tf-border); }
.tflow-new-look .tflow-wordmark { display: inline-flex; align-items: baseline; gap: 6px; font-size: 24px; text-transform: uppercase; line-height: 1; }
.tflow-new-look .tflow-wordmark b { font-weight: 800; color: var(--tf-navy); }
.tflow-new-look .tflow-wordmark strong { font-weight: 800; color: var(--tf-blue); }
.tflow-new-look .tflow-user { color: var(--tf-navy); font-weight: 600; }
.tflow-new-look .tflow-user a {
	display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
	border: 1px solid var(--tf-border); border-radius: 8px; color: var(--tf-navy); font-weight: 700;
}
.tflow-new-look .tflow-user a:hover { border-color: var(--tf-blue); background: var(--tf-tint); }

/* Sidebar: the top bar already carries the brand, so the old banner slot is hidden. */
.tflow-new-look .tflow-sidebar-brand { display: none; }
.tflow-new-look .tflow-sidebar a { color: var(--tf-text); }
.tflow-new-look .tflow-sidebar a:hover { background: #F5F8FC; }
.tflow-new-look .tflow-sidebar a.active { background: var(--tf-tint); color: var(--tf-blue); box-shadow: inset 3px 0 0 var(--tf-orange); }

/* Buttons: primary = Fiber Orange with navy text. Secondary and danger keep their colors. */
.tflow-new-look .tflow-btn { background: var(--tf-orange); color: var(--tf-navy) !important; font-weight: 700; }
.tflow-new-look .tflow-btn:hover { background: #FFAD4A; filter: none; }
.tflow-new-look .tflow-btn.secondary { background: #5B6B80; color: #FFFFFF !important; }
.tflow-new-look .tflow-btn.danger { background: var(--tf-danger); color: #FFFFFF !important; }

/* Cards, tables, inputs */
.tflow-new-look .tflow-stat,
.tflow-new-look .tflow-card,
.tflow-new-look .tflow-empty { box-shadow: 0 2px 10px rgba(4, 35, 74, .05); }
.tflow-new-look a.tflow-stat:hover { box-shadow: 0 8px 20px rgba(4, 35, 74, .10); border-color: var(--tf-blue); }
.tflow-new-look .tflow-table th { background: #F5F8FC; color: var(--tf-navy); }
.tflow-new-look .tflow-wrap input,
.tflow-new-look .tflow-wrap select,
.tflow-new-look .tflow-wrap textarea,
.tflow-new-look .tflow-external-card input,
.tflow-new-look .tflow-external-card textarea { border-color: #C9D5E3; }
.tflow-new-look .tflow-wrap input:focus,
.tflow-new-look .tflow-wrap select:focus,
.tflow-new-look .tflow-wrap textarea:focus,
.tflow-new-look .tflow-external-card input:focus,
.tflow-new-look .tflow-external-card textarea:focus { outline: none; border-color: var(--tf-blue); box-shadow: 0 0 0 3px rgba(8, 103, 193, .18); }
.tflow-new-look .tflow-timeline > div:before { box-shadow: 0 0 0 3px var(--tf-tint); }
.tflow-new-look .tflow-status { background: #EEF3F9; color: var(--tf-navy); }

/* Logo lockup (sign-in page and emailed approval pages) */
.tflow-new-look .tflow-lockup { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.tflow-new-look .tflow-lockup-flow { display: flex; align-items: center; gap: 16px; }
.tflow-new-look .tflow-lockup-tag { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tf-muted); font-size: 13px; }
.tflow-new-look .tflow-lockup-by img { display: block; height: 52px; width: auto; }

/* Sign-in page: brand gradient panel */
.tflow-new-look .tflow-login-brand { background: linear-gradient(135deg, #04234A 0%, #064585 58%, #0867C1 100%); position: relative; overflow: hidden; }
.tflow-new-look .tflow-login-brand:after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--tf-orange);
}
.tflow-new-look .tflow-login-banner { width: auto; max-width: 100%; border-radius: 0; box-shadow: none; }
.tflow-new-look .tflow-login-banner .tflow-flow-mark { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); }
.tflow-new-look .tflow-login-banner .tflow-wordmark { font-size: 56px; gap: 12px; }
.tflow-new-look .tflow-login-banner .tflow-wordmark b { color: #FFFFFF; }
.tflow-new-look .tflow-login-banner .tflow-wordmark strong { color: var(--tf-orange); }
.tflow-new-look .tflow-login-banner .tflow-lockup-tag { color: #D6E6F8; font-size: 16px; }
.tflow-new-look .tflow-login-banner .tflow-lockup-by { margin-top: 26px; padding: 12px 18px; background: #FFFFFF; border-radius: 14px; box-shadow: 0 10px 26px rgba(0, 0, 0, .2); }
.tflow-new-look .tflow-login-tagline { display: none; } /* the lockup carries the tagline */
.tflow-new-look .tflow-login-panel { background: #F2F5F9; }
.tflow-new-look .tflow-login-card { border-top: 4px solid var(--tf-orange); box-shadow: 0 10px 34px rgba(4, 35, 74, .10); }

/* Emailed approval pages */
.tflow-new-look .tflow-external-card { border-top: 4px solid var(--tf-orange); box-shadow: 0 10px 34px rgba(4, 35, 74, .10); }
.tflow-new-look .tflow-external-banner {
	flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between;
	margin: 0 0 22px; padding: 0 0 18px; border-bottom: 1px solid var(--tf-border);
}
.tflow-new-look .tflow-external-banner .tflow-lockup-tag { display: none; }
.tflow-new-look .tflow-external-banner .tflow-lockup-by img { height: 40px; }

@media (max-width: 900px) {
	.tflow-new-look .tflow-login-banner .tflow-wordmark { font-size: 42px; }
}
@media (max-width: 620px) {
	.tflow-new-look .tflow-cui-logo,
	.tflow-new-look .tflow-brand-divider { display: none; }
	.tflow-new-look .tflow-wordmark { font-size: 20px; }
	.tflow-new-look .tflow-login-banner .tflow-flow-mark { width: 60px; height: 60px; }
	.tflow-new-look .tflow-login-banner .tflow-wordmark { font-size: 34px; }
}
