/* ==========================================================================
   BadAtNumbers(TM) Enterprise Portal v2.4_FINAL_copy2.css
   Author: Kevin's Cousin (Dreamweaver MX 2004 - DO NOT EDIT IN NOTEPAD!!)
   Best viewed in Microsoft Internet Explorer 6.0 @ 800x600 (16-bit color)
   ========================================================================== */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #ffffff;
  color: #000000;
  font-family: "Tahoma", "MS Sans Serif", "Arial", sans-serif;
  font-size: 13.5px;
  line-height: 1.48;
}

a {
  color: #0000ee;
  text-decoration: underline;
  cursor: pointer;
}
a:visited {
  color: #551a8b;
}
a:hover {
  color: #ff0000;
  background-color: #ffff99;
}

/* Raw Apache / PHP 4.3.9 stdout warning strip at very top of document */
.php-err {
  background: #ffffff;
  color: #000000;
  border-bottom: 2px ridge #808080;
  padding: 5px 10px;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  line-height: 1.35;
  word-break: break-word;
}
.php-err b {
  font-weight: bold;
}

/* Campaign Act Meltdown / Takeover Banners */
.act-banner {
  display: none;
  padding: 7px 12px;
  text-align: center;
  font-family: "Comic Sans MS", "Trebuchet MS", cursive, sans-serif;
  font-size: 13px;
  font-weight: bold;
  border-bottom: 3px double #000;
}
body[data-act="2"] .act-banner--2 {
  display: block;
  background: #ffff00;
  color: #aa0000;
}
body[data-act="3"] .act-banner--3 {
  display: block;
  background: #ff0000;
  color: #ffff00;
}

/* Full-bleed standalone 2004 PHP portal layout */
.page-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

/* Win2000 Active Window Titlebar */
.win-titlebar {
  background: linear-gradient(90deg, #0a246a 0%, #3a6ea5 68%, #a6caf0 100%);
  color: #ffffff;
  padding: 4px 6px 4px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 0.2px;
}
.win-titlebar__left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.win-icon {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  background: #ffffcc;
  color: #cc0000;
  border: 1px solid #000;
  font: bold 10px/1 "Courier New", monospace;
  flex: none;
}
.win-btns {
  display: flex;
  gap: 2px;
  flex: none;
}
.win-btn {
  width: 16px;
  height: 14px;
  background: #d4d0c8;
  color: #000;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #404040;
  border-bottom: 1px solid #404040;
  font: bold 10px/11px "Tahoma", sans-serif;
  text-align: center;
  cursor: pointer;
  padding: 0;
}

/* Fake IE6 Address / Toolbar Strip */
.ie-bar {
  background: #d4d0c8;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #808080;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #222;
}
.ie-bar__addr {
  flex: 1;
  background: #ffffff;
  border-top: 1px solid #808080;
  border-left: 1px solid #808080;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  padding: 2px 6px;
  font-family: "Tahoma", sans-serif;
  font-size: 11px;
  color: #000080;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Header Banner Area */
.corp-header {
  background: linear-gradient(180deg, #001f5b 0%, #003399 55%, #001944 100%);
  color: #ffffff;
  border-bottom: 4px ridge #c0c0c0;
  padding: 16px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 256px;
  gap: 18px;
  align-items: center;
}
.wordart-title {
  margin: 0;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 38px;
  line-height: 1.04;
  font-weight: bold;
  font-style: italic;
  color: #ffff66;
  text-shadow: 2px 2px 0 #cc3300, 4px 4px 0 #000000;
  letter-spacing: -0.5px;
}
.wordart-sub {
  margin: 4px 0 0;
  font-family: "Arial Narrow", "Trebuchet MS", Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #cce6ff;
  letter-spacing: 0.4px;
}
.corp-slogan {
  margin: 6px 0 0;
  display: inline-block;
  background: #ffcc00;
  color: #000000;
  padding: 2px 8px;
  border: 2px outset #ffffff;
  font-family: "Comic Sans MS", "Trebuchet MS", sans-serif;
  font-size: 12px;
  font-weight: bold;
}
.header-art-box {
  background: #ffffff;
  border: 2px inset #808080;
  padding: 3px;
  text-align: center;
}
.header-art-box img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}
.header-art-cap {
  background: #ece9d8;
  color: #333;
  font-size: 10px;
  padding: 2px 4px;
  font-family: "Courier New", monospace;
}

/* Marquee Strip */
.marquee-wrap {
  background: #000000;
  color: #00ff00;
  border-bottom: 2px groove #d4d0c8;
  padding: 4px 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  font-weight: bold;
}

/* Main 2-Column 2004 Table Layout */
.layout-table {
  flex: 1;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  background: #ffffff;
}

.sidebar {
  background: #d4d0c8;
  border-right: 3px groove #ffffff;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-head {
  background: #000080;
  color: #ffffff;
  padding: 4px 6px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px inset #808080;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 6px 7px;
  background: #d4d0c8;
  color: #000000 !important;
  text-decoration: none !important;
  font-weight: bold;
  font-size: 12px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
}
.nav-btn:hover {
  background: #ffffcc !important;
  color: #cc0000 !important;
}
.nav-btn.is-active {
  background: #ffffff !important;
  border-top: 2px solid #404040;
  border-left: 2px solid #404040;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  color: #000080 !important;
}

/* Blinking 2004 Badges */
@keyframes badblink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.15; }
}
.badge-hot {
  display: inline-block;
  background: #ff0000;
  color: #ffff00;
  font: bold 9px/1 "Arial", sans-serif;
  padding: 2px 4px;
  border: 1px solid #000;
  animation: badblink 0.9s steps(1) infinite;
}
.badge-new {
  display: inline-block;
  background: #ffff00;
  color: #cc0000;
  font: bold 10px/1 "Comic Sans MS", sans-serif;
  padding: 1px 4px;
  border: 1px dashed #cc0000;
}

