/**
 * Jazzmin: panel lateral Nexx (marca, usuario, color de marca).
 */
:root {
  --nexx-sidebar-bg: #1b3654;
  --nexx-sidebar-border: rgba(255, 255, 255, 0.14);
}

/* Fondo del panel = color del logo */
#jazzy-sidebar.app-sidebar,
#jazzy-sidebar.nexx-sidebar {
  background-color: var(--nexx-sidebar-bg) !important;
  --bs-body-bg: var(--nexx-sidebar-bg);
  --bs-border-color: var(--nexx-sidebar-border);
}

#jazzy-sidebar .sidebar-wrapper {
  background-color: transparent;
}

#jazzy-sidebar .user-panel .info a,
#jazzy-sidebar .user-panel .info span {
  color: #fff !important;
}

#jazzy-sidebar .user-panel .info a:hover,
#jazzy-sidebar .user-panel .info a:focus {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Marca Nexx totalmente a la izquierda (AdminLTE centra .sidebar-brand por defecto) */
#jazzy-sidebar .sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  width: 100%;
  text-align: left;
  border-bottom-color: var(--nexx-sidebar-border);
}

#jazzy-sidebar .sidebar-brand .brand-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0.5rem 0.75rem;
  text-align: left;
}

#jazzy-sidebar .sidebar-brand .brand-image {
  float: none;
  margin: 0 !important;
  flex-shrink: 0;
}

#jazzy-sidebar .sidebar-brand .brand-text {
  text-align: left;
  margin-left: 0;
}

/* Dashboard principal (usuario, sucursal, tipo de cambio) — logo Nexx abajo a la derecha */
body.dashboard.layout-fixed .app-main {
  padding-bottom: 7.5rem;
}

body.dashboard .nexx-modulo-footer {
  z-index: 1030;
  /* Por encima del app-footer (versión Jazzmin, derecha) */
  bottom: 4.25rem;
}
