/* ================================================================
   OBS Icons UAE — Shared Navigation Stylesheet
   obs-style.css
   Add <link rel="stylesheet" href="obs-style.css"> to all pages
   ================================================================ */

/* ── STICKY SEQUENCE BANNER ── */
.sequence-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* ── FLOATING HOME BUTTON ── */
.obs-float-nav {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.obs-float-home {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0d0d0d;
  color: #f0ede6;
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid #c44b1b;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  white-space: nowrap;
}

.obs-float-home:hover {
  background: #c44b1b;
  transform: translateY(-2px);
}

.obs-float-home .float-arrow {
  font-size: 0.9rem;
  line-height: 1;
}

/* ── KNOW THE SIGNS — restyle as labels not buttons ── */
.failure-list li {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: #d4cfc6;
  background: rgba(255,255,255,0.04);
  border: none;
  border-left: 2px solid rgba(232,160,32,0.4);
  padding: 6px 12px;
  border-radius: 0;
  letter-spacing: 0.05em;
  cursor: default;
  user-select: text;
}

/* ── BREADCRUMB — make it sticky too ── */
.breadcrumb {
  position: sticky;
  top: 0;
  z-index: 99;
}

/* When sequence banner is present, breadcrumb sits below it */
.sequence-banner + * {
  position: relative;
}

/* ── SECTION RULE spacing fix ── */
hr.section-rule {
  margin: 0;
}

/* ── FOOTER NAV — make it more prominent ── */
.page-footer {
  padding: 32px 40px 40px;
}

.footer-nav {
  margin-top: 20px;
}

.footer-link {
  font-size: 1.05rem;
  padding: 12px 26px;
}

/* ── MOBILE ADJUSTMENTS ── */
@media (max-width: 640px) {
  .sequence-steps {
    flex-direction: column;
  }

  .obs-float-nav {
    bottom: 16px;
    right: 16px;
  }

  .obs-float-home {
    font-size: 0.65rem;
    padding: 9px 14px;
  }

  .breadcrumb {
    font-size: 0.65rem;
    padding: 8px 20px;
    white-space: nowrap;
    overflow-x: auto;
  }
}

/* ── SCROLL PROGRESS INDICATOR ── */
.obs-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: #c44b1b;
  z-index: 300;
  width: 0%;
  transition: width 0.1s linear;
}
