/* ============================================================
   GLOBAL PAGE LAYOUT
   ============================================================ */

body {
    margin: 0 20px 20px 20px;   /* remove top margin for clean header */
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #222;
}
/* ============================================================
   RECENT RESULTS PAGE — CENTER LOGO / ALIGN HEADERS
   ============================================================ */

/* Center the entire page content under the logo */
.content-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px;
}

/* Add space between "Recent Results" heading and dropdown */
.content-wrap h1 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.results-header {
    font-weight: 600;
    font-size: 13px;
    color: #555;
    border-bottom: 2px solid #bbb;
    padding-bottom: 6px;
}

.winning-header {
    line-height: 1.1;
    text-align: center;
}

/* ============================================
   ACTIVE LAYOUT SYSTEM (REPLACES OLD FLEX CODE)
   ============================================ */

/* Main two-column layout */
.page {
    display: flex;
    gap: 40px;
    align-items: flex-start;   /* ensures headings align across columns */
    margin-top: 20px;
}

/* Left column: Recent Highlights + Recent Drawings */
.left-col {
    flex: 1;
    min-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Right column: Yesterday’s Picks */
.right-col {
    flex: 1;
    min-width: 420px;
    margin-top: -6px;   /* final alignment tweak so headers line up perfectly */
}

/* Remove default spacing from h2 headers so everything aligns evenly */
.left-col h2,
.right-col h2 {
    margin-top: 0;
}

/* ============================================================
   PANEL BOXES
   ============================================================ */

.panel {
    background: #fafafa;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 15px 18px;
}

/* Panel titles */
.panel h2,
.panel h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

/* ============================================================
   YESTERDAY’S PICKS — INDENTATION & SECTIONS
   ============================================================ */

.yesterday-group {
    margin-top: 8px;
    margin-left: 8px;   /* indent label (🎯 Top 10 / 🎯 Top 25) */
}

.pick-line {
    margin-left: 22px;  /* indent combos under labels */
    line-height: 1.35;
}

/* Separator between Morning / Day / Evening / Night groups */
.draw-block {
    margin-bottom: 22px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

/* ============================================================
   RECENT DRAWINGS TABLE (GRID)
   ============================================================ */

.draw-row {
    display: grid;
    grid-template-columns: 60px 90px 80px 60px auto;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
}

.draw-row div {
    display: flex;
    align-items: center;
}

/* ============================================================
   SPACING + FORM CONTROLS
   ============================================================ */

select {
    margin-bottom: 18px;
    padding: 4px;
}

/* Highlights spacing */
.highlight-item {
    margin: 4px 0;
}

/* Emoji alignment tweaks */
.emoji {
    display: inline-block;
    margin-right: 3px;
}

/* Extra spacing between stacked panels */
.left-col .panel:not(:first-child) {
    margin-top: 0;
}

/* ============================================================
   INFLUX NAVIGATION BAR (WHITE MODERN STYLE)
   ============================================================ */

.influx-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.influx-logo {
    height: 60px;
    cursor: pointer;
}

.main-nav {
    display: flex;
    gap: 24px;
}

.nav-item {
    text-decoration: none;
    font-size: 16px;
    color: #222;
    padding-bottom: 4px;
    transition: 0.2s ease;
}

.nav-item:hover {
    color: #000;
    border-bottom: 2px solid #000;
}

.nav-item.active {
    border-bottom: 2px solid #000;
    font-weight: 600;
}

/* ============================================================
   MOBILE RESPONSIVENESS
   ============================================================ */

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 16px;
    }

    .influx-logo {
        height: 48px;
    }
}

/* ============================================================
   NAVBAR REBUILD — Unified style for all pages
   ============================================================ */

nav.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav.nav-links a {
    text-decoration: none;
    color: #222; /* dark gray */
    font-weight: 500;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

nav.nav-links a:hover {
    color: #e67e22; /* Influx orange hover */
    border-bottom-color: #e67e22;
}

nav.nav-links a.active {
    color: #e67e22;
    border-bottom-color: #e67e22;
    font-weight: 600;
}
/* Hide navbar on the under-construction homepage */
.hidden-nav {
    pointer-events: none;   /* clicks disabled */
    opacity: 0;             /* invisible */
}
/* UNDER CONSTRUCTION PAGE */
.uc-body {
    background: black;
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.uc-box {
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.6;
}

/* ============================================
   FREE PICKS — FULL CARD LAYOUT (PRETTY VERSION)
   ============================================ */

/* Container for each card */
.fp-card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 22px 26px;
    margin-bottom: 35px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    max-width: 750px;        /* keeps cards uniform width */
}

/* State / Game title line */
.fp-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

/* "Free picks — date" text */
.fp-card .fp-date {
    margin: 0 0 16px 0;
    font-weight: 500;
    color: #444;
}

/* Section labels (Top 10 / Top 25 Expansion) */
.fp-section-label {
    margin-top: 10px;
    margin-bottom: 4px;
    font-weight: 600;
    color: #222;
}

/* Number rows under sections */
.fp-numbers {
    margin: 0 0 12px 0;
    padding-left: 22px;      /* indent numbers cleanly */
    line-height: 1.45;
    font-size: 15px;
}

/* Extra bottom spacing on the whole "day" or "night" group */
#free-picks-day,
#free-picks-night {
    margin-bottom: 50px;
}

.site-footer {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  font-size: 14px;
  color: #555;
}

.footer-nav {
  margin-bottom: 10px;
}

.footer-nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #555;
}

.footer-nav a:hover {
  text-decoration: underline;
}
/* Downtack attribution */
.footer-attribution {
  font-size: 0.85em;
  color: #777;
  margin-top: 6px;
}

.footer-attribution a {
  color: inherit;
  text-decoration: underline;
}
