/* ACDG portal theme for the interactive map.
 *
 * Loaded after screen.css so the map matches the public site (/, site/css/site.css):
 * the navy top bar with the university branding, and the portal's sky-blue
 * accent instead of purple. Everything here only re-colours; layout stays in
 * screen.css. Delete the <link> in index.html to go back to the original look.
 */

:root {
  --acdg-navy: #0f172a;
  --acdg-panel: #1e293b;
  --acdg-border: #334155;
  --acdg-text: #f8fafc;
  --acdg-muted: #94a3b8;
  --acdg-accent: #0284c7;
  --acdg-accent-light: #38bdf8;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---- top bar: the portal's header ------------------------------------ */
.c-top-bar {
  background-color: var(--acdg-navy);
  border-bottom: 1px solid var(--acdg-border);
}
.c-branding { gap: 0 14px; }
.c-site-title {
  color: var(--acdg-text);
  letter-spacing: 0.02em;
}
.c-site-title .c-site-subtitle {
  display: block;
  color: var(--acdg-accent-light);
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0;
}
.c-home-button { text-decoration: none; }
.c-home-button:hover { background-color: #0369a1; color: #fff; }
.c-search-container input {
  background-color: var(--acdg-panel);
  border-color: var(--acdg-border);
  color: var(--acdg-text);
}
.c-search-container input::placeholder { color: var(--acdg-muted); }
.c-search-container input:focus { border-color: var(--acdg-accent-light); background-color: var(--acdg-panel); }
.c-search-container::before { color: var(--acdg-accent-light); }

/* ---- accent: every purple of screen.css, re-coloured ------------------ */
:root { --range-handle-inactive: #0284c7; --range-handle: #0284c7; --range-handle-focus: #0284c7; --range-range-inactive: #0284c7; --range-range: #0284c7; --range-float-inactive: #0284c7; --range-float: #0284c7; }
:root { --range-pip-active: #0284c7; --range-pip-active-text: #0284c7; --range-pip-hover: #0284c7; --range-pip-hover-text: #0284c7; --range-pip-in-range: #0284c7; --range-pip-in-range-text: #0284c7; }
.switch-paddle:after { background: #0284c7; }
input:checked ~ .switch-paddle { background: #0284c7; }
.c-main-options-container .c-main-options a { color: #0284c7; background-color: rgba(2, 132, 199, 0.15); }
.c-main-options-container .c-main-options .c-active a { background-color: rgba(2, 132, 199, 0.50); }
.c-main-options-container .c-main-options a [class^=w-icon-], .c-main-options-container .c-main-options a [class*=" w-icon-"] { background-color: #0284c7; }
.c-main-options-container .c-active a [class^=c-icon-], .c-main-options-container .c-active a [class*=" c-icon-"] { outline-color: #0284c7; }
.c-home-button { background-color: #0284c7; }
.c-bottom-controls .c-bottom-controls-buttons .c-button { background-color: #0284c7; }
.c-bottom-controls .c-bottom-controls-right .menu li a { color: #0284c7; background-color: rgba(2, 132, 199, 0.15); }
.c-menu-multi { color: #0284c7; }
.c-bottom-controls .c-bottom-controls-right .menu li.is-active > a { background: #0284c7; }
.c-bottom-controls .c-bottom-controls-right .menu.c-menu-multi a { background-color: rgba(2, 132, 199, 0.15); }
.c-fullscreen-button { background-color: #0284c7; }
.c-play-button { background-color: #0284c7; }
.dropdown-content div:has(input:checked) { background-color: #0284c7; }
.c-map-button { color: #0284c7; }
.c-toggle-off-canvas { background-color: #0284c7; }
.slider-handle { background-color: #0284c7 !important; }
.c-station-marker { background: #0284c7; }
.c-language-switch .c-active a { color: #0284c7; }
.c-menu-section-title { color: #0284c7; }
