/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: capitalize;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 74px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.docs-page .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu) .layout-page,
.docs-page .layout-menu-fixed.layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 62px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 231px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

/* 
* Neural Dashboard Header Styles
******************************************************************************/

:root {
  --neural-bg: rgba(255, 255, 255, 0.75);
  --neural-blur: blur(12px);
  --neural-border: 1px solid rgba(255, 255, 255, 0.3);
  --neural-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  --neural-accent: #6366f1; /* Modern Indigo */
}



#layout-navbar {
  background: var(--neural-bg) !important;
  backdrop-filter: var(--neural-blur) !important;
  -webkit-backdrop-filter: var(--neural-blur) !important;
  border: var(--neural-border) !important;
  box-shadow: var(--neural-shadow) !important;
  border-radius: 12px !important;
  margin-top: 10px !important;
  transition: all 0.3s ease;
}

/* Breadcrumbs Section */
.header-breadcrumbs {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: var(--bs-heading-color);
  gap: 8px;
}

.header-breadcrumbs .breadcrumb-item {
  color: var(--bs-secondary-color);
  transition: color 0.2s;
}

.header-breadcrumbs .breadcrumb-item:hover {
  color: var(--neural-accent);
}

.header-breadcrumbs .breadcrumb-item.active {
  color: var(--bs-heading-color);
  font-weight: 600;
}

/* Sleek Search Bar */
.header-search-container {
  position: relative;
  max-width: 400px;
  width: 100%;
  margin: 0 20px;
}

.header-search-input {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
  padding: 8px 15px 8px 40px;
  border-radius: 50px;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
}



.header-search-input:focus {
  background: white;
  border-color: var(--neural-accent);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
  width: 110%;
}



.search-icon-pos {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #a1acb8;
  pointer-events: none;
}

/* Notification Bell Animation */
.nav-notification-bell {
  position: relative;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s;
}

.nav-notification-bell:hover {
  background: rgba(0, 0, 0, 0.05);
}

.notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #ff4d4d;
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 77, 77, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

/* Avatar Hover Effect */
.avatar-online img {
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.dropdown-user:hover .avatar-online img {
  transform: scale(1.1);
  border-color: var(--neural-accent);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

/* 
* v12.0 'Quantum Ceramic' Design System
******************************************************************************/

:root {
  --quantum-indigo: #4F46E5;
  --quantum-blue: #0ea5e9;
  --quantum-glow: rgba(79, 70, 229, 0.15);
  --ceramic-white: #ffffff;
  --liquid-border: 1px solid rgba(255, 255, 255, 0.8);
  --deep-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.1);
}

/* Neural Commands Section */
.neural-command-header {
  padding: 2.25rem 0;
  position: relative;
  overflow: hidden;
}

.neural-greeting {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 2.75rem;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, #1e1b4b 0%, #4F46E5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.neural-subtitle {
  font-weight: 600;
  color: #64748b;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-indicator {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.5; transform: scale(0.9); }
}

/* Quantum Glass Cards */
.quantum-card {
  background: var(--ceramic-white);
  border: var(--liquid-border);
  box-shadow: var(--deep-shadow);
  border-radius: 28px;
  padding: 2.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.quantum-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 50px 100px -20px rgba(79, 70, 229, 0.2), inset 0 0 20px rgba(79, 70, 229, 0.05);
  border-color: rgba(79, 70, 229, 0.3);
}

/* 💎 'Lustre' Accent Redesign */
.card-accent-pill {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, #4F46E5, #0ea5e9);
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
}

.quantum-card:hover .card-accent-pill {
  width: 100px;
  opacity: 1;
  height: 6px;
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.4);
}

.lustre-gradient {
  background: linear-gradient(90deg, #4F46E5, #0ea5e9) !important;
}

/* Shimmer Animation HUD */
.quantum-card.shimmer-active::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.05), transparent);
  background-size: 200% 100%;
  animation: shimmer-anim 4s infinite linear;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}

@keyframes shimmer-anim {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Clock Refinement */
.digital-monolith {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 1.75rem;
  color: #1e1b4b;
  text-shadow: 0 0 20px rgba(79, 70, 229, 0.1);
}

/* Interactive Table Rows */
.master-ledger-table tbody tr {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.master-ledger-table tbody tr:hover {
  background: #f8fafc;
  transform: translateX(10px);
  cursor: pointer;
  box-shadow: inset 4px 0 0 var(--quantum-indigo);
}/* v13.0 'Zenith' Status Ribbon Styles */
.status-ribbon {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.5rem;
}

.zenith-badge {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(79, 70, 229, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.zenith-badge:hover {
  border-color: rgba(79, 70, 229, 0.3);
  transform: translateY(-2px);
  background: white;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.badge-dot.active {
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
  animation: pulse-live 2s infinite;
}

/* v15.0 'Zenith Pulse' Chart Overlays */
.apexcharts-canvas {
  filter: drop-shadow(0 0 10px rgba(79, 70, 229, 0.05));
}

.apexcharts-tooltip {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(79, 70, 229, 0.2) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
}

.apexcharts-tooltip-title {
  background: rgba(79, 70, 229, 0.05) !important;
  border-bottom: 1px solid rgba(79, 70, 229, 0.1) !important;
  font-weight: 800 !important;
  color: #1e1b4b !important;
}

.apexcharts-legend-text {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  color: #64748b !important;
}

.zenith-accent-blur {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.2), transparent);
  margin-top: 2rem;
  position: relative;
}
