/* ===========================================================
   ProfitMax 365 - retro 2000s market dashboard
   Pure demo styling. No real data anywhere.
   =========================================================== */

body {
  background: #008080;               /* classic teal desktop */
  color: #000;
  font-family: Verdana, Geneva, "MS Sans Serif", Arial, sans-serif;
  font-size: 11px;
  margin: 0;
  padding: 12px 0 24px 0;
}

a        { color: #0000aa; }
a:hover  { color: #cc0000; }
a:visited{ color: #551a8b; }

/* blink fallback for browsers that dropped <blink> */
blink { animation: blink 1s steps(2,start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* ---- demo banner ---- */
#demo-banner {
  background: #ffff00;
  color: #aa0000;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  font-weight: bold;
  text-align: center;
  padding: 5px 10px;
  margin-bottom: 12px;
  font-size: 11px;
}

/* ---- page frame ---- */
#page {
  width: 800px;
  background: #c0c0c0;
  border: 2px outset #fff;
}

/* ---- header ---- */
.head {
  background: #000080;
  background-image: linear-gradient(90deg,#000080,#1084d0);
  color: #fff;
  border-bottom: 2px solid #000;
}
.logo-big {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 #000;
  color: #ffd700;
}
.logo-sub { color: #c0ffff; font-style: italic; }
.clock #clock {
  font-family: "Courier New", monospace;
  font-size: 18px;
  background: #000;
  color: #00ff00;
  padding: 2px 8px;
  border: 1px inset #888;
  display: inline-block;
  letter-spacing: 2px;
}
.tinylink { margin-top: 4px; }
.tinylink a, .clock a { color: #c0ffff; }

/* ---- ticker ---- */
.ticker-label {
  background: #800000;
  color: #ffff00;
  font-weight: bold;
  font-family: "Courier New", monospace;
  padding: 4px 8px;
  white-space: nowrap;
  border-right: 2px solid #000;
}
.ticker-cell {
  background: #000;
  color: #0f0;
  width: 100%;
  padding: 0;
}
#ticker {
  font-family: "Courier New", monospace;
  font-size: 13px;
  color: #00ff00;
  padding: 4px 0;
}
.t-up   { color: #00ff66; }
.t-down { color: #ff5555; }
.t-sym  { color: #ffff66; font-weight: bold; }

/* ---- nav bar ---- */
.nav {
  background: #d4d0c8;
  border-top: 1px solid #fff;
  border-bottom: 2px solid #808080;
  padding: 5px 10px;
  font-size: 11px;
}

/* ---- columns ---- */
.col-left  { width: 58%; padding: 10px; vertical-align: top; }
.col-right { width: 42%; padding: 10px 10px 10px 0; vertical-align: top; }

/* ---- panels (fieldset) ---- */
.panel {
  border: 2px groove #fff;
  background: #d4d0c8;
  margin: 0 0 12px 0;
  padding: 8px;
}
.panel legend {
  font-weight: bold;
  color: #000080;
  font-family: "Courier New", monospace;
  background: #c0c0c0;
  padding: 0 4px;
}

/* ---- data tables ---- */
table.data { background: #808080; }
table.data td, table.data th {
  background: #fff;
  font-size: 11px;
}
table.data .dhead th {
  background: #000080;
  color: #fff;
  font-family: "Courier New", monospace;
}
table.data tr.alt td { background: #e8f0ff; }
.up   { color: #008000; font-weight: bold; }
.down { color: #cc0000; font-weight: bold; }
.sym  { font-weight: bold; color: #000080; }
.ok   { color: #008000; }

/* flash on update */
.flash-up   { background: #ccffcc !important; }
.flash-down { background: #ffd0d0 !important; }

/* ---- chart ---- */
.chart-pick { margin-bottom: 6px; }
.chart-quote { font-family: "Courier New", monospace; margin-left: 6px; }
.chart {
  background: #000;
  border: 2px inset #888;
  height: 150px;
  padding: 4px;
  display: flex;
  align-items: flex-end;
  gap: 1px;
  overflow: hidden;
}
.bar { background: #00ff00; width: 6px; flex: 0 0 auto; }
.bar.dn { background: #ff4444; }
.chart-foot { color: #555; margin-top: 4px; font-size: 10px; }

/* ---- visitor counter ---- */
.hits { text-align: center; }
.counter {
  font-family: "Courier New", monospace;
  font-size: 20px;
  letter-spacing: 3px;
  background: #000;
  color: #ff8800;
  border: 2px inset #888;
  padding: 4px;
  display: inline-block;
}

/* ---- footer ---- */
.foot {
  background: #ffffe0;
  border-top: 2px solid #808080;
  padding: 12px;
  font-size: 11px;
  line-height: 1.5;
}

.tiny { font-size: 10px; color: #444; }

/* ---- badges ---- */
.badges { margin-top: 10px; }
.badge {
  display: inline-block;
  background: #000;
  color: #0f0;
  font-family: "Courier New", monospace;
  font-size: 10px;
  border: 1px solid #0f0;
  padding: 2px 5px;
  margin: 0 2px;
}
