/* Shared site chrome for index.php, results.php and details.php.
   Page-specific styles stay in each page's own <style> block, loaded after
   this file. Bump the ?v= number on the <link> tags when this file changes. */

:root {
    --navy: #0d2a4d;
    --teal: #10b5a0;
    --teal-dark: #0d9b89;
}
html {
    background-color: #f7f7f8;
}
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--navy);
}

/* Header bar. z-index sits above Leaflet's map panes/controls (~400-800)
   so the sticky header stays on top while scrolling past the results map */
header {
    background: #fff;
    border-bottom: 1px solid #e3e3e6;
    position: sticky;
    top: 0;
    z-index: 1100;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* border-radius 0 here so page-level img rounding rules never catch the logo */
.header-inner img.logo {
    height: 56px;
    width: auto;
    display: block;
    border-radius: 0;
}
nav a {
    display: inline-block;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    margin-left: 12px;
    padding: 9px 18px;
    border-radius: 6px;
}
nav a.btn-solid {
    background: var(--teal);
    color: #fff;
    border: 1px solid var(--teal);
}
nav a.btn-solid:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
}
nav a.btn-outline {
    background: #fff;
    color: var(--navy);
    border: 1px solid var(--navy);
}
nav a.btn-outline:hover {
    background: var(--navy);
    color: #fff;
}
