/* Account UI added for launch: header login, auth messages, toast, My reports.
   Uses the existing palette variables from main.css. */

.hdr-right{display:flex;align-items:center;gap:1rem;min-width:0;}
.hdr-account{display:flex;align-items:center;flex-shrink:0;}
.hdr-login{font-family:Public Sans,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:13px;font-weight:600;color:var(--accent);background:var(--gold);
  border:none;border-radius:4px;padding:7px 14px;cursor:pointer;white-space:nowrap;}
.hdr-login:hover{filter:brightness(1.06);}
.hdr-user{display:flex;align-items:center;gap:8px;}
.hdr-avatar{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,0.14);border:1.5px solid var(--gold);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;cursor:default;}
.hdr-logout{font-family:Public Sans,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:12px;color:rgba(255,255,255,0.75);background:none;border:none;cursor:pointer;padding:4px 2px;}
.hdr-logout:hover{color:#fff;text-decoration:underline;}
.hdr-login:focus-visible,.hdr-logout:focus-visible,.nav-link:focus-visible{outline:2px solid var(--gold);outline-offset:2px;}
.auth-info{background:var(--green-light,#EAF3EE);color:var(--green,#1A4A2C);border:1px solid #A8D4B4;border-radius:6px;
  padding:9px 12px;font-size:12.5px;margin-bottom:0.9rem;line-height:1.45;}
.auth-demo{background:var(--gold-light,#E2F2EC);color:#0B5E49;border:1px dashed #7CC2AE;border-radius:6px;
  padding:8px 12px;font-size:11.5px;margin-bottom:0.9rem;line-height:1.45;}
.auth-demo code{font-family:Public Sans,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:11px;}
.auth-forgot{text-align:right;margin:-0.35rem 0 0.6rem;font-size:12px;}
.auth-forgot a{color:var(--accent,#1A3A6B);cursor:pointer;}
.auth-forgot a:hover{text-decoration:underline;}
.auth-submit:disabled{opacity:.6;cursor:wait;}

.gtc-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:1200;
  background:var(--accent);color:#fff;font-size:13px;padding:10px 18px;border-radius:6px;border-bottom:2px solid var(--gold);
  box-shadow:var(--shadow);transition:opacity .2s,transform .2s;max-width:90vw;}
.gtc-toast.show{opacity:1;transform:translate(-50%,0);}
.gtc-toast.gtc-toast-error{background:var(--red,#6B1A1A);border-bottom-color:#F0A8A8;}
@media (prefers-reduced-motion: reduce){.gtc-toast{transition:none;}}

.reports-list{margin-top:.5rem;border-top:1px solid var(--rule);}
.report-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:14px 2px;border-bottom:1px solid var(--rule);flex-wrap:wrap;}
.report-route{font-family:Public Sans,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;font-weight:600;color:var(--ink);}
.report-meta{font-size:12.5px;color:#4B5A6E;line-height:1.5;margin-top:2px;}
.report-actions{display:flex;gap:6px;flex-wrap:wrap;}
.report-del{color:var(--red);}
.reports-empty{padding:1.5rem 0;font-size:14px;color:#4B5A6E;}
.reports-error{color:var(--red);}

/* Cookie consent banner (js/analytics.js) */
.cookie-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:1000;max-width:880px;margin:0 auto;
  display:none;align-items:center;gap:1rem 1.5rem;flex-wrap:wrap;justify-content:space-between;
  background:var(--paper,#FFFFFF);color:var(--ink,#14243B);border:1px solid var(--rule,#D9E1EA);border-top:3px solid var(--gold,#0F7A5F);
  border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,0.18);padding:16px 20px;font-size:13px;line-height:1.55;}
.cookie-banner.show{display:flex;}
.cookie-text{flex:1 1 420px;min-width:0;color:#4B5A6E;}
.cookie-text strong{display:block;font-family:Public Sans,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px;color:var(--accent,#1A3A6B);margin-bottom:2px;}
.cookie-actions{display:flex;gap:8px;flex-shrink:0;}
.cookie-btn{min-width:104px;justify-content:center;}
@media(max-width:600px){.cookie-actions{width:100%;}.cookie-btn{flex:1;}}

/* Footer links stay on the right beside the logo, wrapping onto two lines if needed */
@media (min-width:761px){
  .footer-links{max-width:470px;justify-content:flex-end;}
}
