/* Pixelixe 2026 refresh for legacy docs (UI overlay) */
:root {
  --pxx-blue: #60A0E0;
  --pxx-violet: #6080E0;
  --pxx-magenta: #A040E0;
  --pxx-grad: linear-gradient(135deg, var(--pxx-blue) 0%, var(--pxx-violet) 52%, var(--pxx-magenta) 100%);
  --pxx-bg: #f6f8fd;
  --pxx-surface: #ffffff;
  --pxx-border: #e7ebf4;
  --pxx-text: #2a3142;
  --pxx-muted: #6f7b92;
  --pxx-sidebar: #0f1117;
  --pxx-sidebar-2: #171a23;
}

body {
  background: var(--pxx-bg) !important;
  color: var(--pxx-text);
}

a {
  color: #4e6fe3;
}

a:hover,
a:focus {
  color: #7a4fe4;
}

#wrapper .main {
  background: linear-gradient(180deg, #f6f8fd 0%, #f9fbff 100%) !important;
}

.navbar-default {
  border-bottom: 1px solid var(--pxx-border) !important;
  box-shadow: 0 10px 25px rgba(17, 26, 48, 0.06) !important;
}

.navbar-default .brand {
  background: #fff !important;
  border-right: 1px solid var(--pxx-border);
}

.navbar .brand img.logo {
  width: 38px !important;
  max-width: 100%;
  height: auto !important;
}

#wrapper .sidebar {
  background: linear-gradient(180deg, var(--pxx-sidebar) 0%, var(--pxx-sidebar-2) 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.03);
}

.sidebar .nav > li > a {
  color: rgba(236, 240, 249, 0.78) !important;
  border-left-width: 4px !important;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sidebar .nav > li > a:hover,
.sidebar .nav > li > a:focus {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.sidebar .nav > li > a.active {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(96, 160, 224, 0.16), rgba(160, 64, 224, 0.1)) !important;
  border-left-color: var(--pxx-blue) !important;
}

.sidebar .nav > li > a.active i,
.sidebar .nav > li > a:hover i,
.sidebar .nav > li > a:focus i {
  color: #92b8ff !important;
}

.sidebar .nav .nav {
  background: rgba(255, 255, 255, 0.03) !important;
}

.sidebar .nav .nav > li > a {
  color: rgba(228, 233, 246, 0.72) !important;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}

.sidebar .nav .nav > li > a:hover,
.sidebar .nav .nav > li > a:focus,
.sidebar .nav .nav > li > a.active {
  color: #fff !important;
  background: rgba(96, 128, 224, 0.12) !important;
  border-left-color: transparent !important;
}

.main-content {
  padding-top: 22px !important;
}

.panel {
  background: var(--pxx-surface) !important;
  border: 1px solid var(--pxx-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 36px rgba(22, 32, 56, 0.06) !important;
  overflow: hidden;
}

.panel .panel-heading {
  background: linear-gradient(180deg, rgba(96, 160, 224, 0.04), rgba(96, 128, 224, 0.02)) !important;
  border-bottom: 1px solid var(--pxx-border) !important;
  padding: 24px 28px 20px !important;
}

.panel .panel-body,
.panel .panel-footer {
  border-color: var(--pxx-border) !important;
}

.panel-title,
.panel h1,
.panel h2,
.panel h3,
.panel h4 {
  color: var(--pxx-text) !important;
}

.panel-heading h4[style*="darkgrey"] {
  color: var(--pxx-muted) !important;
}

.panel hr {
  border-top-color: var(--pxx-border) !important;
}

/* Inline notice banners used across legacy docs pages */
.panel-heading div[style*="background-color:#6080E0"] {
  background: var(--pxx-grad) !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 28px rgba(96, 128, 224, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.panel-heading div[style*="background-color:#6080E0"] a {
  color: #fff !important;
}

.btn,
.btn-default {
  border-radius: 12px !important;
}

.btn-primary,
.btn-upload,
a.btn.btn-primary {
  background-image: var(--pxx-grad);
  background-color: var(--pxx-violet);
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(96, 128, 224, 0.22);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-upload:hover,
.btn-upload:focus,
a.btn.btn-primary:hover,
a.btn.btn-primary:focus {
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(160, 64, 224, 0.24);
  filter: saturate(1.05);
}

/* Upgrade generic CTA buttons with inline old blue styles */
a.btn[style*="background-color:#6080E0"] {
  background-image: var(--pxx-grad) !important;
  border: 0 !important;
  box-shadow: 0 12px 24px rgba(96, 128, 224, 0.2) !important;
}

.label,
.badge {
  border-radius: 999px;
}

pre,
code {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

pre {
  background: #0f1320 !important;
  color: #e9eefb !important;
  border: 1px solid #232a3f !important;
  border-radius: 14px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  padding: 14px 16px !important;
}

code {
  background: rgba(96, 128, 224, 0.08);
  color: #3049aa;
  border-radius: 6px;
  padding: 0.12em 0.38em;
}

pre code {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
}

.table > thead > tr > th {
  border-bottom: 1px solid var(--pxx-border) !important;
  color: var(--pxx-muted);
  font-weight: 700;
  background: #fbfcff;
}

.table > tbody > tr > td {
  border-top-color: var(--pxx-border) !important;
}

.table-hover > tbody > tr:hover {
  background: rgba(96, 128, 224, 0.04) !important;
}

blockquote {
  border-left: 4px solid var(--pxx-blue);
  background: #fafbff;
  border-radius: 0 12px 12px 0;
  padding: 10px 14px;
}

img {
  border-radius: 10px;
}

.panel img[style*="border:1px solid dimgrey"] {
  border: 1px solid var(--pxx-border) !important;
  box-shadow: 0 10px 22px rgba(19, 28, 48, 0.08);
}
