/*
 * gnoxinsights-theme.css
 * Brand accent overrides ONLY — keeps original white/light background
 * Colors: Blue #0066ff / Cyan #00bfff (logo brand colors)
 ============================================================================ */

:root {
  --gnox-blue:     #0066ff;
  --gnox-cyan:     #00bfff;
  --gnox-gradient: linear-gradient(135deg, #0066ff 0%, #00bfff 100%);
  --gnox-shadow:   0 4px 20px rgba(0,102,255,0.2);
}

/* ──────────────────────────────────────────────
   SIDEBAR LOGO AREA — subtle brand bottom border
────────────────────────────────────────────── */
.app-brand.demo {
  position: relative !important;
}

.app-brand.demo::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #0066ff 40%, #00bfff 60%, transparent 100%);
  opacity: 0.5;
}

/* Active menu item — blue gradient */
.menu-inner > .menu-item.active > .menu-link,
.menu-inner .menu-item.active > .menu-link {
  background: var(--gnox-gradient) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(0,102,255,0.3) !important;
}

.menu-inner > .menu-item.active > .menu-link .menu-icon,
.menu-inner > .menu-item.active > .menu-link i {
  color: #fff !important;
}

/* Active indicator line */
.menu-inner > .menu-item.active > .menu-link {
  position: relative !important;
}

.menu-inner > .menu-item.active > .menu-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: var(--gnox-cyan);
  border-radius: 0 3px 3px 0;
}

/* Hover on menu items */
.menu-inner > .menu-item > .menu-link:hover,
.menu-inner .menu-link:hover {
  background: rgba(0, 102, 255, 0.08) !important;
  color: var(--gnox-blue) !important;
}

/* Sub-menu active */
.menu-sub .menu-item.active > .menu-link {
  color: var(--gnox-blue) !important;
}

/* ──────────────────────────────────────────────
   BUTTONS — brand blue primary
────────────────────────────────────────────── */
.btn-primary {
  background: var(--gnox-gradient) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0,102,255,0.25) !important;
  font-weight: 600 !important;
  transition: all 0.25s ease !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #0052d4 0%, #009fcc 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(0,102,255,0.35) !important;
}

.btn-primary:active {
  transform: translateY(0) !important;
}

.btn-outline-primary {
  border-color: var(--gnox-blue) !important;
  color: var(--gnox-blue) !important;
}

.btn-outline-primary:hover {
  background: var(--gnox-gradient) !important;
  border-color: transparent !important;
  color: #fff !important;
}

/* ──────────────────────────────────────────────
   LINKS
────────────────────────────────────────────── */
a {
  color: var(--gnox-blue) !important;
}

a:hover {
  color: #0052d4 !important;
}

/* ──────────────────────────────────────────────
   NAV TABS — active tab in brand blue
────────────────────────────────────────────── */
.nav-tabs .nav-link.active {
  color: var(--gnox-blue) !important;
  border-bottom-color: var(--gnox-blue) !important;
  font-weight: 600 !important;
}

.nav-pills .nav-link.active {
  background: var(--gnox-gradient) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0,102,255,0.25) !important;
}

/* ──────────────────────────────────────────────
   PAGINATION — active page in brand blue
────────────────────────────────────────────── */
.page-item.active .page-link {
  background: var(--gnox-gradient) !important;
  border-color: var(--gnox-blue) !important;
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(0,102,255,0.25) !important;
}

.page-link {
  color: var(--gnox-blue) !important;
  transition: all 0.2s !important;
}

.page-link:hover {
  color: #fff !important;
  background: rgba(0,102,255,0.7) !important;
}

/* ──────────────────────────────────────────────
   FORM INPUTS — blue focus glow
────────────────────────────────────────────── */
.form-control:focus,
.form-select:focus {
  border-color: var(--gnox-blue) !important;
  box-shadow: 0 0 0 3px rgba(0,102,255,0.12) !important;
}

.form-check-input:checked {
  background-color: var(--gnox-blue) !important;
  border-color: var(--gnox-blue) !important;
}

/* ──────────────────────────────────────────────
   BADGES — primary badge in brand blue
────────────────────────────────────────────── */
.badge.bg-primary {
  background: var(--gnox-gradient) !important;
}

.badge.bg-label-primary {
  background: rgba(0,102,255,0.12) !important;
  color: var(--gnox-blue) !important;
}

/* ──────────────────────────────────────────────
   PROGRESS BAR
────────────────────────────────────────────── */
.progress-bar {
  background: var(--gnox-gradient) !important;
}

/* ──────────────────────────────────────────────
   SCROLLBAR — subtle blue
────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  background: rgba(0,102,255,0.25);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0,102,255,0.45);
}

/* ──────────────────────────────────────────────
   FOOTER LINKS
────────────────────────────────────────────── */
.footer-link {
  color: var(--gnox-blue) !important;
  transition: color 0.2s !important;
}

.footer-link:hover {
  color: #0052d4 !important;
}

/* ──────────────────────────────────────────────
   LOGO GLOW — applied to GnoxInsights.png
────────────────────────────────────────────── */
.app-brand-logo img {
  filter: drop-shadow(0 0 6px rgba(0,102,255,0.3));
  transition: filter 0.3s ease;
}

.app-brand-logo img:hover {
  filter: drop-shadow(0 0 12px rgba(0,191,255,0.5));
}
