/* OIFLOW (oiflow.shop) - Professional Financial Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Scrollbar Utility */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Active Nav Tab */
.nav-tab.active {
  background-color: #eef2ff !important;
  color: #4338ca !important;
}

/* ==============================================================
   STANDARD OIPULSE-STYLE SIDEBAR NAVIGATION
   ============================================================== */
.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #5c3838; /* elegant muted warm tone from screenshot */
  border-radius: 0 9999px 9999px 0; /* curved pill on the right */
  margin-right: 0.75rem;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
}

.sidebar-link:hover {
  background-color: #fdf6f6;
  color: #b91c1c;
}

.sidebar-link.active {
  background-color: #faecec !important; /* Soft rose pill from screenshot */
  color: #c93b3b !important;
  font-weight: 700 !important;
  border-left: 3px solid #c93b3b;
}

.sidebar-link.active svg {
  color: #c93b3b !important;
}

.sidebar-submenu {
  overflow: hidden;
  transition: max-height 0.25s ease-in-out;
}

.sidebar-sublink {
  display: block;
  padding: 0.45rem 1rem 0.45rem 2.75rem;
  font-size: 0.8125rem;
  color: #64748b;
  border-radius: 0.5rem;
  margin-right: 0.75rem;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
}

.sidebar-sublink:hover {
  color: #c93b3b;
  background-color: #fdf6f6;
}

.sidebar-sublink.active {
  color: #c93b3b;
  font-weight: 700;
  background-color: #fef2f2;
}

.chevron-icon {
  transition: transform 0.2s ease-in-out;
}

.chevron-open {
  transform: rotate(180deg);
}

/* Volume Surge Highlight (Bright Yellow) */
.volume-surge {
  background-color: #fef08a !important; /* Bright Yellow */
  color: #854d0e !important;
  font-weight: 800 !important;
  padding: 2px 6px;
  border-radius: 6px;
  display: inline-block;
  border: 1px solid #fde047;
}

/* Level Break Badges */
.badge-dhb {
  background-color: #10b981;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 2px rgba(16, 185, 129, 0.3);
  animation: pulse-green 1.5s infinite;
}

.badge-dlb {
  background-color: #ef4444;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 2px rgba(239, 68, 68, 0.3);
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-green {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes pulse-red {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* 4-Quadrant Interpretation Badges */
.interp-long-buildup {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.interp-short-buildup {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.interp-short-covering {
  background-color: #e0f2fe;
  color: #075985;
  border: 1px solid #bae6fd;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.interp-long-unwinding {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

/* Option Chain Depth Bar */
.depth-bar-call {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(16, 185, 129, 0.18);
  pointer-events: none;
  z-index: 0;
}

.depth-bar-put {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(239, 68, 68, 0.18);
  pointer-events: none;
  z-index: 0;
}

.atm-row {
  background-color: #f1f5f9 !important;
  font-weight: 800 !important;
  border-top: 2px solid #cbd5e1;
  border-bottom: 2px solid #cbd5e1;
}

/* Second-by-Second Live Ticker Flashes */
@keyframes flashGreen {
  0% { background-color: rgba(16, 185, 129, 0.4); color: #047857; }
  100% { background-color: transparent; }
}

@keyframes flashRed {
  0% { background-color: rgba(239, 68, 68, 0.4); color: #b91c1c; }
  100% { background-color: transparent; }
}

.tick-up {
  animation: flashGreen 0.7s ease-out;
  border-radius: 4px;
}

.tick-down {
  animation: flashRed 0.7s ease-out;
  border-radius: 4px;
}

