.menu-lateral {
  --menu-green: #15803d;
  --menu-green-dark: #14532d;
}

.menu-lateral {
  background: var(--menu-green-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 2px 24px;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.menu-marca {
  align-items: center;
  color: #ffffff;
  display: flex;
  font-size: 20px;
  font-weight: 700;
  gap: 12px;
  flex-shrink: 0;
  margin: 0;
  text-decoration: none;
}

.menu-logo {
  border-radius: 10px;
  height: 42px;
  object-fit: cover;
  width: 42px;
}

.menu-usuario {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  gap: 12px;
  margin-left: auto;
  order: 3;
  padding: 8px;
}

.menu-usuario-imagen {
  border: 2px solid #86efac;
  border-radius: 50%;
  height: 44px;
  object-fit: cover;
  width: 44px;
}

.menu-usuario-nombre {
  color: #ffffff;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-navegacion {
  display: flex;
  gap: 8px;
}

.menu-enlace {
  align-items: center;
  border-radius: 9px;
  color: #dcfce7;
  display: flex;
  font-size: 18px;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
}

.menu-enlace:hover,
.menu-enlace-activo {
  background: var(--menu-green);
  color: #ffffff;
}

.menu-enlace-deshabilitado {
  color: #94a3b8;
  cursor: not-allowed;
}

.menu-enlace-deshabilitado:hover {
  background: transparent;
  color: #94a3b8;
}

.menu-salir {
  order: 4;
}

.contenido-principal {
  min-height: 100vh;
  padding: 1px 24px 24px;
}

@media (max-width: 768px) {
  .menu-lateral {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 12px;
  }

  .menu-usuario {
    display: none;
  }

  .menu-navegacion {
    flex: 1 1 auto;
    gap: 2px;
    justify-content: flex-start;
  }

  .menu-enlace {
    font-size: 0;
    padding: 10px;
  }

  .menu-enlace i {
    font-size: 19px;
  }

  .menu-salir {
    margin-left: auto;
  }

  .contenido-principal {
    padding: 1px 12px 24px;
  }
}
