/* ==========================================================================
   Citizens of Interest (yaws.com) — Privateers-101
   Standalone CSS (CSS-only; no embedded HTML)
   ========================================================================== */

/* ---------------------------------------
   1) Privateers-101 Document Banner
------------------------------------------ */

.coi-doc-banner {
  position: relative;
  padding: 2.25rem 2rem;
  margin: 1.5rem 0 1.25rem;
  border-radius: 14px;
  background: linear-gradient(145deg, #03121c 0%, #072530 100%);
  border: 2px solid #00c8ff;
  color: #e6f9ff;
  box-shadow: 0 0 22px rgba(0, 200, 255, 0.28);
  overflow: hidden;
}

.coi-doc-banner-title {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #7fe8ff;
  text-shadow: 0 0 10px rgba(0, 200, 255, 0.55);
}

.coi-doc-banner-subtitle {
  margin: 0;
  max-width: 68ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #b7eaff;
}

.coi-doc-banner a {
  color: #9feaff;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(159, 234, 255, 1);
}
.coi-doc-banner a:hover,
.coi-doc-banner a:focus {
  color: #ffffff;
  box-shadow: inset 0 0 0 rgba(0,0,0,0), 0 2px 0 rgba(159, 234, 255, 1);
}

/* Holo corners (banner) */
.coi-doc-banner-holo .coi-banner-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #00c8ff;
  border-style: solid;
  opacity: 0.95;
}

.coi-banner-corner--tl { top: -6px; left: -6px; border-width: 3px 0 0 3px; }
.coi-banner-corner--tr { top: -6px; right: -6px; border-width: 3px 3px 0 0; }
.coi-banner-corner--bl { bottom: -6px; left: -6px; border-width: 0 0 3px 3px; }
.coi-banner-corner--br { bottom: -6px; right: -6px; border-width: 0 3px 3px 0; }


/* ---------------------------------------
   2) Waypoints Panel
------------------------------------------ */

.coi-waypoints {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #dde3e8;
  padding: 1.25rem 1.25rem 1rem;
  margin: 0 0 1.75rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.coi-waypoints-title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
  color: #1f2a33;
}

.coi-waypoints-list {
  margin: 0;
  padding: 0 0 0 1.15rem;
}

.coi-waypoints-list li {
  margin: 0.35rem 0;
}

.coi-waypoints-list a {
  color: #1a1a1a;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.9);
}
.coi-waypoints-list a:hover,
.coi-waypoints-list a:focus {
  color: #000000;
  box-shadow: inset 0 0 0 rgba(0,0,0,0), 0 3px 0 rgba(0,0,0,1);
}


/* ---------------------------------------
   3) Section Panels (content blocks)
------------------------------------------ */

.coi-section-panel {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #dde3e8;
  padding: 1.75rem 1.75rem 1.25rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.coi-section-title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  line-height: 1.25;
  color: #0f1b24;
}

.coi-section-panel p {
  line-height: 1.65;
}

.coi-section-panel ul {
  margin: 0.75rem 0 1.15rem 1.25rem;
}

.coi-section-panel li {
  margin: 0.35rem 0;
}


/* ---------------------------------------
   4) Callouts (info / pro / warn)
------------------------------------------ */

.coi-callout {
  margin: 1.15rem 0 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 10px;
  border: 1px solid #dde3e8;
  background: #f6f8fa;
  color: #1a1a1a;
}

.coi-callout strong {
  margin-right: 0.25rem;
}

.coi-callout--info {
  border-color: rgba(0, 200, 255, 0.35);
  background: rgba(0, 200, 255, 0.08);
}

.coi-callout--pro {
  border-color: rgba(34, 255, 136, 0.35);
  background: rgba(34, 255, 136, 0.10);
}

.coi-callout--warn {
  border-color: rgba(255, 180, 0, 0.45);
  background: rgba(255, 180, 0, 0.12);
}


/* ---------------------------------------
   5) Keybind Panel
------------------------------------------ */

.coi-keybind-panel {
  border: 1px solid #dde3e8;
  border-radius: 10px;
  padding: 1.1rem 1.15rem;
  background: #f8fafb;
  margin: 1.15rem 0 0.75rem;
}

.coi-keybind-title {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  color: #0f1b24;
}

.coi-keybind-list {
  margin: 0;
  padding-left: 1.15rem;
}
.coi-keybind-list li {
  margin: 0.35rem 0;
}


/* ---------------------------------------
   6) AI Co-Pilot HUD Panel (Privateers-101)
   Mirrors existing child-theme HUD styling
------------------------------------------ */

