.inline-icon {
  vertical-align: -0.10em;
  margin-top: 0em;
  margin-bottom: 0em;
  padding-bottom: 0em;
  padding-top: 0em;
}

/* Hide the project title text next to the logo in the navbar brand */
a.navbar-brand .brand-text,
a.navbar-brand .brand-short-text {
  display: none !important;
}

/* Optional: tighten spacing so the logo doesn't leave a gap */
a.navbar-brand {
  gap: 0 !important;          /* if the theme uses flex gap */
}

/* Optional: ensure logo is vertically aligned nicely */
a.navbar-brand .project-logo {
  margin-right: 0 !important;
}


.light {
  --nftt-neutral-bg-rgb: 169, 138, 83 !important;
  --nftt-foot2-bg: #E5D2B4 !important;
}

.dark {
  --nftt-neutral-bg-rgb: 169, 138, 83 !important;
  --nftt-foot2-bg: #664D03 !important;
}

.btn-primary {
    --nftt-btn-bg: #ced4da !important;
    --nftt-btn-border-color: #ced4da !important;
}

/* Sign-in button: black text, neutral border; dark-gold on hover */
#snftt-signin-btn.btn-outline-primary {
  /* Override the Bootstrap "primary" used by btn-outline-primary */
  --bs-btn-color: var(--bs-body-color, #000) !important;
  --bs-btn-border-color: rgba(0,0,0,0.25) !important;

  --bs-btn-hover-color: #000 !important;
  --bs-btn-hover-bg: #A98A53 !important;          /* dark gold */
  --bs-btn-hover-border-color: #A98A53 !important;

  --bs-btn-active-color: #000 !important;
  --bs-btn-active-bg: #664D03 !important;         /* darker gold */
  --bs-btn-active-border-color: #664D03 !important;

  /* Optional: remove the default yellow-ish focus ring and make it gold-ish */
  --bs-btn-focus-shadow-rgb: 169, 138, 83 !important;
}

/* If Nefertiti adds a focus ring via box-shadow, ensure it uses the same tone */
#snftt-signin-btn.btn-outline-primary:focus,
#snftt-signin-btn.btn-outline-primary:focus-visible {
  box-shadow: 0 0 0 .25rem rgba(169, 138, 83, .35) !important;
}

/* Default: hide anything protected (prevents flash) */
nav.toc li[data-protected],
.toctree-wrapper li[data-protected] {
  display: none !important;
}

/* When JS decides an item is allowed, it adds .docs-allowed */
nav.toc li.docs-allowed,
.toctree-wrapper li.docs-allowed {
  display: list-item !important;
}

/* Add " > " separator between header links (breadcrumb style) */
.nftt-header-links-large .nav-item + .nav-item::before,
.nftt-header-links-small .nav-item + .nav-item::before {
  content: "›";                 /* or ">" */
  margin: 0 .5rem;
  opacity: .75;
}

/* Make sure it aligns nicely */
.nftt-header-links-large .nav-item,
.nftt-header-links-small .nav-item {
  display: inline-flex;
  align-items: center;
}

/* --- Confidential banner / warning alert styling --- */
.alert.alert-warning {
  /* Layout */
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin: 0.75rem 0 1rem 0;

  /* Subtle left accent */
  border-left: 0.35rem solid #A98A53;

  /* Keep it from looking too "bootstrap default" */
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

/* Light mode */
.light .alert.alert-warning {
  background: rgba(229, 210, 180, 0.45);  /* light gold wash */
  border-top: 1px solid rgba(169, 138, 83, 0.35);
  border-right: 1px solid rgba(169, 138, 83, 0.35);
  border-bottom: 1px solid rgba(169, 138, 83, 0.35);
  color: rgba(0,0,0,0.85);
}

/* Dark mode */
.dark .alert.alert-warning {
  background: rgba(169, 138, 83, 0.14);  /* muted gold wash */
  border-top: 1px solid rgba(169, 138, 83, 0.30);
  border-right: 1px solid rgba(169, 138, 83, 0.30);
  border-bottom: 1px solid rgba(169, 138, 83, 0.30);
  color: rgba(255,255,255,0.88);
}

/* Make links inside alert look intentional */
.alert.alert-warning a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Optional: tighten icon/strong text spacing if you add an icon later */
.alert.alert-warning strong {
  font-weight: 700;
}