/* Sidebar Widgets */
.side-box {
  background: #ffffe1;
  border: 2px inset #808080;
  padding: 8px;
  font-size: 11.5px;
}
.side-box h4 {
  margin: 0 0 5px;
  font-size: 12px;
  color: #800000;
  border-bottom: 1px dotted #808080;
  padding-bottom: 3px;
}

/* Yellow Post-It Sticky Note */
.sticky-note {
  background: #fff475;
  color: #1a1a1a;
  padding: 9px 10px;
  border: 1px solid #cbb82a;
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.28);
  transform: rotate(-1.6deg);
  font-family: "Comic Sans MS", "Bradley Hand", cursive, sans-serif;
  font-size: 11.5px;
  line-height: 1.35;
}
.sticky-note b {
  color: #b30000;
}

/* Content Area */
.content-cell {
  padding: 20px 32px 32px;
  background: #ffffff;
  min-width: 0;
}
.content-inner {
  max-width: 1080px;
}

.crumb-bar {
  font-family: "Courier New", monospace;
  font-size: 11px;
  color: #555555;
  background: #f3f3ee;
  border: 1px dotted #999999;
  padding: 4px 8px;
  margin-bottom: 12px;
}

h1.page-h1 {
  font-family: "Times New Roman", Times, serif;
  font-size: 28px;
  line-height: 1.12;
  color: #000080;
  margin: 0 0 8px;
  border-bottom: 3px double #000080;
  padding-bottom: 6px;
}

h2.sec-h2 {
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  color: #800000;
  background: #ece9d8;
  border-left: 6px solid #000080;
  border-top: 1px solid #aca899;
  border-bottom: 1px solid #aca899;
  padding: 4px 10px;
  margin: 18px 0 10px;
}

/* Classic 2004 Beveled HTML Tables */
.retro-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 10px 0 14px;
}
table.retro-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 2px;
  background: #808080;
  border: 2px outset #d4d0c8;
  font-size: 12.5px;
}
table.retro-table th {
  background: #000080;
  color: #ffffff;
  font-weight: bold;
  text-align: left;
  padding: 6px 8px;
  border: 1px outset #ffffff;
}
table.retro-table td {
  background: #f7f6f0;
  padding: 6px 8px;
  border: 1px inset #d4d0c8;
  vertical-align: top;
}
table.retro-table tr:nth-child(even) td {
  background: #ece9d8;
}
table.retro-table td.bad-col {
  background: #ffffcc;
  font-weight: bold;
  color: #004d00;
}
table.retro-table td.ai-col {
  color: #666666;
}

/* Callout Boxes & Buttons */
.win-panel {
  background: #ece9d8;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  padding: 12px;
  margin: 12px 0;
}
.yellow-alert {
  background: #ffffcc;
  border: 2px dashed #cc0000;
  padding: 10px 12px;
  margin: 12px 0;
}

.win-button {
  display: inline-block;
  background: #d4d0c8;
  color: #000000 !important;
  text-decoration: none !important;
  font-family: "Tahoma", sans-serif;
  font-size: 13px;
  font-weight: bold;
  padding: 7px 14px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  cursor: pointer;
}
.win-button:active {
  border-top: 2px solid #404040;
  border-left: 2px solid #404040;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: translate(1px, 1px);
}
.win-button--gold {
  background: #ffcc00;
  color: #000000 !important;
  font-size: 14px;
}
.win-button--blue {
  background: #003399;
  color: #ffff66 !important;
}

