/* This file is reserved for overriding and extending the template styles. */

/* Nav gradient - paleta Neurion light-teal */
#nav.nav-container {
  background: linear-gradient(
    160deg,
    var(--primary-darker) 0%,
    var(--primary-darker) 40%,
    var(--quaternary-darker) 70%,
    #119196 100%
  ) !important;
}

/* Garante que nav-content pinta acima do ::before */
#nav.nav-container .nav-content {
  position: relative;
}

.timer-normal {
  color: var(--bs-purple);
}

.timer-warning {
  color: #f0ad4e;
}

.timer-danger {
  color: #dc3545;
  animation: pulse 1s infinite;
}

.sticky-bottom-content {
  position: sticky;
  bottom: 0;
  z-index: 9;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* Sidebar scroll: faz o menu de links rolar sem mover o bloco do usuário */
#layout-menu {
  flex: 1;
  min-height: 0;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

#layout-menu .user-container {
  flex-shrink: 0;
}

#layout-menu .menu-container {
  min-height: 0 !important;
  overflow-y: auto !important;
}
