/* Custom UI Styles for Infrastructure Monitoring */

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(11, 15, 25, 0.4);
}
::-webkit-scrollbar-thumb {
  background: rgba(243, 244, 246, 0.1);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(243, 244, 246, 0.2);
}

/* Base Body Styles */
body {
  background-color: #080c14;
}

/* Translucent Cards Glassmorphism */
.card {
  background: rgba(16, 22, 37, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 1rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Sidebar navigation buttons */
.nav-btn {
  color: #94a3b8;
  background: transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}
.nav-btn:hover {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
}
.nav-btn.active {
  color: #0dfc94;
  background: rgba(13, 252, 148, 0.06);
  border-color: rgba(13, 252, 148, 0.15);
  box-shadow: inset 0 0 12px rgba(13, 252, 148, 0.04);
}

/* Charts overlay wrappers */
canvas {
  width: 100% !important;
  height: 100% !important;
}

/* Console details Custom font styling */
#logs-console-window {
  scrollbar-width: thin;
}

/* Active range button */
.chart-range-btn {
  transition: all 0.2s ease-in-out;
}
.chart-range-btn:hover {
  background: rgba(255, 255, 255, 0.03);
}
.chart-range-btn.active {
  color: #0dfc94;
  background: rgba(13, 252, 148, 0.08);
  border: 1px solid rgba(13, 252, 148, 0.12);
}
