/* ============================================
   HAON Sidebar v2.0 — Marino menú colapsable
   Iconos PNG + perfil + estadísticas
   ============================================ */

.haon-sidebar-brand {
  font-size: 16px;
  font-weight: 800;
  color: var(--haon-blue-light);
  letter-spacing: -0.3px;
  text-shadow: 0 1px 8px rgba(91, 163, 232, 0.3);
}

.haon-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 12px;
  flex: 1 1 auto;
  overflow-y: auto;
}

.haon-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1px;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.haon-nav-item:hover {
  background: var(--bg-glass-hover);
  border-color: var(--bg-glass-border);
}

.haon-nav-item.is-active {
  background: rgba(255, 215, 0, 0.08);
  border-color: rgba(255, 215, 0, 0.25);
  color: var(--haon-accent);
}

.haon-nav-item.is-active .haon-nav-label {
  font-weight: 700;
}

.haon-nav-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.haon-nav-label {
  flex: 1;
  font-size: 14px;
}

/* === Perfil marino (parte inferior del sidebar) === */
.haon-sidebar-profile {
  margin-top: auto;
  padding: 16px 12px;
  border-top: 1px solid var(--bg-glass-border);
  background: rgba(0, 0, 0, 0.15);
}

.haon-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 6px;
  margin-bottom: 12px;
}

.haon-profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(91, 163, 232, 0.15);
  padding: 6px;
  flex-shrink: 0;
}

.haon-profile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.haon-profile-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.haon-profile-empresa {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.haon-profile-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.haon-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 6px;
  background: rgba(91, 163, 232, 0.08);
  border: 1px solid rgba(91, 163, 232, 0.15);
  border-radius: var(--radius-sm);
}

.haon-stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--haon-accent);
  letter-spacing: -0.5px;
  line-height: 1;
}

.haon-stat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.haon-nav-item--config {
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.85;
}

.haon-nav-item--config:hover {
  opacity: 1;
}

/* === Logo HAON en cabecera del sidebar === */
.haon-sidebar-brand-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(91, 163, 232, 0.4));
}

/* === Logo HAON en cabecera del sidebar === */
.haon-sidebar-brand-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(91, 163, 232, 0.4));
}

