/* =====================================================================
   Stylesheet for the price pages (one theme, dark), linked from
   templates/pricing/base.html. Copied from Stocks Watcher's style.css, keeping
   only what these pages use. The Django admin has its own styles.
   ===================================================================== */

/* --- Page chrome ---------------------------------------------------- */
body {
    background: #1a1a1a;
    color: #d4d4d4;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    margin: 1em;
}

h1, h2, h3, h4, h5, h6 {
    color: #f0f0f0;
}

a {
    color: #66b3ff;
    text-decoration: none;
}
a:hover {
    color: #99ccff;
    text-decoration: underline;
}

/* --- Site nav (bar across the top of every page, from base.html) ---- */
.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .3em;
    margin: -1em -1em 1em -1em;  /* edge to edge, over the body's 1em margin */
    padding: .4em .8em;
    background: #222;
    border-bottom: 1px solid #333;
}
.site-nav a {
    padding: .3em .7em;
    border-radius: 3px;
    color: #b0b0b0;
    font-weight: 600;
}
.site-nav a:hover {
    color: #fff;
    text-decoration: none;
}
/* The current product: a filled tab */
.site-nav a.active {
    background: #333;
    color: #fff;
}

/* --- Price chart (a product's page, drawn by prices-chart.js) ------- */
.prices-chart {
    position: relative;  /* Chart.js sizes the canvas to this box */
    height: 70vh;
    min-height: 320px;
}
