/*
 * CUI MDU Projects: new CUI Fiber Solutions look.
 * Loaded only while TechOps Home's new look applies to the visitor (Preview for previewers,
 * Live for everyone). Loads after dashboard.css; every rule is scoped to the plugin.
 * The page's new title band carries the "MDU Projects" name, so the plugin's own title band
 * is hidden and its tab bar becomes the top edge. Status colours keep their meaning.
 */

.cui-mdu-portal,
.cui-mdu-wrap {
	--cui-navy: #04234A;
	--cui-blue: #0867C1;
	--cui-blue-2: #064585;
	--cui-sky: #0E9FEE;
	--cui-bg: #F2F5F9;
	--cui-line: #D9E2EC;
	--cui-text: #1B2B3F;
	--cui-muted: #5B6B80;
	--mdu-orange: #FA9925;
	--mdu-tint: #EAF2FB;
	--mdu-soft: #F5F8FC;
	--mdu-border: #C9D5E3;
	font-family: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}

/* Portal frame: wider to line up with the new pages; title band hidden (the page band names it). */
.cui-mdu-portal { max-width: 1200px; border-color: #D9E2EC; box-shadow: 0 12px 30px rgba(4, 35, 74, .10); }
.cui-mdu-portal .cui-mdu-portal-header { display: none; }

/* Tabs: CUI Navy bar, orange underline on the selected tab. */
.cui-mdu-portal .cui-mdu-tabs { background: #04234A; padding: 0 16px; }
.cui-mdu-portal .cui-mdu-tab { color: rgba(255, 255, 255, .78); font-size: 14px; padding: 14px 16px; border-bottom-width: 4px; }
.cui-mdu-portal .cui-mdu-tab:hover { color: #FFFFFF; background: rgba(255, 255, 255, .06); }
.cui-mdu-portal .cui-mdu-tab-active { color: #FFFFFF !important; border-bottom-color: var(--mdu-orange); }

/* Headings and numbers: Barlow Condensed, CUI Navy. */
.cui-mdu-portal .cui-mdu-pagehead h1,
.cui-mdu-portal .cui-mdu-card h2,
.cui-mdu-portal .cui-mdu-chart-grid h2,
.cui-mdu-portal .cui-mdu-stat-card .cui-mdu-stat-num,
.cui-mdu-wrap .cui-mdu-pagehead h1,
.cui-mdu-wrap .cui-mdu-card h2 {
	font-family: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
	letter-spacing: .01em;
}
.cui-mdu-portal .cui-mdu-card h2 { font-size: 21px; }
.cui-mdu-portal .cui-mdu-stat-card .cui-mdu-stat-num { font-size: 30px; }

/* Buttons: primary = Fiber Orange with navy text. Secondary keeps grey. */
.cui-mdu-portal .cui-mdu-btn,
.cui-mdu-wrap .cui-mdu-btn { background: var(--mdu-orange); color: #04234A !important; }
.cui-mdu-portal .cui-mdu-btn:hover,
.cui-mdu-wrap .cui-mdu-btn:hover { background: #FFAD4A; }
.cui-mdu-portal .cui-mdu-btn.secondary,
.cui-mdu-wrap .cui-mdu-btn.secondary { background: #5B6B80; color: #FFFFFF !important; }

/* Cards, tables, inputs */
.cui-mdu-portal .cui-mdu-card { box-shadow: 0 2px 10px rgba(4, 35, 74, .05); }
.cui-mdu-portal .cui-mdu-table th,
.cui-mdu-wrap .cui-mdu-table th { background: #EEF3F9; color: #04234A; }
.cui-mdu-portal .cui-mdu-notelist li { background: var(--mdu-soft); }
.cui-mdu-portal .cui-mdu-hbar-track,
.cui-mdu-portal .cui-mdu-status-bar-track { background: #E2EAF4; }
.cui-mdu-portal .cui-mdu-timeline > div:before { box-shadow: 0 0 0 3px var(--mdu-tint); }
.cui-mdu-portal .cui-mdu-status--assigned,
.cui-mdu-portal .cui-mdu-status--ready_to_invoice { background: var(--mdu-tint); }
.cui-mdu-portal input[type=text],
.cui-mdu-portal input[type=number],
.cui-mdu-portal input[type=date],
.cui-mdu-portal input[type=email],
.cui-mdu-portal select,
.cui-mdu-portal textarea { border-color: var(--mdu-border); }
.cui-mdu-portal input[type=text]:focus,
.cui-mdu-portal input[type=number]:focus,
.cui-mdu-portal input[type=date]:focus,
.cui-mdu-portal input[type=email]:focus,
.cui-mdu-portal select:focus,
.cui-mdu-portal textarea:focus { outline: none; border-color: #0867C1; box-shadow: 0 0 0 3px rgba(8, 103, 193, .18); }