.coi-hud-panel {
  background: linear-gradient(145deg, #03121c 0%, #072530 100%);
  border: 2px solid #00c8ff;
  border-radius: 12px;
  color: #e6f9ff;
  padding: 1.75rem 2rem;
  margin: 2rem 0 0.75rem;
  font-family: "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  box-shadow: 0 0 22px rgba(0,200,255,0.35);
  position: relative;
}

/* Optional holo corners */
.coi-hud-panel--holo .coi-hud-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #00c8ff;
  border-style: solid;
}
.coi-hud-corner--tl { top: -6px; left: -6px; border-width: 3px 0 0 3px; }
.coi-hud-corner--tr { top: -6px; right: -6px; border-width: 3px 3px 0 0; }
.coi-hud-corner--bl { bottom: -6px; left: -6px; border-width: 0 0 3px 3px; }
.coi-hud-corner--br { bottom: -6px; right: -6px; border-width: 0 3px 3px 0; }

.coi-hud-title {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #7fe8ff;
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.75);
}

.coi-hud-subtitle {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  color: #b7eaff;
}

.coi-hud-divider {
  border: 0;
  border-top: 1px solid #005f73;
  margin: 1.5rem 0;
}

.coi-hud-list {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
  font-size: 0.95rem;
}

.coi-hud-tip {
  margin-top: 1.6rem;
  padding: 0.9rem 1rem;
  border: 1px solid #00c8ff;
  border-radius: 8px;
  background: rgba(0, 44, 66, 0.55);
  color: #c8f6ff;
  font-size: 0.95rem;
}

.coi-hud-panel a {
  color: #9feaff;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(159,234,255,1);
}
.coi-hud-panel a:hover,
.coi-hud-panel a:focus {
  color: #ffffff;
  box-shadow: inset 0 0 0 rgba(0,0,0,0), 0 2px 0 rgba(159,234,255,1);
}


/* ---------------------------------------
   7) Document Footer
------------------------------------------ */

.coi-doc-footer {
  margin: 2rem 0 1rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid #dde3e8;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  color: #1a1a1a;
}

.coi-doc-footer p {
  margin: 0.25rem 0;
}

.coi-doc-footer a {
  color: #1a1a1a;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.9);
}
.coi-doc-footer a:hover,
.coi-doc-footer a:focus {
  color: #000000;
  box-shadow: inset 0 0 0 rgba(0,0,0,0), 0 3px 0 rgba(0,0,0,1);
}


/* ---------------------------------------
   8) Responsive tweaks
------------------------------------------ */

@media (max-width: 768px) {
  .coi-doc-banner { padding: 1.75rem 1.25rem; }
  .coi-doc-banner-title { font-size: 1.45rem; }
  .coi-section-panel { padding: 1.35rem 1.25rem 1.1rem; }
  .coi-hud-panel { padding: 1.35rem 1.25rem; }
}

/* =====================================================================
   COI HUD / STEP CARDS — Privateers design language
   ===================================================================== */

/* Generic HUD-style panel – can be used via class on wrapper div */
.coi-hud-panel {
    background: linear-gradient(145deg, #03121c 0%, #072530 100%);
    border: 2px solid #00c8ff;
    border-radius: 12px;
    color: #e6f9ff;
    padding: 1.75rem 2rem;
    box-shadow: 0 0 22px rgba(0,200,255,0.35);
}

/* Inside HUD panels, ensure links are readable */
.coi-hud-panel a {
    color: #9feaff;
    text-decoration: none;
    box-shadow: inset 0 -1px 0 rgba(159,234,255,1);
}
.coi-hud-panel a:hover,
.coi-hud-panel a:focus {
    color: #ffffff;
    box-shadow: inset 0 0 0 rgba(0,0,0,0), 0 2px 0 rgba(159,234,255,1);
}

/* Step cards for onboarding – matching our inline design but via class */
.coi-step-card {
    background: rgba(1, 15, 22, 0.9);
    border-radius: 10px;
    border: 1px solid #004d66;
    color: #e6f9ff;
    padding: 2.2rem 1.75rem 1.5rem;
    margin: 1.75rem 0;
    position: relative;
}

/* Step label – to be used with <span class="coi-step-label">Step 1</span> */
.coi-step-label {
    position: absolute;
    top: 8px;
    left: 16px;
    padding: 2px 10px;
    background: linear-gradient(120deg, #00c8ff, #22ff88);
    color: #021018;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(0,200,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