/* Authentic Broken Image Box (IE6 Red X) */
.broken-img {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  width: 190px;
  min-height: 70px;
  padding: 6px;
  background: #ffffff;
  border: 1px inset #808080;
  color: #444;
  font: 11px/1.25 "Tahoma", sans-serif;
}
.broken-img__x {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid #808080;
  background: #fff;
  color: #cc0000;
  font: bold 12px/1 Arial, sans-serif;
}

/* Under Construction Bar */
.construction-strip {
  background: repeating-linear-gradient(
    -45deg,
    #ffcc00,
    #ffcc00 14px,
    #111111 14px,
    #111111 28px
  );
  padding: 5px;
  margin: 12px 0;
}
.construction-strip__in {
  background: #ffffcc;
  padding: 6px 10px;
  text-align: center;
  font-weight: bold;
  color: #000;
  font-family: "Courier New", monospace;
}

/* Form controls */
fieldset.retro-fieldset {
  border: 2px groove #ffffff;
  background: #f5f4ea;
  padding: 10px 12px;
  margin: 12px 0;
}
fieldset.retro-fieldset legend {
  background: #000080;
  color: #ffffff;
  padding: 2px 8px;
  font-weight: bold;
  font-size: 12px;
}
.retro-input, .retro-select {
  background: #ffffff;
  border: 2px inset #808080;
  padding: 5px 7px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  color: #000;
}

/* Footer + Retro Hit Counter */
.corp-footer {
  background: #d4d0c8;
  border-top: 2px groove #ffffff;
  padding: 12px 14px;
  text-align: center;
  font-size: 11px;
  color: #222222;
}
.hit-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #111111;
  color: #00ff44;
  border: 2px inset #808080;
  padding: 3px 9px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 3px;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 8px 0;
}
.f-badge {
  display: inline-block;
  border: 2px outset #ffffff;
  background: #ece9d8;
  padding: 2px 7px;
  font: bold 10px/1.3 "Tahoma", sans-serif;
  color: #000080;
}

/* Win2000 Modal Dialog */
.win-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
}
.win-modal-backdrop.is-open {
  display: flex;
}
.win-modal {
  width: min(440px, 100%);
  background: #d4d0c8;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  box-shadow: 5px 5px 0 #000000;
}
.win-modal__body {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.win-modal__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #cc0000;
  color: #ffffff;
  border: 2px solid #000;
  display: grid;
  place-items: center;
  font: bold 20px/1 Arial, sans-serif;
}
.win-modal__foot {
  padding: 0 16px 14px;
  text-align: center;
}

/* Day 30 Takeover Overlay (Act 4) */
.takeover-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: #111312;
  color: #f1f2ef;
  padding: 24px;
  overflow-y: auto;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body[data-act="4"] .takeover-overlay {
  display: flex;
}
.takeover-card {
  max-width: 660px;
  width: 100%;
  background: #191c1a;
  border: 1px solid rgba(114, 213, 184, 0.35);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}
.takeover-kicker {
  display: inline-block;
  font: 600 12px/1 monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #72d5b8;
  background: rgba(114, 213, 184, 0.12);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.takeover-card h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #ffffff;
}
.takeover-card p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.55;
  color: #d0d3ce;
}
.takeover-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.takeover-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  background: #72d5b8;
  color: #0d1512 !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
}
.takeover-btn--ghost {
  background: transparent;
  border: 1px solid rgba(241, 242, 239, 0.25);
  color: #f1f2ef !important;
  font-weight: 500;
}

/* Local / Preview Act Switcher Pill */
.preview-switcher {
  display: none;
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 10000;
  background: #18181b;
  color: #f5f4f0;
  border: 1px solid #72d5b8;
  border-radius: 10px;
  padding: 8px 10px;
  font: 12px/1.3 system-ui, sans-serif;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.preview-switcher.is-visible {
  display: block;
}
.preview-switcher__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.preview-switcher button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #27272a;
  color: #fff;
  font-size: 11px;
  padding: 4px 7px;
  border-radius: 5px;
  cursor: pointer;
}
.preview-switcher button.is-on {
  background: #0f6653;
  border-color: #72d5b8;
  font-weight: 600;
}

/* Mobile Responsiveness (keeps 100% 2004 ugliness while thumb-readable on X/LinkedIn iPhones!) */
@media (max-width: 760px) {
  .page-shell {
    margin: 0;
    border-left: 0;
    border-right: 0;
  }
  .corp-header {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px 12px;
  }
  .wordart-title {
    font-size: 27px;
  }
  .layout-table {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    border-right: 0;
    border-bottom: 3px groove #ffffff;
  }
  .nav-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .side-extra-hide-mob {
    display: none;
  }
  .content-cell {
    padding: 12px 11px 18px;
  }
  h1.page-h1 {
    font-size: 23px;
  }
}
