/* Generated by GitHub Copilot - Nov-05-2026 */
/* Energy & Water Dashboard - government/enterprise theme matching reference screenshot */
 
:root {
    --doe-navy: #1b3f73;
    --doe-green: #2e7d32;
    --nav-blue: #1f6cb4;
    --nav-blue-dark: #185a99;
    --quickstart-green: #4e9d2d;
    --quickstart-green-dark: #3f8524;
    --gray-header: #808285;
    --border: #d9d9d9;
    --text: #222222;
    --link: #1f6cb4;
}
 
* { box-sizing: border-box; }
 
body {
    margin: 0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: var(--text);
    background: #ffffff;
}
 
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
 
/* ---------- Layout widths ---------- */
.header-inner, .nav-inner, .footer-inner, .page-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 18px;
}
 
/* ---------- Header ---------- */
.site-header { background: #ffffff; border-bottom: 1px solid var(--border); padding: 10px 0; }
.header-inner { display: flex; align-items: center; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.doe-seal { display: inline-flex; align-items: center; flex-shrink: 0; }
.wordmark { display: flex; flex-direction: column; justify-content: center; line-height: 1; gap: 2px; }
.wordmark-line1 { color: var(--doe-navy); font-size: 22px; font-weight: 700; letter-spacing: .5px; font-family: "Arial Narrow", Arial, sans-serif; }
.wordmark-line2 { color: var(--doe-green); font-size: 32px; font-weight: 800; letter-spacing: 1px; font-family: "Arial Narrow", Arial, sans-serif; }
 
/* ---------- Navigation ---------- */
.site-nav { background: var(--nav-blue); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-list { list-style: none; display: flex; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 15px;
}
.nav-list > li > a:hover, .nav-list > li:hover > a { background: var(--nav-blue-dark); text-decoration: none; }
.nav-home-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}
.caret {
    font-size: 10px;
    line-height: 1;
    flex-shrink: 0;
}
 
.nav-list .sub {
    position: absolute; top: 100%; left: 0; min-width: 210px; background: #ffffff;
    border: 1px solid var(--border); box-shadow: 0 4px 10px rgba(0,0,0,.15);
    list-style: none; margin: 0; padding: 6px 0; display: none; z-index: 50;
}
.nav-list .has-sub:hover .sub, .nav-list .has-sub:focus-within .sub { display: block; }
.nav-list .sub li a { display: block; padding: 9px 16px; color: var(--text); font-weight: 400; font-size: 14px; }
.nav-list .sub li a:hover { background: #eef4fa; text-decoration: none; }
 
.nav-right { color: #ffffff; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding: 6px 0; }
.nav-date { font-size: 13px; }
.nav-auth .btn-login, .nav-auth .btn-register {
    display: inline-block; background: #ffffff; color: var(--nav-blue); padding: 3px 12px;
    border-radius: 2px; font-size: 13px; font-weight: 600; margin-left: 6px;
}
.nav-auth a:hover { text-decoration: none; background: #eef4fa; }
 
/* ---------- Current user / role switcher ---------- */
.nav-user { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #fff; white-space: nowrap; }
.nav-user-label { opacity: .9; }
.nav-user .user-switcher { padding: 3px 6px; border: 1px solid #ffffff; border-radius: 2px; font-size: 13px; background: #ffffff; color: var(--nav-blue); font-weight: 600; }
.nav-user-role { font-weight: 600; }
 
/* ---------- Quick start band ---------- */
.quickstart {
    background: var(--quickstart-green);
    background-image: linear-gradient(180deg, var(--quickstart-green) 0%, var(--quickstart-green-dark) 100%);
    color: #ffffff;
    padding: 24px 0 32px;
}
.quickstart-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 20px;
}
.quickstart-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .5px;
}
.quickstart-sub {
    font-size: 16px;
    opacity: .92;
}
.quickstart-grid {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}
.qs-tile {
    flex: 1 1 0;
    min-width: 130px;
    max-width: 180px;
    text-align: center;
    color: #ffffff;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-decoration: none;
}
.qs-tile:hover {
    text-decoration: none;
}
.qs-tile:hover .qs-icon {
    transform: translateY(-3px);
}
.qs-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease;
}
.qs-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.qs-label {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
/* ---------- Content sections ---------- */
.site-main { background: #f5f6f7; padding-bottom: 36px; }
.page-wrap { padding-top: 22px; }
.two-col { display: flex; gap: 22px; align-items: flex-start; }
.col-main { flex: 2 1 0; min-width: 0; }
.col-side { flex: 1 1 0; min-width: 280px; }
 
.panel { background: #ffffff; border: 1px solid var(--border); margin-bottom: 20px; }
.panel-head {
    background: var(--gray-header); color: #ffffff; padding: 12px 16px;
    font-size: 18px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.panel-head.blue { background: var(--nav-blue); }
.panel-head.green { background: var(--doe-green); }
.panel-head.red { background: #c0392b; }
.panel-body { padding: 16px; }
 
.page-title { font-size: 24px; color: var(--doe-navy); margin: 4px 0 16px; font-weight: 700; }
.breadcrumb { font-size: 13px; color: #666; margin-bottom: 10px; }
.breadcrumb a { color: var(--link); }
 
/* ---------- Announcements ---------- */
.announcement { border-bottom: 1px dashed var(--border); padding: 10px 0; }
.announcement:last-child { border-bottom: none; }
.announcement h4 { margin: 0 0 4px; color: var(--doe-navy); font-size: 15px; }
.announcement .date { color: #888; font-size: 12px; }
.announcement p { margin: 6px 0 0; line-height: 1.5; }
 
/* ---------- Important dates ---------- */
.date-item { border-bottom: 1px solid #eee; padding: 10px 0; }
.date-item:last-child { border-bottom: none; }
.date-item .d { font-weight: 700; color: var(--doe-navy); }
.date-item .t { display: block; color: #333; margin-top: 2px; }
 
/* ---------- Progress bars ---------- */
.progress-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.progress-row .lbl { width: 120px; font-weight: 600; }
.progress-track { flex: 1; background: #e6e6e6; height: 16px; border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--quickstart-green); }
.progress-row .pct { width: 48px; text-align: right; font-weight: 600; }
 
/* ---------- RYG badges ---------- */
.ryg { display: inline-block; min-width: 70px; text-align: center; padding: 3px 10px; border-radius: 12px; color: #fff; font-size: 12px; font-weight: 700; }
.ryg-green { background: #2e9b3f; }
.ryg-yellow { background: #e0a800; }
.ryg-red { background: #c0392b; }
.ryg-gray { background: #888; }
 
/* ---------- Simple tables (fallback where not using RadGrid) ---------- */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: #eef2f6; text-align: left; padding: 9px 10px; border-bottom: 2px solid var(--nav-blue); font-size: 13px; }
.data-table td { padding: 8px 10px; border-bottom: 1px solid #eee; font-size: 13px; }
.data-table tr:hover td { background: #f7fafd; }
 
/* ---------- Buttons ---------- */
.btn {
    display: inline-block; background: var(--nav-blue); color: #fff; border: none;
    padding: 8px 16px; border-radius: 3px; font-size: 14px; cursor: pointer; font-weight: 600;
}
.btn:hover { background: var(--nav-blue-dark); text-decoration: none; }
.btn.green { background: var(--doe-green); }
.btn.gray { background: #6c757d; }
.btn.red { background: #c0392b; }
.btn + .btn { margin-left: 6px; }
 
/* ---------- Forms / filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-weight: 600; font-size: 13px; }
.field select, .field input, .field textarea {
    padding: 7px 9px; border: 1px solid #bbb; border-radius: 3px; font-size: 14px; min-width: 170px;
}
.field textarea { min-height: 120px; min-width: 320px; }
 
/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--nav-blue); margin-bottom: 16px; flex-wrap: wrap; }
.tabs a { padding: 9px 16px; background: #e9edf1; color: var(--text); border-radius: 4px 4px 0 0; font-weight: 600; }
.tabs a.active, .tabs a:hover { background: var(--nav-blue); color: #fff; text-decoration: none; }
 
/* ---------- Messages & hints ---------- */
.msg { display: block; margin: 8px 0; padding: 8px 12px; border-radius: 3px; font-size: 13px; }
.msg:empty { display: none; }
.msg-success { background: #e4f3e4; border: 1px solid #b7dcb7; color: #1f5d22; }
.hint { color: #555; font-size: 13px; margin-top: 12px; }
.link-list { margin: 0; padding-left: 18px; line-height: 1.9; }
.queue-count { font-size: 13px; color: #555; font-weight: 600; }
.muted { color: #999; font-style: italic; }
 
/* ---------- Bar chart (scorecard) ---------- */
.bar-chart { display: flex; flex-direction: column; gap: 12px; margin-bottom: 10px; }
.bar-row { display: flex; align-items: center; gap: 10px; }
.bar-label { width: 200px; font-weight: 600; font-size: 13px; }
.bar-track { position: relative; flex: 1; height: 22px; background: #eef1f4; border-radius: 3px; }
.bar-target { position: absolute; left: 0; top: 0; height: 100%; background: #9ec3e6; border-radius: 3px; max-width: 100%; }
.bar-actual { position: absolute; left: 0; top: 0; height: 100%; border-radius: 3px; max-width: 100%; opacity: .9; }
.bar-actual.ryg-green { background: #2e9b3f; }
.bar-actual.ryg-yellow { background: #e0a800; }
.bar-actual.ryg-red { background: #c0392b; }
.bar-actual.ryg-gray { background: #2e7d32; }
.bar-value { width: 110px; text-align: right; font-size: 12px; font-weight: 600; }
.legend-target, .legend-actual { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: middle; }
.legend-target { background: #9ec3e6; }
.legend-actual { background: #2e9b3f; }
 
/* ---------- Footer ---------- */
.site-footer { background: var(--doe-navy); color: #dfe7f1; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.footer-links a { color: #dfe7f1; }
 
/* ---------- Focus visibility (accessibility) ---------- */
a:focus, .btn:focus, button:focus, select:focus, input:focus, textarea:focus {
    outline: 3px solid #ffbf47; outline-offset: 1px;
}
 
/* ---------- Bulk Upload Section ---------- */
.upload-section {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
 
.upload-section .field {
    flex: 1 1 auto;
    min-width: 200px;
}
 
.upload-section .upload-buttons {
    flex: 0 0 auto;
    min-width: auto;
}
 
.upload-section .upload-buttons > div {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
 
.file-upload {
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 4px;
    width: 100%;
    font-size: 14px;
}
 
.upload-results {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid var(--border);
    border-radius: 4px;
}
 
.upload-results h4 {
    margin-top: 0;
    color: var(--doe-navy);
    border-bottom: 2px solid var(--doe-green);
    padding-bottom: 8px;
}
 
.result-summary {
    background: #ffffff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}
 
.result-summary p {
    margin: 8px 0;
}
 
.result-summary strong {
    display: inline-block;
    min-width: 180px;
    color: var(--doe-navy);
}
 
.error-list, .warning-list {
    background: #ffffff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}
 
.error-list {
    border-left: 4px solid #d32f2f;
}
 
.warning-list {
    border-left: 4px solid #f57c00;
}
 
.error-list h5 {
    color: #d32f2f;
    margin-top: 0;
}
 
.warning-list h5 {
    color: #f57c00;
    margin-top: 0;
}
 
.error-list ul, .warning-list ul {
    margin: 10px 0;
    padding-left: 25px;
}
 
.error-list li, .warning-list li {
    margin-bottom: 5px;
    line-height: 1.5;
}
 
.msg-error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #d32f2f;
    padding: 12px 16px;
    margin: 15px 0;
    border-radius: 4px;
}
 
.msg-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
    padding: 12px 16px;
    margin: 15px 0;
    border-radius: 4px;
}
 
/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .two-col { flex-direction: column; }
    .nav-list { flex-wrap: wrap; }
    .quickstart-grid { gap: 16px; }
    .qs-tile { flex: 1 1 40%; }
}
 